From 8fc23dcff454efc7344de0931a33d063963dd3b6 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 26 Apr 2023 01:25:38 +0000 Subject: [PATCH 1/2] feat: Add bloom filter related proto fields (only in the preview API surface) PiperOrigin-RevId: 527090049 Source-Link: https://github.com/googleapis/googleapis/commit/e2b7cb94f3e78df146a05744170353bc60c4ec21 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b0d2cc1c48ddac1c5dbac1ce199d29eaf1c5ec0c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjBkMmNjMWM0OGRkYWMxYzVkYmFjMWNlMTk5ZDI5ZWFmMWM1ZWMwYyJ9 --- .../google/firestore/v1/FirestoreGrpc.java | 2069 ------- .../firestore/v1/FirestoreAdminClient.java | 0 .../firestore/v1/FirestoreAdminSettings.java | 1 + .../cloud/firestore/v1/gapic_metadata.json | 0 .../cloud/firestore/v1/package-info.java | 0 .../firestore/v1/stub/FirestoreAdminStub.java | 0 .../v1/stub/FirestoreAdminStubSettings.java | 0 .../GrpcFirestoreAdminCallableFactory.java | 0 .../v1/stub/GrpcFirestoreAdminStub.java | 1 + ...HttpJsonFirestoreAdminCallableFactory.java | 0 .../v1/stub/HttpJsonFirestoreAdminStub.java | 1 + .../v1/FirestoreAdminClientHttpJsonTest.java | 0 .../v1/FirestoreAdminClientTest.java | 0 .../firestore/v1/MockFirestoreAdmin.java | 0 .../firestore/v1/MockFirestoreAdminImpl.java | 0 .../cloud/firestore/v1/MockLocations.java | 0 .../cloud/firestore/v1/MockLocationsImpl.java | 0 .../cloud/firestore/v1/FirestoreClient.java | 4 +- .../cloud/firestore/v1/FirestoreSettings.java | 1 + .../cloud/firestore/v1/gapic_metadata.json | 0 .../cloud/firestore/v1/package-info.java | 0 .../firestore/v1/stub/FirestoreStub.java | 0 .../v1/stub/FirestoreStubSettings.java | 0 .../v1/stub/GrpcFirestoreCallableFactory.java | 0 .../firestore/v1/stub/GrpcFirestoreStub.java | 1 + .../HttpJsonFirestoreCallableFactory.java | 0 .../v1/stub/HttpJsonFirestoreStub.java | 0 .../v1/FirestoreClientHttpJsonTest.java | 0 .../firestore/v1/FirestoreClientTest.java | 0 .../cloud/firestore/v1/MockFirestore.java | 0 .../cloud/firestore/v1/MockFirestoreImpl.java | 0 .../cloud/firestore/v1/MockLocations.java | 0 .../cloud/firestore/v1/MockLocationsImpl.java | 0 .../admin/v1/FirestoreAdminGrpc.java | 1194 ++-- .../google/firestore/v1/FirestoreGrpc.java | 1648 ++++++ .../admin/v1/CollectionGroupName.java | 0 .../admin/v1/CreateIndexRequest.java | 472 +- .../admin/v1/CreateIndexRequestOrBuilder.java | 52 +- .../google/firestore/admin/v1/Database.java | 959 ++-- .../firestore/admin/v1/DatabaseName.java | 0 .../firestore/admin/v1/DatabaseOrBuilder.java | 80 +- .../firestore/admin/v1/DatabaseProto.java | 83 + .../admin/v1/DeleteIndexRequest.java | 353 +- .../admin/v1/DeleteIndexRequestOrBuilder.java | 31 + .../admin/v1/ExportDocumentsMetadata.java | 847 +-- .../v1/ExportDocumentsMetadataOrBuilder.java | 83 +- .../admin/v1/ExportDocumentsRequest.java | 531 +- .../v1/ExportDocumentsRequestOrBuilder.java | 62 +- .../admin/v1/ExportDocumentsResponse.java | 328 +- .../v1/ExportDocumentsResponseOrBuilder.java | 27 +- .../com/google/firestore/admin/v1/Field.java | 1483 ++--- .../google/firestore/admin/v1/FieldName.java | 0 .../admin/v1/FieldOperationMetadata.java | 2229 +++----- .../v1/FieldOperationMetadataOrBuilder.java | 127 +- .../firestore/admin/v1/FieldOrBuilder.java | 43 +- .../google/firestore/admin/v1/FieldProto.java | 104 + .../admin/v1/FirestoreAdminProto.java | 366 ++ .../admin/v1/GetDatabaseRequest.java | 353 +- .../admin/v1/GetDatabaseRequestOrBuilder.java | 31 + .../firestore/admin/v1/GetFieldRequest.java | 346 +- .../admin/v1/GetFieldRequestOrBuilder.java | 31 + .../firestore/admin/v1/GetIndexRequest.java | 346 +- .../admin/v1/GetIndexRequestOrBuilder.java | 31 + .../admin/v1/ImportDocumentsMetadata.java | 847 +-- .../v1/ImportDocumentsMetadataOrBuilder.java | 83 +- .../admin/v1/ImportDocumentsRequest.java | 531 +- .../v1/ImportDocumentsRequestOrBuilder.java | 62 +- .../com/google/firestore/admin/v1/Index.java | 1354 ++--- .../google/firestore/admin/v1/IndexName.java | 0 .../admin/v1/IndexOperationMetadata.java | 740 +-- .../v1/IndexOperationMetadataOrBuilder.java | 65 +- .../firestore/admin/v1/IndexOrBuilder.java | 57 +- .../google/firestore/admin/v1/IndexProto.java | 92 + .../admin/v1/ListDatabasesRequest.java | 353 +- .../v1/ListDatabasesRequestOrBuilder.java | 31 + .../admin/v1/ListDatabasesResponse.java | 414 +- .../v1/ListDatabasesResponseOrBuilder.java | 36 +- .../firestore/admin/v1/ListFieldsRequest.java | 528 +- .../admin/v1/ListFieldsRequestOrBuilder.java | 56 +- .../admin/v1/ListFieldsResponse.java | 485 +- .../admin/v1/ListFieldsResponseOrBuilder.java | 46 +- .../admin/v1/ListIndexesRequest.java | 530 +- .../admin/v1/ListIndexesRequestOrBuilder.java | 56 +- .../admin/v1/ListIndexesResponse.java | 485 +- .../v1/ListIndexesResponseOrBuilder.java | 46 +- .../firestore/admin/v1/LocationMetadata.java | 244 +- .../admin/v1/LocationMetadataOrBuilder.java | 9 + .../firestore/admin/v1/LocationProto.java | 53 + .../firestore/admin/v1/OperationProto.java | 192 + .../firestore/admin/v1/OperationState.java | 117 +- .../google/firestore/admin/v1/Progress.java | 314 +- .../firestore/admin/v1/ProgressOrBuilder.java | 29 + .../firestore/admin/v1/ProjectName.java | 0 .../admin/v1/UpdateDatabaseMetadata.java | 251 +- .../v1/UpdateDatabaseMetadataOrBuilder.java | 9 + .../admin/v1/UpdateDatabaseRequest.java | 490 +- .../v1/UpdateDatabaseRequestOrBuilder.java | 46 +- .../admin/v1/UpdateFieldRequest.java | 464 +- .../admin/v1/UpdateFieldRequestOrBuilder.java | 43 +- .../google/firestore/admin/v1/database.proto | 0 .../google/firestore/admin/v1/field.proto | 0 .../firestore/admin/v1/firestore_admin.proto | 0 .../google/firestore/admin/v1/index.proto | 0 .../google/firestore/admin/v1/location.proto | 0 .../google/firestore/admin/v1/operation.proto | 0 .../firestore/bundle/BundleElement.java | 720 ++- .../bundle/BundleElementOrBuilder.java | 42 +- .../firestore/bundle/BundleMetadata.java | 509 +- .../bundle/BundleMetadataOrBuilder.java | 44 +- .../google/firestore/bundle/BundleProto.java | 126 + .../bundle/BundledDocumentMetadata.java | 548 +- .../BundledDocumentMetadataOrBuilder.java | 56 +- .../google/firestore/bundle/BundledQuery.java | 551 +- .../bundle/BundledQueryOrBuilder.java | 37 +- .../google/firestore/bundle/NamedQuery.java | 489 +- .../firestore/bundle/NamedQueryOrBuilder.java | 43 +- .../google/firestore/bundle/bundle.proto | 0 .../firestore/v1/AggregationResult.java | 474 +- .../v1/AggregationResultOrBuilder.java | 48 +- .../firestore/v1/AggregationResultProto.java | 71 + .../com/google/firestore/v1/ArrayValue.java | 401 +- .../firestore/v1/ArrayValueOrBuilder.java | 37 +- .../v1/BatchGetDocumentsRequest.java | 795 +-- .../v1/BatchGetDocumentsRequestOrBuilder.java | 78 +- .../v1/BatchGetDocumentsResponse.java | 597 +- .../BatchGetDocumentsResponseOrBuilder.java | 49 +- .../firestore/v1/BatchWriteRequest.java | 731 ++- .../v1/BatchWriteRequestOrBuilder.java | 76 +- .../firestore/v1/BatchWriteResponse.java | 564 +- .../v1/BatchWriteResponseOrBuilder.java | 55 +- .../firestore/v1/BeginTransactionRequest.java | 418 +- .../v1/BeginTransactionRequestOrBuilder.java | 35 +- .../v1/BeginTransactionResponse.java | 286 +- .../v1/BeginTransactionResponseOrBuilder.java | 19 + .../google/firestore/v1/CommitRequest.java | 509 +- .../firestore/v1/CommitRequestOrBuilder.java | 49 +- .../google/firestore/v1/CommitResponse.java | 486 +- .../firestore/v1/CommitResponseOrBuilder.java | 44 +- .../com/google/firestore/v1/CommonProto.java | 110 + .../firestore/v1/CreateDocumentRequest.java | 670 +-- .../v1/CreateDocumentRequestOrBuilder.java | 70 +- .../java/com/google/firestore/v1/Cursor.java | 428 +- .../google/firestore/v1/CursorOrBuilder.java | 40 +- .../firestore/v1/DeleteDocumentRequest.java | 413 +- .../v1/DeleteDocumentRequestOrBuilder.java | 35 +- .../com/google/firestore/v1/Document.java | 717 +-- .../google/firestore/v1/DocumentChange.java | 531 +- .../firestore/v1/DocumentChangeOrBuilder.java | 44 +- .../google/firestore/v1/DocumentDelete.java | 496 +- .../firestore/v1/DocumentDeleteOrBuilder.java | 44 +- .../com/google/firestore/v1/DocumentMask.java | 340 +- .../firestore/v1/DocumentMaskOrBuilder.java | 36 +- .../firestore/v1/DocumentOrBuilder.java | 73 +- .../google/firestore/v1/DocumentProto.java | 138 + .../google/firestore/v1/DocumentRemove.java | 496 +- .../firestore/v1/DocumentRemoveOrBuilder.java | 44 +- .../firestore/v1/DocumentTransform.java | 1663 ++---- .../v1/DocumentTransformOrBuilder.java | 57 +- .../google/firestore/v1/ExistenceFilter.java | 312 +- .../v1/ExistenceFilterOrBuilder.java | 24 +- .../google/firestore/v1/FirestoreProto.java | 679 +++ .../firestore/v1/GetDocumentRequest.java | 588 +- .../v1/GetDocumentRequestOrBuilder.java | 52 +- .../v1/ListCollectionIdsRequest.java | 560 +- .../v1/ListCollectionIdsRequestOrBuilder.java | 50 +- .../v1/ListCollectionIdsResponse.java | 429 +- .../ListCollectionIdsResponseOrBuilder.java | 45 +- .../firestore/v1/ListDocumentsRequest.java | 911 ++- .../v1/ListDocumentsRequestOrBuilder.java | 94 +- .../firestore/v1/ListDocumentsResponse.java | 474 +- .../v1/ListDocumentsResponseOrBuilder.java | 46 +- .../google/firestore/v1/ListenRequest.java | 756 ++- .../firestore/v1/ListenRequestOrBuilder.java | 71 +- .../google/firestore/v1/ListenResponse.java | 755 +-- .../firestore/v1/ListenResponseOrBuilder.java | 58 +- .../com/google/firestore/v1/MapValue.java | 470 +- .../firestore/v1/MapValueOrBuilder.java | 48 +- .../firestore/v1/PartitionQueryRequest.java | 716 +-- .../v1/PartitionQueryRequestOrBuilder.java | 61 +- .../firestore/v1/PartitionQueryResponse.java | 474 +- .../v1/PartitionQueryResponseOrBuilder.java | 46 +- .../com/google/firestore/v1/Precondition.java | 434 +- .../firestore/v1/PreconditionOrBuilder.java | 32 +- .../com/google/firestore/v1/QueryProto.java | 259 + .../google/firestore/v1/RollbackRequest.java | 348 +- .../v1/RollbackRequestOrBuilder.java | 30 +- .../v1/RunAggregationQueryRequest.java | 780 +-- .../RunAggregationQueryRequestOrBuilder.java | 63 +- .../v1/RunAggregationQueryResponse.java | 562 +- .../RunAggregationQueryResponseOrBuilder.java | 61 +- .../google/firestore/v1/RunQueryRequest.java | 725 +-- .../v1/RunQueryRequestOrBuilder.java | 60 +- .../google/firestore/v1/RunQueryResponse.java | 571 +- .../v1/RunQueryResponseOrBuilder.java | 49 +- .../v1/StructuredAggregationQuery.java | 1695 +++--- .../StructuredAggregationQueryOrBuilder.java | 60 +- .../google/firestore/v1/StructuredQuery.java | 5028 +++++++---------- .../v1/StructuredQueryOrBuilder.java | 112 +- .../java/com/google/firestore/v1/Target.java | 1524 ++--- .../com/google/firestore/v1/TargetChange.java | 677 +-- .../firestore/v1/TargetChangeOrBuilder.java | 52 +- .../google/firestore/v1/TargetOrBuilder.java | 54 +- .../firestore/v1/TransactionOptions.java | 1132 ++-- .../v1/TransactionOptionsOrBuilder.java | 34 +- .../firestore/v1/UpdateDocumentRequest.java | 649 +-- .../v1/UpdateDocumentRequestOrBuilder.java | 59 +- .../java/com/google/firestore/v1/Value.java | 1161 ++-- .../google/firestore/v1/ValueOrBuilder.java | 107 +- .../java/com/google/firestore/v1/Write.java | 1000 ++-- .../google/firestore/v1/WriteOrBuilder.java | 91 +- .../com/google/firestore/v1/WriteProto.java | 174 + .../com/google/firestore/v1/WriteRequest.java | 829 ++- .../firestore/v1/WriteRequestOrBuilder.java | 88 +- .../google/firestore/v1/WriteResponse.java | 594 +- .../firestore/v1/WriteResponseOrBuilder.java | 56 +- .../com/google/firestore/v1/WriteResult.java | 482 +- .../firestore/v1/WriteResultOrBuilder.java | 44 +- .../firestore/v1/aggregation_result.proto | 2 +- .../proto/google/firestore/v1/common.proto | 2 +- .../proto/google/firestore/v1/document.proto | 2 +- .../proto/google/firestore/v1/firestore.proto | 17 +- .../proto/google/firestore/v1/query.proto | 29 +- .../proto/google/firestore/v1/write.proto | 2 +- .../firestore/admin/v1/DatabaseProto.java | 104 - .../admin/v1/DeleteIndexRequestOrBuilder.java | 56 - .../google/firestore/admin/v1/FieldProto.java | 121 - .../admin/v1/FirestoreAdminProto.java | 394 -- .../admin/v1/GetDatabaseRequestOrBuilder.java | 56 - .../admin/v1/GetFieldRequestOrBuilder.java | 56 - .../admin/v1/GetIndexRequestOrBuilder.java | 56 - .../google/firestore/admin/v1/IndexProto.java | 108 - .../v1/ListDatabasesRequestOrBuilder.java | 56 - .../admin/v1/LocationMetadataOrBuilder.java | 24 - .../firestore/admin/v1/LocationProto.java | 64 - .../firestore/admin/v1/OperationProto.java | 237 - .../firestore/admin/v1/ProgressOrBuilder.java | 51 - .../v1/UpdateDatabaseMetadataOrBuilder.java | 24 - .../google/firestore/bundle/BundleProto.java | 145 - .../firestore/v1/AggregationResultProto.java | 87 - .../v1/BeginTransactionResponseOrBuilder.java | 38 - .../com/google/firestore/v1/CommonProto.java | 129 - .../google/firestore/v1/DocumentProto.java | 168 - .../google/firestore/v1/FirestoreProto.java | 778 --- .../com/google/firestore/v1/QueryProto.java | 290 - .../com/google/firestore/v1/WriteProto.java | 208 - 245 files changed, 26546 insertions(+), 43061 deletions(-) delete mode 100644 grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java (99%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/package-info.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java (99%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java (99%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockLocations.java (100%) rename {google-cloud-firestore-admin => owl-bot-staging/v1/google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java (99%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java (99%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/package-info.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java (99%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockLocations.java (100%) rename {google-cloud-firestore => owl-bot-staging/v1/google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java (100%) rename {grpc-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java (56%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java (64%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java (54%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Database.java (72%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DatabaseName.java (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java (72%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java (81%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java (71%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java (70%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java (66%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java (56%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Field.java (75%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldName.java (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java (66%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java (75%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java (87%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java (72%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java (81%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java (70%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Index.java (79%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexName.java (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java (72%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java (82%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java (88%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java (70%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java (61%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java (70%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java (71%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java (65%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java (61%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java (71%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java (65%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/OperationState.java (73%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Progress.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ProjectName.java (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java (63%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java (56%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java (68%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/database.proto (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/field.proto (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/firestore_admin.proto (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/index.proto (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/location.proto (100%) rename {proto-google-cloud-firestore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/operation.proto (100%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleElement.java (64%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java (67%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleMetadata.java (69%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java (70%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java (71%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledQuery.java (69%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java (69%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/NamedQuery.java (71%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java (76%) rename {proto-google-cloud-firestore-bundle-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1}/src/main/proto/google/firestore/bundle/bundle.proto (100%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/AggregationResult.java (65%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java (72%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ArrayValue.java (69%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java (55%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java (75%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java (84%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java (80%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteRequest.java (69%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java (71%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteResponse.java (75%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java (68%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java (67%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitRequest.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java (68%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitResponse.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java (76%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java (77%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Cursor.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CursorOrBuilder.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Document.java (76%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentChange.java (71%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java (78%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentDelete.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentMask.java (70%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java (65%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java (89%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentRemove.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java (75%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentTransform.java (80%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java (66%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ExistenceFilter.java (67%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java (55%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/GetDocumentRequest.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java (78%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java (68%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java (62%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java (76%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java (84%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java (65%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenRequest.java (65%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java (69%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenResponse.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java (84%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/MapValue.java (64%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java (77%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java (85%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java (81%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java (85%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Precondition.java (69%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java (71%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RollbackRequest.java (68%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java (58%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java (82%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java (62%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java (59%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryRequest.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java (83%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryResponse.java (75%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java (82%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java (69%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java (62%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredQuery.java (76%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java (92%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Target.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetChange.java (76%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java (85%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetOrBuilder.java (82%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TransactionOptions.java (71%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java (73%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java (83%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Value.java (74%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ValueOrBuilder.java (86%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Write.java (75%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteOrBuilder.java (86%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteRequest.java (72%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java (76%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResponse.java (75%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java (78%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResult.java (75%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java (78%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/aggregation_result.proto (98%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/common.proto (99%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/document.proto (99%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/firestore.proto (98%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/query.proto (93%) rename {proto-google-cloud-firestore-v1 => owl-bot-staging/v1/proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/write.proto (99%) delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java delete mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java delete mode 100644 proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java delete mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java diff --git a/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java b/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java deleted file mode 100644 index 62172b7ea..000000000 --- a/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java +++ /dev/null @@ -1,2069 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.firestore.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Cloud Firestore service.
- * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
- * document database that simplifies storing, syncing, and querying data for
- * your mobile, web, and IoT apps at global scale. Its client libraries provide
- * live synchronization and offline support, while its security features and
- * integrations with Firebase and Google Cloud Platform accelerate building
- * truly serverless apps.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/firestore/v1/firestore.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class FirestoreGrpc { - - private FirestoreGrpc() {} - - public static final String SERVICE_NAME = "google.firestore.v1.Firestore"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> - getGetDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDocument", - requestType = com.google.firestore.v1.GetDocumentRequest.class, - responseType = com.google.firestore.v1.Document.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> - getGetDocumentMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> - getGetDocumentMethod; - if ((getGetDocumentMethod = FirestoreGrpc.getGetDocumentMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getGetDocumentMethod = FirestoreGrpc.getGetDocumentMethod) == null) { - FirestoreGrpc.getGetDocumentMethod = - getGetDocumentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.GetDocumentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.Document.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("GetDocument")) - .build(); - } - } - } - return getGetDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.ListDocumentsRequest, - com.google.firestore.v1.ListDocumentsResponse> - getListDocumentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDocuments", - requestType = com.google.firestore.v1.ListDocumentsRequest.class, - responseType = com.google.firestore.v1.ListDocumentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.ListDocumentsRequest, - com.google.firestore.v1.ListDocumentsResponse> - getListDocumentsMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.ListDocumentsRequest, - com.google.firestore.v1.ListDocumentsResponse> - getListDocumentsMethod; - if ((getListDocumentsMethod = FirestoreGrpc.getListDocumentsMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getListDocumentsMethod = FirestoreGrpc.getListDocumentsMethod) == null) { - FirestoreGrpc.getListDocumentsMethod = - getListDocumentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDocuments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListDocumentsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListDocumentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("ListDocuments")) - .build(); - } - } - } - return getListDocumentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> - getUpdateDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDocument", - requestType = com.google.firestore.v1.UpdateDocumentRequest.class, - responseType = com.google.firestore.v1.Document.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> - getUpdateDocumentMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> - getUpdateDocumentMethod; - if ((getUpdateDocumentMethod = FirestoreGrpc.getUpdateDocumentMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getUpdateDocumentMethod = FirestoreGrpc.getUpdateDocumentMethod) == null) { - FirestoreGrpc.getUpdateDocumentMethod = - getUpdateDocumentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.UpdateDocumentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.Document.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("UpdateDocument")) - .build(); - } - } - } - return getUpdateDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> - getDeleteDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDocument", - requestType = com.google.firestore.v1.DeleteDocumentRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> - getDeleteDocumentMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> - getDeleteDocumentMethod; - if ((getDeleteDocumentMethod = FirestoreGrpc.getDeleteDocumentMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getDeleteDocumentMethod = FirestoreGrpc.getDeleteDocumentMethod) == null) { - FirestoreGrpc.getDeleteDocumentMethod = - getDeleteDocumentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.DeleteDocumentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("DeleteDocument")) - .build(); - } - } - } - return getDeleteDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.BatchGetDocumentsRequest, - com.google.firestore.v1.BatchGetDocumentsResponse> - getBatchGetDocumentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetDocuments", - requestType = com.google.firestore.v1.BatchGetDocumentsRequest.class, - responseType = com.google.firestore.v1.BatchGetDocumentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.BatchGetDocumentsRequest, - com.google.firestore.v1.BatchGetDocumentsResponse> - getBatchGetDocumentsMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.BatchGetDocumentsRequest, - com.google.firestore.v1.BatchGetDocumentsResponse> - getBatchGetDocumentsMethod; - if ((getBatchGetDocumentsMethod = FirestoreGrpc.getBatchGetDocumentsMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getBatchGetDocumentsMethod = FirestoreGrpc.getBatchGetDocumentsMethod) == null) { - FirestoreGrpc.getBatchGetDocumentsMethod = - getBatchGetDocumentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetDocuments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BatchGetDocumentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BatchGetDocumentsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new FirestoreMethodDescriptorSupplier("BatchGetDocuments")) - .build(); - } - } - } - return getBatchGetDocumentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.BeginTransactionRequest, - com.google.firestore.v1.BeginTransactionResponse> - getBeginTransactionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BeginTransaction", - requestType = com.google.firestore.v1.BeginTransactionRequest.class, - responseType = com.google.firestore.v1.BeginTransactionResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.BeginTransactionRequest, - com.google.firestore.v1.BeginTransactionResponse> - getBeginTransactionMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.BeginTransactionRequest, - com.google.firestore.v1.BeginTransactionResponse> - getBeginTransactionMethod; - if ((getBeginTransactionMethod = FirestoreGrpc.getBeginTransactionMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getBeginTransactionMethod = FirestoreGrpc.getBeginTransactionMethod) == null) { - FirestoreGrpc.getBeginTransactionMethod = - getBeginTransactionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BeginTransactionResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new FirestoreMethodDescriptorSupplier("BeginTransaction")) - .build(); - } - } - } - return getBeginTransactionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> - getCommitMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Commit", - requestType = com.google.firestore.v1.CommitRequest.class, - responseType = com.google.firestore.v1.CommitResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> - getCommitMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> - getCommitMethod; - if ((getCommitMethod = FirestoreGrpc.getCommitMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getCommitMethod = FirestoreGrpc.getCommitMethod) == null) { - FirestoreGrpc.getCommitMethod = - getCommitMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.CommitRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.CommitResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Commit")) - .build(); - } - } - } - return getCommitMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty> - getRollbackMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Rollback", - requestType = com.google.firestore.v1.RollbackRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty> - getRollbackMethod() { - io.grpc.MethodDescriptor - getRollbackMethod; - if ((getRollbackMethod = FirestoreGrpc.getRollbackMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getRollbackMethod = FirestoreGrpc.getRollbackMethod) == null) { - FirestoreGrpc.getRollbackMethod = - getRollbackMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Rollback")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.RollbackRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Rollback")) - .build(); - } - } - } - return getRollbackMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> - getRunQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunQuery", - requestType = com.google.firestore.v1.RunQueryRequest.class, - responseType = com.google.firestore.v1.RunQueryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> - getRunQueryMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> - getRunQueryMethod; - if ((getRunQueryMethod = FirestoreGrpc.getRunQueryMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getRunQueryMethod = FirestoreGrpc.getRunQueryMethod) == null) { - FirestoreGrpc.getRunQueryMethod = - getRunQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.RunQueryRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.RunQueryResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("RunQuery")) - .build(); - } - } - } - return getRunQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.RunAggregationQueryRequest, - com.google.firestore.v1.RunAggregationQueryResponse> - getRunAggregationQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunAggregationQuery", - requestType = com.google.firestore.v1.RunAggregationQueryRequest.class, - responseType = com.google.firestore.v1.RunAggregationQueryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.RunAggregationQueryRequest, - com.google.firestore.v1.RunAggregationQueryResponse> - getRunAggregationQueryMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.RunAggregationQueryRequest, - com.google.firestore.v1.RunAggregationQueryResponse> - getRunAggregationQueryMethod; - if ((getRunAggregationQueryMethod = FirestoreGrpc.getRunAggregationQueryMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getRunAggregationQueryMethod = FirestoreGrpc.getRunAggregationQueryMethod) == null) { - FirestoreGrpc.getRunAggregationQueryMethod = - getRunAggregationQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RunAggregationQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.RunAggregationQueryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.RunAggregationQueryResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new FirestoreMethodDescriptorSupplier("RunAggregationQuery")) - .build(); - } - } - } - return getRunAggregationQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.PartitionQueryRequest, - com.google.firestore.v1.PartitionQueryResponse> - getPartitionQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PartitionQuery", - requestType = com.google.firestore.v1.PartitionQueryRequest.class, - responseType = com.google.firestore.v1.PartitionQueryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.PartitionQueryRequest, - com.google.firestore.v1.PartitionQueryResponse> - getPartitionQueryMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.PartitionQueryRequest, - com.google.firestore.v1.PartitionQueryResponse> - getPartitionQueryMethod; - if ((getPartitionQueryMethod = FirestoreGrpc.getPartitionQueryMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getPartitionQueryMethod = FirestoreGrpc.getPartitionQueryMethod) == null) { - FirestoreGrpc.getPartitionQueryMethod = - getPartitionQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.PartitionQueryRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.PartitionQueryResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("PartitionQuery")) - .build(); - } - } - } - return getPartitionQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> - getWriteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Write", - requestType = com.google.firestore.v1.WriteRequest.class, - responseType = com.google.firestore.v1.WriteResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> - getWriteMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> - getWriteMethod; - if ((getWriteMethod = FirestoreGrpc.getWriteMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getWriteMethod = FirestoreGrpc.getWriteMethod) == null) { - FirestoreGrpc.getWriteMethod = - getWriteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Write")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.WriteRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.WriteResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Write")) - .build(); - } - } - } - return getWriteMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> - getListenMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Listen", - requestType = com.google.firestore.v1.ListenRequest.class, - responseType = com.google.firestore.v1.ListenResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> - getListenMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> - getListenMethod; - if ((getListenMethod = FirestoreGrpc.getListenMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getListenMethod = FirestoreGrpc.getListenMethod) == null) { - FirestoreGrpc.getListenMethod = - getListenMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Listen")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListenRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListenResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Listen")) - .build(); - } - } - } - return getListenMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.ListCollectionIdsRequest, - com.google.firestore.v1.ListCollectionIdsResponse> - getListCollectionIdsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCollectionIds", - requestType = com.google.firestore.v1.ListCollectionIdsRequest.class, - responseType = com.google.firestore.v1.ListCollectionIdsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.ListCollectionIdsRequest, - com.google.firestore.v1.ListCollectionIdsResponse> - getListCollectionIdsMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.ListCollectionIdsRequest, - com.google.firestore.v1.ListCollectionIdsResponse> - getListCollectionIdsMethod; - if ((getListCollectionIdsMethod = FirestoreGrpc.getListCollectionIdsMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getListCollectionIdsMethod = FirestoreGrpc.getListCollectionIdsMethod) == null) { - FirestoreGrpc.getListCollectionIdsMethod = - getListCollectionIdsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCollectionIds")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListCollectionIdsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListCollectionIdsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new FirestoreMethodDescriptorSupplier("ListCollectionIds")) - .build(); - } - } - } - return getListCollectionIdsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.BatchWriteRequest, com.google.firestore.v1.BatchWriteResponse> - getBatchWriteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchWrite", - requestType = com.google.firestore.v1.BatchWriteRequest.class, - responseType = com.google.firestore.v1.BatchWriteResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.BatchWriteRequest, com.google.firestore.v1.BatchWriteResponse> - getBatchWriteMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.BatchWriteRequest, com.google.firestore.v1.BatchWriteResponse> - getBatchWriteMethod; - if ((getBatchWriteMethod = FirestoreGrpc.getBatchWriteMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getBatchWriteMethod = FirestoreGrpc.getBatchWriteMethod) == null) { - FirestoreGrpc.getBatchWriteMethod = - getBatchWriteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchWrite")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BatchWriteRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BatchWriteResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("BatchWrite")) - .build(); - } - } - } - return getBatchWriteMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> - getCreateDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDocument", - requestType = com.google.firestore.v1.CreateDocumentRequest.class, - responseType = com.google.firestore.v1.Document.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> - getCreateDocumentMethod() { - io.grpc.MethodDescriptor< - com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> - getCreateDocumentMethod; - if ((getCreateDocumentMethod = FirestoreGrpc.getCreateDocumentMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getCreateDocumentMethod = FirestoreGrpc.getCreateDocumentMethod) == null) { - FirestoreGrpc.getCreateDocumentMethod = - getCreateDocumentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.CreateDocumentRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.Document.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("CreateDocument")) - .build(); - } - } - } - return getCreateDocumentMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static FirestoreStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FirestoreStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreStub(channel, callOptions); - } - }; - return FirestoreStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static FirestoreBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FirestoreBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreBlockingStub(channel, callOptions); - } - }; - return FirestoreBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static FirestoreFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FirestoreFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreFutureStub(channel, callOptions); - } - }; - return FirestoreFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Cloud Firestore service.
-   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
-   * document database that simplifies storing, syncing, and querying data for
-   * your mobile, web, and IoT apps at global scale. Its client libraries provide
-   * live synchronization and offline support, while its security features and
-   * integrations with Firebase and Google Cloud Platform accelerate building
-   * truly serverless apps.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Gets a single document.
-     * 
- */ - default void getDocument( - com.google.firestore.v1.GetDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDocumentMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists documents.
-     * 
- */ - default void listDocuments( - com.google.firestore.v1.ListDocumentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDocumentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates or inserts a document.
-     * 
- */ - default void updateDocument( - com.google.firestore.v1.UpdateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDocumentMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a document.
-     * 
- */ - default void deleteDocument( - com.google.firestore.v1.DeleteDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDocumentMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets multiple documents.
-     * Documents returned by this method are not guaranteed to be returned in the
-     * same order that they were requested.
-     * 
- */ - default void batchGetDocuments( - com.google.firestore.v1.BatchGetDocumentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchGetDocumentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Starts a new transaction.
-     * 
- */ - default void beginTransaction( - com.google.firestore.v1.BeginTransactionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBeginTransactionMethod(), responseObserver); - } - - /** - * - * - *
-     * Commits a transaction, while optionally updating documents.
-     * 
- */ - default void commit( - com.google.firestore.v1.CommitRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); - } - - /** - * - * - *
-     * Rolls back a transaction.
-     * 
- */ - default void rollback( - com.google.firestore.v1.RollbackRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); - } - - /** - * - * - *
-     * Runs a query.
-     * 
- */ - default void runQuery( - com.google.firestore.v1.RunQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunQueryMethod(), responseObserver); - } - - /** - * - * - *
-     * Runs an aggregation query.
-     * Rather than producing [Document][google.firestore.v1.Document] results like
-     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
-     * allows running an aggregation to produce a series of
-     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
-     * High-Level Example:
-     * ```
-     * -- Return the number of documents in table given a filter.
-     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
-     * ```
-     * 
- */ - default void runAggregationQuery( - com.google.firestore.v1.RunAggregationQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRunAggregationQueryMethod(), responseObserver); - } - - /** - * - * - *
-     * Partitions a query by returning partition cursors that can be used to run
-     * the query in parallel. The returned partition cursors are split points that
-     * can be used by RunQuery as starting/end points for the query results.
-     * 
- */ - default void partitionQuery( - com.google.firestore.v1.PartitionQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPartitionQueryMethod(), responseObserver); - } - - /** - * - * - *
-     * Streams batches of document updates and deletes, in order. This method is
-     * only available via the gRPC API (not REST).
-     * 
- */ - default io.grpc.stub.StreamObserver write( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( - getWriteMethod(), responseObserver); - } - - /** - * - * - *
-     * Listens to changes. This method is only available via the gRPC API (not
-     * REST).
-     * 
- */ - default io.grpc.stub.StreamObserver listen( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( - getListenMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all the collection IDs underneath a document.
-     * 
- */ - default void listCollectionIds( - com.google.firestore.v1.ListCollectionIdsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCollectionIdsMethod(), responseObserver); - } - - /** - * - * - *
-     * Applies a batch of write operations.
-     * The BatchWrite method does not apply the write operations atomically
-     * and can apply them out of order. Method does not allow more than one write
-     * per document. Each write succeeds or fails independently. See the
-     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
-     * success status of each write.
-     * If you require an atomically applied set of writes, use
-     * [Commit][google.firestore.v1.Firestore.Commit] instead.
-     * 
- */ - default void batchWrite( - com.google.firestore.v1.BatchWriteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchWriteMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new document.
-     * 
- */ - default void createDocument( - com.google.firestore.v1.CreateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDocumentMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Firestore. - * - *
-   * The Cloud Firestore service.
-   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
-   * document database that simplifies storing, syncing, and querying data for
-   * your mobile, web, and IoT apps at global scale. Its client libraries provide
-   * live synchronization and offline support, while its security features and
-   * integrations with Firebase and Google Cloud Platform accelerate building
-   * truly serverless apps.
-   * 
- */ - public abstract static class FirestoreImplBase implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return FirestoreGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Firestore. - * - *
-   * The Cloud Firestore service.
-   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
-   * document database that simplifies storing, syncing, and querying data for
-   * your mobile, web, and IoT apps at global scale. Its client libraries provide
-   * live synchronization and offline support, while its security features and
-   * integrations with Firebase and Google Cloud Platform accelerate building
-   * truly serverless apps.
-   * 
- */ - public static final class FirestoreStub extends io.grpc.stub.AbstractAsyncStub { - private FirestoreStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FirestoreStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets a single document.
-     * 
- */ - public void getDocument( - com.google.firestore.v1.GetDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDocumentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists documents.
-     * 
- */ - public void listDocuments( - com.google.firestore.v1.ListDocumentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDocumentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates or inserts a document.
-     * 
- */ - public void updateDocument( - com.google.firestore.v1.UpdateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDocumentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a document.
-     * 
- */ - public void deleteDocument( - com.google.firestore.v1.DeleteDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDocumentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets multiple documents.
-     * Documents returned by this method are not guaranteed to be returned in the
-     * same order that they were requested.
-     * 
- */ - public void batchGetDocuments( - com.google.firestore.v1.BatchGetDocumentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getBatchGetDocumentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Starts a new transaction.
-     * 
- */ - public void beginTransaction( - com.google.firestore.v1.BeginTransactionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Commits a transaction, while optionally updating documents.
-     * 
- */ - public void commit( - com.google.firestore.v1.CommitRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCommitMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Rolls back a transaction.
-     * 
- */ - public void rollback( - com.google.firestore.v1.RollbackRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Runs a query.
-     * 
- */ - public void runQuery( - com.google.firestore.v1.RunQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getRunQueryMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Runs an aggregation query.
-     * Rather than producing [Document][google.firestore.v1.Document] results like
-     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
-     * allows running an aggregation to produce a series of
-     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
-     * High-Level Example:
-     * ```
-     * -- Return the number of documents in table given a filter.
-     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
-     * ```
-     * 
- */ - public void runAggregationQuery( - com.google.firestore.v1.RunAggregationQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getRunAggregationQueryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Partitions a query by returning partition cursors that can be used to run
-     * the query in parallel. The returned partition cursors are split points that
-     * can be used by RunQuery as starting/end points for the query results.
-     * 
- */ - public void partitionQuery( - com.google.firestore.v1.PartitionQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Streams batches of document updates and deletes, in order. This method is
-     * only available via the gRPC API (not REST).
-     * 
- */ - public io.grpc.stub.StreamObserver write( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( - getChannel().newCall(getWriteMethod(), getCallOptions()), responseObserver); - } - - /** - * - * - *
-     * Listens to changes. This method is only available via the gRPC API (not
-     * REST).
-     * 
- */ - public io.grpc.stub.StreamObserver listen( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( - getChannel().newCall(getListenMethod(), getCallOptions()), responseObserver); - } - - /** - * - * - *
-     * Lists all the collection IDs underneath a document.
-     * 
- */ - public void listCollectionIds( - com.google.firestore.v1.ListCollectionIdsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCollectionIdsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Applies a batch of write operations.
-     * The BatchWrite method does not apply the write operations atomically
-     * and can apply them out of order. Method does not allow more than one write
-     * per document. Each write succeeds or fails independently. See the
-     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
-     * success status of each write.
-     * If you require an atomically applied set of writes, use
-     * [Commit][google.firestore.v1.Firestore.Commit] instead.
-     * 
- */ - public void batchWrite( - com.google.firestore.v1.BatchWriteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchWriteMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new document.
-     * 
- */ - public void createDocument( - com.google.firestore.v1.CreateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDocumentMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Firestore. - * - *
-   * The Cloud Firestore service.
-   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
-   * document database that simplifies storing, syncing, and querying data for
-   * your mobile, web, and IoT apps at global scale. Its client libraries provide
-   * live synchronization and offline support, while its security features and
-   * integrations with Firebase and Google Cloud Platform accelerate building
-   * truly serverless apps.
-   * 
- */ - public static final class FirestoreBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private FirestoreBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FirestoreBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets a single document.
-     * 
- */ - public com.google.firestore.v1.Document getDocument( - com.google.firestore.v1.GetDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDocumentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists documents.
-     * 
- */ - public com.google.firestore.v1.ListDocumentsResponse listDocuments( - com.google.firestore.v1.ListDocumentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDocumentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates or inserts a document.
-     * 
- */ - public com.google.firestore.v1.Document updateDocument( - com.google.firestore.v1.UpdateDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDocumentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a document.
-     * 
- */ - public com.google.protobuf.Empty deleteDocument( - com.google.firestore.v1.DeleteDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDocumentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets multiple documents.
-     * Documents returned by this method are not guaranteed to be returned in the
-     * same order that they were requested.
-     * 
- */ - public java.util.Iterator batchGetDocuments( - com.google.firestore.v1.BatchGetDocumentsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getBatchGetDocumentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Starts a new transaction.
-     * 
- */ - public com.google.firestore.v1.BeginTransactionResponse beginTransaction( - com.google.firestore.v1.BeginTransactionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBeginTransactionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Commits a transaction, while optionally updating documents.
-     * 
- */ - public com.google.firestore.v1.CommitResponse commit( - com.google.firestore.v1.CommitRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCommitMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Rolls back a transaction.
-     * 
- */ - public com.google.protobuf.Empty rollback(com.google.firestore.v1.RollbackRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Runs a query.
-     * 
- */ - public java.util.Iterator runQuery( - com.google.firestore.v1.RunQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getRunQueryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Runs an aggregation query.
-     * Rather than producing [Document][google.firestore.v1.Document] results like
-     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
-     * allows running an aggregation to produce a series of
-     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
-     * High-Level Example:
-     * ```
-     * -- Return the number of documents in table given a filter.
-     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
-     * ```
-     * 
- */ - public java.util.Iterator - runAggregationQuery(com.google.firestore.v1.RunAggregationQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getRunAggregationQueryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Partitions a query by returning partition cursors that can be used to run
-     * the query in parallel. The returned partition cursors are split points that
-     * can be used by RunQuery as starting/end points for the query results.
-     * 
- */ - public com.google.firestore.v1.PartitionQueryResponse partitionQuery( - com.google.firestore.v1.PartitionQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPartitionQueryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all the collection IDs underneath a document.
-     * 
- */ - public com.google.firestore.v1.ListCollectionIdsResponse listCollectionIds( - com.google.firestore.v1.ListCollectionIdsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCollectionIdsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Applies a batch of write operations.
-     * The BatchWrite method does not apply the write operations atomically
-     * and can apply them out of order. Method does not allow more than one write
-     * per document. Each write succeeds or fails independently. See the
-     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
-     * success status of each write.
-     * If you require an atomically applied set of writes, use
-     * [Commit][google.firestore.v1.Firestore.Commit] instead.
-     * 
- */ - public com.google.firestore.v1.BatchWriteResponse batchWrite( - com.google.firestore.v1.BatchWriteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchWriteMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new document.
-     * 
- */ - public com.google.firestore.v1.Document createDocument( - com.google.firestore.v1.CreateDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDocumentMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Firestore. - * - *
-   * The Cloud Firestore service.
-   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
-   * document database that simplifies storing, syncing, and querying data for
-   * your mobile, web, and IoT apps at global scale. Its client libraries provide
-   * live synchronization and offline support, while its security features and
-   * integrations with Firebase and Google Cloud Platform accelerate building
-   * truly serverless apps.
-   * 
- */ - public static final class FirestoreFutureStub - extends io.grpc.stub.AbstractFutureStub { - private FirestoreFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FirestoreFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets a single document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getDocument(com.google.firestore.v1.GetDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDocumentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists documents.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.v1.ListDocumentsResponse> - listDocuments(com.google.firestore.v1.ListDocumentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDocumentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates or inserts a document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateDocument(com.google.firestore.v1.UpdateDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDocumentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteDocument(com.google.firestore.v1.DeleteDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDocumentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Starts a new transaction.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.v1.BeginTransactionResponse> - beginTransaction(com.google.firestore.v1.BeginTransactionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Commits a transaction, while optionally updating documents.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.v1.CommitResponse> - commit(com.google.firestore.v1.CommitRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCommitMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Rolls back a transaction.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture rollback( - com.google.firestore.v1.RollbackRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Partitions a query by returning partition cursors that can be used to run
-     * the query in parallel. The returned partition cursors are split points that
-     * can be used by RunQuery as starting/end points for the query results.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.v1.PartitionQueryResponse> - partitionQuery(com.google.firestore.v1.PartitionQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all the collection IDs underneath a document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.v1.ListCollectionIdsResponse> - listCollectionIds(com.google.firestore.v1.ListCollectionIdsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCollectionIdsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Applies a batch of write operations.
-     * The BatchWrite method does not apply the write operations atomically
-     * and can apply them out of order. Method does not allow more than one write
-     * per document. Each write succeeds or fails independently. See the
-     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
-     * success status of each write.
-     * If you require an atomically applied set of writes, use
-     * [Commit][google.firestore.v1.Firestore.Commit] instead.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.v1.BatchWriteResponse> - batchWrite(com.google.firestore.v1.BatchWriteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchWriteMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createDocument(com.google.firestore.v1.CreateDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDocumentMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_DOCUMENT = 0; - private static final int METHODID_LIST_DOCUMENTS = 1; - private static final int METHODID_UPDATE_DOCUMENT = 2; - private static final int METHODID_DELETE_DOCUMENT = 3; - private static final int METHODID_BATCH_GET_DOCUMENTS = 4; - private static final int METHODID_BEGIN_TRANSACTION = 5; - private static final int METHODID_COMMIT = 6; - private static final int METHODID_ROLLBACK = 7; - private static final int METHODID_RUN_QUERY = 8; - private static final int METHODID_RUN_AGGREGATION_QUERY = 9; - private static final int METHODID_PARTITION_QUERY = 10; - private static final int METHODID_LIST_COLLECTION_IDS = 11; - private static final int METHODID_BATCH_WRITE = 12; - private static final int METHODID_CREATE_DOCUMENT = 13; - private static final int METHODID_WRITE = 14; - private static final int METHODID_LISTEN = 15; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_DOCUMENT: - serviceImpl.getDocument( - (com.google.firestore.v1.GetDocumentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DOCUMENTS: - serviceImpl.listDocuments( - (com.google.firestore.v1.ListDocumentsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_DOCUMENT: - serviceImpl.updateDocument( - (com.google.firestore.v1.UpdateDocumentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DOCUMENT: - serviceImpl.deleteDocument( - (com.google.firestore.v1.DeleteDocumentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_GET_DOCUMENTS: - serviceImpl.batchGetDocuments( - (com.google.firestore.v1.BatchGetDocumentsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BEGIN_TRANSACTION: - serviceImpl.beginTransaction( - (com.google.firestore.v1.BeginTransactionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_COMMIT: - serviceImpl.commit( - (com.google.firestore.v1.CommitRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_ROLLBACK: - serviceImpl.rollback( - (com.google.firestore.v1.RollbackRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_QUERY: - serviceImpl.runQuery( - (com.google.firestore.v1.RunQueryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_RUN_AGGREGATION_QUERY: - serviceImpl.runAggregationQuery( - (com.google.firestore.v1.RunAggregationQueryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_PARTITION_QUERY: - serviceImpl.partitionQuery( - (com.google.firestore.v1.PartitionQueryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_COLLECTION_IDS: - serviceImpl.listCollectionIds( - (com.google.firestore.v1.ListCollectionIdsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_BATCH_WRITE: - serviceImpl.batchWrite( - (com.google.firestore.v1.BatchWriteRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_DOCUMENT: - serviceImpl.createDocument( - (com.google.firestore.v1.CreateDocumentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_WRITE: - return (io.grpc.stub.StreamObserver) - serviceImpl.write( - (io.grpc.stub.StreamObserver) - responseObserver); - case METHODID_LISTEN: - return (io.grpc.stub.StreamObserver) - serviceImpl.listen( - (io.grpc.stub.StreamObserver) - responseObserver); - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document>( - service, METHODID_GET_DOCUMENT))) - .addMethod( - getListDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.ListDocumentsRequest, - com.google.firestore.v1.ListDocumentsResponse>( - service, METHODID_LIST_DOCUMENTS))) - .addMethod( - getUpdateDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.UpdateDocumentRequest, - com.google.firestore.v1.Document>(service, METHODID_UPDATE_DOCUMENT))) - .addMethod( - getDeleteDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_DOCUMENT))) - .addMethod( - getBatchGetDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.BatchGetDocumentsRequest, - com.google.firestore.v1.BatchGetDocumentsResponse>( - service, METHODID_BATCH_GET_DOCUMENTS))) - .addMethod( - getBeginTransactionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.BeginTransactionRequest, - com.google.firestore.v1.BeginTransactionResponse>( - service, METHODID_BEGIN_TRANSACTION))) - .addMethod( - getCommitMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse>( - service, METHODID_COMMIT))) - .addMethod( - getRollbackMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty>( - service, METHODID_ROLLBACK))) - .addMethod( - getRunQueryMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.RunQueryRequest, - com.google.firestore.v1.RunQueryResponse>(service, METHODID_RUN_QUERY))) - .addMethod( - getRunAggregationQueryMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.RunAggregationQueryRequest, - com.google.firestore.v1.RunAggregationQueryResponse>( - service, METHODID_RUN_AGGREGATION_QUERY))) - .addMethod( - getPartitionQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.PartitionQueryRequest, - com.google.firestore.v1.PartitionQueryResponse>( - service, METHODID_PARTITION_QUERY))) - .addMethod( - getWriteMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse>( - service, METHODID_WRITE))) - .addMethod( - getListenMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse>( - service, METHODID_LISTEN))) - .addMethod( - getListCollectionIdsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.ListCollectionIdsRequest, - com.google.firestore.v1.ListCollectionIdsResponse>( - service, METHODID_LIST_COLLECTION_IDS))) - .addMethod( - getBatchWriteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.BatchWriteRequest, - com.google.firestore.v1.BatchWriteResponse>(service, METHODID_BATCH_WRITE))) - .addMethod( - getCreateDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.CreateDocumentRequest, - com.google.firestore.v1.Document>(service, METHODID_CREATE_DOCUMENT))) - .build(); - } - - private abstract static class FirestoreBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - FirestoreBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.firestore.v1.FirestoreProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Firestore"); - } - } - - private static final class FirestoreFileDescriptorSupplier - extends FirestoreBaseDescriptorSupplier { - FirestoreFileDescriptorSupplier() {} - } - - private static final class FirestoreMethodDescriptorSupplier - extends FirestoreBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - FirestoreMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (FirestoreGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new FirestoreFileDescriptorSupplier()) - .addMethod(getGetDocumentMethod()) - .addMethod(getListDocumentsMethod()) - .addMethod(getUpdateDocumentMethod()) - .addMethod(getDeleteDocumentMethod()) - .addMethod(getBatchGetDocumentsMethod()) - .addMethod(getBeginTransactionMethod()) - .addMethod(getCommitMethod()) - .addMethod(getRollbackMethod()) - .addMethod(getRunQueryMethod()) - .addMethod(getRunAggregationQueryMethod()) - .addMethod(getPartitionQueryMethod()) - .addMethod(getWriteMethod()) - .addMethod(getListenMethod()) - .addMethod(getListCollectionIdsMethod()) - .addMethod(getBatchWriteMethod()) - .addMethod(getCreateDocumentMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java similarity index 99% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java index dcbfef47f..8af444260 100644 --- a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java +++ b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java @@ -30,6 +30,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.firestore.v1.stub.FirestoreAdminStubSettings; diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java similarity index 99% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java index 808c90493..523a32f6b 100644 --- a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java @@ -57,6 +57,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java similarity index 100% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java diff --git a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java similarity index 99% rename from google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java index 8fddccb4e..d94395a35 100644 --- a/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java +++ b/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java @@ -32,6 +32,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java diff --git a/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java b/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java similarity index 100% rename from google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java rename to owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java similarity index 99% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java index 639803456..8f2bc7979 100644 --- a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java +++ b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java @@ -1040,7 +1040,7 @@ public final PartitionQueryPagedResponse partitionQuery(PartitionQueryRequest re // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Streams batches of document updates and deletes, in order. This method is only available via - * the gRPC API (not REST). + * gRPC or WebChannel (not REST). * *

Sample code: * @@ -1073,7 +1073,7 @@ public final BidiStreamingCallable writeCallable() // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Listens to changes. This method is only available via the gRPC API (not REST). + * Listens to changes. This method is only available via gRPC or WebChannel (not REST). * *

Sample code: * diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java similarity index 99% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java index 045422236..eb94bfc41 100644 --- a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java +++ b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java @@ -32,6 +32,7 @@ import com.google.api.gax.rpc.PagedCallSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.firestore.v1.stub.FirestoreStubSettings; diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java similarity index 99% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java index 28ec996d8..469063762 100644 --- a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java +++ b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java @@ -62,6 +62,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java diff --git a/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java b/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java similarity index 100% rename from google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java rename to owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java diff --git a/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java b/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java similarity index 100% rename from google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java rename to owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java diff --git a/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java similarity index 56% rename from grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java index db8aa0d67..b0058c0d9 100644 --- a/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.firestore.admin.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * The Cloud Firestore Admin API.
  * This API provides several administrative services for Cloud Firestore.
@@ -54,572 +37,423 @@ private FirestoreAdminGrpc() {}
   public static final String SERVICE_NAME = "google.firestore.admin.v1.FirestoreAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.CreateIndexRequest, com.google.longrunning.Operation>
-      getCreateIndexMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateIndexMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateIndex",
       requestType = com.google.firestore.admin.v1.CreateIndexRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.CreateIndexRequest, com.google.longrunning.Operation>
-      getCreateIndexMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.CreateIndexRequest, com.google.longrunning.Operation>
-        getCreateIndexMethod;
+  public static io.grpc.MethodDescriptor getCreateIndexMethod() {
+    io.grpc.MethodDescriptor getCreateIndexMethod;
     if ((getCreateIndexMethod = FirestoreAdminGrpc.getCreateIndexMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getCreateIndexMethod = FirestoreAdminGrpc.getCreateIndexMethod) == null) {
-          FirestoreAdminGrpc.getCreateIndexMethod =
-              getCreateIndexMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIndex"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.CreateIndexRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("CreateIndex"))
-                      .build();
+          FirestoreAdminGrpc.getCreateIndexMethod = getCreateIndexMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIndex"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.CreateIndexRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("CreateIndex"))
+              .build();
         }
       }
     }
     return getCreateIndexMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListIndexesRequest,
-          com.google.firestore.admin.v1.ListIndexesResponse>
-      getListIndexesMethod;
+  private static volatile io.grpc.MethodDescriptor getListIndexesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListIndexes",
       requestType = com.google.firestore.admin.v1.ListIndexesRequest.class,
       responseType = com.google.firestore.admin.v1.ListIndexesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListIndexesRequest,
-          com.google.firestore.admin.v1.ListIndexesResponse>
-      getListIndexesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.ListIndexesRequest,
-            com.google.firestore.admin.v1.ListIndexesResponse>
-        getListIndexesMethod;
+  public static io.grpc.MethodDescriptor getListIndexesMethod() {
+    io.grpc.MethodDescriptor getListIndexesMethod;
     if ((getListIndexesMethod = FirestoreAdminGrpc.getListIndexesMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getListIndexesMethod = FirestoreAdminGrpc.getListIndexesMethod) == null) {
-          FirestoreAdminGrpc.getListIndexesMethod =
-              getListIndexesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIndexes"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListIndexesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListIndexesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("ListIndexes"))
-                      .build();
+          FirestoreAdminGrpc.getListIndexesMethod = getListIndexesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIndexes"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListIndexesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListIndexesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListIndexes"))
+              .build();
         }
       }
     }
     return getListIndexesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetIndexRequest, com.google.firestore.admin.v1.Index>
-      getGetIndexMethod;
+  private static volatile io.grpc.MethodDescriptor getGetIndexMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetIndex",
       requestType = com.google.firestore.admin.v1.GetIndexRequest.class,
       responseType = com.google.firestore.admin.v1.Index.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetIndexRequest, com.google.firestore.admin.v1.Index>
-      getGetIndexMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.GetIndexRequest, com.google.firestore.admin.v1.Index>
-        getGetIndexMethod;
+  public static io.grpc.MethodDescriptor getGetIndexMethod() {
+    io.grpc.MethodDescriptor getGetIndexMethod;
     if ((getGetIndexMethod = FirestoreAdminGrpc.getGetIndexMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getGetIndexMethod = FirestoreAdminGrpc.getGetIndexMethod) == null) {
-          FirestoreAdminGrpc.getGetIndexMethod =
-              getGetIndexMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIndex"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.GetIndexRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.Index.getDefaultInstance()))
-                      .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetIndex"))
-                      .build();
+          FirestoreAdminGrpc.getGetIndexMethod = getGetIndexMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIndex"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.GetIndexRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.Index.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetIndex"))
+              .build();
         }
       }
     }
     return getGetIndexMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>
-      getDeleteIndexMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteIndexMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteIndex",
       requestType = com.google.firestore.admin.v1.DeleteIndexRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>
-      getDeleteIndexMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>
-        getDeleteIndexMethod;
+  public static io.grpc.MethodDescriptor getDeleteIndexMethod() {
+    io.grpc.MethodDescriptor getDeleteIndexMethod;
     if ((getDeleteIndexMethod = FirestoreAdminGrpc.getDeleteIndexMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getDeleteIndexMethod = FirestoreAdminGrpc.getDeleteIndexMethod) == null) {
-          FirestoreAdminGrpc.getDeleteIndexMethod =
-              getDeleteIndexMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIndex"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.DeleteIndexRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("DeleteIndex"))
-                      .build();
+          FirestoreAdminGrpc.getDeleteIndexMethod = getDeleteIndexMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIndex"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.DeleteIndexRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("DeleteIndex"))
+              .build();
         }
       }
     }
     return getDeleteIndexMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetFieldRequest, com.google.firestore.admin.v1.Field>
-      getGetFieldMethod;
+  private static volatile io.grpc.MethodDescriptor getGetFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetField",
       requestType = com.google.firestore.admin.v1.GetFieldRequest.class,
       responseType = com.google.firestore.admin.v1.Field.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetFieldRequest, com.google.firestore.admin.v1.Field>
-      getGetFieldMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.GetFieldRequest, com.google.firestore.admin.v1.Field>
-        getGetFieldMethod;
+  public static io.grpc.MethodDescriptor getGetFieldMethod() {
+    io.grpc.MethodDescriptor getGetFieldMethod;
     if ((getGetFieldMethod = FirestoreAdminGrpc.getGetFieldMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getGetFieldMethod = FirestoreAdminGrpc.getGetFieldMethod) == null) {
-          FirestoreAdminGrpc.getGetFieldMethod =
-              getGetFieldMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetField"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.GetFieldRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.Field.getDefaultInstance()))
-                      .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetField"))
-                      .build();
+          FirestoreAdminGrpc.getGetFieldMethod = getGetFieldMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetField"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.GetFieldRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.Field.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetField"))
+              .build();
         }
       }
     }
     return getGetFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.UpdateFieldRequest, com.google.longrunning.Operation>
-      getUpdateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateField",
       requestType = com.google.firestore.admin.v1.UpdateFieldRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.UpdateFieldRequest, com.google.longrunning.Operation>
-      getUpdateFieldMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.UpdateFieldRequest, com.google.longrunning.Operation>
-        getUpdateFieldMethod;
+  public static io.grpc.MethodDescriptor getUpdateFieldMethod() {
+    io.grpc.MethodDescriptor getUpdateFieldMethod;
     if ((getUpdateFieldMethod = FirestoreAdminGrpc.getUpdateFieldMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getUpdateFieldMethod = FirestoreAdminGrpc.getUpdateFieldMethod) == null) {
-          FirestoreAdminGrpc.getUpdateFieldMethod =
-              getUpdateFieldMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateField"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.UpdateFieldRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("UpdateField"))
-                      .build();
+          FirestoreAdminGrpc.getUpdateFieldMethod = getUpdateFieldMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateField"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.UpdateFieldRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("UpdateField"))
+              .build();
         }
       }
     }
     return getUpdateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListFieldsRequest,
-          com.google.firestore.admin.v1.ListFieldsResponse>
-      getListFieldsMethod;
+  private static volatile io.grpc.MethodDescriptor getListFieldsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListFields",
       requestType = com.google.firestore.admin.v1.ListFieldsRequest.class,
       responseType = com.google.firestore.admin.v1.ListFieldsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListFieldsRequest,
-          com.google.firestore.admin.v1.ListFieldsResponse>
-      getListFieldsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.ListFieldsRequest,
-            com.google.firestore.admin.v1.ListFieldsResponse>
-        getListFieldsMethod;
+  public static io.grpc.MethodDescriptor getListFieldsMethod() {
+    io.grpc.MethodDescriptor getListFieldsMethod;
     if ((getListFieldsMethod = FirestoreAdminGrpc.getListFieldsMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getListFieldsMethod = FirestoreAdminGrpc.getListFieldsMethod) == null) {
-          FirestoreAdminGrpc.getListFieldsMethod =
-              getListFieldsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFields"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListFieldsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListFields"))
-                      .build();
+          FirestoreAdminGrpc.getListFieldsMethod = getListFieldsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFields"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListFieldsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListFields"))
+              .build();
         }
       }
     }
     return getListFieldsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ExportDocumentsRequest, com.google.longrunning.Operation>
-      getExportDocumentsMethod;
+  private static volatile io.grpc.MethodDescriptor getExportDocumentsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExportDocuments",
       requestType = com.google.firestore.admin.v1.ExportDocumentsRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ExportDocumentsRequest, com.google.longrunning.Operation>
-      getExportDocumentsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.ExportDocumentsRequest, com.google.longrunning.Operation>
-        getExportDocumentsMethod;
+  public static io.grpc.MethodDescriptor getExportDocumentsMethod() {
+    io.grpc.MethodDescriptor getExportDocumentsMethod;
     if ((getExportDocumentsMethod = FirestoreAdminGrpc.getExportDocumentsMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getExportDocumentsMethod = FirestoreAdminGrpc.getExportDocumentsMethod) == null) {
-          FirestoreAdminGrpc.getExportDocumentsMethod =
-              getExportDocumentsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportDocuments"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ExportDocumentsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("ExportDocuments"))
-                      .build();
+          FirestoreAdminGrpc.getExportDocumentsMethod = getExportDocumentsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportDocuments"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ExportDocumentsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ExportDocuments"))
+              .build();
         }
       }
     }
     return getExportDocumentsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ImportDocumentsRequest, com.google.longrunning.Operation>
-      getImportDocumentsMethod;
+  private static volatile io.grpc.MethodDescriptor getImportDocumentsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ImportDocuments",
       requestType = com.google.firestore.admin.v1.ImportDocumentsRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ImportDocumentsRequest, com.google.longrunning.Operation>
-      getImportDocumentsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.ImportDocumentsRequest, com.google.longrunning.Operation>
-        getImportDocumentsMethod;
+  public static io.grpc.MethodDescriptor getImportDocumentsMethod() {
+    io.grpc.MethodDescriptor getImportDocumentsMethod;
     if ((getImportDocumentsMethod = FirestoreAdminGrpc.getImportDocumentsMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getImportDocumentsMethod = FirestoreAdminGrpc.getImportDocumentsMethod) == null) {
-          FirestoreAdminGrpc.getImportDocumentsMethod =
-              getImportDocumentsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportDocuments"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ImportDocumentsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("ImportDocuments"))
-                      .build();
+          FirestoreAdminGrpc.getImportDocumentsMethod = getImportDocumentsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportDocuments"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ImportDocumentsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ImportDocuments"))
+              .build();
         }
       }
     }
     return getImportDocumentsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetDatabaseRequest, com.google.firestore.admin.v1.Database>
-      getGetDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getGetDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDatabase",
       requestType = com.google.firestore.admin.v1.GetDatabaseRequest.class,
       responseType = com.google.firestore.admin.v1.Database.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.GetDatabaseRequest, com.google.firestore.admin.v1.Database>
-      getGetDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.GetDatabaseRequest,
-            com.google.firestore.admin.v1.Database>
-        getGetDatabaseMethod;
+  public static io.grpc.MethodDescriptor getGetDatabaseMethod() {
+    io.grpc.MethodDescriptor getGetDatabaseMethod;
     if ((getGetDatabaseMethod = FirestoreAdminGrpc.getGetDatabaseMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getGetDatabaseMethod = FirestoreAdminGrpc.getGetDatabaseMethod) == null) {
-          FirestoreAdminGrpc.getGetDatabaseMethod =
-              getGetDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.GetDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.Database.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("GetDatabase"))
-                      .build();
+          FirestoreAdminGrpc.getGetDatabaseMethod = getGetDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.GetDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.Database.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetDatabase"))
+              .build();
         }
       }
     }
     return getGetDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListDatabasesRequest,
-          com.google.firestore.admin.v1.ListDatabasesResponse>
-      getListDatabasesMethod;
+  private static volatile io.grpc.MethodDescriptor getListDatabasesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabases",
       requestType = com.google.firestore.admin.v1.ListDatabasesRequest.class,
       responseType = com.google.firestore.admin.v1.ListDatabasesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.ListDatabasesRequest,
-          com.google.firestore.admin.v1.ListDatabasesResponse>
-      getListDatabasesMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.ListDatabasesRequest,
-            com.google.firestore.admin.v1.ListDatabasesResponse>
-        getListDatabasesMethod;
+  public static io.grpc.MethodDescriptor getListDatabasesMethod() {
+    io.grpc.MethodDescriptor getListDatabasesMethod;
     if ((getListDatabasesMethod = FirestoreAdminGrpc.getListDatabasesMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getListDatabasesMethod = FirestoreAdminGrpc.getListDatabasesMethod) == null) {
-          FirestoreAdminGrpc.getListDatabasesMethod =
-              getListDatabasesMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListDatabasesRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.ListDatabasesResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("ListDatabases"))
-                      .build();
+          FirestoreAdminGrpc.getListDatabasesMethod = getListDatabasesMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListDatabasesRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.ListDatabasesResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListDatabases"))
+              .build();
         }
       }
     }
     return getListDatabasesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.UpdateDatabaseRequest, com.google.longrunning.Operation>
-      getUpdateDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateDatabase",
       requestType = com.google.firestore.admin.v1.UpdateDatabaseRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.firestore.admin.v1.UpdateDatabaseRequest, com.google.longrunning.Operation>
-      getUpdateDatabaseMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.firestore.admin.v1.UpdateDatabaseRequest, com.google.longrunning.Operation>
-        getUpdateDatabaseMethod;
+  public static io.grpc.MethodDescriptor getUpdateDatabaseMethod() {
+    io.grpc.MethodDescriptor getUpdateDatabaseMethod;
     if ((getUpdateDatabaseMethod = FirestoreAdminGrpc.getUpdateDatabaseMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getUpdateDatabaseMethod = FirestoreAdminGrpc.getUpdateDatabaseMethod) == null) {
-          FirestoreAdminGrpc.getUpdateDatabaseMethod =
-              getUpdateDatabaseMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabase"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.firestore.admin.v1.UpdateDatabaseRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.longrunning.Operation.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new FirestoreAdminMethodDescriptorSupplier("UpdateDatabase"))
-                      .build();
+          FirestoreAdminGrpc.getUpdateDatabaseMethod = getUpdateDatabaseMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabase"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.firestore.admin.v1.UpdateDatabaseRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.longrunning.Operation.getDefaultInstance()))
+              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("UpdateDatabase"))
+              .build();
         }
       }
     }
     return getUpdateDatabaseMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static FirestoreAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public FirestoreAdminStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new FirestoreAdminStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public FirestoreAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new FirestoreAdminStub(channel, callOptions);
+        }
+      };
     return FirestoreAdminStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static FirestoreAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static FirestoreAdminBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public FirestoreAdminBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new FirestoreAdminBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public FirestoreAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new FirestoreAdminBlockingStub(channel, callOptions);
+        }
+      };
     return FirestoreAdminBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static FirestoreAdminFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static FirestoreAdminFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public FirestoreAdminFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new FirestoreAdminFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public FirestoreAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new FirestoreAdminFutureStub(channel, callOptions);
+        }
+      };
     return FirestoreAdminFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -646,79 +480,58 @@ public FirestoreAdminFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
      * which may be used to track the status of the creation. The metadata for
      * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
      * 
*/ - default void createIndex( - com.google.firestore.admin.v1.CreateIndexRequest request, + default void createIndex(com.google.firestore.admin.v1.CreateIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateIndexMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateIndexMethod(), responseObserver); } /** - * - * *
      * Lists composite indexes.
      * 
*/ - default void listIndexes( - com.google.firestore.admin.v1.ListIndexesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListIndexesMethod(), responseObserver); + default void listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIndexesMethod(), responseObserver); } /** - * - * *
      * Gets a composite index.
      * 
*/ - default void getIndex( - com.google.firestore.admin.v1.GetIndexRequest request, + default void getIndex(com.google.firestore.admin.v1.GetIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIndexMethod(), responseObserver); } /** - * - * *
      * Deletes a composite index.
      * 
*/ - default void deleteIndex( - com.google.firestore.admin.v1.DeleteIndexRequest request, + default void deleteIndex(com.google.firestore.admin.v1.DeleteIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteIndexMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIndexMethod(), responseObserver); } /** - * - * *
      * Gets the metadata and configuration for a Field.
      * 
*/ - default void getField( - com.google.firestore.admin.v1.GetFieldRequest request, + default void getField(com.google.firestore.admin.v1.GetFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFieldMethod(), responseObserver); } /** - * - * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -733,16 +546,12 @@ default void getField(
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - default void updateField( - com.google.firestore.admin.v1.UpdateFieldRequest request, + default void updateField(com.google.firestore.admin.v1.UpdateFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateFieldMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFieldMethod(), responseObserver); } /** - * - * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -751,16 +560,12 @@ default void updateField(
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - default void listFields( - com.google.firestore.admin.v1.ListFieldsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void listFields(com.google.firestore.admin.v1.ListFieldsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFieldsMethod(), responseObserver); } /** - * - * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -774,16 +579,12 @@ default void listFields(
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - default void exportDocuments( - com.google.firestore.admin.v1.ExportDocumentsRequest request, + default void exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getExportDocumentsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportDocumentsMethod(), responseObserver); } /** - * - * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -792,60 +593,44 @@ default void exportDocuments(
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - default void importDocuments( - com.google.firestore.admin.v1.ImportDocumentsRequest request, + default void importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportDocumentsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportDocumentsMethod(), responseObserver); } /** - * - * *
      * Gets information about a database.
      * 
*/ - default void getDatabase( - com.google.firestore.admin.v1.GetDatabaseRequest request, + default void getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseMethod(), responseObserver); } /** - * - * *
      * List all the databases in the project.
      * 
*/ - default void listDatabases( - com.google.firestore.admin.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDatabasesMethod(), responseObserver); + default void listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabasesMethod(), responseObserver); } /** - * - * *
      * Updates a database.
      * 
*/ - default void updateDatabase( - com.google.firestore.admin.v1.UpdateDatabaseRequest request, + default void updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDatabaseMethod(), responseObserver); } } /** * Base class for the server implementation of the service FirestoreAdmin. - * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -869,18 +654,16 @@ default void updateDatabase(
    * service `google.longrunning.Operations`.
    * 
*/ - public abstract static class FirestoreAdminImplBase + public static abstract class FirestoreAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return FirestoreAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service FirestoreAdmin. - * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -906,97 +689,75 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class FirestoreAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private FirestoreAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private FirestoreAdminStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected FirestoreAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected FirestoreAdminStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new FirestoreAdminStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
      * which may be used to track the status of the creation. The metadata for
      * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
      * 
*/ - public void createIndex( - com.google.firestore.admin.v1.CreateIndexRequest request, + public void createIndex(com.google.firestore.admin.v1.CreateIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateIndexMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists composite indexes.
      * 
*/ - public void listIndexes( - com.google.firestore.admin.v1.ListIndexesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListIndexesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListIndexesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a composite index.
      * 
*/ - public void getIndex( - com.google.firestore.admin.v1.GetIndexRequest request, + public void getIndex(com.google.firestore.admin.v1.GetIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetIndexMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a composite index.
      * 
*/ - public void deleteIndex( - com.google.firestore.admin.v1.DeleteIndexRequest request, + public void deleteIndex(com.google.firestore.admin.v1.DeleteIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the metadata and configuration for a Field.
      * 
*/ - public void getField( - com.google.firestore.admin.v1.GetFieldRequest request, + public void getField(com.google.firestore.admin.v1.GetFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFieldMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -1011,18 +772,13 @@ public void getField(
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - public void updateField( - com.google.firestore.admin.v1.UpdateFieldRequest request, + public void updateField(com.google.firestore.admin.v1.UpdateFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateFieldMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateFieldMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -1031,17 +787,13 @@ public void updateField(
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - public void listFields( - com.google.firestore.admin.v1.ListFieldsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listFields(com.google.firestore.admin.v1.ListFieldsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListFieldsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -1055,18 +807,13 @@ public void listFields(
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - public void exportDocuments( - com.google.firestore.admin.v1.ExportDocumentsRequest request, + public void exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportDocumentsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getExportDocumentsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -1075,68 +822,48 @@ public void exportDocuments(
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - public void importDocuments( - com.google.firestore.admin.v1.ImportDocumentsRequest request, + public void importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets information about a database.
      * 
*/ - public void getDatabase( - com.google.firestore.admin.v1.GetDatabaseRequest request, + public void getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * List all the databases in the project.
      * 
*/ - public void listDatabases( - com.google.firestore.admin.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabasesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a database.
      * 
*/ - public void updateDatabase( - com.google.firestore.admin.v1.UpdateDatabaseRequest request, + public void updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service FirestoreAdmin. - * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -1162,7 +889,8 @@ public void updateDatabase(
    */
   public static final class FirestoreAdminBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private FirestoreAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private FirestoreAdminBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1173,75 +901,58 @@ protected FirestoreAdminBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
      * which may be used to track the status of the creation. The metadata for
      * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
      * 
*/ - public com.google.longrunning.Operation createIndex( - com.google.firestore.admin.v1.CreateIndexRequest request) { + public com.google.longrunning.Operation createIndex(com.google.firestore.admin.v1.CreateIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateIndexMethod(), getCallOptions(), request); } /** - * - * *
      * Lists composite indexes.
      * 
*/ - public com.google.firestore.admin.v1.ListIndexesResponse listIndexes( - com.google.firestore.admin.v1.ListIndexesRequest request) { + public com.google.firestore.admin.v1.ListIndexesResponse listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListIndexesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a composite index.
      * 
*/ - public com.google.firestore.admin.v1.Index getIndex( - com.google.firestore.admin.v1.GetIndexRequest request) { + public com.google.firestore.admin.v1.Index getIndex(com.google.firestore.admin.v1.GetIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetIndexMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a composite index.
      * 
*/ - public com.google.protobuf.Empty deleteIndex( - com.google.firestore.admin.v1.DeleteIndexRequest request) { + public com.google.protobuf.Empty deleteIndex(com.google.firestore.admin.v1.DeleteIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteIndexMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the metadata and configuration for a Field.
      * 
*/ - public com.google.firestore.admin.v1.Field getField( - com.google.firestore.admin.v1.GetFieldRequest request) { + public com.google.firestore.admin.v1.Field getField(com.google.firestore.admin.v1.GetFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFieldMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -1256,15 +967,12 @@ public com.google.firestore.admin.v1.Field getField(
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - public com.google.longrunning.Operation updateField( - com.google.firestore.admin.v1.UpdateFieldRequest request) { + public com.google.longrunning.Operation updateField(com.google.firestore.admin.v1.UpdateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateFieldMethod(), getCallOptions(), request); } /** - * - * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -1273,15 +981,12 @@ public com.google.longrunning.Operation updateField(
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - public com.google.firestore.admin.v1.ListFieldsResponse listFields( - com.google.firestore.admin.v1.ListFieldsRequest request) { + public com.google.firestore.admin.v1.ListFieldsResponse listFields(com.google.firestore.admin.v1.ListFieldsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListFieldsMethod(), getCallOptions(), request); } /** - * - * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -1295,15 +1000,12 @@ public com.google.firestore.admin.v1.ListFieldsResponse listFields(
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - public com.google.longrunning.Operation exportDocuments( - com.google.firestore.admin.v1.ExportDocumentsRequest request) { + public com.google.longrunning.Operation exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportDocumentsMethod(), getCallOptions(), request); } /** - * - * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -1312,47 +1014,37 @@ public com.google.longrunning.Operation exportDocuments(
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - public com.google.longrunning.Operation importDocuments( - com.google.firestore.admin.v1.ImportDocumentsRequest request) { + public com.google.longrunning.Operation importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportDocumentsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets information about a database.
      * 
*/ - public com.google.firestore.admin.v1.Database getDatabase( - com.google.firestore.admin.v1.GetDatabaseRequest request) { + public com.google.firestore.admin.v1.Database getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDatabaseMethod(), getCallOptions(), request); } /** - * - * *
      * List all the databases in the project.
      * 
*/ - public com.google.firestore.admin.v1.ListDatabasesResponse listDatabases( - com.google.firestore.admin.v1.ListDatabasesRequest request) { + public com.google.firestore.admin.v1.ListDatabasesResponse listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabasesMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a database.
      * 
*/ - public com.google.longrunning.Operation updateDatabase( - com.google.firestore.admin.v1.UpdateDatabaseRequest request) { + public com.google.longrunning.Operation updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateDatabaseMethod(), getCallOptions(), request); } @@ -1360,7 +1052,6 @@ public com.google.longrunning.Operation updateDatabase( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service FirestoreAdmin. - * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -1386,7 +1077,8 @@ public com.google.longrunning.Operation updateDatabase(
    */
   public static final class FirestoreAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private FirestoreAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private FirestoreAdminFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1397,76 +1089,63 @@ protected FirestoreAdminFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
      * which may be used to track the status of the creation. The metadata for
      * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createIndex(com.google.firestore.admin.v1.CreateIndexRequest request) { + public com.google.common.util.concurrent.ListenableFuture createIndex( + com.google.firestore.admin.v1.CreateIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request); } /** - * - * *
      * Lists composite indexes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.admin.v1.ListIndexesResponse> - listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listIndexes( + com.google.firestore.admin.v1.ListIndexesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListIndexesMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a composite index.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIndex(com.google.firestore.admin.v1.GetIndexRequest request) { + public com.google.common.util.concurrent.ListenableFuture getIndex( + com.google.firestore.admin.v1.GetIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIndexMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a composite index.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteIndex(com.google.firestore.admin.v1.DeleteIndexRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteIndex( + com.google.firestore.admin.v1.DeleteIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the metadata and configuration for a Field.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getField(com.google.firestore.admin.v1.GetFieldRequest request) { + public com.google.common.util.concurrent.ListenableFuture getField( + com.google.firestore.admin.v1.GetFieldRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFieldMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -1481,15 +1160,13 @@ protected FirestoreAdminFutureStub build(
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateField(com.google.firestore.admin.v1.UpdateFieldRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateField( + com.google.firestore.admin.v1.UpdateFieldRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateFieldMethod(), getCallOptions()), request); } /** - * - * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -1498,16 +1175,13 @@ protected FirestoreAdminFutureStub build(
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.admin.v1.ListFieldsResponse> - listFields(com.google.firestore.admin.v1.ListFieldsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listFields( + com.google.firestore.admin.v1.ListFieldsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListFieldsMethod(), getCallOptions()), request); } /** - * - * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -1521,15 +1195,13 @@ protected FirestoreAdminFutureStub build(
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request) { + public com.google.common.util.concurrent.ListenableFuture exportDocuments( + com.google.firestore.admin.v1.ExportDocumentsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExportDocumentsMethod(), getCallOptions()), request); } /** - * - * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -1538,49 +1210,41 @@ protected FirestoreAdminFutureStub build(
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request) { + public com.google.common.util.concurrent.ListenableFuture importDocuments( + com.google.firestore.admin.v1.ImportDocumentsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets information about a database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.admin.v1.Database> - getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture getDatabase( + com.google.firestore.admin.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request); } /** - * - * *
      * List all the databases in the project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.firestore.admin.v1.ListDatabasesResponse> - listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request) { + public com.google.common.util.concurrent.ListenableFuture listDatabases( + com.google.firestore.admin.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateDatabase( + com.google.firestore.admin.v1.UpdateDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), request); } @@ -1599,11 +1263,11 @@ protected FirestoreAdminFutureStub build( private static final int METHODID_LIST_DATABASES = 10; private static final int METHODID_UPDATE_DATABASE = 11; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -1617,67 +1281,51 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_INDEX: - serviceImpl.createIndex( - (com.google.firestore.admin.v1.CreateIndexRequest) request, + serviceImpl.createIndex((com.google.firestore.admin.v1.CreateIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_INDEXES: - serviceImpl.listIndexes( - (com.google.firestore.admin.v1.ListIndexesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listIndexes((com.google.firestore.admin.v1.ListIndexesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INDEX: - serviceImpl.getIndex( - (com.google.firestore.admin.v1.GetIndexRequest) request, + serviceImpl.getIndex((com.google.firestore.admin.v1.GetIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_INDEX: - serviceImpl.deleteIndex( - (com.google.firestore.admin.v1.DeleteIndexRequest) request, + serviceImpl.deleteIndex((com.google.firestore.admin.v1.DeleteIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_FIELD: - serviceImpl.getField( - (com.google.firestore.admin.v1.GetFieldRequest) request, + serviceImpl.getField((com.google.firestore.admin.v1.GetFieldRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_FIELD: - serviceImpl.updateField( - (com.google.firestore.admin.v1.UpdateFieldRequest) request, + serviceImpl.updateField((com.google.firestore.admin.v1.UpdateFieldRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_FIELDS: - serviceImpl.listFields( - (com.google.firestore.admin.v1.ListFieldsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listFields((com.google.firestore.admin.v1.ListFieldsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXPORT_DOCUMENTS: - serviceImpl.exportDocuments( - (com.google.firestore.admin.v1.ExportDocumentsRequest) request, + serviceImpl.exportDocuments((com.google.firestore.admin.v1.ExportDocumentsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_IMPORT_DOCUMENTS: - serviceImpl.importDocuments( - (com.google.firestore.admin.v1.ImportDocumentsRequest) request, + serviceImpl.importDocuments((com.google.firestore.admin.v1.ImportDocumentsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_DATABASE: - serviceImpl.getDatabase( - (com.google.firestore.admin.v1.GetDatabaseRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getDatabase((com.google.firestore.admin.v1.GetDatabaseRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_DATABASES: - serviceImpl.listDatabases( - (com.google.firestore.admin.v1.ListDatabasesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listDatabases((com.google.firestore.admin.v1.ListDatabasesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_DATABASE: - serviceImpl.updateDatabase( - (com.google.firestore.admin.v1.UpdateDatabaseRequest) request, + serviceImpl.updateDatabase((com.google.firestore.admin.v1.UpdateDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -1699,86 +1347,94 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.CreateIndexRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INDEX))) + getCreateIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.CreateIndexRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INDEX))) .addMethod( - getListIndexesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListIndexesRequest, - com.google.firestore.admin.v1.ListIndexesResponse>( - service, METHODID_LIST_INDEXES))) + getListIndexesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListIndexesRequest, + com.google.firestore.admin.v1.ListIndexesResponse>( + service, METHODID_LIST_INDEXES))) .addMethod( - getGetIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetIndexRequest, - com.google.firestore.admin.v1.Index>(service, METHODID_GET_INDEX))) + getGetIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetIndexRequest, + com.google.firestore.admin.v1.Index>( + service, METHODID_GET_INDEX))) .addMethod( - getDeleteIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_INDEX))) + getDeleteIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.DeleteIndexRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_INDEX))) .addMethod( - getGetFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetFieldRequest, - com.google.firestore.admin.v1.Field>(service, METHODID_GET_FIELD))) + getGetFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetFieldRequest, + com.google.firestore.admin.v1.Field>( + service, METHODID_GET_FIELD))) .addMethod( - getUpdateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.UpdateFieldRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_FIELD))) + getUpdateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.UpdateFieldRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_FIELD))) .addMethod( - getListFieldsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListFieldsRequest, - com.google.firestore.admin.v1.ListFieldsResponse>( - service, METHODID_LIST_FIELDS))) + getListFieldsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListFieldsRequest, + com.google.firestore.admin.v1.ListFieldsResponse>( + service, METHODID_LIST_FIELDS))) .addMethod( - getExportDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ExportDocumentsRequest, - com.google.longrunning.Operation>(service, METHODID_EXPORT_DOCUMENTS))) + getExportDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ExportDocumentsRequest, + com.google.longrunning.Operation>( + service, METHODID_EXPORT_DOCUMENTS))) .addMethod( - getImportDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ImportDocumentsRequest, - com.google.longrunning.Operation>(service, METHODID_IMPORT_DOCUMENTS))) + getImportDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ImportDocumentsRequest, + com.google.longrunning.Operation>( + service, METHODID_IMPORT_DOCUMENTS))) .addMethod( - getGetDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetDatabaseRequest, - com.google.firestore.admin.v1.Database>(service, METHODID_GET_DATABASE))) + getGetDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetDatabaseRequest, + com.google.firestore.admin.v1.Database>( + service, METHODID_GET_DATABASE))) .addMethod( - getListDatabasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListDatabasesRequest, - com.google.firestore.admin.v1.ListDatabasesResponse>( - service, METHODID_LIST_DATABASES))) + getListDatabasesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListDatabasesRequest, + com.google.firestore.admin.v1.ListDatabasesResponse>( + service, METHODID_LIST_DATABASES))) .addMethod( - getUpdateDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.UpdateDatabaseRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_DATABASE))) + getUpdateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.UpdateDatabaseRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_DATABASE))) .build(); } - private abstract static class FirestoreAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class FirestoreAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { FirestoreAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -1820,23 +1476,21 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (FirestoreAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new FirestoreAdminFileDescriptorSupplier()) - .addMethod(getCreateIndexMethod()) - .addMethod(getListIndexesMethod()) - .addMethod(getGetIndexMethod()) - .addMethod(getDeleteIndexMethod()) - .addMethod(getGetFieldMethod()) - .addMethod(getUpdateFieldMethod()) - .addMethod(getListFieldsMethod()) - .addMethod(getExportDocumentsMethod()) - .addMethod(getImportDocumentsMethod()) - .addMethod(getGetDatabaseMethod()) - .addMethod(getListDatabasesMethod()) - .addMethod(getUpdateDatabaseMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new FirestoreAdminFileDescriptorSupplier()) + .addMethod(getCreateIndexMethod()) + .addMethod(getListIndexesMethod()) + .addMethod(getGetIndexMethod()) + .addMethod(getDeleteIndexMethod()) + .addMethod(getGetFieldMethod()) + .addMethod(getUpdateFieldMethod()) + .addMethod(getListFieldsMethod()) + .addMethod(getExportDocumentsMethod()) + .addMethod(getImportDocumentsMethod()) + .addMethod(getGetDatabaseMethod()) + .addMethod(getListDatabasesMethod()) + .addMethod(getUpdateDatabaseMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java new file mode 100644 index 000000000..9dd4b6804 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java @@ -0,0 +1,1648 @@ +package com.google.firestore.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * The Cloud Firestore service.
+ * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+ * document database that simplifies storing, syncing, and querying data for
+ * your mobile, web, and IoT apps at global scale. Its client libraries provide
+ * live synchronization and offline support, while its security features and
+ * integrations with Firebase and Google Cloud Platform accelerate building
+ * truly serverless apps.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/firestore/v1/firestore.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class FirestoreGrpc { + + private FirestoreGrpc() {} + + public static final String SERVICE_NAME = "google.firestore.v1.Firestore"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetDocumentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDocument", + requestType = com.google.firestore.v1.GetDocumentRequest.class, + responseType = com.google.firestore.v1.Document.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDocumentMethod() { + io.grpc.MethodDescriptor getGetDocumentMethod; + if ((getGetDocumentMethod = FirestoreGrpc.getGetDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getGetDocumentMethod = FirestoreGrpc.getGetDocumentMethod) == null) { + FirestoreGrpc.getGetDocumentMethod = getGetDocumentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.GetDocumentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.Document.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("GetDocument")) + .build(); + } + } + } + return getGetDocumentMethod; + } + + private static volatile io.grpc.MethodDescriptor getListDocumentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDocuments", + requestType = com.google.firestore.v1.ListDocumentsRequest.class, + responseType = com.google.firestore.v1.ListDocumentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDocumentsMethod() { + io.grpc.MethodDescriptor getListDocumentsMethod; + if ((getListDocumentsMethod = FirestoreGrpc.getListDocumentsMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getListDocumentsMethod = FirestoreGrpc.getListDocumentsMethod) == null) { + FirestoreGrpc.getListDocumentsMethod = getListDocumentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDocuments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListDocumentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListDocumentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("ListDocuments")) + .build(); + } + } + } + return getListDocumentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateDocumentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDocument", + requestType = com.google.firestore.v1.UpdateDocumentRequest.class, + responseType = com.google.firestore.v1.Document.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateDocumentMethod() { + io.grpc.MethodDescriptor getUpdateDocumentMethod; + if ((getUpdateDocumentMethod = FirestoreGrpc.getUpdateDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getUpdateDocumentMethod = FirestoreGrpc.getUpdateDocumentMethod) == null) { + FirestoreGrpc.getUpdateDocumentMethod = getUpdateDocumentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.UpdateDocumentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.Document.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("UpdateDocument")) + .build(); + } + } + } + return getUpdateDocumentMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteDocumentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDocument", + requestType = com.google.firestore.v1.DeleteDocumentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteDocumentMethod() { + io.grpc.MethodDescriptor getDeleteDocumentMethod; + if ((getDeleteDocumentMethod = FirestoreGrpc.getDeleteDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getDeleteDocumentMethod = FirestoreGrpc.getDeleteDocumentMethod) == null) { + FirestoreGrpc.getDeleteDocumentMethod = getDeleteDocumentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.DeleteDocumentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("DeleteDocument")) + .build(); + } + } + } + return getDeleteDocumentMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchGetDocumentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetDocuments", + requestType = com.google.firestore.v1.BatchGetDocumentsRequest.class, + responseType = com.google.firestore.v1.BatchGetDocumentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getBatchGetDocumentsMethod() { + io.grpc.MethodDescriptor getBatchGetDocumentsMethod; + if ((getBatchGetDocumentsMethod = FirestoreGrpc.getBatchGetDocumentsMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getBatchGetDocumentsMethod = FirestoreGrpc.getBatchGetDocumentsMethod) == null) { + FirestoreGrpc.getBatchGetDocumentsMethod = getBatchGetDocumentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetDocuments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("BatchGetDocuments")) + .build(); + } + } + } + return getBatchGetDocumentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getBeginTransactionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BeginTransaction", + requestType = com.google.firestore.v1.BeginTransactionRequest.class, + responseType = com.google.firestore.v1.BeginTransactionResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBeginTransactionMethod() { + io.grpc.MethodDescriptor getBeginTransactionMethod; + if ((getBeginTransactionMethod = FirestoreGrpc.getBeginTransactionMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getBeginTransactionMethod = FirestoreGrpc.getBeginTransactionMethod) == null) { + FirestoreGrpc.getBeginTransactionMethod = getBeginTransactionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BeginTransactionResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("BeginTransaction")) + .build(); + } + } + } + return getBeginTransactionMethod; + } + + private static volatile io.grpc.MethodDescriptor getCommitMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Commit", + requestType = com.google.firestore.v1.CommitRequest.class, + responseType = com.google.firestore.v1.CommitResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCommitMethod() { + io.grpc.MethodDescriptor getCommitMethod; + if ((getCommitMethod = FirestoreGrpc.getCommitMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getCommitMethod = FirestoreGrpc.getCommitMethod) == null) { + FirestoreGrpc.getCommitMethod = getCommitMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.CommitRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.CommitResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Commit")) + .build(); + } + } + } + return getCommitMethod; + } + + private static volatile io.grpc.MethodDescriptor getRollbackMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Rollback", + requestType = com.google.firestore.v1.RollbackRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRollbackMethod() { + io.grpc.MethodDescriptor getRollbackMethod; + if ((getRollbackMethod = FirestoreGrpc.getRollbackMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getRollbackMethod = FirestoreGrpc.getRollbackMethod) == null) { + FirestoreGrpc.getRollbackMethod = getRollbackMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Rollback")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RollbackRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Rollback")) + .build(); + } + } + } + return getRollbackMethod; + } + + private static volatile io.grpc.MethodDescriptor getRunQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunQuery", + requestType = com.google.firestore.v1.RunQueryRequest.class, + responseType = com.google.firestore.v1.RunQueryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getRunQueryMethod() { + io.grpc.MethodDescriptor getRunQueryMethod; + if ((getRunQueryMethod = FirestoreGrpc.getRunQueryMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getRunQueryMethod = FirestoreGrpc.getRunQueryMethod) == null) { + FirestoreGrpc.getRunQueryMethod = getRunQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RunQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RunQueryResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("RunQuery")) + .build(); + } + } + } + return getRunQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor getRunAggregationQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunAggregationQuery", + requestType = com.google.firestore.v1.RunAggregationQueryRequest.class, + responseType = com.google.firestore.v1.RunAggregationQueryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getRunAggregationQueryMethod() { + io.grpc.MethodDescriptor getRunAggregationQueryMethod; + if ((getRunAggregationQueryMethod = FirestoreGrpc.getRunAggregationQueryMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getRunAggregationQueryMethod = FirestoreGrpc.getRunAggregationQueryMethod) == null) { + FirestoreGrpc.getRunAggregationQueryMethod = getRunAggregationQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunAggregationQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RunAggregationQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RunAggregationQueryResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("RunAggregationQuery")) + .build(); + } + } + } + return getRunAggregationQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor getPartitionQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PartitionQuery", + requestType = com.google.firestore.v1.PartitionQueryRequest.class, + responseType = com.google.firestore.v1.PartitionQueryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPartitionQueryMethod() { + io.grpc.MethodDescriptor getPartitionQueryMethod; + if ((getPartitionQueryMethod = FirestoreGrpc.getPartitionQueryMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getPartitionQueryMethod = FirestoreGrpc.getPartitionQueryMethod) == null) { + FirestoreGrpc.getPartitionQueryMethod = getPartitionQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.PartitionQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.PartitionQueryResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("PartitionQuery")) + .build(); + } + } + } + return getPartitionQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor getWriteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Write", + requestType = com.google.firestore.v1.WriteRequest.class, + responseType = com.google.firestore.v1.WriteResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + public static io.grpc.MethodDescriptor getWriteMethod() { + io.grpc.MethodDescriptor getWriteMethod; + if ((getWriteMethod = FirestoreGrpc.getWriteMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getWriteMethod = FirestoreGrpc.getWriteMethod) == null) { + FirestoreGrpc.getWriteMethod = getWriteMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Write")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.WriteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.WriteResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Write")) + .build(); + } + } + } + return getWriteMethod; + } + + private static volatile io.grpc.MethodDescriptor getListenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Listen", + requestType = com.google.firestore.v1.ListenRequest.class, + responseType = com.google.firestore.v1.ListenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + public static io.grpc.MethodDescriptor getListenMethod() { + io.grpc.MethodDescriptor getListenMethod; + if ((getListenMethod = FirestoreGrpc.getListenMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getListenMethod = FirestoreGrpc.getListenMethod) == null) { + FirestoreGrpc.getListenMethod = getListenMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Listen")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListenRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListenResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Listen")) + .build(); + } + } + } + return getListenMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCollectionIdsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCollectionIds", + requestType = com.google.firestore.v1.ListCollectionIdsRequest.class, + responseType = com.google.firestore.v1.ListCollectionIdsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCollectionIdsMethod() { + io.grpc.MethodDescriptor getListCollectionIdsMethod; + if ((getListCollectionIdsMethod = FirestoreGrpc.getListCollectionIdsMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getListCollectionIdsMethod = FirestoreGrpc.getListCollectionIdsMethod) == null) { + FirestoreGrpc.getListCollectionIdsMethod = getListCollectionIdsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCollectionIds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListCollectionIdsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListCollectionIdsResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("ListCollectionIds")) + .build(); + } + } + } + return getListCollectionIdsMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchWriteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchWrite", + requestType = com.google.firestore.v1.BatchWriteRequest.class, + responseType = com.google.firestore.v1.BatchWriteResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchWriteMethod() { + io.grpc.MethodDescriptor getBatchWriteMethod; + if ((getBatchWriteMethod = FirestoreGrpc.getBatchWriteMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getBatchWriteMethod = FirestoreGrpc.getBatchWriteMethod) == null) { + FirestoreGrpc.getBatchWriteMethod = getBatchWriteMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchWrite")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BatchWriteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BatchWriteResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("BatchWrite")) + .build(); + } + } + } + return getBatchWriteMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateDocumentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDocument", + requestType = com.google.firestore.v1.CreateDocumentRequest.class, + responseType = com.google.firestore.v1.Document.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateDocumentMethod() { + io.grpc.MethodDescriptor getCreateDocumentMethod; + if ((getCreateDocumentMethod = FirestoreGrpc.getCreateDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getCreateDocumentMethod = FirestoreGrpc.getCreateDocumentMethod) == null) { + FirestoreGrpc.getCreateDocumentMethod = getCreateDocumentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.CreateDocumentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.Document.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("CreateDocument")) + .build(); + } + } + } + return getCreateDocumentMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static FirestoreStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FirestoreStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreStub(channel, callOptions); + } + }; + return FirestoreStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static FirestoreBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FirestoreBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreBlockingStub(channel, callOptions); + } + }; + return FirestoreBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static FirestoreFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FirestoreFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreFutureStub(channel, callOptions); + } + }; + return FirestoreFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Cloud Firestore service.
+   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+   * document database that simplifies storing, syncing, and querying data for
+   * your mobile, web, and IoT apps at global scale. Its client libraries provide
+   * live synchronization and offline support, while its security features and
+   * integrations with Firebase and Google Cloud Platform accelerate building
+   * truly serverless apps.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Gets a single document.
+     * 
+ */ + default void getDocument(com.google.firestore.v1.GetDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDocumentMethod(), responseObserver); + } + + /** + *
+     * Lists documents.
+     * 
+ */ + default void listDocuments(com.google.firestore.v1.ListDocumentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDocumentsMethod(), responseObserver); + } + + /** + *
+     * Updates or inserts a document.
+     * 
+ */ + default void updateDocument(com.google.firestore.v1.UpdateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDocumentMethod(), responseObserver); + } + + /** + *
+     * Deletes a document.
+     * 
+ */ + default void deleteDocument(com.google.firestore.v1.DeleteDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDocumentMethod(), responseObserver); + } + + /** + *
+     * Gets multiple documents.
+     * Documents returned by this method are not guaranteed to be returned in the
+     * same order that they were requested.
+     * 
+ */ + default void batchGetDocuments(com.google.firestore.v1.BatchGetDocumentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetDocumentsMethod(), responseObserver); + } + + /** + *
+     * Starts a new transaction.
+     * 
+ */ + default void beginTransaction(com.google.firestore.v1.BeginTransactionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBeginTransactionMethod(), responseObserver); + } + + /** + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + default void commit(com.google.firestore.v1.CommitRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); + } + + /** + *
+     * Rolls back a transaction.
+     * 
+ */ + default void rollback(com.google.firestore.v1.RollbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); + } + + /** + *
+     * Runs a query.
+     * 
+ */ + default void runQuery(com.google.firestore.v1.RunQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunQueryMethod(), responseObserver); + } + + /** + *
+     * Runs an aggregation query.
+     * Rather than producing [Document][google.firestore.v1.Document] results like
+     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
+     * allows running an aggregation to produce a series of
+     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
+     * High-Level Example:
+     * ```
+     * -- Return the number of documents in table given a filter.
+     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
+     * ```
+     * 
+ */ + default void runAggregationQuery(com.google.firestore.v1.RunAggregationQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunAggregationQueryMethod(), responseObserver); + } + + /** + *
+     * Partitions a query by returning partition cursors that can be used to run
+     * the query in parallel. The returned partition cursors are split points that
+     * can be used by RunQuery as starting/end points for the query results.
+     * 
+ */ + default void partitionQuery(com.google.firestore.v1.PartitionQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartitionQueryMethod(), responseObserver); + } + + /** + *
+     * Streams batches of document updates and deletes, in order. This method is
+     * only available via gRPC or WebChannel (not REST).
+     * 
+ */ + default io.grpc.stub.StreamObserver write( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getWriteMethod(), responseObserver); + } + + /** + *
+     * Listens to changes. This method is only available via gRPC or WebChannel
+     * (not REST).
+     * 
+ */ + default io.grpc.stub.StreamObserver listen( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getListenMethod(), responseObserver); + } + + /** + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + default void listCollectionIds(com.google.firestore.v1.ListCollectionIdsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCollectionIdsMethod(), responseObserver); + } + + /** + *
+     * Applies a batch of write operations.
+     * The BatchWrite method does not apply the write operations atomically
+     * and can apply them out of order. Method does not allow more than one write
+     * per document. Each write succeeds or fails independently. See the
+     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
+     * success status of each write.
+     * If you require an atomically applied set of writes, use
+     * [Commit][google.firestore.v1.Firestore.Commit] instead.
+     * 
+ */ + default void batchWrite(com.google.firestore.v1.BatchWriteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchWriteMethod(), responseObserver); + } + + /** + *
+     * Creates a new document.
+     * 
+ */ + default void createDocument(com.google.firestore.v1.CreateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDocumentMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Firestore. + *
+   * The Cloud Firestore service.
+   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+   * document database that simplifies storing, syncing, and querying data for
+   * your mobile, web, and IoT apps at global scale. Its client libraries provide
+   * live synchronization and offline support, while its security features and
+   * integrations with Firebase and Google Cloud Platform accelerate building
+   * truly serverless apps.
+   * 
+ */ + public static abstract class FirestoreImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return FirestoreGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Firestore. + *
+   * The Cloud Firestore service.
+   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+   * document database that simplifies storing, syncing, and querying data for
+   * your mobile, web, and IoT apps at global scale. Its client libraries provide
+   * live synchronization and offline support, while its security features and
+   * integrations with Firebase and Google Cloud Platform accelerate building
+   * truly serverless apps.
+   * 
+ */ + public static final class FirestoreStub + extends io.grpc.stub.AbstractAsyncStub { + private FirestoreStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FirestoreStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreStub(channel, callOptions); + } + + /** + *
+     * Gets a single document.
+     * 
+ */ + public void getDocument(com.google.firestore.v1.GetDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDocumentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists documents.
+     * 
+ */ + public void listDocuments(com.google.firestore.v1.ListDocumentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDocumentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates or inserts a document.
+     * 
+ */ + public void updateDocument(com.google.firestore.v1.UpdateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDocumentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a document.
+     * 
+ */ + public void deleteDocument(com.google.firestore.v1.DeleteDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDocumentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets multiple documents.
+     * Documents returned by this method are not guaranteed to be returned in the
+     * same order that they were requested.
+     * 
+ */ + public void batchGetDocuments(com.google.firestore.v1.BatchGetDocumentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getBatchGetDocumentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Starts a new transaction.
+     * 
+ */ + public void beginTransaction(com.google.firestore.v1.BeginTransactionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + public void commit(com.google.firestore.v1.CommitRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCommitMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Rolls back a transaction.
+     * 
+ */ + public void rollback(com.google.firestore.v1.RollbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Runs a query.
+     * 
+ */ + public void runQuery(com.google.firestore.v1.RunQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getRunQueryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Runs an aggregation query.
+     * Rather than producing [Document][google.firestore.v1.Document] results like
+     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
+     * allows running an aggregation to produce a series of
+     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
+     * High-Level Example:
+     * ```
+     * -- Return the number of documents in table given a filter.
+     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
+     * ```
+     * 
+ */ + public void runAggregationQuery(com.google.firestore.v1.RunAggregationQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getRunAggregationQueryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Partitions a query by returning partition cursors that can be used to run
+     * the query in parallel. The returned partition cursors are split points that
+     * can be used by RunQuery as starting/end points for the query results.
+     * 
+ */ + public void partitionQuery(com.google.firestore.v1.PartitionQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Streams batches of document updates and deletes, in order. This method is
+     * only available via gRPC or WebChannel (not REST).
+     * 
+ */ + public io.grpc.stub.StreamObserver write( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( + getChannel().newCall(getWriteMethod(), getCallOptions()), responseObserver); + } + + /** + *
+     * Listens to changes. This method is only available via gRPC or WebChannel
+     * (not REST).
+     * 
+ */ + public io.grpc.stub.StreamObserver listen( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( + getChannel().newCall(getListenMethod(), getCallOptions()), responseObserver); + } + + /** + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + public void listCollectionIds(com.google.firestore.v1.ListCollectionIdsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCollectionIdsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Applies a batch of write operations.
+     * The BatchWrite method does not apply the write operations atomically
+     * and can apply them out of order. Method does not allow more than one write
+     * per document. Each write succeeds or fails independently. See the
+     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
+     * success status of each write.
+     * If you require an atomically applied set of writes, use
+     * [Commit][google.firestore.v1.Firestore.Commit] instead.
+     * 
+ */ + public void batchWrite(com.google.firestore.v1.BatchWriteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchWriteMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new document.
+     * 
+ */ + public void createDocument(com.google.firestore.v1.CreateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDocumentMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Firestore. + *
+   * The Cloud Firestore service.
+   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+   * document database that simplifies storing, syncing, and querying data for
+   * your mobile, web, and IoT apps at global scale. Its client libraries provide
+   * live synchronization and offline support, while its security features and
+   * integrations with Firebase and Google Cloud Platform accelerate building
+   * truly serverless apps.
+   * 
+ */ + public static final class FirestoreBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private FirestoreBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FirestoreBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreBlockingStub(channel, callOptions); + } + + /** + *
+     * Gets a single document.
+     * 
+ */ + public com.google.firestore.v1.Document getDocument(com.google.firestore.v1.GetDocumentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDocumentMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists documents.
+     * 
+ */ + public com.google.firestore.v1.ListDocumentsResponse listDocuments(com.google.firestore.v1.ListDocumentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDocumentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates or inserts a document.
+     * 
+ */ + public com.google.firestore.v1.Document updateDocument(com.google.firestore.v1.UpdateDocumentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDocumentMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a document.
+     * 
+ */ + public com.google.protobuf.Empty deleteDocument(com.google.firestore.v1.DeleteDocumentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDocumentMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets multiple documents.
+     * Documents returned by this method are not guaranteed to be returned in the
+     * same order that they were requested.
+     * 
+ */ + public java.util.Iterator batchGetDocuments( + com.google.firestore.v1.BatchGetDocumentsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getBatchGetDocumentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Starts a new transaction.
+     * 
+ */ + public com.google.firestore.v1.BeginTransactionResponse beginTransaction(com.google.firestore.v1.BeginTransactionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBeginTransactionMethod(), getCallOptions(), request); + } + + /** + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + public com.google.firestore.v1.CommitResponse commit(com.google.firestore.v1.CommitRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCommitMethod(), getCallOptions(), request); + } + + /** + *
+     * Rolls back a transaction.
+     * 
+ */ + public com.google.protobuf.Empty rollback(com.google.firestore.v1.RollbackRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackMethod(), getCallOptions(), request); + } + + /** + *
+     * Runs a query.
+     * 
+ */ + public java.util.Iterator runQuery( + com.google.firestore.v1.RunQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getRunQueryMethod(), getCallOptions(), request); + } + + /** + *
+     * Runs an aggregation query.
+     * Rather than producing [Document][google.firestore.v1.Document] results like
+     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
+     * allows running an aggregation to produce a series of
+     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
+     * High-Level Example:
+     * ```
+     * -- Return the number of documents in table given a filter.
+     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
+     * ```
+     * 
+ */ + public java.util.Iterator runAggregationQuery( + com.google.firestore.v1.RunAggregationQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getRunAggregationQueryMethod(), getCallOptions(), request); + } + + /** + *
+     * Partitions a query by returning partition cursors that can be used to run
+     * the query in parallel. The returned partition cursors are split points that
+     * can be used by RunQuery as starting/end points for the query results.
+     * 
+ */ + public com.google.firestore.v1.PartitionQueryResponse partitionQuery(com.google.firestore.v1.PartitionQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPartitionQueryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + public com.google.firestore.v1.ListCollectionIdsResponse listCollectionIds(com.google.firestore.v1.ListCollectionIdsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCollectionIdsMethod(), getCallOptions(), request); + } + + /** + *
+     * Applies a batch of write operations.
+     * The BatchWrite method does not apply the write operations atomically
+     * and can apply them out of order. Method does not allow more than one write
+     * per document. Each write succeeds or fails independently. See the
+     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
+     * success status of each write.
+     * If you require an atomically applied set of writes, use
+     * [Commit][google.firestore.v1.Firestore.Commit] instead.
+     * 
+ */ + public com.google.firestore.v1.BatchWriteResponse batchWrite(com.google.firestore.v1.BatchWriteRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchWriteMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new document.
+     * 
+ */ + public com.google.firestore.v1.Document createDocument(com.google.firestore.v1.CreateDocumentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDocumentMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Firestore. + *
+   * The Cloud Firestore service.
+   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+   * document database that simplifies storing, syncing, and querying data for
+   * your mobile, web, and IoT apps at global scale. Its client libraries provide
+   * live synchronization and offline support, while its security features and
+   * integrations with Firebase and Google Cloud Platform accelerate building
+   * truly serverless apps.
+   * 
+ */ + public static final class FirestoreFutureStub + extends io.grpc.stub.AbstractFutureStub { + private FirestoreFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FirestoreFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreFutureStub(channel, callOptions); + } + + /** + *
+     * Gets a single document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDocument( + com.google.firestore.v1.GetDocumentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDocumentMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists documents.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDocuments( + com.google.firestore.v1.ListDocumentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDocumentsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates or inserts a document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateDocument( + com.google.firestore.v1.UpdateDocumentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDocumentMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteDocument( + com.google.firestore.v1.DeleteDocumentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDocumentMethod(), getCallOptions()), request); + } + + /** + *
+     * Starts a new transaction.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture beginTransaction( + com.google.firestore.v1.BeginTransactionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request); + } + + /** + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture commit( + com.google.firestore.v1.CommitRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCommitMethod(), getCallOptions()), request); + } + + /** + *
+     * Rolls back a transaction.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture rollback( + com.google.firestore.v1.RollbackRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackMethod(), getCallOptions()), request); + } + + /** + *
+     * Partitions a query by returning partition cursors that can be used to run
+     * the query in parallel. The returned partition cursors are split points that
+     * can be used by RunQuery as starting/end points for the query results.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture partitionQuery( + com.google.firestore.v1.PartitionQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCollectionIds( + com.google.firestore.v1.ListCollectionIdsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCollectionIdsMethod(), getCallOptions()), request); + } + + /** + *
+     * Applies a batch of write operations.
+     * The BatchWrite method does not apply the write operations atomically
+     * and can apply them out of order. Method does not allow more than one write
+     * per document. Each write succeeds or fails independently. See the
+     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
+     * success status of each write.
+     * If you require an atomically applied set of writes, use
+     * [Commit][google.firestore.v1.Firestore.Commit] instead.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchWrite( + com.google.firestore.v1.BatchWriteRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchWriteMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createDocument( + com.google.firestore.v1.CreateDocumentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDocumentMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_DOCUMENT = 0; + private static final int METHODID_LIST_DOCUMENTS = 1; + private static final int METHODID_UPDATE_DOCUMENT = 2; + private static final int METHODID_DELETE_DOCUMENT = 3; + private static final int METHODID_BATCH_GET_DOCUMENTS = 4; + private static final int METHODID_BEGIN_TRANSACTION = 5; + private static final int METHODID_COMMIT = 6; + private static final int METHODID_ROLLBACK = 7; + private static final int METHODID_RUN_QUERY = 8; + private static final int METHODID_RUN_AGGREGATION_QUERY = 9; + private static final int METHODID_PARTITION_QUERY = 10; + private static final int METHODID_LIST_COLLECTION_IDS = 11; + private static final int METHODID_BATCH_WRITE = 12; + private static final int METHODID_CREATE_DOCUMENT = 13; + private static final int METHODID_WRITE = 14; + private static final int METHODID_LISTEN = 15; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_DOCUMENT: + serviceImpl.getDocument((com.google.firestore.v1.GetDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DOCUMENTS: + serviceImpl.listDocuments((com.google.firestore.v1.ListDocumentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DOCUMENT: + serviceImpl.updateDocument((com.google.firestore.v1.UpdateDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DOCUMENT: + serviceImpl.deleteDocument((com.google.firestore.v1.DeleteDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_GET_DOCUMENTS: + serviceImpl.batchGetDocuments((com.google.firestore.v1.BatchGetDocumentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BEGIN_TRANSACTION: + serviceImpl.beginTransaction((com.google.firestore.v1.BeginTransactionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_COMMIT: + serviceImpl.commit((com.google.firestore.v1.CommitRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ROLLBACK: + serviceImpl.rollback((com.google.firestore.v1.RollbackRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_QUERY: + serviceImpl.runQuery((com.google.firestore.v1.RunQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_AGGREGATION_QUERY: + serviceImpl.runAggregationQuery((com.google.firestore.v1.RunAggregationQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PARTITION_QUERY: + serviceImpl.partitionQuery((com.google.firestore.v1.PartitionQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COLLECTION_IDS: + serviceImpl.listCollectionIds((com.google.firestore.v1.ListCollectionIdsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_WRITE: + serviceImpl.batchWrite((com.google.firestore.v1.BatchWriteRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_DOCUMENT: + serviceImpl.createDocument((com.google.firestore.v1.CreateDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_WRITE: + return (io.grpc.stub.StreamObserver) serviceImpl.write( + (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_LISTEN: + return (io.grpc.stub.StreamObserver) serviceImpl.listen( + (io.grpc.stub.StreamObserver) responseObserver); + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.GetDocumentRequest, + com.google.firestore.v1.Document>( + service, METHODID_GET_DOCUMENT))) + .addMethod( + getListDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse>( + service, METHODID_LIST_DOCUMENTS))) + .addMethod( + getUpdateDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.UpdateDocumentRequest, + com.google.firestore.v1.Document>( + service, METHODID_UPDATE_DOCUMENT))) + .addMethod( + getDeleteDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.DeleteDocumentRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_DOCUMENT))) + .addMethod( + getBatchGetDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse>( + service, METHODID_BATCH_GET_DOCUMENTS))) + .addMethod( + getBeginTransactionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse>( + service, METHODID_BEGIN_TRANSACTION))) + .addMethod( + getCommitMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.CommitRequest, + com.google.firestore.v1.CommitResponse>( + service, METHODID_COMMIT))) + .addMethod( + getRollbackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.RollbackRequest, + com.google.protobuf.Empty>( + service, METHODID_ROLLBACK))) + .addMethod( + getRunQueryMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.RunQueryRequest, + com.google.firestore.v1.RunQueryResponse>( + service, METHODID_RUN_QUERY))) + .addMethod( + getRunAggregationQueryMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.RunAggregationQueryRequest, + com.google.firestore.v1.RunAggregationQueryResponse>( + service, METHODID_RUN_AGGREGATION_QUERY))) + .addMethod( + getPartitionQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.PartitionQueryRequest, + com.google.firestore.v1.PartitionQueryResponse>( + service, METHODID_PARTITION_QUERY))) + .addMethod( + getWriteMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.firestore.v1.WriteRequest, + com.google.firestore.v1.WriteResponse>( + service, METHODID_WRITE))) + .addMethod( + getListenMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.firestore.v1.ListenRequest, + com.google.firestore.v1.ListenResponse>( + service, METHODID_LISTEN))) + .addMethod( + getListCollectionIdsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse>( + service, METHODID_LIST_COLLECTION_IDS))) + .addMethod( + getBatchWriteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.BatchWriteRequest, + com.google.firestore.v1.BatchWriteResponse>( + service, METHODID_BATCH_WRITE))) + .addMethod( + getCreateDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.CreateDocumentRequest, + com.google.firestore.v1.Document>( + service, METHODID_CREATE_DOCUMENT))) + .build(); + } + + private static abstract class FirestoreBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + FirestoreBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.firestore.v1.FirestoreProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Firestore"); + } + } + + private static final class FirestoreFileDescriptorSupplier + extends FirestoreBaseDescriptorSupplier { + FirestoreFileDescriptorSupplier() {} + } + + private static final class FirestoreMethodDescriptorSupplier + extends FirestoreBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + FirestoreMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (FirestoreGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new FirestoreFileDescriptorSupplier()) + .addMethod(getGetDocumentMethod()) + .addMethod(getListDocumentsMethod()) + .addMethod(getUpdateDocumentMethod()) + .addMethod(getDeleteDocumentMethod()) + .addMethod(getBatchGetDocumentsMethod()) + .addMethod(getBeginTransactionMethod()) + .addMethod(getCommitMethod()) + .addMethod(getRollbackMethod()) + .addMethod(getRunQueryMethod()) + .addMethod(getRunAggregationQueryMethod()) + .addMethod(getPartitionQueryMethod()) + .addMethod(getWriteMethod()) + .addMethod(getListenMethod()) + .addMethod(getListCollectionIdsMethod()) + .addMethod(getBatchWriteMethod()) + .addMethod(getCreateDocumentMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java similarity index 100% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java similarity index 64% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java index 37b461738..cc8a9e654 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
  * 
* * Protobuf type {@code google.firestore.admin.v1.CreateIndexRequest} */ -public final class CreateIndexRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateIndexRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.CreateIndexRequest) CreateIndexRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateIndexRequest.newBuilder() to construct. private CreateIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateIndexRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.CreateIndexRequest.class, - com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); + com.google.firestore.admin.v1.CreateIndexRequest.class, com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,15 +100,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INDEX_FIELD_NUMBER = 2; private com.google.firestore.admin.v1.Index index_; /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the index field is set. */ @java.lang.Override @@ -143,15 +112,11 @@ public boolean hasIndex() { return index_ != null; } /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The index. */ @java.lang.Override @@ -159,14 +124,11 @@ public com.google.firestore.admin.v1.Index getIndex() { return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { @@ -174,7 +136,6 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,7 +168,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (index_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIndex()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getIndex()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,18 +179,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.CreateIndexRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.CreateIndexRequest other = - (com.google.firestore.admin.v1.CreateIndexRequest) obj; + com.google.firestore.admin.v1.CreateIndexRequest other = (com.google.firestore.admin.v1.CreateIndexRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasIndex() != other.hasIndex()) return false; if (hasIndex()) { - if (!getIndex().equals(other.getIndex())) return false; + if (!getIndex() + .equals(other.getIndex())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,136 +215,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.CreateIndexRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.CreateIndexRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.CreateIndexRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
    * 
* * Protobuf type {@code google.firestore.admin.v1.CreateIndexRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.CreateIndexRequest) com.google.firestore.admin.v1.CreateIndexRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.CreateIndexRequest.class, - com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); + com.google.firestore.admin.v1.CreateIndexRequest.class, com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.CreateIndexRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -395,9 +353,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; } @java.lang.Override @@ -416,11 +374,8 @@ public com.google.firestore.admin.v1.CreateIndexRequest build() { @java.lang.Override public com.google.firestore.admin.v1.CreateIndexRequest buildPartial() { - com.google.firestore.admin.v1.CreateIndexRequest result = - new com.google.firestore.admin.v1.CreateIndexRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.CreateIndexRequest result = new com.google.firestore.admin.v1.CreateIndexRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -431,7 +386,9 @@ private void buildPartial0(com.google.firestore.admin.v1.CreateIndexRequest resu result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.index_ = indexBuilder_ == null ? index_ : indexBuilder_.build(); + result.index_ = indexBuilder_ == null + ? index_ + : indexBuilder_.build(); } } @@ -439,39 +396,38 @@ private void buildPartial0(com.google.firestore.admin.v1.CreateIndexRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.CreateIndexRequest) { - return mergeFrom((com.google.firestore.admin.v1.CreateIndexRequest) other); + return mergeFrom((com.google.firestore.admin.v1.CreateIndexRequest)other); } else { super.mergeFrom(other); return this; @@ -479,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.CreateIndexRequest other) { - if (other == com.google.firestore.admin.v1.CreateIndexRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.CreateIndexRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -515,25 +470,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getIndexFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getIndexFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -543,28 +497,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -573,24 +522,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -598,41 +544,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -642,24 +577,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -669,35 +598,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.firestore.admin.v1.Index index_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> - indexBuilder_; + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> indexBuilder_; /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the index field is set. */ public boolean hasIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The index. */ public com.google.firestore.admin.v1.Index getIndex() { @@ -708,14 +626,11 @@ public com.google.firestore.admin.v1.Index getIndex() { } } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setIndex(com.google.firestore.admin.v1.Index value) { if (indexBuilder_ == null) { @@ -731,16 +646,14 @@ public Builder setIndex(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder setIndex( + com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexBuilder_ == null) { index_ = builderForValue.build(); } else { @@ -751,20 +664,17 @@ public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForVa return this; } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { if (indexBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && index_ != null - && index_ != com.google.firestore.admin.v1.Index.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + index_ != null && + index_ != com.google.firestore.admin.v1.Index.getDefaultInstance()) { getIndexBuilder().mergeFrom(value); } else { index_ = value; @@ -777,14 +687,11 @@ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearIndex() { bitField0_ = (bitField0_ & ~0x00000002); @@ -797,14 +704,11 @@ public Builder clearIndex() { return this; } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.firestore.admin.v1.Index.Builder getIndexBuilder() { bitField0_ |= 0x00000002; @@ -812,51 +716,43 @@ public com.google.firestore.admin.v1.Index.Builder getIndexBuilder() { return getIndexFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { if (indexBuilder_ != null) { return indexBuilder_.getMessageOrBuilder(); } else { - return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; + return index_ == null ? + com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } } /** - * - * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> getIndexFieldBuilder() { if (indexBuilder_ == null) { - indexBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder>( - getIndex(), getParentForChildren(), isClean()); + indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( + getIndex(), + getParentForChildren(), + isClean()); index_ = null; } return indexBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.CreateIndexRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.CreateIndexRequest) private static final com.google.firestore.admin.v1.CreateIndexRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.CreateIndexRequest(); } @@ -880,27 +776,27 @@ public static com.google.firestore.admin.v1.CreateIndexRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateIndexRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateIndexRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,4 +811,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.CreateIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java index 664eb18a5..619b76dea 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface CreateIndexRequestOrBuilder - extends +public interface CreateIndexRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.CreateIndexRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the index field is set. */ boolean hasIndex(); /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The index. */ com.google.firestore.admin.v1.Index getIndex(); /** - * - * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java similarity index 72% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java index f3356a3ef..2991206be 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/database.proto package com.google.firestore.admin.v1; /** - * - * *
  * A Cloud Firestore Database.
  * Currently only one database is allowed per cloud project; this database
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Database}
  */
-public final class Database extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Database extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Database)
     DatabaseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Database.newBuilder() to construct.
   private Database(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Database() {
     name_ = "";
     locationId_ = "";
@@ -51,33 +33,30 @@ private Database() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Database();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.admin.v1.DatabaseProto
-        .internal_static_google_firestore_admin_v1_Database_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.DatabaseProto
-        .internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
+    return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Database.class,
-            com.google.firestore.admin.v1.Database.Builder.class);
+            com.google.firestore.admin.v1.Database.class, com.google.firestore.admin.v1.Database.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -87,10 +66,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.firestore.admin.v1.Database.DatabaseType}
    */
-  public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DatabaseType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The default value. This value is used if the database type is omitted.
      * 
@@ -99,8 +77,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Firestore Native Mode
      * 
@@ -109,8 +85,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ FIRESTORE_NATIVE(1), /** - * - * *
      * Firestore in Datastore Mode.
      * 
@@ -122,8 +96,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default value. This value is used if the database type is omitted.
      * 
@@ -132,8 +104,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Firestore Native Mode
      * 
@@ -142,8 +112,6 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FIRESTORE_NATIVE_VALUE = 1; /** - * - * *
      * Firestore in Datastore Mode.
      * 
@@ -152,6 +120,7 @@ public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATASTORE_MODE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -176,49 +145,49 @@ public static DatabaseType valueOf(int value) { */ public static DatabaseType forNumber(int value) { switch (value) { - case 0: - return DATABASE_TYPE_UNSPECIFIED; - case 1: - return FIRESTORE_NATIVE; - case 2: - return DATASTORE_MODE; - default: - return null; + case 0: return DATABASE_TYPE_UNSPECIFIED; + case 1: return FIRESTORE_NATIVE; + case 2: return DATASTORE_MODE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DatabaseType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DatabaseType findValueByNumber(int number) { + return DatabaseType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseType findValueByNumber(int number) { - return DatabaseType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(0); } private static final DatabaseType[] VALUES = values(); - public static DatabaseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -236,18 +205,15 @@ private DatabaseType(int value) { } /** - * - * *
    * The type of concurrency control mode for transactions.
    * 
* * Protobuf enum {@code google.firestore.admin.v1.Database.ConcurrencyMode} */ - public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { + public enum ConcurrencyMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -256,8 +222,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { */ CONCURRENCY_MODE_UNSPECIFIED(0), /** - * - * *
      * Use optimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -267,8 +231,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     OPTIMISTIC(1),
     /**
-     *
-     *
      * 
      * Use pessimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -279,8 +241,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     PESSIMISTIC(2),
     /**
-     *
-     *
      * 
      * Use optimistic concurrency control with entity groups by default.
      * This is the only available mode for Cloud Datastore.
@@ -295,8 +255,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not used.
      * 
@@ -305,8 +263,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONCURRENCY_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use optimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -316,8 +272,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int OPTIMISTIC_VALUE = 1;
     /**
-     *
-     *
      * 
      * Use pessimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -328,8 +282,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PESSIMISTIC_VALUE = 2;
     /**
-     *
-     *
      * 
      * Use optimistic concurrency control with entity groups by default.
      * This is the only available mode for Cloud Datastore.
@@ -341,6 +293,7 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int OPTIMISTIC_WITH_ENTITY_GROUPS_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -365,44 +318,40 @@ public static ConcurrencyMode valueOf(int value) {
      */
     public static ConcurrencyMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return CONCURRENCY_MODE_UNSPECIFIED;
-        case 1:
-          return OPTIMISTIC;
-        case 2:
-          return PESSIMISTIC;
-        case 3:
-          return OPTIMISTIC_WITH_ENTITY_GROUPS;
-        default:
-          return null;
+        case 0: return CONCURRENCY_MODE_UNSPECIFIED;
+        case 1: return OPTIMISTIC;
+        case 2: return PESSIMISTIC;
+        case 3: return OPTIMISTIC_WITH_ENTITY_GROUPS;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        ConcurrencyMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ConcurrencyMode findValueByNumber(int number) {
+              return ConcurrencyMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ConcurrencyMode findValueByNumber(int number) {
-                return ConcurrencyMode.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -411,7 +360,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static ConcurrencyMode valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -429,18 +379,15 @@ private ConcurrencyMode(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The type of App Engine integration mode.
    * 
* * Protobuf enum {@code google.firestore.admin.v1.Database.AppEngineIntegrationMode} */ - public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMessageEnum { + public enum AppEngineIntegrationMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not used.
      * 
@@ -449,8 +396,6 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess */ APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED(0), /** - * - * *
      * If an App Engine application exists in the same region as this database,
      * App Engine configuration will impact this database. This includes
@@ -462,8 +407,6 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess
      */
     ENABLED(1),
     /**
-     *
-     *
      * 
      * Appengine has no affect on the ability of this database to serve
      * requests.
@@ -476,8 +419,6 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess
     ;
 
     /**
-     *
-     *
      * 
      * Not used.
      * 
@@ -486,8 +427,6 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess */ public static final int APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * If an App Engine application exists in the same region as this database,
      * App Engine configuration will impact this database. This includes
@@ -499,8 +438,6 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess
      */
     public static final int ENABLED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Appengine has no affect on the ability of this database to serve
      * requests.
@@ -510,6 +447,7 @@ public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMess
      */
     public static final int DISABLED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -534,14 +472,10 @@ public static AppEngineIntegrationMode valueOf(int value) {
      */
     public static AppEngineIntegrationMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED;
-        case 1:
-          return ENABLED;
-        case 2:
-          return DISABLED;
-        default:
-          return null;
+        case 0: return APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED;
+        case 1: return ENABLED;
+        case 2: return DISABLED;
+        default: return null;
       }
     }
 
@@ -549,28 +483,28 @@ public static AppEngineIntegrationMode forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        AppEngineIntegrationMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public AppEngineIntegrationMode findValueByNumber(int number) {
+              return AppEngineIntegrationMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public AppEngineIntegrationMode findValueByNumber(int number) {
-                return AppEngineIntegrationMode.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(2);
     }
 
@@ -579,7 +513,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static AppEngineIntegrationMode valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -597,19 +532,15 @@ private AppEngineIntegrationMode(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -618,30 +549,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -650,19 +581,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int LOCATION_ID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object locationId_ = ""; /** - * - * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; - * * @return The locationId. */ @java.lang.Override @@ -671,30 +598,30 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** - * - * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; - * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -705,8 +632,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { public static final int TYPE_FIELD_NUMBER = 10; private int type_ = 0; /** - * - * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -714,16 +639,12 @@ public com.google.protobuf.ByteString getLocationIdBytes() {
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -731,105 +652,69 @@ public int getTypeValue() {
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The type. */ - @java.lang.Override - public com.google.firestore.admin.v1.Database.DatabaseType getType() { - com.google.firestore.admin.v1.Database.DatabaseType result = - com.google.firestore.admin.v1.Database.DatabaseType.forNumber(type_); - return result == null - ? com.google.firestore.admin.v1.Database.DatabaseType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.admin.v1.Database.DatabaseType getType() { + com.google.firestore.admin.v1.Database.DatabaseType result = com.google.firestore.admin.v1.Database.DatabaseType.forNumber(type_); + return result == null ? com.google.firestore.admin.v1.Database.DatabaseType.UNRECOGNIZED : result; } public static final int CONCURRENCY_MODE_FIELD_NUMBER = 15; private int concurrencyMode_ = 0; /** - * - * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @return The enum numeric value on the wire for concurrencyMode. */ - @java.lang.Override - public int getConcurrencyModeValue() { + @java.lang.Override public int getConcurrencyModeValue() { return concurrencyMode_; } /** - * - * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @return The concurrencyMode. */ - @java.lang.Override - public com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode() { - com.google.firestore.admin.v1.Database.ConcurrencyMode result = - com.google.firestore.admin.v1.Database.ConcurrencyMode.forNumber(concurrencyMode_); - return result == null - ? com.google.firestore.admin.v1.Database.ConcurrencyMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode() { + com.google.firestore.admin.v1.Database.ConcurrencyMode result = com.google.firestore.admin.v1.Database.ConcurrencyMode.forNumber(concurrencyMode_); + return result == null ? com.google.firestore.admin.v1.Database.ConcurrencyMode.UNRECOGNIZED : result; } public static final int APP_ENGINE_INTEGRATION_MODE_FIELD_NUMBER = 19; private int appEngineIntegrationMode_ = 0; /** - * - * *
    * The App Engine integration mode to use for this database.
    * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @return The enum numeric value on the wire for appEngineIntegrationMode. */ - @java.lang.Override - public int getAppEngineIntegrationModeValue() { + @java.lang.Override public int getAppEngineIntegrationModeValue() { return appEngineIntegrationMode_; } /** - * - * *
    * The App Engine integration mode to use for this database.
    * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @return The appEngineIntegrationMode. */ - @java.lang.Override - public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode - getAppEngineIntegrationMode() { - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.forNumber( - appEngineIntegrationMode_); - return result == null - ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode getAppEngineIntegrationMode() { + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.forNumber(appEngineIntegrationMode_); + return result == null ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED : result; } public static final int KEY_PREFIX_FIELD_NUMBER = 20; - @SuppressWarnings("serial") private volatile java.lang.Object keyPrefix_ = ""; /** - * - * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -840,7 +725,6 @@ public int getAppEngineIntegrationModeValue() {
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The keyPrefix. */ @java.lang.Override @@ -849,15 +733,14 @@ public java.lang.String getKeyPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyPrefix_ = s; return s; } } /** - * - * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -868,15 +751,16 @@ public java.lang.String getKeyPrefix() {
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for keyPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyPrefixBytes() { + public com.google.protobuf.ByteString + getKeyPrefixBytes() { java.lang.Object ref = keyPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyPrefix_ = b; return b; } else { @@ -885,12 +769,9 @@ public com.google.protobuf.ByteString getKeyPrefixBytes() { } public static final int ETAG_FIELD_NUMBER = 99; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -898,7 +779,6 @@ public com.google.protobuf.ByteString getKeyPrefixBytes() {
    * 
* * string etag = 99; - * * @return The etag. */ @java.lang.Override @@ -907,15 +787,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -923,15 +802,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 99; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -940,7 +820,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -952,27 +831,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, locationId_); } - if (type_ - != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(10, type_); } - if (concurrencyMode_ - != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED - .getNumber()) { + if (concurrencyMode_ != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(15, concurrencyMode_); } - if (appEngineIntegrationMode_ - != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode - .APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED - .getNumber()) { + if (appEngineIntegrationMode_ != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(19, appEngineIntegrationMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyPrefix_)) { @@ -996,21 +869,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, locationId_); } - if (type_ - != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, type_); + if (type_ != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, type_); } - if (concurrencyMode_ - != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, concurrencyMode_); + if (concurrencyMode_ != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, concurrencyMode_); } - if (appEngineIntegrationMode_ - != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode - .APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(19, appEngineIntegrationMode_); + if (appEngineIntegrationMode_ != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(19, appEngineIntegrationMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, keyPrefix_); @@ -1026,20 +895,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Database)) { return super.equals(obj); } com.google.firestore.admin.v1.Database other = (com.google.firestore.admin.v1.Database) obj; - if (!getName().equals(other.getName())) return false; - if (!getLocationId().equals(other.getLocationId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getLocationId() + .equals(other.getLocationId())) return false; if (type_ != other.type_) return false; if (concurrencyMode_ != other.concurrencyMode_) return false; if (appEngineIntegrationMode_ != other.appEngineIntegrationMode_) return false; - if (!getKeyPrefix().equals(other.getKeyPrefix())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getKeyPrefix() + .equals(other.getKeyPrefix())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1070,104 +943,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.Database parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Database parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Database parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Database parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Database parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Database parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Database parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Database parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Database parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Database parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Database parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Database parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Database parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.Database prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Cloud Firestore Database.
    * Currently only one database is allowed per cloud project; this database
@@ -1176,32 +1042,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.Database}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Database)
       com.google.firestore.admin.v1.DatabaseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.DatabaseProto
-          .internal_static_google_firestore_admin_v1_Database_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.DatabaseProto
-          .internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
+      return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Database.class,
-              com.google.firestore.admin.v1.Database.Builder.class);
+              com.google.firestore.admin.v1.Database.class, com.google.firestore.admin.v1.Database.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Database.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1217,9 +1084,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.admin.v1.DatabaseProto
-          .internal_static_google_firestore_admin_v1_Database_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_descriptor;
     }
 
     @java.lang.Override
@@ -1238,11 +1105,8 @@ public com.google.firestore.admin.v1.Database build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.Database buildPartial() {
-      com.google.firestore.admin.v1.Database result =
-          new com.google.firestore.admin.v1.Database(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.admin.v1.Database result = new com.google.firestore.admin.v1.Database(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1276,39 +1140,38 @@ private void buildPartial0(com.google.firestore.admin.v1.Database result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.Database) {
-        return mergeFrom((com.google.firestore.admin.v1.Database) other);
+        return mergeFrom((com.google.firestore.admin.v1.Database)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1372,55 +1235,47 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 74:
-              {
-                locationId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 74
-            case 80:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 80
-            case 120:
-              {
-                concurrencyMode_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 120
-            case 152:
-              {
-                appEngineIntegrationMode_ = input.readEnum();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 152
-            case 162:
-              {
-                keyPrefix_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 162
-            case 794:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 794
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 74: {
+              locationId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 74
+            case 80: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 80
+            case 120: {
+              concurrencyMode_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 120
+            case 152: {
+              appEngineIntegrationMode_ = input.readEnum();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 152
+            case 162: {
+              keyPrefix_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 162
+            case 794: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 794
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1430,26 +1285,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1458,22 +1310,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1481,37 +1332,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1521,22 +1365,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1546,21 +1386,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object locationId_ = ""; /** - * - * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; - * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1569,22 +1407,21 @@ public java.lang.String getLocationId() { } } /** - * - * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; - * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString getLocationIdBytes() { + public com.google.protobuf.ByteString + getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); locationId_ = b; return b; } else { @@ -1592,37 +1429,30 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } } /** - * - * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; - * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } locationId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; - * * @return This builder for chaining. */ public Builder clearLocationId() { @@ -1632,22 +1462,18 @@ public Builder clearLocationId() { return this; } /** - * - * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; - * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); locationId_ = value; bitField0_ |= 0x00000002; @@ -1657,8 +1483,6 @@ public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1666,16 +1490,12 @@ public Builder setLocationIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1683,7 +1503,6 @@ public int getTypeValue() {
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1694,8 +1513,6 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1703,20 +1520,14 @@ public Builder setTypeValue(int value) {
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The type. */ @java.lang.Override public com.google.firestore.admin.v1.Database.DatabaseType getType() { - com.google.firestore.admin.v1.Database.DatabaseType result = - com.google.firestore.admin.v1.Database.DatabaseType.forNumber(type_); - return result == null - ? com.google.firestore.admin.v1.Database.DatabaseType.UNRECOGNIZED - : result; + com.google.firestore.admin.v1.Database.DatabaseType result = com.google.firestore.admin.v1.Database.DatabaseType.forNumber(type_); + return result == null ? com.google.firestore.admin.v1.Database.DatabaseType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1724,7 +1535,6 @@ public com.google.firestore.admin.v1.Database.DatabaseType getType() {
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1738,8 +1548,6 @@ public Builder setType(com.google.firestore.admin.v1.Database.DatabaseType value return this; } /** - * - * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1747,7 +1555,6 @@ public Builder setType(com.google.firestore.admin.v1.Database.DatabaseType value
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1759,29 +1566,22 @@ public Builder clearType() { private int concurrencyMode_ = 0; /** - * - * *
      * The concurrency control mode to use for this database.
      * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @return The enum numeric value on the wire for concurrencyMode. */ - @java.lang.Override - public int getConcurrencyModeValue() { + @java.lang.Override public int getConcurrencyModeValue() { return concurrencyMode_; } /** - * - * *
      * The concurrency control mode to use for this database.
      * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @param value The enum numeric value on the wire for concurrencyMode to set. * @return This builder for chaining. */ @@ -1792,38 +1592,28 @@ public Builder setConcurrencyModeValue(int value) { return this; } /** - * - * *
      * The concurrency control mode to use for this database.
      * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @return The concurrencyMode. */ @java.lang.Override public com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode() { - com.google.firestore.admin.v1.Database.ConcurrencyMode result = - com.google.firestore.admin.v1.Database.ConcurrencyMode.forNumber(concurrencyMode_); - return result == null - ? com.google.firestore.admin.v1.Database.ConcurrencyMode.UNRECOGNIZED - : result; + com.google.firestore.admin.v1.Database.ConcurrencyMode result = com.google.firestore.admin.v1.Database.ConcurrencyMode.forNumber(concurrencyMode_); + return result == null ? com.google.firestore.admin.v1.Database.ConcurrencyMode.UNRECOGNIZED : result; } /** - * - * *
      * The concurrency control mode to use for this database.
      * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @param value The concurrencyMode to set. * @return This builder for chaining. */ - public Builder setConcurrencyMode( - com.google.firestore.admin.v1.Database.ConcurrencyMode value) { + public Builder setConcurrencyMode(com.google.firestore.admin.v1.Database.ConcurrencyMode value) { if (value == null) { throw new NullPointerException(); } @@ -1833,14 +1623,11 @@ public Builder setConcurrencyMode( return this; } /** - * - * *
      * The concurrency control mode to use for this database.
      * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @return This builder for chaining. */ public Builder clearConcurrencyMode() { @@ -1852,33 +1639,22 @@ public Builder clearConcurrencyMode() { private int appEngineIntegrationMode_ = 0; /** - * - * *
      * The App Engine integration mode to use for this database.
      * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @return The enum numeric value on the wire for appEngineIntegrationMode. */ - @java.lang.Override - public int getAppEngineIntegrationModeValue() { + @java.lang.Override public int getAppEngineIntegrationModeValue() { return appEngineIntegrationMode_; } /** - * - * *
      * The App Engine integration mode to use for this database.
      * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @param value The enum numeric value on the wire for appEngineIntegrationMode to set. * @return This builder for chaining. */ @@ -1889,44 +1665,28 @@ public Builder setAppEngineIntegrationModeValue(int value) { return this; } /** - * - * *
      * The App Engine integration mode to use for this database.
      * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @return The appEngineIntegrationMode. */ @java.lang.Override - public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode - getAppEngineIntegrationMode() { - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.forNumber( - appEngineIntegrationMode_); - return result == null - ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED - : result; + public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode getAppEngineIntegrationMode() { + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.forNumber(appEngineIntegrationMode_); + return result == null ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED : result; } /** - * - * *
      * The App Engine integration mode to use for this database.
      * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @param value The appEngineIntegrationMode to set. * @return This builder for chaining. */ - public Builder setAppEngineIntegrationMode( - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode value) { + public Builder setAppEngineIntegrationMode(com.google.firestore.admin.v1.Database.AppEngineIntegrationMode value) { if (value == null) { throw new NullPointerException(); } @@ -1936,16 +1696,11 @@ public Builder setAppEngineIntegrationMode( return this; } /** - * - * *
      * The App Engine integration mode to use for this database.
      * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @return This builder for chaining. */ public Builder clearAppEngineIntegrationMode() { @@ -1957,8 +1712,6 @@ public Builder clearAppEngineIntegrationMode() { private java.lang.Object keyPrefix_ = ""; /** - * - * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -1969,13 +1722,13 @@ public Builder clearAppEngineIntegrationMode() {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The keyPrefix. */ public java.lang.String getKeyPrefix() { java.lang.Object ref = keyPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyPrefix_ = s; return s; @@ -1984,8 +1737,6 @@ public java.lang.String getKeyPrefix() { } } /** - * - * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -1996,14 +1747,15 @@ public java.lang.String getKeyPrefix() {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for keyPrefix. */ - public com.google.protobuf.ByteString getKeyPrefixBytes() { + public com.google.protobuf.ByteString + getKeyPrefixBytes() { java.lang.Object ref = keyPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyPrefix_ = b; return b; } else { @@ -2011,8 +1763,6 @@ public com.google.protobuf.ByteString getKeyPrefixBytes() { } } /** - * - * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -2023,22 +1773,18 @@ public com.google.protobuf.ByteString getKeyPrefixBytes() {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The keyPrefix to set. * @return This builder for chaining. */ - public Builder setKeyPrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKeyPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } keyPrefix_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -2049,7 +1795,6 @@ public Builder setKeyPrefix(java.lang.String value) {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearKeyPrefix() { @@ -2059,8 +1804,6 @@ public Builder clearKeyPrefix() { return this; } /** - * - * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -2071,14 +1814,12 @@ public Builder clearKeyPrefix() {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for keyPrefix to set. * @return This builder for chaining. */ - public Builder setKeyPrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKeyPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyPrefix_ = value; bitField0_ |= 0x00000020; @@ -2088,8 +1829,6 @@ public Builder setKeyPrefixBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2097,13 +1836,13 @@ public Builder setKeyPrefixBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 99; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -2112,8 +1851,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2121,14 +1858,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 99; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -2136,8 +1874,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2145,22 +1881,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 99; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2168,7 +1900,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 99; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2178,8 +1909,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -2187,23 +1916,21 @@ public Builder clearEtag() {
      * 
* * string etag = 99; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2213,12 +1940,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Database) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Database) private static final com.google.firestore.admin.v1.Database DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Database(); } @@ -2227,27 +1954,27 @@ public static com.google.firestore.admin.v1.Database getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Database parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Database parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2262,4 +1989,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Database getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java similarity index 100% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java similarity index 78% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java index c47da06ff..a564e80d6 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java @@ -1,85 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/database.proto package com.google.firestore.admin.v1; -public interface DatabaseOrBuilder - extends +public interface DatabaseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Database) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; - * * @return The locationId. */ java.lang.String getLocationId(); /** - * - * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; - * * @return The bytes for locationId. */ - com.google.protobuf.ByteString getLocationIdBytes(); + com.google.protobuf.ByteString + getLocationIdBytes(); /** - * - * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -87,13 +59,10 @@ public interface DatabaseOrBuilder
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -101,68 +70,49 @@ public interface DatabaseOrBuilder
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; - * * @return The type. */ com.google.firestore.admin.v1.Database.DatabaseType getType(); /** - * - * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @return The enum numeric value on the wire for concurrencyMode. */ int getConcurrencyModeValue(); /** - * - * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; - * * @return The concurrencyMode. */ com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode(); /** - * - * *
    * The App Engine integration mode to use for this database.
    * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @return The enum numeric value on the wire for appEngineIntegrationMode. */ int getAppEngineIntegrationModeValue(); /** - * - * *
    * The App Engine integration mode to use for this database.
    * 
* - * - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; - * - * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; * @return The appEngineIntegrationMode. */ com.google.firestore.admin.v1.Database.AppEngineIntegrationMode getAppEngineIntegrationMode(); /** - * - * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -173,13 +123,10 @@ public interface DatabaseOrBuilder
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The keyPrefix. */ java.lang.String getKeyPrefix(); /** - * - * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -190,14 +137,12 @@ public interface DatabaseOrBuilder
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for keyPrefix. */ - com.google.protobuf.ByteString getKeyPrefixBytes(); + com.google.protobuf.ByteString + getKeyPrefixBytes(); /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -205,13 +150,10 @@ public interface DatabaseOrBuilder
    * 
* * string etag = 99; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -219,8 +161,8 @@ public interface DatabaseOrBuilder
    * 
* * string etag = 99; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java new file mode 100644 index 000000000..c8a6a1a84 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java @@ -0,0 +1,83 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/database.proto + +package com.google.firestore.admin.v1; + +public final class DatabaseProto { + private DatabaseProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Database_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Database_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/firestore/admin/v1/database.pro" + + "to\022\031google.firestore.admin.v1\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\"\320\005\n\010Database\022\014\n\004name\030\001 \001(\t\022\023\n\013" + + "location_id\030\t \001(\t\022>\n\004type\030\n \001(\01620.google" + + ".firestore.admin.v1.Database.DatabaseTyp" + + "e\022M\n\020concurrency_mode\030\017 \001(\01623.google.fir" + + "estore.admin.v1.Database.ConcurrencyMode" + + "\022a\n\033app_engine_integration_mode\030\023 \001(\0162<." + + "google.firestore.admin.v1.Database.AppEn" + + "gineIntegrationMode\022\027\n\nkey_prefix\030\024 \001(\tB" + + "\003\340A\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031DA" + + "TABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_N" + + "ATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurren" + + "cyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020\000" + + "\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OPT" + + "IMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngin" + + "eIntegrationMode\022+\n\'APP_ENGINE_INTEGRATI" + + "ON_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DI" + + "SABLED\020\002:R\352AO\n!firestore.googleapis.com/" + + "Database\022\'projects/{project}/databases/{" + + "database}R\001\001B\334\001\n\035com.google.firestore.ad" + + "min.v1B\rDatabaseProtoP\001Z9cloud.google.co" + + "m/go/firestore/apiv1/admin/adminpb;admin" + + "pb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Admin" + + ".V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002#" + + "Google::Cloud::Firestore::Admin::V1b\006pro" + + "to3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_firestore_admin_v1_Database_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_Database_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Database_descriptor, + new java.lang.String[] { "Name", "LocationId", "Type", "ConcurrencyMode", "AppEngineIntegrationMode", "KeyPrefix", "Etag", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java similarity index 62% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java index e34a62929..e25c37d98 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
  * 
* * Protobuf type {@code google.firestore.admin.v1.DeleteIndexRequest} */ -public final class DeleteIndexRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteIndexRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.DeleteIndexRequest) DeleteIndexRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteIndexRequest.newBuilder() to construct. private DeleteIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteIndexRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.DeleteIndexRequest.class, - com.google.firestore.admin.v1.DeleteIndexRequest.Builder.class); + com.google.firestore.admin.v1.DeleteIndexRequest.class, com.google.firestore.admin.v1.DeleteIndexRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.DeleteIndexRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.DeleteIndexRequest other = - (com.google.firestore.admin.v1.DeleteIndexRequest) obj; + com.google.firestore.admin.v1.DeleteIndexRequest other = (com.google.firestore.admin.v1.DeleteIndexRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +161,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.DeleteIndexRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.DeleteIndexRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.DeleteIndexRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
    * 
* * Protobuf type {@code google.firestore.admin.v1.DeleteIndexRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.DeleteIndexRequest) com.google.firestore.admin.v1.DeleteIndexRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.DeleteIndexRequest.class, - com.google.firestore.admin.v1.DeleteIndexRequest.Builder.class); + com.google.firestore.admin.v1.DeleteIndexRequest.class, com.google.firestore.admin.v1.DeleteIndexRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.DeleteIndexRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; } @java.lang.Override @@ -348,11 +315,8 @@ public com.google.firestore.admin.v1.DeleteIndexRequest build() { @java.lang.Override public com.google.firestore.admin.v1.DeleteIndexRequest buildPartial() { - com.google.firestore.admin.v1.DeleteIndexRequest result = - new com.google.firestore.admin.v1.DeleteIndexRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.DeleteIndexRequest result = new com.google.firestore.admin.v1.DeleteIndexRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -368,39 +332,38 @@ private void buildPartial0(com.google.firestore.admin.v1.DeleteIndexRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.DeleteIndexRequest) { - return mergeFrom((com.google.firestore.admin.v1.DeleteIndexRequest) other); + return mergeFrom((com.google.firestore.admin.v1.DeleteIndexRequest)other); } else { super.mergeFrom(other); return this; @@ -408,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.DeleteIndexRequest other) { - if (other == com.google.firestore.admin.v1.DeleteIndexRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.DeleteIndexRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -441,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -463,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -562,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.DeleteIndexRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.DeleteIndexRequest) private static final com.google.firestore.admin.v1.DeleteIndexRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.DeleteIndexRequest(); } @@ -612,27 +547,27 @@ public static com.google.firestore.admin.v1.DeleteIndexRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteIndexRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteIndexRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.DeleteIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java new file mode 100644 index 000000000..0509378e2 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface DeleteIndexRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.DeleteIndexRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java similarity index 72% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java index 5ff8a3111..549da58da 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** - * - * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsMetadata}
  */
-public final class ExportDocumentsMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportDocumentsMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsMetadata)
     ExportDocumentsMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportDocumentsMetadata.newBuilder() to construct.
   private ExportDocumentsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExportDocumentsMetadata() {
     operationState_ = 0;
     collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -46,41 +28,37 @@ private ExportDocumentsMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExportDocumentsMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto
-        .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto
-        .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.ExportDocumentsMetadata.class,
-            com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
+            com.google.firestore.admin.v1.ExportDocumentsMetadata.class, com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
-   *
-   *
    * 
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -88,14 +66,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -103,8 +78,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time this operation started.
    * 
@@ -119,15 +92,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -135,15 +105,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -151,8 +118,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -168,49 +133,37 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int OPERATION_STATE_FIELD_NUMBER = 3;
   private int operationState_ = 0;
   /**
-   *
-   *
    * 
    * The state of the export operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The enum numeric value on the wire for operationState. */ - @java.lang.Override - public int getOperationStateValue() { + @java.lang.Override public int getOperationStateValue() { return operationState_; } /** - * - * *
    * The state of the export operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The operationState. */ - @java.lang.Override - public com.google.firestore.admin.v1.OperationState getOperationState() { - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.forNumber(operationState_); + @java.lang.Override public com.google.firestore.admin.v1.OperationState getOperationState() { + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(operationState_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } public static final int PROGRESS_DOCUMENTS_FIELD_NUMBER = 4; private com.google.firestore.admin.v1.Progress progressDocuments_; /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return Whether the progressDocuments field is set. */ @java.lang.Override @@ -218,25 +171,18 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -245,22 +191,17 @@ public com.google.firestore.admin.v1.Progress getProgressDocuments() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 5; private com.google.firestore.admin.v1.Progress progressBytes_; /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -268,25 +209,18 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -295,52 +229,41 @@ public com.google.firestore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } public static final int COLLECTION_IDS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList collectionIds_; /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_; } /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -348,34 +271,28 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString + getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } public static final int OUTPUT_URI_PREFIX_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object outputUriPrefix_ = ""; /** - * - * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; - * * @return The outputUriPrefix. */ @java.lang.Override @@ -384,29 +301,29 @@ public java.lang.String getOutputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; } } /** - * - * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; - * * @return The bytes for outputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -415,7 +332,6 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -427,15 +343,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } if (endTime_ != null) { output.writeMessage(2, getEndTime()); } - if (operationState_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + if (operationState_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, operationState_); } if (progressDocuments_ != null) { @@ -460,20 +376,24 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } - if (operationState_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationState_); + if (operationState_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, operationState_); } if (progressDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgressDocuments()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProgressDocuments()); } if (progressBytes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getProgressBytes()); } { int dataSize = 0; @@ -494,33 +414,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ExportDocumentsMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.ExportDocumentsMetadata other = - (com.google.firestore.admin.v1.ExportDocumentsMetadata) obj; + com.google.firestore.admin.v1.ExportDocumentsMetadata other = (com.google.firestore.admin.v1.ExportDocumentsMetadata) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (operationState_ != other.operationState_) return false; if (hasProgressDocuments() != other.hasProgressDocuments()) return false; if (hasProgressDocuments()) { - if (!getProgressDocuments().equals(other.getProgressDocuments())) return false; + if (!getProgressDocuments() + .equals(other.getProgressDocuments())) return false; } if (hasProgressBytes() != other.hasProgressBytes()) return false; if (hasProgressBytes()) { - if (!getProgressBytes().equals(other.getProgressBytes())) return false; + if (!getProgressBytes() + .equals(other.getProgressBytes())) return false; } - if (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; - if (!getOutputUriPrefix().equals(other.getOutputUriPrefix())) return false; + if (!getCollectionIdsList() + .equals(other.getCollectionIdsList())) return false; + if (!getOutputUriPrefix() + .equals(other.getOutputUriPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -562,104 +487,96 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.admin.v1.ExportDocumentsMetadata prototype) { + public static Builder newBuilder(com.google.firestore.admin.v1.ExportDocumentsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
    * [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
@@ -667,32 +584,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ExportDocumentsMetadata)
       com.google.firestore.admin.v1.ExportDocumentsMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.ExportDocumentsMetadata.class,
-              com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
+              com.google.firestore.admin.v1.ExportDocumentsMetadata.class, com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.ExportDocumentsMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -725,9 +643,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -746,18 +664,14 @@ public com.google.firestore.admin.v1.ExportDocumentsMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.ExportDocumentsMetadata buildPartial() {
-      com.google.firestore.admin.v1.ExportDocumentsMetadata result =
-          new com.google.firestore.admin.v1.ExportDocumentsMetadata(this);
+      com.google.firestore.admin.v1.ExportDocumentsMetadata result = new com.google.firestore.admin.v1.ExportDocumentsMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.firestore.admin.v1.ExportDocumentsMetadata result) {
+    private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ExportDocumentsMetadata result) {
       if (((bitField0_ & 0x00000020) != 0)) {
         collectionIds_ = collectionIds_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000020);
@@ -768,23 +682,27 @@ private void buildPartialRepeatedFields(
     private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.operationState_ = operationState_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.progressDocuments_ =
-            progressDocumentsBuilder_ == null
-                ? progressDocuments_
-                : progressDocumentsBuilder_.build();
+        result.progressDocuments_ = progressDocumentsBuilder_ == null
+            ? progressDocuments_
+            : progressDocumentsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.progressBytes_ =
-            progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build();
+        result.progressBytes_ = progressBytesBuilder_ == null
+            ? progressBytes_
+            : progressBytesBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.outputUriPrefix_ = outputUriPrefix_;
@@ -795,39 +713,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsMetadata
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.ExportDocumentsMetadata) {
-        return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsMetadata) other);
+        return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -835,8 +752,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsMetadata other) {
-      if (other == com.google.firestore.admin.v1.ExportDocumentsMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.admin.v1.ExportDocumentsMetadata.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -893,57 +809,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                operationState_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(
-                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureCollectionIdsIsMutable();
-                collectionIds_.add(s);
-                break;
-              } // case 50
-            case 58:
-              {
-                outputUriPrefix_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              operationState_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getProgressDocumentsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getProgressBytesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureCollectionIdsIsMutable();
+              collectionIds_.add(s);
+              break;
+            } // case 50
+            case 58: {
+              outputUriPrefix_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -953,38 +868,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        startTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -995,8 +900,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time this operation started.
      * 
@@ -1017,15 +920,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1036,8 +938,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1046,9 +946,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1061,8 +961,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1080,8 +978,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1094,8 +990,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time this operation started.
      * 
@@ -1106,12 +1000,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time this operation started.
      * 
@@ -1119,17 +1012,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1137,35 +1027,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1176,8 +1057,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1199,8 +1078,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1208,7 +1085,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -1219,8 +1097,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1230,9 +1106,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -1245,8 +1121,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1265,8 +1139,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1280,8 +1152,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1293,12 +1163,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1307,17 +1176,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1325,29 +1191,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private int operationState_ = 0;
     /**
-     *
-     *
      * 
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The enum numeric value on the wire for operationState. */ - @java.lang.Override - public int getOperationStateValue() { + @java.lang.Override public int getOperationStateValue() { return operationState_; } /** - * - * *
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @param value The enum numeric value on the wire for operationState to set. * @return This builder for chaining. */ @@ -1358,31 +1217,24 @@ public Builder setOperationStateValue(int value) { return this; } /** - * - * *
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The operationState. */ @java.lang.Override public com.google.firestore.admin.v1.OperationState getOperationState() { - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.forNumber(operationState_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(operationState_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } /** - * - * *
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @param value The operationState to set. * @return This builder for chaining. */ @@ -1396,14 +1248,11 @@ public Builder setOperationState(com.google.firestore.admin.v1.OperationState va return this; } /** - * - * *
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return This builder for chaining. */ public Builder clearOperationState() { @@ -1415,47 +1264,34 @@ public Builder clearOperationState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return The progressDocuments. */ public com.google.firestore.admin.v1.Progress getProgressDocuments() { if (progressDocumentsBuilder_ == null) { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } else { return progressDocumentsBuilder_.getMessage(); } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1476,8 +1312,6 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1496,8 +1330,6 @@ public Builder setProgressDocuments( return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1506,9 +1338,9 @@ public Builder setProgressDocuments( */ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress value) { if (progressDocumentsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && progressDocuments_ != null - && progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + progressDocuments_ != null && + progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressDocumentsBuilder().mergeFrom(value); } else { progressDocuments_ = value; @@ -1521,8 +1353,6 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1540,8 +1370,6 @@ public Builder clearProgressDocuments() { return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1554,8 +1382,6 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1566,14 +1392,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1581,17 +1404,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), getParentForChildren(), isClean()); + progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), + getParentForChildren(), + isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -1599,47 +1419,34 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return The progressBytes. */ public com.google.firestore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1660,8 +1467,6 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1680,8 +1485,6 @@ public Builder setProgressBytes( return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1690,9 +1493,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && progressBytes_ != null - && progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + progressBytes_ != null && + progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -1705,8 +1508,6 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1724,8 +1525,6 @@ public Builder clearProgressBytes() { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1738,8 +1537,6 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1750,14 +1547,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1765,68 +1559,55 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), getParentForChildren(), isClean()); + progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), + getParentForChildren(), + isClean()); progressBytes_ = null; } return progressBytesBuilder_; } - private com.google.protobuf.LazyStringList collectionIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -1834,90 +1615,76 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString + getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addCollectionIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds(java.lang.Iterable values) { + public Builder addAllCollectionIds( + java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, collectionIds_); onChanged(); return this; } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -1927,21 +1694,17 @@ public Builder clearCollectionIds() { return this; } /** - * - * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; - * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addCollectionIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); @@ -1951,20 +1714,18 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object outputUriPrefix_ = ""; /** - * - * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; - * * @return The outputUriPrefix. */ public java.lang.String getOutputUriPrefix() { java.lang.Object ref = outputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; @@ -1973,21 +1734,20 @@ public java.lang.String getOutputUriPrefix() { } } /** - * - * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; - * * @return The bytes for outputUriPrefix. */ - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -1995,35 +1755,28 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } } /** - * - * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; - * * @param value The outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUriPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } outputUriPrefix_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; - * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { @@ -2033,30 +1786,26 @@ public Builder clearOutputUriPrefix() { return this; } /** - * - * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; - * * @param value The bytes for outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUriPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); outputUriPrefix_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2066,12 +1815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ExportDocumentsMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ExportDocumentsMetadata) private static final com.google.firestore.admin.v1.ExportDocumentsMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ExportDocumentsMetadata(); } @@ -2080,27 +1829,27 @@ public static com.google.firestore.admin.v1.ExportDocumentsMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportDocumentsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportDocumentsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2115,4 +1864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ExportDocumentsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java similarity index 81% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java index 6668efc0d..86ee7df28 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface ExportDocumentsMetadataOrBuilder - extends +public interface ExportDocumentsMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ExportDocumentsMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time this operation started.
    * 
@@ -59,34 +35,26 @@ public interface ExportDocumentsMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -97,57 +65,43 @@ public interface ExportDocumentsMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The state of the export operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The enum numeric value on the wire for operationState. */ int getOperationStateValue(); /** - * - * *
    * The state of the export operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The operationState. */ com.google.firestore.admin.v1.OperationState getOperationState(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -157,32 +111,24 @@ public interface ExportDocumentsMetadataOrBuilder com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -192,78 +138,63 @@ public interface ExportDocumentsMetadataOrBuilder com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - java.util.List getCollectionIdsList(); + java.util.List + getCollectionIdsList(); /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** - * - * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString getCollectionIdsBytes(int index); + com.google.protobuf.ByteString + getCollectionIdsBytes(int index); /** - * - * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; - * * @return The outputUriPrefix. */ java.lang.String getOutputUriPrefix(); /** - * - * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; - * * @return The bytes for outputUriPrefix. */ - com.google.protobuf.ByteString getOutputUriPrefixBytes(); + com.google.protobuf.ByteString + getOutputUriPrefixBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java similarity index 71% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java index 52d0ea19a..d1e0ed437 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsRequest} */ -public final class ExportDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportDocumentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsRequest) ExportDocumentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportDocumentsRequest.newBuilder() to construct. private ExportDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportDocumentsRequest() { name_ = ""; collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -45,46 +27,39 @@ private ExportDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsRequest.class, - com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsRequest.class, com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Database to export. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,32 +68,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Database to export. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,46 +100,37 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int COLLECTION_IDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList collectionIds_; /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_; } /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -174,28 +138,23 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString + getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } public static final int OUTPUT_URI_PREFIX_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object outputUriPrefix_ = ""; /** - * - * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -208,7 +167,6 @@ public com.google.protobuf.ByteString getCollectionIdsBytes(int index) {
    * 
* * string output_uri_prefix = 3; - * * @return The outputUriPrefix. */ @java.lang.Override @@ -217,15 +175,14 @@ public java.lang.String getOutputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; } } /** - * - * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -238,15 +195,16 @@ public java.lang.String getOutputUriPrefix() {
    * 
* * string output_uri_prefix = 3; - * * @return The bytes for outputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -255,7 +213,6 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -308,17 +266,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ExportDocumentsRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.ExportDocumentsRequest other = - (com.google.firestore.admin.v1.ExportDocumentsRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; - if (!getOutputUriPrefix().equals(other.getOutputUriPrefix())) return false; + com.google.firestore.admin.v1.ExportDocumentsRequest other = (com.google.firestore.admin.v1.ExportDocumentsRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getCollectionIdsList() + .equals(other.getCollectionIdsList())) return false; + if (!getOutputUriPrefix() + .equals(other.getOutputUriPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,135 +304,129 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ExportDocumentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ExportDocumentsRequest) com.google.firestore.admin.v1.ExportDocumentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsRequest.class, - com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsRequest.class, com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ExportDocumentsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +439,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; } @java.lang.Override @@ -506,18 +460,14 @@ public com.google.firestore.admin.v1.ExportDocumentsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ExportDocumentsRequest buildPartial() { - com.google.firestore.admin.v1.ExportDocumentsRequest result = - new com.google.firestore.admin.v1.ExportDocumentsRequest(this); + com.google.firestore.admin.v1.ExportDocumentsRequest result = new com.google.firestore.admin.v1.ExportDocumentsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.firestore.admin.v1.ExportDocumentsRequest result) { + private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ExportDocumentsRequest result) { if (((bitField0_ & 0x00000002) != 0)) { collectionIds_ = collectionIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); @@ -539,39 +489,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ExportDocumentsRequest) { - return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsRequest) other); + return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsRequest)other); } else { super.mergeFrom(other); return this; @@ -579,8 +528,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsRequest other) { - if (other == com.google.firestore.admin.v1.ExportDocumentsRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ExportDocumentsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -627,32 +575,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureCollectionIdsIsMutable(); - collectionIds_.add(s); - break; - } // case 18 - case 26: - { - outputUriPrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCollectionIdsIsMutable(); + collectionIds_.add(s); + break; + } // case 18 + case 26: { + outputUriPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -662,28 +606,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -692,24 +631,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -717,41 +653,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -761,24 +686,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -786,52 +705,42 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList collectionIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -839,90 +748,76 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString + getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addCollectionIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds(java.lang.Iterable values) { + public Builder addAllCollectionIds( + java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, collectionIds_); onChanged(); return this; } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -932,21 +827,17 @@ public Builder clearCollectionIds() { return this; } /** - * - * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; - * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addCollectionIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); @@ -956,8 +847,6 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object outputUriPrefix_ = ""; /** - * - * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -970,13 +859,13 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) {
      * 
* * string output_uri_prefix = 3; - * * @return The outputUriPrefix. */ public java.lang.String getOutputUriPrefix() { java.lang.Object ref = outputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; @@ -985,8 +874,6 @@ public java.lang.String getOutputUriPrefix() { } } /** - * - * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -999,14 +886,15 @@ public java.lang.String getOutputUriPrefix() {
      * 
* * string output_uri_prefix = 3; - * * @return The bytes for outputUriPrefix. */ - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -1014,8 +902,6 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } } /** - * - * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -1028,22 +914,18 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() {
      * 
* * string output_uri_prefix = 3; - * * @param value The outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUriPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } outputUriPrefix_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -1056,7 +938,6 @@ public Builder setOutputUriPrefix(java.lang.String value) {
      * 
* * string output_uri_prefix = 3; - * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { @@ -1066,8 +947,6 @@ public Builder clearOutputUriPrefix() { return this; } /** - * - * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -1080,23 +959,21 @@ public Builder clearOutputUriPrefix() {
      * 
* * string output_uri_prefix = 3; - * * @param value The bytes for outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUriPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); outputUriPrefix_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +983,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ExportDocumentsRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ExportDocumentsRequest) private static final com.google.firestore.admin.v1.ExportDocumentsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ExportDocumentsRequest(); } @@ -1120,27 +997,27 @@ public static com.google.firestore.admin.v1.ExportDocumentsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportDocumentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportDocumentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,4 +1032,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ExportDocumentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java index bafc4a089..c26d90150 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java @@ -1,113 +1,76 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ExportDocumentsRequestOrBuilder - extends +public interface ExportDocumentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ExportDocumentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Database to export. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Database to export. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - java.util.List getCollectionIdsList(); + java.util.List + getCollectionIdsList(); /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** - * - * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString getCollectionIdsBytes(int index); + com.google.protobuf.ByteString + getCollectionIdsBytes(int index); /** - * - * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -120,13 +83,10 @@ public interface ExportDocumentsRequestOrBuilder
    * 
* * string output_uri_prefix = 3; - * * @return The outputUriPrefix. */ java.lang.String getOutputUriPrefix(); /** - * - * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -139,8 +99,8 @@ public interface ExportDocumentsRequestOrBuilder
    * 
* * string output_uri_prefix = 3; - * * @return The bytes for outputUriPrefix. */ - com.google.protobuf.ByteString getOutputUriPrefixBytes(); + com.google.protobuf.ByteString + getOutputUriPrefixBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java similarity index 66% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java index 2a17e0d00..a092853cf 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java @@ -1,79 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** - * - * *
  * Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsResponse} */ -public final class ExportDocumentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportDocumentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsResponse) ExportDocumentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportDocumentsResponse.newBuilder() to construct. private ExportDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportDocumentsResponse() { outputUriPrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportDocumentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsResponse.class, - com.google.firestore.admin.v1.ExportDocumentsResponse.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsResponse.class, com.google.firestore.admin.v1.ExportDocumentsResponse.Builder.class); } public static final int OUTPUT_URI_PREFIX_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object outputUriPrefix_ = ""; /** - * - * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -81,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string output_uri_prefix = 1; - * * @return The outputUriPrefix. */ @java.lang.Override @@ -90,15 +67,14 @@ public java.lang.String getOutputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; } } /** - * - * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -106,15 +82,16 @@ public java.lang.String getOutputUriPrefix() {
    * 
* * string output_uri_prefix = 1; - * * @return The bytes for outputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -123,7 +100,6 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUriPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputUriPrefix_); } @@ -159,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ExportDocumentsResponse)) { return super.equals(obj); } - com.google.firestore.admin.v1.ExportDocumentsResponse other = - (com.google.firestore.admin.v1.ExportDocumentsResponse) obj; + com.google.firestore.admin.v1.ExportDocumentsResponse other = (com.google.firestore.admin.v1.ExportDocumentsResponse) obj; - if (!getOutputUriPrefix().equals(other.getOutputUriPrefix())) return false; + if (!getOutputUriPrefix() + .equals(other.getOutputUriPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +164,129 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.admin.v1.ExportDocumentsResponse prototype) { + public static Builder newBuilder(com.google.firestore.admin.v1.ExportDocumentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
    * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ExportDocumentsResponse) com.google.firestore.admin.v1.ExportDocumentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsResponse.class, - com.google.firestore.admin.v1.ExportDocumentsResponse.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsResponse.class, com.google.firestore.admin.v1.ExportDocumentsResponse.Builder.class); } // Construct using com.google.firestore.admin.v1.ExportDocumentsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +296,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; } @java.lang.Override @@ -347,11 +317,8 @@ public com.google.firestore.admin.v1.ExportDocumentsResponse build() { @java.lang.Override public com.google.firestore.admin.v1.ExportDocumentsResponse buildPartial() { - com.google.firestore.admin.v1.ExportDocumentsResponse result = - new com.google.firestore.admin.v1.ExportDocumentsResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.ExportDocumentsResponse result = new com.google.firestore.admin.v1.ExportDocumentsResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,39 +334,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ExportDocumentsResponse) { - return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsResponse) other); + return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsResponse)other); } else { super.mergeFrom(other); return this; @@ -407,8 +373,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsResponse other) { - if (other == com.google.firestore.admin.v1.ExportDocumentsResponse.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ExportDocumentsResponse.getDefaultInstance()) return this; if (!other.getOutputUriPrefix().isEmpty()) { outputUriPrefix_ = other.outputUriPrefix_; bitField0_ |= 0x00000001; @@ -440,19 +405,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - outputUriPrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + outputUriPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,13 +425,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object outputUriPrefix_ = ""; /** - * - * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -476,13 +436,13 @@ public Builder mergeFrom(
      * 
* * string output_uri_prefix = 1; - * * @return The outputUriPrefix. */ public java.lang.String getOutputUriPrefix() { java.lang.Object ref = outputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; @@ -491,8 +451,6 @@ public java.lang.String getOutputUriPrefix() { } } /** - * - * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -500,14 +458,15 @@ public java.lang.String getOutputUriPrefix() {
      * 
* * string output_uri_prefix = 1; - * * @return The bytes for outputUriPrefix. */ - public com.google.protobuf.ByteString getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -515,8 +474,6 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() { } } /** - * - * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -524,22 +481,18 @@ public com.google.protobuf.ByteString getOutputUriPrefixBytes() {
      * 
* * string output_uri_prefix = 1; - * * @param value The outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUriPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } outputUriPrefix_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -547,7 +500,6 @@ public Builder setOutputUriPrefix(java.lang.String value) {
      * 
* * string output_uri_prefix = 1; - * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { @@ -557,8 +509,6 @@ public Builder clearOutputUriPrefix() { return this; } /** - * - * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -566,23 +516,21 @@ public Builder clearOutputUriPrefix() {
      * 
* * string output_uri_prefix = 1; - * * @param value The bytes for outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUriPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); outputUriPrefix_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +540,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ExportDocumentsResponse) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ExportDocumentsResponse) private static final com.google.firestore.admin.v1.ExportDocumentsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ExportDocumentsResponse(); } @@ -606,27 +554,27 @@ public static com.google.firestore.admin.v1.ExportDocumentsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportDocumentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportDocumentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +589,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ExportDocumentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java similarity index 56% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java index e4588c346..86ce311b5 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface ExportDocumentsResponseOrBuilder - extends +public interface ExportDocumentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ExportDocumentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -33,13 +15,10 @@ public interface ExportDocumentsResponseOrBuilder
    * 
* * string output_uri_prefix = 1; - * * @return The outputUriPrefix. */ java.lang.String getOutputUriPrefix(); /** - * - * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -47,8 +26,8 @@ public interface ExportDocumentsResponseOrBuilder
    * 
* * string output_uri_prefix = 1; - * * @return The bytes for outputUriPrefix. */ - com.google.protobuf.ByteString getOutputUriPrefixBytes(); + com.google.protobuf.ByteString + getOutputUriPrefixBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java similarity index 75% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java index c19498436..2684e8483 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/field.proto package com.google.firestore.admin.v1; /** - * - * *
  * Represents a single field in the database.
  * Fields are grouped by their "Collection Group", which represent all
@@ -29,64 +12,58 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Field}
  */
-public final class Field extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Field extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field)
     FieldOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Field.newBuilder() to construct.
   private Field(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Field() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Field();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.admin.v1.FieldProto
-        .internal_static_google_firestore_admin_v1_Field_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.FieldProto
-        .internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
+    return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Field.class,
-            com.google.firestore.admin.v1.Field.Builder.class);
+            com.google.firestore.admin.v1.Field.class, com.google.firestore.admin.v1.Field.Builder.class);
   }
 
-  public interface IndexConfigOrBuilder
-      extends
+  public interface IndexConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Field.IndexConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List getIndexesList(); + java.util.List + getIndexesList(); /** - * - * *
      * The indexes supported for this field.
      * 
@@ -95,8 +72,6 @@ public interface IndexConfigOrBuilder */ com.google.firestore.admin.v1.Index getIndexes(int index); /** - * - * *
      * The indexes supported for this field.
      * 
@@ -105,30 +80,25 @@ public interface IndexConfigOrBuilder */ int getIndexesCount(); /** - * - * *
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List + java.util.List getIndexesOrBuilderList(); /** - * - * *
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index); + com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index); /** - * - * *
      * Output only. When true, the `Field`'s index configuration is set from the
      * configuration specified by the `ancestor_field`.
@@ -136,14 +106,11 @@ public interface IndexConfigOrBuilder
      * 
* * bool uses_ancestor_config = 2; - * * @return The usesAncestorConfig. */ boolean getUsesAncestorConfig(); /** - * - * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -152,13 +119,10 @@ public interface IndexConfigOrBuilder
      * 
* * string ancestor_field = 3; - * * @return The ancestorField. */ java.lang.String getAncestorField(); /** - * - * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -167,14 +131,12 @@ public interface IndexConfigOrBuilder
      * 
* * string ancestor_field = 3; - * * @return The bytes for ancestorField. */ - com.google.protobuf.ByteString getAncestorFieldBytes(); + com.google.protobuf.ByteString + getAncestorFieldBytes(); /** - * - * *
      * Output only
      * When true, the `Field`'s index configuration is in the process of being
@@ -184,30 +146,26 @@ public interface IndexConfigOrBuilder
      * 
* * bool reverting = 4; - * * @return The reverting. */ boolean getReverting(); } /** - * - * *
    * The index configuration for this field.
    * 
* * Protobuf type {@code google.firestore.admin.v1.Field.IndexConfig} */ - public static final class IndexConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IndexConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field.IndexConfig) IndexConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndexConfig.newBuilder() to construct. private IndexConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IndexConfig() { indexes_ = java.util.Collections.emptyList(); ancestorField_ = ""; @@ -215,37 +173,33 @@ private IndexConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IndexConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FieldProto - .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FieldProto - .internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable + return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.Field.IndexConfig.class, - com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); + com.google.firestore.admin.v1.Field.IndexConfig.class, com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); } public static final int INDEXES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List indexes_; /** - * - * *
      * The indexes supported for this field.
      * 
@@ -257,8 +211,6 @@ public java.util.List getIndexesList() { return indexes_; } /** - * - * *
      * The indexes supported for this field.
      * 
@@ -266,13 +218,11 @@ public java.util.List getIndexesList() { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIndexesOrBuilderList() { return indexes_; } /** - * - * *
      * The indexes supported for this field.
      * 
@@ -284,8 +234,6 @@ public int getIndexesCount() { return indexes_.size(); } /** - * - * *
      * The indexes supported for this field.
      * 
@@ -297,8 +245,6 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** - * - * *
      * The indexes supported for this field.
      * 
@@ -306,15 +252,14 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index) { return indexes_.get(index); } public static final int USES_ANCESTOR_CONFIG_FIELD_NUMBER = 2; private boolean usesAncestorConfig_ = false; /** - * - * *
      * Output only. When true, the `Field`'s index configuration is set from the
      * configuration specified by the `ancestor_field`.
@@ -322,7 +267,6 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde
      * 
* * bool uses_ancestor_config = 2; - * * @return The usesAncestorConfig. */ @java.lang.Override @@ -331,12 +275,9 @@ public boolean getUsesAncestorConfig() { } public static final int ANCESTOR_FIELD_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object ancestorField_ = ""; /** - * - * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -345,7 +286,6 @@ public boolean getUsesAncestorConfig() {
      * 
* * string ancestor_field = 3; - * * @return The ancestorField. */ @java.lang.Override @@ -354,15 +294,14 @@ public java.lang.String getAncestorField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ancestorField_ = s; return s; } } /** - * - * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -371,15 +310,16 @@ public java.lang.String getAncestorField() {
      * 
* * string ancestor_field = 3; - * * @return The bytes for ancestorField. */ @java.lang.Override - public com.google.protobuf.ByteString getAncestorFieldBytes() { + public com.google.protobuf.ByteString + getAncestorFieldBytes() { java.lang.Object ref = ancestorField_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ancestorField_ = b; return b; } else { @@ -390,8 +330,6 @@ public com.google.protobuf.ByteString getAncestorFieldBytes() { public static final int REVERTING_FIELD_NUMBER = 4; private boolean reverting_ = false; /** - * - * *
      * Output only
      * When true, the `Field`'s index configuration is in the process of being
@@ -401,7 +339,6 @@ public com.google.protobuf.ByteString getAncestorFieldBytes() {
      * 
* * bool reverting = 4; - * * @return The reverting. */ @java.lang.Override @@ -410,7 +347,6 @@ public boolean getReverting() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -422,7 +358,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < indexes_.size(); i++) { output.writeMessage(1, indexes_.get(i)); } @@ -445,16 +382,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < indexes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, indexes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, indexes_.get(i)); } if (usesAncestorConfig_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, usesAncestorConfig_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, usesAncestorConfig_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ancestorField_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ancestorField_); } if (reverting_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, reverting_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, reverting_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -464,18 +404,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Field.IndexConfig)) { return super.equals(obj); } - com.google.firestore.admin.v1.Field.IndexConfig other = - (com.google.firestore.admin.v1.Field.IndexConfig) obj; + com.google.firestore.admin.v1.Field.IndexConfig other = (com.google.firestore.admin.v1.Field.IndexConfig) obj; - if (!getIndexesList().equals(other.getIndexesList())) return false; - if (getUsesAncestorConfig() != other.getUsesAncestorConfig()) return false; - if (!getAncestorField().equals(other.getAncestorField())) return false; - if (getReverting() != other.getReverting()) return false; + if (!getIndexesList() + .equals(other.getIndexesList())) return false; + if (getUsesAncestorConfig() + != other.getUsesAncestorConfig()) return false; + if (!getAncestorField() + .equals(other.getAncestorField())) return false; + if (getReverting() + != other.getReverting()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -492,104 +435,100 @@ public int hashCode() { hash = (53 * hash) + getIndexesList().hashCode(); } hash = (37 * hash) + USES_ANCESTOR_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUsesAncestorConfig()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUsesAncestorConfig()); hash = (37 * hash) + ANCESTOR_FIELD_FIELD_NUMBER; hash = (53 * hash) + getAncestorField().hashCode(); hash = (37 * hash) + REVERTING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReverting()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReverting()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.Field.IndexConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.Field.IndexConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.Field.IndexConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -599,41 +538,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The index configuration for this field.
      * 
* * Protobuf type {@code google.firestore.admin.v1.Field.IndexConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Field.IndexConfig) com.google.firestore.admin.v1.Field.IndexConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FieldProto - .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FieldProto - .internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable + return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.Field.IndexConfig.class, - com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); + com.google.firestore.admin.v1.Field.IndexConfig.class, com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); } // Construct using com.google.firestore.admin.v1.Field.IndexConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -652,9 +589,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FieldProto - .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; } @java.lang.Override @@ -673,18 +610,14 @@ public com.google.firestore.admin.v1.Field.IndexConfig build() { @java.lang.Override public com.google.firestore.admin.v1.Field.IndexConfig buildPartial() { - com.google.firestore.admin.v1.Field.IndexConfig result = - new com.google.firestore.admin.v1.Field.IndexConfig(this); + com.google.firestore.admin.v1.Field.IndexConfig result = new com.google.firestore.admin.v1.Field.IndexConfig(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.firestore.admin.v1.Field.IndexConfig result) { + private void buildPartialRepeatedFields(com.google.firestore.admin.v1.Field.IndexConfig result) { if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { indexes_ = java.util.Collections.unmodifiableList(indexes_); @@ -713,41 +646,38 @@ private void buildPartial0(com.google.firestore.admin.v1.Field.IndexConfig resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.Field.IndexConfig) { - return mergeFrom((com.google.firestore.admin.v1.Field.IndexConfig) other); + return mergeFrom((com.google.firestore.admin.v1.Field.IndexConfig)other); } else { super.mergeFrom(other); return this; @@ -755,8 +685,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.Field.IndexConfig other) { - if (other == com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()) return this; if (indexesBuilder_ == null) { if (!other.indexes_.isEmpty()) { if (indexes_.isEmpty()) { @@ -775,10 +704,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Field.IndexConfig other) indexesBuilder_ = null; indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000001); - indexesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIndexesFieldBuilder() - : null; + indexesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIndexesFieldBuilder() : null; } else { indexesBuilder_.addAllMessages(other.indexes_); } @@ -821,44 +749,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.firestore.admin.v1.Index m = - input.readMessage( - com.google.firestore.admin.v1.Index.parser(), extensionRegistry); - if (indexesBuilder_ == null) { - ensureIndexesIsMutable(); - indexes_.add(m); - } else { - indexesBuilder_.addMessage(m); - } - break; - } // case 10 - case 16: - { - usesAncestorConfig_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - ancestorField_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - reverting_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.firestore.admin.v1.Index m = + input.readMessage( + com.google.firestore.admin.v1.Index.parser(), + extensionRegistry); + if (indexesBuilder_ == null) { + ensureIndexesIsMutable(); + indexes_.add(m); + } else { + indexesBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: { + usesAncestorConfig_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + ancestorField_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + reverting_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -868,28 +792,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List indexes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIndexesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { indexes_ = new java.util.ArrayList(indexes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> - indexesBuilder_; + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> indexesBuilder_; /** - * - * *
        * The indexes supported for this field.
        * 
@@ -904,8 +821,6 @@ public java.util.List getIndexesList() { } } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -920,8 +835,6 @@ public int getIndexesCount() { } } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -936,15 +849,14 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { } } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder setIndexes(int index, com.google.firestore.admin.v1.Index value) { + public Builder setIndexes( + int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -958,8 +870,6 @@ public Builder setIndexes(int index, com.google.firestore.admin.v1.Index value) return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -978,8 +888,6 @@ public Builder setIndexes( return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1000,15 +908,14 @@ public Builder addIndexes(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes(int index, com.google.firestore.admin.v1.Index value) { + public Builder addIndexes( + int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1022,15 +929,14 @@ public Builder addIndexes(int index, com.google.firestore.admin.v1.Index value) return this; } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes(com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder addIndexes( + com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(builderForValue.build()); @@ -1041,8 +947,6 @@ public Builder addIndexes(com.google.firestore.admin.v1.Index.Builder builderFor return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1061,8 +965,6 @@ public Builder addIndexes( return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1073,7 +975,8 @@ public Builder addAllIndexes( java.lang.Iterable values) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, indexes_); onChanged(); } else { indexesBuilder_.addAllMessages(values); @@ -1081,8 +984,6 @@ public Builder addAllIndexes( return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1100,8 +1001,6 @@ public Builder clearIndexes() { return this; } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1119,44 +1018,39 @@ public Builder removeIndexes(int index) { return this; } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder(int index) { + public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder( + int index) { return getIndexesFieldBuilder().getBuilder(index); } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index) { if (indexesBuilder_ == null) { - return indexes_.get(index); - } else { + return indexes_.get(index); } else { return indexesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List - getIndexesOrBuilderList() { + public java.util.List + getIndexesOrBuilderList() { if (indexesBuilder_ != null) { return indexesBuilder_.getMessageOrBuilderList(); } else { @@ -1164,8 +1058,6 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde } } /** - * - * *
        * The indexes supported for this field.
        * 
@@ -1173,56 +1065,49 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde * repeated .google.firestore.admin.v1.Index indexes = 1; */ public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder() { - return getIndexesFieldBuilder() - .addBuilder(com.google.firestore.admin.v1.Index.getDefaultInstance()); + return getIndexesFieldBuilder().addBuilder( + com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder(int index) { - return getIndexesFieldBuilder() - .addBuilder(index, com.google.firestore.admin.v1.Index.getDefaultInstance()); + public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder( + int index) { + return getIndexesFieldBuilder().addBuilder( + index, com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** - * - * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List getIndexesBuilderList() { + public java.util.List + getIndexesBuilderList() { return getIndexesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { - indexesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder>( - indexes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( + indexes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); indexes_ = null; } return indexesBuilder_; } - private boolean usesAncestorConfig_; + private boolean usesAncestorConfig_ ; /** - * - * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1230,7 +1115,6 @@ public java.util.List getIndexesBui
        * 
* * bool uses_ancestor_config = 2; - * * @return The usesAncestorConfig. */ @java.lang.Override @@ -1238,8 +1122,6 @@ public boolean getUsesAncestorConfig() { return usesAncestorConfig_; } /** - * - * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1247,20 +1129,17 @@ public boolean getUsesAncestorConfig() {
        * 
* * bool uses_ancestor_config = 2; - * * @param value The usesAncestorConfig to set. * @return This builder for chaining. */ public Builder setUsesAncestorConfig(boolean value) { - + usesAncestorConfig_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1268,7 +1147,6 @@ public Builder setUsesAncestorConfig(boolean value) {
        * 
* * bool uses_ancestor_config = 2; - * * @return This builder for chaining. */ public Builder clearUsesAncestorConfig() { @@ -1280,8 +1158,6 @@ public Builder clearUsesAncestorConfig() { private java.lang.Object ancestorField_ = ""; /** - * - * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1290,13 +1166,13 @@ public Builder clearUsesAncestorConfig() {
        * 
* * string ancestor_field = 3; - * * @return The ancestorField. */ public java.lang.String getAncestorField() { java.lang.Object ref = ancestorField_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ancestorField_ = s; return s; @@ -1305,8 +1181,6 @@ public java.lang.String getAncestorField() { } } /** - * - * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1315,14 +1189,15 @@ public java.lang.String getAncestorField() {
        * 
* * string ancestor_field = 3; - * * @return The bytes for ancestorField. */ - public com.google.protobuf.ByteString getAncestorFieldBytes() { + public com.google.protobuf.ByteString + getAncestorFieldBytes() { java.lang.Object ref = ancestorField_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ancestorField_ = b; return b; } else { @@ -1330,8 +1205,6 @@ public com.google.protobuf.ByteString getAncestorFieldBytes() { } } /** - * - * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1340,22 +1213,18 @@ public com.google.protobuf.ByteString getAncestorFieldBytes() {
        * 
* * string ancestor_field = 3; - * * @param value The ancestorField to set. * @return This builder for chaining. */ - public Builder setAncestorField(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAncestorField( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ancestorField_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1364,7 +1233,6 @@ public Builder setAncestorField(java.lang.String value) {
        * 
* * string ancestor_field = 3; - * * @return This builder for chaining. */ public Builder clearAncestorField() { @@ -1374,8 +1242,6 @@ public Builder clearAncestorField() { return this; } /** - * - * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1384,14 +1250,12 @@ public Builder clearAncestorField() {
        * 
* * string ancestor_field = 3; - * * @param value The bytes for ancestorField to set. * @return This builder for chaining. */ - public Builder setAncestorFieldBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAncestorFieldBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ancestorField_ = value; bitField0_ |= 0x00000004; @@ -1399,10 +1263,8 @@ public Builder setAncestorFieldBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reverting_; + private boolean reverting_ ; /** - * - * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1412,7 +1274,6 @@ public Builder setAncestorFieldBytes(com.google.protobuf.ByteString value) {
        * 
* * bool reverting = 4; - * * @return The reverting. */ @java.lang.Override @@ -1420,8 +1281,6 @@ public boolean getReverting() { return reverting_; } /** - * - * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1431,20 +1290,17 @@ public boolean getReverting() {
        * 
* * bool reverting = 4; - * * @param value The reverting to set. * @return This builder for chaining. */ public Builder setReverting(boolean value) { - + reverting_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1454,7 +1310,6 @@ public Builder setReverting(boolean value) {
        * 
* * bool reverting = 4; - * * @return This builder for chaining. */ public Builder clearReverting() { @@ -1463,7 +1318,6 @@ public Builder clearReverting() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1476,12 +1330,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Field.IndexConfig) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Field.IndexConfig) private static final com.google.firestore.admin.v1.Field.IndexConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Field.IndexConfig(); } @@ -1490,28 +1344,27 @@ public static com.google.firestore.admin.v1.Field.IndexConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1526,45 +1379,33 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Field.IndexConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TtlConfigOrBuilder - extends + public interface TtlConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Field.TtlConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The state of the TTL configuration.
      * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * Output only. The state of the TTL configuration.
      * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.firestore.admin.v1.Field.TtlConfig.State getState(); } /** - * - * *
    * The TTL (time-to-live) configuration for documents that have this `Field`
    * set.
@@ -1575,59 +1416,54 @@ public interface TtlConfigOrBuilder
    *
    * Protobuf type {@code google.firestore.admin.v1.Field.TtlConfig}
    */
-  public static final class TtlConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class TtlConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field.TtlConfig)
       TtlConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use TtlConfig.newBuilder() to construct.
     private TtlConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private TtlConfig() {
       state_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new TtlConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.FieldProto
-          .internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.FieldProto
-          .internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable
+      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Field.TtlConfig.class,
-              com.google.firestore.admin.v1.Field.TtlConfig.Builder.class);
+              com.google.firestore.admin.v1.Field.TtlConfig.class, com.google.firestore.admin.v1.Field.TtlConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * The state of applying the TTL configuration to all documents.
      * 
* * Protobuf enum {@code google.firestore.admin.v1.Field.TtlConfig.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The state is unspecified or unknown.
        * 
@@ -1636,8 +1472,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * The TTL is being applied. There is an active long-running operation to
        * track the change. Newly written documents will have TTLs applied as
@@ -1650,8 +1484,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       CREATING(1),
       /**
-       *
-       *
        * 
        * The TTL is active for all documents.
        * 
@@ -1660,8 +1492,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(2), /** - * - * *
        * The TTL configuration could not be enabled for all existing documents.
        * Newly written documents will continue to have their TTL applied.
@@ -1676,8 +1506,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * The state is unspecified or unknown.
        * 
@@ -1686,8 +1514,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The TTL is being applied. There is an active long-running operation to
        * track the change. Newly written documents will have TTLs applied as
@@ -1700,8 +1526,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CREATING_VALUE = 1;
       /**
-       *
-       *
        * 
        * The TTL is active for all documents.
        * 
@@ -1710,8 +1534,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 2; /** - * - * *
        * The TTL configuration could not be enabled for all existing documents.
        * Newly written documents will continue to have their TTL applied.
@@ -1723,6 +1545,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NEEDS_REPAIR_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1747,51 +1570,50 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_UNSPECIFIED;
-          case 1:
-            return CREATING;
-          case 2:
-            return ACTIVE;
-          case 3:
-            return NEEDS_REPAIR;
-          default:
-            return null;
+          case 0: return STATE_UNSPECIFIED;
+          case 1: return CREATING;
+          case 2: return ACTIVE;
+          case 3: return NEEDS_REPAIR;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          State> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public State findValueByNumber(int number) {
+                return State.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
         return com.google.firestore.admin.v1.Field.TtlConfig.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -1811,46 +1633,30 @@ private State(int value) {
     public static final int STATE_FIELD_NUMBER = 1;
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of the TTL configuration.
      * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The state of the TTL configuration.
      * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.firestore.admin.v1.Field.TtlConfig.State getState() { - com.google.firestore.admin.v1.Field.TtlConfig.State result = - com.google.firestore.admin.v1.Field.TtlConfig.State.forNumber(state_); - return result == null - ? com.google.firestore.admin.v1.Field.TtlConfig.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.admin.v1.Field.TtlConfig.State getState() { + com.google.firestore.admin.v1.Field.TtlConfig.State result = com.google.firestore.admin.v1.Field.TtlConfig.State.forNumber(state_); + return result == null ? com.google.firestore.admin.v1.Field.TtlConfig.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1862,9 +1668,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.firestore.admin.v1.Field.TtlConfig.State.STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.firestore.admin.v1.Field.TtlConfig.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } getUnknownFields().writeTo(output); @@ -1876,9 +1682,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.firestore.admin.v1.Field.TtlConfig.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.firestore.admin.v1.Field.TtlConfig.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1888,13 +1694,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Field.TtlConfig)) { return super.equals(obj); } - com.google.firestore.admin.v1.Field.TtlConfig other = - (com.google.firestore.admin.v1.Field.TtlConfig) obj; + com.google.firestore.admin.v1.Field.TtlConfig other = (com.google.firestore.admin.v1.Field.TtlConfig) obj; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1915,94 +1720,88 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.Field.TtlConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.Field.TtlConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.Field.TtlConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2012,8 +1811,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The TTL (time-to-live) configuration for documents that have this `Field`
      * set.
@@ -2024,33 +1821,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.firestore.admin.v1.Field.TtlConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Field.TtlConfig)
         com.google.firestore.admin.v1.Field.TtlConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.firestore.admin.v1.FieldProto
-            .internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.firestore.admin.v1.FieldProto
-            .internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable
+        return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.firestore.admin.v1.Field.TtlConfig.class,
-                com.google.firestore.admin.v1.Field.TtlConfig.Builder.class);
+                com.google.firestore.admin.v1.Field.TtlConfig.class, com.google.firestore.admin.v1.Field.TtlConfig.Builder.class);
       }
 
       // Construct using com.google.firestore.admin.v1.Field.TtlConfig.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2060,9 +1857,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.firestore.admin.v1.FieldProto
-            .internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
       }
 
       @java.lang.Override
@@ -2081,11 +1878,8 @@ public com.google.firestore.admin.v1.Field.TtlConfig build() {
 
       @java.lang.Override
       public com.google.firestore.admin.v1.Field.TtlConfig buildPartial() {
-        com.google.firestore.admin.v1.Field.TtlConfig result =
-            new com.google.firestore.admin.v1.Field.TtlConfig(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.firestore.admin.v1.Field.TtlConfig result = new com.google.firestore.admin.v1.Field.TtlConfig(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -2101,41 +1895,38 @@ private void buildPartial0(com.google.firestore.admin.v1.Field.TtlConfig result)
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.firestore.admin.v1.Field.TtlConfig) {
-          return mergeFrom((com.google.firestore.admin.v1.Field.TtlConfig) other);
+          return mergeFrom((com.google.firestore.admin.v1.Field.TtlConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2143,8 +1934,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.firestore.admin.v1.Field.TtlConfig other) {
-        if (other == com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()) return this;
         if (other.state_ != 0) {
           setStateValue(other.getStateValue());
         }
@@ -2174,19 +1964,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  state_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2196,38 +1984,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private int state_ = 0;
       /**
-       *
-       *
        * 
        * Output only. The state of the TTL configuration.
        * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Output only. The state of the TTL configuration.
        * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2238,37 +2014,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
        * Output only. The state of the TTL configuration.
        * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.firestore.admin.v1.Field.TtlConfig.State getState() { - com.google.firestore.admin.v1.Field.TtlConfig.State result = - com.google.firestore.admin.v1.Field.TtlConfig.State.forNumber(state_); - return result == null - ? com.google.firestore.admin.v1.Field.TtlConfig.State.UNRECOGNIZED - : result; + com.google.firestore.admin.v1.Field.TtlConfig.State result = com.google.firestore.admin.v1.Field.TtlConfig.State.forNumber(state_); + return result == null ? com.google.firestore.admin.v1.Field.TtlConfig.State.UNRECOGNIZED : result; } /** - * - * *
        * Output only. The state of the TTL configuration.
        * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2282,16 +2045,11 @@ public Builder setState(com.google.firestore.admin.v1.Field.TtlConfig.State valu return this; } /** - * - * *
        * Output only. The state of the TTL configuration.
        * 
* - * - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2300,7 +2058,6 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2313,12 +2070,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Field.TtlConfig) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Field.TtlConfig) private static final com.google.firestore.admin.v1.Field.TtlConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Field.TtlConfig(); } @@ -2327,28 +2084,27 @@ public static com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TtlConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TtlConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2363,15 +2119,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2398,7 +2152,6 @@ public com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstanceForType()
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -2407,15 +2160,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2442,15 +2194,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2461,8 +2214,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INDEX_CONFIG_FIELD_NUMBER = 2; private com.google.firestore.admin.v1.Field.IndexConfig indexConfig_; /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -2471,7 +2222,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return Whether the indexConfig field is set. */ @java.lang.Override @@ -2479,8 +2229,6 @@ public boolean hasIndexConfig() { return indexConfig_ != null; } /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -2489,18 +2237,13 @@ public boolean hasIndexConfig() {
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return The indexConfig. */ @java.lang.Override public com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig() { - return indexConfig_ == null - ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() - : indexConfig_; + return indexConfig_ == null ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_; } /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -2512,16 +2255,12 @@ public com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig() {
    */
   @java.lang.Override
   public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOrBuilder() {
-    return indexConfig_ == null
-        ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()
-        : indexConfig_;
+    return indexConfig_ == null ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_;
   }
 
   public static final int TTL_CONFIG_FIELD_NUMBER = 3;
   private com.google.firestore.admin.v1.Field.TtlConfig ttlConfig_;
   /**
-   *
-   *
    * 
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -2529,7 +2268,6 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return Whether the ttlConfig field is set. */ @java.lang.Override @@ -2537,8 +2275,6 @@ public boolean hasTtlConfig() { return ttlConfig_ != null; } /** - * - * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -2546,18 +2282,13 @@ public boolean hasTtlConfig() {
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return The ttlConfig. */ @java.lang.Override public com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig() { - return ttlConfig_ == null - ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() - : ttlConfig_; + return ttlConfig_ == null ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_; } /** - * - * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -2568,13 +2299,10 @@ public com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig() {
    */
   @java.lang.Override
   public com.google.firestore.admin.v1.Field.TtlConfigOrBuilder getTtlConfigOrBuilder() {
-    return ttlConfig_ == null
-        ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()
-        : ttlConfig_;
+    return ttlConfig_ == null ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2586,7 +2314,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -2609,10 +2338,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (indexConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIndexConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getIndexConfig());
     }
     if (ttlConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTtlConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getTtlConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2622,21 +2353,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.admin.v1.Field)) {
       return super.equals(obj);
     }
     com.google.firestore.admin.v1.Field other = (com.google.firestore.admin.v1.Field) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasIndexConfig() != other.hasIndexConfig()) return false;
     if (hasIndexConfig()) {
-      if (!getIndexConfig().equals(other.getIndexConfig())) return false;
+      if (!getIndexConfig()
+          .equals(other.getIndexConfig())) return false;
     }
     if (hasTtlConfig() != other.hasTtlConfig()) return false;
     if (hasTtlConfig()) {
-      if (!getTtlConfig().equals(other.getTtlConfig())) return false;
+      if (!getTtlConfig()
+          .equals(other.getTtlConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -2664,103 +2398,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.admin.v1.Field parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.admin.v1.Field parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.admin.v1.Field parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.firestore.admin.v1.Field parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.Field parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.admin.v1.Field parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.admin.v1.Field parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.admin.v1.Field prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Represents a single field in the database.
    * Fields are grouped by their "Collection Group", which represent all
@@ -2769,32 +2497,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.Field}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Field)
       com.google.firestore.admin.v1.FieldOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.FieldProto
-          .internal_static_google_firestore_admin_v1_Field_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.FieldProto
-          .internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
+      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Field.class,
-              com.google.firestore.admin.v1.Field.Builder.class);
+              com.google.firestore.admin.v1.Field.class, com.google.firestore.admin.v1.Field.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Field.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2814,9 +2543,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.admin.v1.FieldProto
-          .internal_static_google_firestore_admin_v1_Field_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_descriptor;
     }
 
     @java.lang.Override
@@ -2836,9 +2565,7 @@ public com.google.firestore.admin.v1.Field build() {
     @java.lang.Override
     public com.google.firestore.admin.v1.Field buildPartial() {
       com.google.firestore.admin.v1.Field result = new com.google.firestore.admin.v1.Field(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -2849,11 +2576,14 @@ private void buildPartial0(com.google.firestore.admin.v1.Field result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.indexConfig_ =
-            indexConfigBuilder_ == null ? indexConfig_ : indexConfigBuilder_.build();
+        result.indexConfig_ = indexConfigBuilder_ == null
+            ? indexConfig_
+            : indexConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.ttlConfig_ = ttlConfigBuilder_ == null ? ttlConfig_ : ttlConfigBuilder_.build();
+        result.ttlConfig_ = ttlConfigBuilder_ == null
+            ? ttlConfig_
+            : ttlConfigBuilder_.build();
       }
     }
 
@@ -2861,39 +2591,38 @@ private void buildPartial0(com.google.firestore.admin.v1.Field result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.Field) {
-        return mergeFrom((com.google.firestore.admin.v1.Field) other);
+        return mergeFrom((com.google.firestore.admin.v1.Field)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2939,31 +2668,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getIndexConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getTtlConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getIndexConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getTtlConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2973,13 +2702,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -3006,13 +2732,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3021,8 +2747,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -3049,14 +2773,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3064,8 +2789,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -3092,22 +2815,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -3134,7 +2853,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3144,8 +2862,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -3172,14 +2888,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3189,13 +2903,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.firestore.admin.v1.Field.IndexConfig indexConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Field.IndexConfig, - com.google.firestore.admin.v1.Field.IndexConfig.Builder, - com.google.firestore.admin.v1.Field.IndexConfigOrBuilder> - indexConfigBuilder_; + com.google.firestore.admin.v1.Field.IndexConfig, com.google.firestore.admin.v1.Field.IndexConfig.Builder, com.google.firestore.admin.v1.Field.IndexConfigOrBuilder> indexConfigBuilder_; /** - * - * *
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3204,15 +2913,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return Whether the indexConfig field is set. */ public boolean hasIndexConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3221,21 +2927,16 @@ public boolean hasIndexConfig() {
      * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return The indexConfig. */ public com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig() { if (indexConfigBuilder_ == null) { - return indexConfig_ == null - ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() - : indexConfig_; + return indexConfig_ == null ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_; } else { return indexConfigBuilder_.getMessage(); } } /** - * - * *
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3259,8 +2960,6 @@ public Builder setIndexConfig(com.google.firestore.admin.v1.Field.IndexConfig va
       return this;
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3282,8 +2981,6 @@ public Builder setIndexConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3295,10 +2992,9 @@ public Builder setIndexConfig(
      */
     public Builder mergeIndexConfig(com.google.firestore.admin.v1.Field.IndexConfig value) {
       if (indexConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && indexConfig_ != null
-            && indexConfig_
-                != com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          indexConfig_ != null &&
+          indexConfig_ != com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()) {
           getIndexConfigBuilder().mergeFrom(value);
         } else {
           indexConfig_ = value;
@@ -3311,8 +3007,6 @@ public Builder mergeIndexConfig(com.google.firestore.admin.v1.Field.IndexConfig
       return this;
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3333,8 +3027,6 @@ public Builder clearIndexConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3350,8 +3042,6 @@ public com.google.firestore.admin.v1.Field.IndexConfig.Builder getIndexConfigBui
       return getIndexConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3365,14 +3055,11 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
       if (indexConfigBuilder_ != null) {
         return indexConfigBuilder_.getMessageOrBuilder();
       } else {
-        return indexConfig_ == null
-            ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()
-            : indexConfig_;
+        return indexConfig_ == null ?
+            com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3383,17 +3070,14 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
      * .google.firestore.admin.v1.Field.IndexConfig index_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.admin.v1.Field.IndexConfig,
-            com.google.firestore.admin.v1.Field.IndexConfig.Builder,
-            com.google.firestore.admin.v1.Field.IndexConfigOrBuilder>
+        com.google.firestore.admin.v1.Field.IndexConfig, com.google.firestore.admin.v1.Field.IndexConfig.Builder, com.google.firestore.admin.v1.Field.IndexConfigOrBuilder> 
         getIndexConfigFieldBuilder() {
       if (indexConfigBuilder_ == null) {
-        indexConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.admin.v1.Field.IndexConfig,
-                com.google.firestore.admin.v1.Field.IndexConfig.Builder,
-                com.google.firestore.admin.v1.Field.IndexConfigOrBuilder>(
-                getIndexConfig(), getParentForChildren(), isClean());
+        indexConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.admin.v1.Field.IndexConfig, com.google.firestore.admin.v1.Field.IndexConfig.Builder, com.google.firestore.admin.v1.Field.IndexConfigOrBuilder>(
+                getIndexConfig(),
+                getParentForChildren(),
+                isClean());
         indexConfig_ = null;
       }
       return indexConfigBuilder_;
@@ -3401,13 +3085,8 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
 
     private com.google.firestore.admin.v1.Field.TtlConfig ttlConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.admin.v1.Field.TtlConfig,
-            com.google.firestore.admin.v1.Field.TtlConfig.Builder,
-            com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>
-        ttlConfigBuilder_;
+        com.google.firestore.admin.v1.Field.TtlConfig, com.google.firestore.admin.v1.Field.TtlConfig.Builder, com.google.firestore.admin.v1.Field.TtlConfigOrBuilder> ttlConfigBuilder_;
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3415,15 +3094,12 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
      * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return Whether the ttlConfig field is set. */ public boolean hasTtlConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3431,21 +3107,16 @@ public boolean hasTtlConfig() {
      * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return The ttlConfig. */ public com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig() { if (ttlConfigBuilder_ == null) { - return ttlConfig_ == null - ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() - : ttlConfig_; + return ttlConfig_ == null ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_; } else { return ttlConfigBuilder_.getMessage(); } } /** - * - * *
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3468,8 +3139,6 @@ public Builder setTtlConfig(com.google.firestore.admin.v1.Field.TtlConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3490,8 +3159,6 @@ public Builder setTtlConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3502,9 +3169,9 @@ public Builder setTtlConfig(
      */
     public Builder mergeTtlConfig(com.google.firestore.admin.v1.Field.TtlConfig value) {
       if (ttlConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && ttlConfig_ != null
-            && ttlConfig_ != com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          ttlConfig_ != null &&
+          ttlConfig_ != com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()) {
           getTtlConfigBuilder().mergeFrom(value);
         } else {
           ttlConfig_ = value;
@@ -3517,8 +3184,6 @@ public Builder mergeTtlConfig(com.google.firestore.admin.v1.Field.TtlConfig valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3538,8 +3203,6 @@ public Builder clearTtlConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3554,8 +3217,6 @@ public com.google.firestore.admin.v1.Field.TtlConfig.Builder getTtlConfigBuilder
       return getTtlConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3568,14 +3229,11 @@ public com.google.firestore.admin.v1.Field.TtlConfigOrBuilder getTtlConfigOrBuil
       if (ttlConfigBuilder_ != null) {
         return ttlConfigBuilder_.getMessageOrBuilder();
       } else {
-        return ttlConfig_ == null
-            ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()
-            : ttlConfig_;
+        return ttlConfig_ == null ?
+            com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3585,24 +3243,21 @@ public com.google.firestore.admin.v1.Field.TtlConfigOrBuilder getTtlConfigOrBuil
      * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.admin.v1.Field.TtlConfig,
-            com.google.firestore.admin.v1.Field.TtlConfig.Builder,
-            com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>
+        com.google.firestore.admin.v1.Field.TtlConfig, com.google.firestore.admin.v1.Field.TtlConfig.Builder, com.google.firestore.admin.v1.Field.TtlConfigOrBuilder> 
         getTtlConfigFieldBuilder() {
       if (ttlConfigBuilder_ == null) {
-        ttlConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.admin.v1.Field.TtlConfig,
-                com.google.firestore.admin.v1.Field.TtlConfig.Builder,
-                com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>(
-                getTtlConfig(), getParentForChildren(), isClean());
+        ttlConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.admin.v1.Field.TtlConfig, com.google.firestore.admin.v1.Field.TtlConfig.Builder, com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>(
+                getTtlConfig(),
+                getParentForChildren(),
+                isClean());
         ttlConfig_ = null;
       }
       return ttlConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3612,12 +3267,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Field)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Field)
   private static final com.google.firestore.admin.v1.Field DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Field();
   }
@@ -3626,27 +3281,27 @@ public static com.google.firestore.admin.v1.Field getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Field parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Field parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3661,4 +3316,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.admin.v1.Field getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
similarity index 66%
rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
index a675dfac8..4a06a06ed 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/operation.proto
 
 package com.google.firestore.admin.v1;
 
 /**
- *
- *
  * 
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata}
  */
-public final class FieldOperationMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FieldOperationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata)
     FieldOperationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FieldOperationMetadata.newBuilder() to construct.
   private FieldOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private FieldOperationMetadata() {
     field_ = "";
     indexConfigDeltas_ = java.util.Collections.emptyList();
@@ -46,92 +28,71 @@ private FieldOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FieldOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto
-        .internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto
-        .internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.FieldOperationMetadata.class,
-            com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
+            com.google.firestore.admin.v1.FieldOperationMetadata.class, com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
   }
 
-  public interface IndexConfigDeltaOrBuilder
-      extends
+  public interface IndexConfigDeltaOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Specifies how the index is changing.
      * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; * @return The enum numeric value on the wire for changeType. */ int getChangeTypeValue(); /** - * - * *
      * Specifies how the index is changing.
      * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; * @return The changeType. */ - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - getChangeType(); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType(); /** - * - * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; - * * @return Whether the index field is set. */ boolean hasIndex(); /** - * - * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; - * * @return The index. */ com.google.firestore.admin.v1.Index getIndex(); /** - * - * *
      * The index being changed.
      * 
@@ -141,68 +102,60 @@ public interface IndexConfigDeltaOrBuilder com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder(); } /** - * - * *
    * Information about an index configuration change.
    * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta} */ - public static final class IndexConfigDelta extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IndexConfigDelta extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) IndexConfigDeltaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndexConfigDelta.newBuilder() to construct. private IndexConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IndexConfigDelta() { changeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IndexConfigDelta(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder.class); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder.class); } /** - * - * *
      * Specifies how the index is changing.
      * 
* - * Protobuf enum {@code - * google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType} + * Protobuf enum {@code google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType} */ - public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { + public enum ChangeType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The type of change is not specified or known.
        * 
@@ -211,8 +164,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_TYPE_UNSPECIFIED(0), /** - * - * *
        * The single field index is being added.
        * 
@@ -221,8 +172,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ ADD(1), /** - * - * *
        * The single field index is being removed.
        * 
@@ -234,8 +183,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The type of change is not specified or known.
        * 
@@ -244,8 +191,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The single field index is being added.
        * 
@@ -254,8 +199,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADD_VALUE = 1; /** - * - * *
        * The single field index is being removed.
        * 
@@ -264,6 +207,7 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REMOVE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -288,51 +232,49 @@ public static ChangeType valueOf(int value) { */ public static ChangeType forNumber(int value) { switch (value) { - case 0: - return CHANGE_TYPE_UNSPECIFIED; - case 1: - return ADD; - case 2: - return REMOVE; - default: - return null; + case 0: return CHANGE_TYPE_UNSPECIFIED; + case 1: return ADD; + case 2: return REMOVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ChangeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeType findValueByNumber(int number) { + return ChangeType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeType findValueByNumber(int number) { - return ChangeType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDescriptor().getEnumTypes().get(0); } private static final ChangeType[] VALUES = values(); - public static ChangeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ChangeType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -352,58 +294,37 @@ private ChangeType(int value) { public static final int CHANGE_TYPE_FIELD_NUMBER = 1; private int changeType_ = 0; /** - * - * *
      * Specifies how the index is changing.
      * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override - public int getChangeTypeValue() { + @java.lang.Override public int getChangeTypeValue() { return changeType_; } /** - * - * *
      * Specifies how the index is changing.
      * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; * @return The changeType. */ - @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - getChangeType() { - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - .forNumber(changeType_); - return result == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType() { + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.forNumber(changeType_); + return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.UNRECOGNIZED : result; } public static final int INDEX_FIELD_NUMBER = 2; private com.google.firestore.admin.v1.Index index_; /** - * - * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; - * * @return Whether the index field is set. */ @java.lang.Override @@ -411,14 +332,11 @@ public boolean hasIndex() { return index_ != null; } /** - * - * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; - * * @return The index. */ @java.lang.Override @@ -426,8 +344,6 @@ public com.google.firestore.admin.v1.Index getIndex() { return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } /** - * - * *
      * The index being changed.
      * 
@@ -440,7 +356,6 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -452,11 +367,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (changeType_ - != com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - .CHANGE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (changeType_ != com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, changeType_); } if (index_ != null) { @@ -471,14 +384,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (changeType_ - != com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - .CHANGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, changeType_); + if (changeType_ != com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, changeType_); } if (index_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIndex()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getIndex()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -488,18 +400,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta)) { return super.equals(obj); } - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta other = - (com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) obj; + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta other = (com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) obj; if (changeType_ != other.changeType_) return false; if (hasIndex() != other.hasIndex()) return false; if (hasIndex()) { - if (!getIndex().equals(other.getIndex())) return false; + if (!getIndex() + .equals(other.getIndex())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -524,95 +436,87 @@ public int hashCode() { } public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta prototype) { + public static Builder newBuilder(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -622,43 +526,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information about an index configuration change.
      * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - .class); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder.class); } - // Construct using - // com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.newBuilder() - private Builder() {} + // Construct using com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -673,22 +573,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - getDefaultInstanceForType() { - return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - .getDefaultInstance(); + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getDefaultInstanceForType() { + return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance(); } @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta build() { - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = - buildPartial(); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -697,23 +594,21 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta bui @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta buildPartial() { - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = - new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result) { + private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.changeType_ = changeType_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.index_ = indexBuilder_ == null ? index_ : indexBuilder_.build(); + result.index_ = indexBuilder_ == null + ? index_ + : indexBuilder_.build(); } } @@ -721,54 +616,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) { - return mergeFrom( - (com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) other); + if (other instanceof com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) { + return mergeFrom((com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta other) { - if (other - == com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta other) { + if (other == com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance()) return this; if (other.changeType_ != 0) { setChangeTypeValue(other.getChangeTypeValue()); } @@ -801,25 +688,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - changeType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getIndexFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + changeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getIndexFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -829,38 +715,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int changeType_ = 0; /** - * - * *
        * Specifies how the index is changing.
        * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override - public int getChangeTypeValue() { + @java.lang.Override public int getChangeTypeValue() { return changeType_; } /** - * - * *
        * Specifies how the index is changing.
        * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; * @param value The enum numeric value on the wire for changeType to set. * @return This builder for chaining. */ @@ -871,45 +745,28 @@ public Builder setChangeTypeValue(int value) { return this; } /** - * - * *
        * Specifies how the index is changing.
        * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; * @return The changeType. */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - getChangeType() { - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - .forNumber(changeType_); - return result == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType - .UNRECOGNIZED - : result; + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType() { + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.forNumber(changeType_); + return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.UNRECOGNIZED : result; } /** - * - * *
        * Specifies how the index is changing.
        * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; * @param value The changeType to set. * @return This builder for chaining. */ - public Builder setChangeType( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType value) { + public Builder setChangeType(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType value) { if (value == null) { throw new NullPointerException(); } @@ -919,16 +776,11 @@ public Builder setChangeType( return this; } /** - * - * *
        * Specifies how the index is changing.
        * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; * @return This builder for chaining. */ public Builder clearChangeType() { @@ -940,33 +792,24 @@ public Builder clearChangeType() { private com.google.firestore.admin.v1.Index index_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> - indexBuilder_; + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> indexBuilder_; /** - * - * *
        * The index being changed.
        * 
* * .google.firestore.admin.v1.Index index = 2; - * * @return Whether the index field is set. */ public boolean hasIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The index being changed.
        * 
* * .google.firestore.admin.v1.Index index = 2; - * * @return The index. */ public com.google.firestore.admin.v1.Index getIndex() { @@ -977,8 +820,6 @@ public com.google.firestore.admin.v1.Index getIndex() { } } /** - * - * *
        * The index being changed.
        * 
@@ -999,15 +840,14 @@ public Builder setIndex(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
        * The index being changed.
        * 
* * .google.firestore.admin.v1.Index index = 2; */ - public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder setIndex( + com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexBuilder_ == null) { index_ = builderForValue.build(); } else { @@ -1018,8 +858,6 @@ public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForVa return this; } /** - * - * *
        * The index being changed.
        * 
@@ -1028,9 +866,9 @@ public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForVa */ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { if (indexBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && index_ != null - && index_ != com.google.firestore.admin.v1.Index.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + index_ != null && + index_ != com.google.firestore.admin.v1.Index.getDefaultInstance()) { getIndexBuilder().mergeFrom(value); } else { index_ = value; @@ -1043,8 +881,6 @@ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
        * The index being changed.
        * 
@@ -1062,8 +898,6 @@ public Builder clearIndex() { return this; } /** - * - * *
        * The index being changed.
        * 
@@ -1076,8 +910,6 @@ public com.google.firestore.admin.v1.Index.Builder getIndexBuilder() { return getIndexFieldBuilder().getBuilder(); } /** - * - * *
        * The index being changed.
        * 
@@ -1088,12 +920,11 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { if (indexBuilder_ != null) { return indexBuilder_.getMessageOrBuilder(); } else { - return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; + return index_ == null ? + com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } } /** - * - * *
        * The index being changed.
        * 
@@ -1101,22 +932,18 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { * .google.firestore.admin.v1.Index index = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> getIndexFieldBuilder() { if (indexBuilder_ == null) { - indexBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder>( - getIndex(), getParentForChildren(), isClean()); + indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( + getIndex(), + getParentForChildren(), + isClean()); index_ = null; } return indexBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1129,45 +956,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) - private static final com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - DEFAULT_INSTANCE; - + private static final com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(); + DEFAULT_INSTANCE = new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - getDefaultInstance() { + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexConfigDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexConfigDelta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1179,109 +1002,90 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - getDefaultInstanceForType() { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TtlConfigDeltaOrBuilder - extends + public interface TtlConfigDeltaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Specifies how the TTL configuration is changing.
      * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @return The enum numeric value on the wire for changeType. */ int getChangeTypeValue(); /** - * - * *
      * Specifies how the TTL configuration is changing.
      * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @return The changeType. */ com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType(); } /** - * - * *
    * Information about an TTL configuration change.
    * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta} */ - public static final class TtlConfigDelta extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TtlConfigDelta extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) TtlConfigDeltaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TtlConfigDelta.newBuilder() to construct. private TtlConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TtlConfigDelta() { changeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TtlConfigDelta(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); } /** - * - * *
      * Specifies how the TTL config is changing.
      * 
* - * Protobuf enum {@code - * google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType} + * Protobuf enum {@code google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType} */ - public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { + public enum ChangeType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The type of change is not specified or known.
        * 
@@ -1290,8 +1094,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ CHANGE_TYPE_UNSPECIFIED(0), /** - * - * *
        * The TTL config is being added.
        * 
@@ -1300,8 +1102,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ ADD(1), /** - * - * *
        * The TTL config is being removed.
        * 
@@ -1313,8 +1113,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The type of change is not specified or known.
        * 
@@ -1323,8 +1121,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The TTL config is being added.
        * 
@@ -1333,8 +1129,6 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADD_VALUE = 1; /** - * - * *
        * The TTL config is being removed.
        * 
@@ -1343,6 +1137,7 @@ public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REMOVE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1367,51 +1162,49 @@ public static ChangeType valueOf(int value) { */ public static ChangeType forNumber(int value) { switch (value) { - case 0: - return CHANGE_TYPE_UNSPECIFIED; - case 1: - return ADD; - case 2: - return REMOVE; - default: - return null; + case 0: return CHANGE_TYPE_UNSPECIFIED; + case 1: return ADD; + case 2: return REMOVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ChangeType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeType findValueByNumber(int number) { + return ChangeType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeType findValueByNumber(int number) { - return ChangeType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDescriptor().getEnumTypes().get(0); } private static final ChangeType[] VALUES = values(); - public static ChangeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ChangeType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1431,49 +1224,30 @@ private ChangeType(int value) { public static final int CHANGE_TYPE_FIELD_NUMBER = 1; private int changeType_ = 0; /** - * - * *
      * Specifies how the TTL configuration is changing.
      * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override - public int getChangeTypeValue() { + @java.lang.Override public int getChangeTypeValue() { return changeType_; } /** - * - * *
      * Specifies how the TTL configuration is changing.
      * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @return The changeType. */ - @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType - getChangeType() { - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.forNumber( - changeType_); - return result == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType() { + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.forNumber(changeType_); + return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1485,11 +1259,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (changeType_ - != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType - .CHANGE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (changeType_ != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, changeType_); } getUnknownFields().writeTo(output); @@ -1501,11 +1273,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (changeType_ - != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType - .CHANGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, changeType_); + if (changeType_ != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, changeType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1515,13 +1285,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta)) { return super.equals(obj); } - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta other = - (com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) obj; + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta other = (com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) obj; if (changeType_ != other.changeType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1543,95 +1312,87 @@ public int hashCode() { } public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta prototype) { + public static Builder newBuilder(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1641,42 +1402,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information about an TTL configuration change.
      * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); } - // Construct using - // com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.newBuilder() - private Builder() {} + // Construct using com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1686,16 +1444,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.OperationProto - .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - getDefaultInstanceForType() { - return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - .getDefaultInstance(); + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getDefaultInstanceForType() { + return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance(); } @java.lang.Override @@ -1709,17 +1465,13 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta build @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta buildPartial() { - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta result = - new com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta result = new com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta result) { + private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.changeType_ = changeType_; @@ -1730,53 +1482,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) { - return mergeFrom( - (com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) other); + return mergeFrom((com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta other) { - if (other - == com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta other) { + if (other == com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance()) return this; if (other.changeType_ != 0) { setChangeTypeValue(other.getChangeTypeValue()); } @@ -1806,19 +1551,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - changeType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + changeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1828,38 +1571,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int changeType_ = 0; /** - * - * *
        * Specifies how the TTL configuration is changing.
        * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override - public int getChangeTypeValue() { + @java.lang.Override public int getChangeTypeValue() { return changeType_; } /** - * - * *
        * Specifies how the TTL configuration is changing.
        * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @param value The enum numeric value on the wire for changeType to set. * @return This builder for chaining. */ @@ -1870,45 +1601,28 @@ public Builder setChangeTypeValue(int value) { return this; } /** - * - * *
        * Specifies how the TTL configuration is changing.
        * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @return The changeType. */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType - getChangeType() { - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType - .forNumber(changeType_); - return result == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType - .UNRECOGNIZED - : result; + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType() { + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.forNumber(changeType_); + return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.UNRECOGNIZED : result; } /** - * - * *
        * Specifies how the TTL configuration is changing.
        * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @param value The changeType to set. * @return This builder for chaining. */ - public Builder setChangeType( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType value) { + public Builder setChangeType(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType value) { if (value == null) { throw new NullPointerException(); } @@ -1918,16 +1632,11 @@ public Builder setChangeType( return this; } /** - * - * *
        * Specifies how the TTL configuration is changing.
        * 
* - * - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; * @return This builder for chaining. */ public Builder clearChangeType() { @@ -1936,7 +1645,6 @@ public Builder clearChangeType() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1949,44 +1657,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) - private static final com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - DEFAULT_INSTANCE; - + private static final com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta(); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - getDefaultInstance() { + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TtlConfigDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TtlConfigDelta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1998,23 +1703,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - getDefaultInstanceForType() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -2022,14 +1724,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -2037,8 +1736,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time this operation started.
    * 
@@ -2053,15 +1750,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -2069,15 +1763,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -2085,8 +1776,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -2100,19 +1789,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   public static final int FIELD_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object field_ = "";
   /**
-   *
-   *
    * 
    * The field resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
    * 
* * string field = 3; - * * @return The field. */ @java.lang.Override @@ -2121,30 +1806,30 @@ public java.lang.String getField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; } } /** - * - * *
    * The field resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
    * 
* * string field = 3; - * * @return The bytes for field. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldBytes() { + public com.google.protobuf.ByteString + getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); field_ = b; return b; } else { @@ -2153,142 +1838,105 @@ public com.google.protobuf.ByteString getFieldBytes() { } public static final int INDEX_CONFIG_DELTAS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List - indexConfigDeltas_; + private java.util.List indexConfigDeltas_; /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ @java.lang.Override - public java.util.List - getIndexConfigDeltasList() { + public java.util.List getIndexConfigDeltasList() { return indexConfigDeltas_; } /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> + public java.util.List getIndexConfigDeltasOrBuilderList() { return indexConfigDeltas_; } /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ @java.lang.Override public int getIndexConfigDeltasCount() { return indexConfigDeltas_.size(); } /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas( - int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index) { return indexConfigDeltas_.get(index); } /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder - getIndexConfigDeltasOrBuilder(int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder( + int index) { return indexConfigDeltas_.get(index); } public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return The state. */ - @java.lang.Override - public com.google.firestore.admin.v1.OperationState getState() { - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.forNumber(state_); + @java.lang.Override public com.google.firestore.admin.v1.OperationState getState() { + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(state_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } public static final int PROGRESS_DOCUMENTS_FIELD_NUMBER = 6; private com.google.firestore.admin.v1.Progress progressDocuments_; /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; - * * @return Whether the progressDocuments field is set. */ @java.lang.Override @@ -2296,25 +1944,18 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; - * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -2323,22 +1964,17 @@ public com.google.firestore.admin.v1.Progress getProgressDocuments() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 7; private com.google.firestore.admin.v1.Progress progressBytes_; /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; - * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -2346,25 +1982,18 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; - * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -2373,23 +2002,17 @@ public com.google.firestore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } public static final int TTL_CONFIG_DELTA_FIELD_NUMBER = 8; private com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttlConfigDelta_; /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; * @return Whether the ttlConfigDelta field is set. */ @java.lang.Override @@ -2397,43 +2020,30 @@ public boolean hasTtlConfigDelta() { return ttlConfigDelta_ != null; } /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; * @return The ttlConfigDelta. */ @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getTtlConfigDelta() { - return ttlConfigDelta_ == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() - : ttlConfigDelta_; + return ttlConfigDelta_ == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() : ttlConfigDelta_; } /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder - getTtlConfigDeltaOrBuilder() { - return ttlConfigDelta_ == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() - : ttlConfigDelta_; + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder getTtlConfigDeltaOrBuilder() { + return ttlConfigDelta_ == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() : ttlConfigDelta_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2445,7 +2055,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -2458,8 +2069,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < indexConfigDeltas_.size(); i++) { output.writeMessage(4, indexConfigDeltas_.get(i)); } - if (state_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } if (progressDocuments_ != null) { @@ -2481,30 +2091,35 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(field_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, field_); } for (int i = 0; i < indexConfigDeltas_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, indexConfigDeltas_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, indexConfigDeltas_.get(i)); } - if (state_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + if (state_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } if (progressDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getProgressDocuments()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getProgressDocuments()); } if (progressBytes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getProgressBytes()); } if (ttlConfigDelta_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTtlConfigDelta()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTtlConfigDelta()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2514,36 +2129,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.FieldOperationMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.FieldOperationMetadata other = - (com.google.firestore.admin.v1.FieldOperationMetadata) obj; + com.google.firestore.admin.v1.FieldOperationMetadata other = (com.google.firestore.admin.v1.FieldOperationMetadata) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getField().equals(other.getField())) return false; - if (!getIndexConfigDeltasList().equals(other.getIndexConfigDeltasList())) return false; + if (!getField() + .equals(other.getField())) return false; + if (!getIndexConfigDeltasList() + .equals(other.getIndexConfigDeltasList())) return false; if (state_ != other.state_) return false; if (hasProgressDocuments() != other.hasProgressDocuments()) return false; if (hasProgressDocuments()) { - if (!getProgressDocuments().equals(other.getProgressDocuments())) return false; + if (!getProgressDocuments() + .equals(other.getProgressDocuments())) return false; } if (hasProgressBytes() != other.hasProgressBytes()) return false; if (hasProgressBytes()) { - if (!getProgressBytes().equals(other.getProgressBytes())) return false; + if (!getProgressBytes() + .equals(other.getProgressBytes())) return false; } if (hasTtlConfigDelta() != other.hasTtlConfigDelta()) return false; if (hasTtlConfigDelta()) { - if (!getTtlConfigDelta().equals(other.getTtlConfigDelta())) return false; + if (!getTtlConfigDelta() + .equals(other.getTtlConfigDelta())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2590,103 +2211,96 @@ public int hashCode() { } public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.FieldOperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.FieldOperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.FieldOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
    * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
@@ -2694,32 +2308,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.FieldOperationMetadata)
       com.google.firestore.admin.v1.FieldOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.FieldOperationMetadata.class,
-              com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
+              com.google.firestore.admin.v1.FieldOperationMetadata.class, com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.FieldOperationMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2762,9 +2377,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -2783,18 +2398,14 @@ public com.google.firestore.admin.v1.FieldOperationMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.FieldOperationMetadata buildPartial() {
-      com.google.firestore.admin.v1.FieldOperationMetadata result =
-          new com.google.firestore.admin.v1.FieldOperationMetadata(this);
+      com.google.firestore.admin.v1.FieldOperationMetadata result = new com.google.firestore.admin.v1.FieldOperationMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.firestore.admin.v1.FieldOperationMetadata result) {
+    private void buildPartialRepeatedFields(com.google.firestore.admin.v1.FieldOperationMetadata result) {
       if (indexConfigDeltasBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           indexConfigDeltas_ = java.util.Collections.unmodifiableList(indexConfigDeltas_);
@@ -2809,10 +2420,14 @@ private void buildPartialRepeatedFields(
     private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.field_ = field_;
@@ -2821,18 +2436,19 @@ private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.progressDocuments_ =
-            progressDocumentsBuilder_ == null
-                ? progressDocuments_
-                : progressDocumentsBuilder_.build();
+        result.progressDocuments_ = progressDocumentsBuilder_ == null
+            ? progressDocuments_
+            : progressDocumentsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.progressBytes_ =
-            progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build();
+        result.progressBytes_ = progressBytesBuilder_ == null
+            ? progressBytes_
+            : progressBytesBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.ttlConfigDelta_ =
-            ttlConfigDeltaBuilder_ == null ? ttlConfigDelta_ : ttlConfigDeltaBuilder_.build();
+        result.ttlConfigDelta_ = ttlConfigDeltaBuilder_ == null
+            ? ttlConfigDelta_
+            : ttlConfigDeltaBuilder_.build();
       }
     }
 
@@ -2840,39 +2456,38 @@ private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.FieldOperationMetadata) {
-        return mergeFrom((com.google.firestore.admin.v1.FieldOperationMetadata) other);
+        return mergeFrom((com.google.firestore.admin.v1.FieldOperationMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2880,8 +2495,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata other) {
-      if (other == com.google.firestore.admin.v1.FieldOperationMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.admin.v1.FieldOperationMetadata.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -2911,10 +2525,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata ot
             indexConfigDeltasBuilder_ = null;
             indexConfigDeltas_ = other.indexConfigDeltas_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            indexConfigDeltasBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getIndexConfigDeltasFieldBuilder()
-                    : null;
+            indexConfigDeltasBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getIndexConfigDeltasFieldBuilder() : null;
           } else {
             indexConfigDeltasBuilder_.addAllMessages(other.indexConfigDeltas_);
           }
@@ -2958,71 +2571,70 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                field_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta m =
-                    input.readMessage(
-                        com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta
-                            .parser(),
-                        extensionRegistry);
-                if (indexConfigDeltasBuilder_ == null) {
-                  ensureIndexConfigDeltasIsMutable();
-                  indexConfigDeltas_.add(m);
-                } else {
-                  indexConfigDeltasBuilder_.addMessage(m);
-                }
-                break;
-              } // case 34
-            case 40:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 50:
-              {
-                input.readMessage(
-                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getTtlConfigDeltaFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              field_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta m =
+                  input.readMessage(
+                      com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.parser(),
+                      extensionRegistry);
+              if (indexConfigDeltasBuilder_ == null) {
+                ensureIndexConfigDeltasIsMutable();
+                indexConfigDeltas_.add(m);
+              } else {
+                indexConfigDeltasBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            case 40: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getProgressDocumentsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getProgressBytesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getTtlConfigDeltaFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3032,38 +2644,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        startTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -3074,8 +2676,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time this operation started.
      * 
@@ -3096,15 +2696,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -3115,8 +2714,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -3125,9 +2722,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -3140,8 +2737,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -3159,8 +2754,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -3173,8 +2766,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time this operation started.
      * 
@@ -3185,12 +2776,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time this operation started.
      * 
@@ -3198,17 +2788,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -3216,35 +2803,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -3255,8 +2833,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3278,8 +2854,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3287,7 +2861,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -3298,8 +2873,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3309,9 +2882,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -3324,8 +2897,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3344,8 +2915,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3359,8 +2928,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3372,12 +2939,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -3386,17 +2952,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -3404,21 +2967,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object field_ = "";
     /**
-     *
-     *
      * 
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; - * * @return The field. */ public java.lang.String getField() { java.lang.Object ref = field_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; @@ -3427,22 +2988,21 @@ public java.lang.String getField() { } } /** - * - * *
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; - * * @return The bytes for field. */ - public com.google.protobuf.ByteString getFieldBytes() { + public com.google.protobuf.ByteString + getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); field_ = b; return b; } else { @@ -3450,37 +3010,30 @@ public com.google.protobuf.ByteString getFieldBytes() { } } /** - * - * *
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; - * * @param value The field to set. * @return This builder for chaining. */ - public Builder setField(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setField( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } field_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; - * * @return This builder for chaining. */ public Builder clearField() { @@ -3490,22 +3043,18 @@ public Builder clearField() { return this; } /** - * - * *
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; - * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); field_ = value; bitField0_ |= 0x00000004; @@ -3513,39 +3062,27 @@ public Builder setFieldBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List - indexConfigDeltas_ = java.util.Collections.emptyList(); - + private java.util.List indexConfigDeltas_ = + java.util.Collections.emptyList(); private void ensureIndexConfigDeltasIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - indexConfigDeltas_ = - new java.util.ArrayList< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta>( - indexConfigDeltas_); + indexConfigDeltas_ = new java.util.ArrayList(indexConfigDeltas_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> - indexConfigDeltasBuilder_; + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> indexConfigDeltasBuilder_; /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public java.util.List - getIndexConfigDeltasList() { + public java.util.List getIndexConfigDeltasList() { if (indexConfigDeltasBuilder_ == null) { return java.util.Collections.unmodifiableList(indexConfigDeltas_); } else { @@ -3553,16 +3090,12 @@ private void ensureIndexConfigDeltasIsMutable() { } } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public int getIndexConfigDeltasCount() { if (indexConfigDeltasBuilder_ == null) { @@ -3572,19 +3105,14 @@ public int getIndexConfigDeltasCount() { } } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - getIndexConfigDeltas(int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index) { if (indexConfigDeltasBuilder_ == null) { return indexConfigDeltas_.get(index); } else { @@ -3592,16 +3120,12 @@ public int getIndexConfigDeltasCount() { } } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder setIndexConfigDeltas( int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { @@ -3618,21 +3142,15 @@ public Builder setIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder setIndexConfigDeltas( - int index, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - builderForValue) { + int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder builderForValue) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); indexConfigDeltas_.set(index, builderForValue.build()); @@ -3643,19 +3161,14 @@ public Builder setIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public Builder addIndexConfigDeltas( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { + public Builder addIndexConfigDeltas(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { if (indexConfigDeltasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3669,16 +3182,12 @@ public Builder addIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder addIndexConfigDeltas( int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { @@ -3695,20 +3204,15 @@ public Builder addIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder addIndexConfigDeltas( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - builderForValue) { + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder builderForValue) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); indexConfigDeltas_.add(builderForValue.build()); @@ -3719,21 +3223,15 @@ public Builder addIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder addIndexConfigDeltas( - int index, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - builderForValue) { + int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder builderForValue) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); indexConfigDeltas_.add(index, builderForValue.build()); @@ -3744,24 +3242,19 @@ public Builder addIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder addAllIndexConfigDeltas( - java.lang.Iterable< - ? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta> - values) { + java.lang.Iterable values) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexConfigDeltas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, indexConfigDeltas_); onChanged(); } else { indexConfigDeltasBuilder_.addAllMessages(values); @@ -3769,16 +3262,12 @@ public Builder addAllIndexConfigDeltas( return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder clearIndexConfigDeltas() { if (indexConfigDeltasBuilder_ == null) { @@ -3791,16 +3280,12 @@ public Builder clearIndexConfigDeltas() { return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ public Builder removeIndexConfigDeltas(int index) { if (indexConfigDeltasBuilder_ == null) { @@ -3813,57 +3298,42 @@ public Builder removeIndexConfigDeltas(int index) { return this; } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - getIndexConfigDeltasBuilder(int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder getIndexConfigDeltasBuilder( + int index) { return getIndexConfigDeltasFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder - getIndexConfigDeltasOrBuilder(int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder( + int index) { if (indexConfigDeltasBuilder_ == null) { - return indexConfigDeltas_.get(index); - } else { + return indexConfigDeltas_.get(index); } else { return indexConfigDeltasBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public java.util.List< - ? extends - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> - getIndexConfigDeltasOrBuilderList() { + public java.util.List + getIndexConfigDeltasOrBuilderList() { if (indexConfigDeltasBuilder_ != null) { return indexConfigDeltasBuilder_.getMessageOrBuilderList(); } else { @@ -3871,73 +3341,48 @@ public Builder removeIndexConfigDeltas(int index) { } } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - addIndexConfigDeltasBuilder() { - return getIndexConfigDeltasFieldBuilder() - .addBuilder( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - .getDefaultInstance()); + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder addIndexConfigDeltasBuilder() { + return getIndexConfigDeltasFieldBuilder().addBuilder( + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance()); } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder - addIndexConfigDeltasBuilder(int index) { - return getIndexConfigDeltasFieldBuilder() - .addBuilder( - index, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta - .getDefaultInstance()); + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder addIndexConfigDeltasBuilder( + int index) { + return getIndexConfigDeltasFieldBuilder().addBuilder( + index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance()); } /** - * - * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - public java.util.List< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder> - getIndexConfigDeltasBuilderList() { + public java.util.List + getIndexConfigDeltasBuilderList() { return getIndexConfigDeltasFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> getIndexConfigDeltasFieldBuilder() { if (indexConfigDeltasBuilder_ == null) { - indexConfigDeltasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder>( + indexConfigDeltasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder>( indexConfigDeltas_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -3949,29 +3394,22 @@ public Builder removeIndexConfigDeltas(int index) { private int state_ = 0; /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3982,31 +3420,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return The state. */ @java.lang.Override public com.google.firestore.admin.v1.OperationState getState() { - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.forNumber(state_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(state_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @param value The state to set. * @return This builder for chaining. */ @@ -4020,14 +3451,11 @@ public Builder setState(com.google.firestore.admin.v1.OperationState value) { return this; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return This builder for chaining. */ public Builder clearState() { @@ -4039,47 +3467,34 @@ public Builder clearState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; - * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; - * * @return The progressDocuments. */ public com.google.firestore.admin.v1.Progress getProgressDocuments() { if (progressDocumentsBuilder_ == null) { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } else { return progressDocumentsBuilder_.getMessage(); } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4100,8 +3515,6 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4120,8 +3533,6 @@ public Builder setProgressDocuments( return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4130,9 +3541,9 @@ public Builder setProgressDocuments( */ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress value) { if (progressDocumentsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && progressDocuments_ != null - && progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + progressDocuments_ != null && + progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressDocumentsBuilder().mergeFrom(value); } else { progressDocuments_ = value; @@ -4145,8 +3556,6 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4164,8 +3573,6 @@ public Builder clearProgressDocuments() { return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4178,8 +3585,6 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4190,14 +3595,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -4205,17 +3607,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), getParentForChildren(), isClean()); + progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), + getParentForChildren(), + isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -4223,47 +3622,34 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; - * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; - * * @return The progressBytes. */ public com.google.firestore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4284,8 +3670,6 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4304,8 +3688,6 @@ public Builder setProgressBytes( return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4314,9 +3696,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && progressBytes_ != null - && progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + progressBytes_ != null && + progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -4329,8 +3711,6 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4348,8 +3728,6 @@ public Builder clearProgressBytes() { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4362,8 +3740,6 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4374,14 +3750,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -4389,17 +3762,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), getParentForChildren(), isClean()); + progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), + getParentForChildren(), + isClean()); progressBytes_ = null; } return progressBytesBuilder_; @@ -4407,59 +3777,41 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder private com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttlConfigDelta_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder> - ttlConfigDeltaBuilder_; + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder> ttlConfigDeltaBuilder_; /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; * @return Whether the ttlConfigDelta field is set. */ public boolean hasTtlConfigDelta() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; * @return The ttlConfigDelta. */ public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getTtlConfigDelta() { if (ttlConfigDeltaBuilder_ == null) { - return ttlConfigDelta_ == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - .getDefaultInstance() - : ttlConfigDelta_; + return ttlConfigDelta_ == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() : ttlConfigDelta_; } else { return ttlConfigDeltaBuilder_.getMessage(); } } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ - public Builder setTtlConfigDelta( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta value) { + public Builder setTtlConfigDelta(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta value) { if (ttlConfigDeltaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4473,18 +3825,14 @@ public Builder setTtlConfigDelta( return this; } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ public Builder setTtlConfigDelta( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder - builderForValue) { + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder builderForValue) { if (ttlConfigDeltaBuilder_ == null) { ttlConfigDelta_ = builderForValue.build(); } else { @@ -4495,23 +3843,17 @@ public Builder setTtlConfigDelta( return this; } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ - public Builder mergeTtlConfigDelta( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta value) { + public Builder mergeTtlConfigDelta(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta value) { if (ttlConfigDeltaBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && ttlConfigDelta_ != null - && ttlConfigDelta_ - != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - .getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + ttlConfigDelta_ != null && + ttlConfigDelta_ != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance()) { getTtlConfigDeltaBuilder().mergeFrom(value); } else { ttlConfigDelta_ = value; @@ -4524,14 +3866,11 @@ public Builder mergeTtlConfigDelta( return this; } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ public Builder clearTtlConfigDelta() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4544,71 +3883,55 @@ public Builder clearTtlConfigDelta() { return this; } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder - getTtlConfigDeltaBuilder() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder getTtlConfigDeltaBuilder() { bitField0_ |= 0x00000080; onChanged(); return getTtlConfigDeltaFieldBuilder().getBuilder(); } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder - getTtlConfigDeltaOrBuilder() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder getTtlConfigDeltaOrBuilder() { if (ttlConfigDeltaBuilder_ != null) { return ttlConfigDeltaBuilder_.getMessageOrBuilder(); } else { - return ttlConfigDelta_ == null - ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta - .getDefaultInstance() - : ttlConfigDelta_; + return ttlConfigDelta_ == null ? + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() : ttlConfigDelta_; } } /** - * - * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder> + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder> getTtlConfigDeltaFieldBuilder() { if (ttlConfigDeltaBuilder_ == null) { - ttlConfigDeltaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder>( - getTtlConfigDelta(), getParentForChildren(), isClean()); + ttlConfigDeltaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder>( + getTtlConfigDelta(), + getParentForChildren(), + isClean()); ttlConfigDelta_ = null; } return ttlConfigDeltaBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4618,12 +3941,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.FieldOperationMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.FieldOperationMetadata) private static final com.google.firestore.admin.v1.FieldOperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.FieldOperationMetadata(); } @@ -4632,27 +3955,27 @@ public static com.google.firestore.admin.v1.FieldOperationMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4667,4 +3990,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.FieldOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java similarity index 75% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java index 0af121235..474eb64f9 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface FieldOperationMetadataOrBuilder - extends +public interface FieldOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.FieldOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time this operation started.
    * 
@@ -59,34 +35,26 @@ public interface FieldOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -97,155 +65,114 @@ public interface FieldOperationMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The field resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
    * 
* * string field = 3; - * * @return The field. */ java.lang.String getField(); /** - * - * *
    * The field resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
    * 
* * string field = 3; - * * @return The bytes for field. */ - com.google.protobuf.ByteString getFieldBytes(); + com.google.protobuf.ByteString + getFieldBytes(); /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - java.util.List + java.util.List getIndexConfigDeltasList(); /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas( - int index); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index); /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ int getIndexConfigDeltasCount(); /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - java.util.List< - ? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> + java.util.List getIndexConfigDeltasOrBuilderList(); /** - * - * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; - * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; */ - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder - getIndexConfigDeltasOrBuilder(int index); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder( + int index); /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 5; - * * @return The state. */ com.google.firestore.admin.v1.OperationState getState(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; - * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; - * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -255,32 +182,24 @@ com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexCo com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; - * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; - * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -290,41 +209,29 @@ com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexCo com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; * @return Whether the ttlConfigDelta field is set. */ boolean hasTtlConfigDelta(); /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; * @return The ttlConfigDelta. */ com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getTtlConfigDelta(); /** - * - * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; - * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; */ - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder - getTtlConfigDeltaOrBuilder(); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder getTtlConfigDeltaOrBuilder(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java similarity index 87% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java index 10f855658..24cf894a4 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/field.proto package com.google.firestore.admin.v1; -public interface FieldOrBuilder - extends +public interface FieldOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Field) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -52,13 +34,10 @@ public interface FieldOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -85,14 +64,12 @@ public interface FieldOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -101,13 +78,10 @@ public interface FieldOrBuilder
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return Whether the indexConfig field is set. */ boolean hasIndexConfig(); /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -116,13 +90,10 @@ public interface FieldOrBuilder
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; - * * @return The indexConfig. */ com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig(); /** - * - * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -135,8 +106,6 @@ public interface FieldOrBuilder
   com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -144,13 +113,10 @@ public interface FieldOrBuilder
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return Whether the ttlConfig field is set. */ boolean hasTtlConfig(); /** - * - * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -158,13 +124,10 @@ public interface FieldOrBuilder
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; - * * @return The ttlConfig. */ com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig(); /** - * - * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
new file mode 100644
index 000000000..1799b6060
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
@@ -0,0 +1,104 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/admin/v1/field.proto
+
+package com.google.firestore.admin.v1;
+
+public final class FieldProto {
+  private FieldProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_Field_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n%google/firestore/admin/v1/field.proto\022" +
+      "\031google.firestore.admin.v1\032\037google/api/f" +
+      "ield_behavior.proto\032\031google/api/resource" +
+      ".proto\032%google/firestore/admin/v1/index." +
+      "proto\"\305\004\n\005Field\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\014in" +
+      "dex_config\030\002 \001(\0132,.google.firestore.admi" +
+      "n.v1.Field.IndexConfig\022>\n\nttl_config\030\003 \001" +
+      "(\0132*.google.firestore.admin.v1.Field.Ttl" +
+      "Config\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\0132" +
+      " .google.firestore.admin.v1.Index\022\034\n\024use" +
+      "s_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fiel" +
+      "d\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\235\001\n\tTtlConfig" +
+      "\022D\n\005state\030\001 \001(\01620.google.firestore.admin" +
+      ".v1.Field.TtlConfig.StateB\003\340A\003\"J\n\005State\022" +
+      "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006" +
+      "ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036firesto" +
+      "re.googleapis.com/Field\022Tprojects/{proje" +
+      "ct}/databases/{database}/collectionGroup" +
+      "s/{collection}/fields/{field}B\331\001\n\035com.go" +
+      "ogle.firestore.admin.v1B\nFieldProtoP\001Z9c" +
+      "loud.google.com/go/firestore/apiv1/admin" +
+      "/adminpb;adminpb\242\002\004GCFS\252\002\037Google.Cloud.F" +
+      "irestore.Admin.V1\312\002\037Google\\Cloud\\Firesto" +
+      "re\\Admin\\V1\352\002#Google::Cloud::Firestore::" +
+      "Admin::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.firestore.admin.v1.IndexProto.getDescriptor(),
+        });
+    internal_static_google_firestore_admin_v1_Field_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_admin_v1_Field_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_Field_descriptor,
+        new java.lang.String[] { "Name", "IndexConfig", "TtlConfig", });
+    internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor =
+      internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor,
+        new java.lang.String[] { "Indexes", "UsesAncestorConfig", "AncestorField", "Reverting", });
+    internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor =
+      internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(1);
+    internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor,
+        new java.lang.String[] { "State", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.firestore.admin.v1.IndexProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
new file mode 100644
index 000000000..300ebc2ae
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
@@ -0,0 +1,366 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/admin/v1/firestore_admin.proto
+
+package com.google.firestore.admin.v1;
+
+public final class FirestoreAdminProto {
+  private FirestoreAdminProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n/google/firestore/admin/v1/firestore_ad" +
+      "min.proto\022\031google.firestore.admin.v1\032\034go" +
+      "ogle/api/annotations.proto\032\027google/api/c" +
+      "lient.proto\032\037google/api/field_behavior.p" +
+      "roto\032\031google/api/resource.proto\032(google/" +
+      "firestore/admin/v1/database.proto\032%googl" +
+      "e/firestore/admin/v1/field.proto\032%google" +
+      "/firestore/admin/v1/index.proto\032#google/" +
+      "longrunning/operations.proto\032\033google/pro" +
+      "tobuf/empty.proto\032 google/protobuf/field" +
+      "_mask.proto\"Q\n\024ListDatabasesRequest\0229\n\006p" +
+      "arent\030\001 \001(\tB)\340A\002\372A#\022!firestore.googleapi" +
+      "s.com/Database\"O\n\025ListDatabasesResponse\022" +
+      "6\n\tdatabases\030\001 \003(\0132#.google.firestore.ad" +
+      "min.v1.Database\"M\n\022GetDatabaseRequest\0227\n" +
+      "\004name\030\001 \001(\tB)\340A\002\372A#\n!firestore.googleapi" +
+      "s.com/Database\"\204\001\n\025UpdateDatabaseRequest" +
+      "\022:\n\010database\030\001 \001(\0132#.google.firestore.ad" +
+      "min.v1.DatabaseB\003\340A\002\022/\n\013update_mask\030\002 \001(" +
+      "\0132\032.google.protobuf.FieldMask\"\030\n\026UpdateD" +
+      "atabaseMetadata\"\214\001\n\022CreateIndexRequest\022@" +
+      "\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(firestore.google" +
+      "apis.com/CollectionGroup\0224\n\005index\030\002 \001(\0132" +
+      " .google.firestore.admin.v1.IndexB\003\340A\002\"\215" +
+      "\001\n\022ListIndexesRequest\022@\n\006parent\030\001 \001(\tB0\340" +
+      "A\002\372A*\n(firestore.googleapis.com/Collecti" +
+      "onGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001" +
+      "(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListIndexesRes" +
+      "ponse\0221\n\007indexes\030\001 \003(\0132 .google.firestor" +
+      "e.admin.v1.Index\022\027\n\017next_page_token\030\002 \001(" +
+      "\t\"G\n\017GetIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" +
+      "A \n\036firestore.googleapis.com/Index\"J\n\022De" +
+      "leteIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036" +
+      "firestore.googleapis.com/Index\"{\n\022Update" +
+      "FieldRequest\0224\n\005field\030\001 \001(\0132 .google.fir" +
+      "estore.admin.v1.FieldB\003\340A\002\022/\n\013update_mas" +
+      "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"G\n\017G" +
+      "etFieldRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036fi" +
+      "restore.googleapis.com/Field\"\214\001\n\021ListFie" +
+      "ldsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(fire" +
+      "store.googleapis.com/CollectionGroup\022\016\n\006" +
+      "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_" +
+      "token\030\004 \001(\t\"_\n\022ListFieldsResponse\0220\n\006fie" +
+      "lds\030\001 \003(\0132 .google.firestore.admin.v1.Fi" +
+      "eld\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\026ExportD" +
+      "ocumentsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!f" +
+      "irestore.googleapis.com/Database\022\026\n\016coll" +
+      "ection_ids\030\002 \003(\t\022\031\n\021output_uri_prefix\030\003 " +
+      "\001(\t\"\203\001\n\026ImportDocumentsRequest\0227\n\004name\030\001" +
+      " \001(\tB)\340A\002\372A#\n!firestore.googleapis.com/D" +
+      "atabase\022\026\n\016collection_ids\030\002 \003(\t\022\030\n\020input" +
+      "_uri_prefix\030\003 \001(\t2\222\023\n\016FirestoreAdmin\022\333\001\n" +
+      "\013CreateIndex\022-.google.firestore.admin.v1" +
+      ".CreateIndexRequest\032\035.google.longrunning" +
+      ".Operation\"~\202\323\344\223\002G\">/v1/{parent=projects" +
+      "/*/databases/*/collectionGroups/*}/index" +
+      "es:\005index\332A\014parent,index\312A\037\n\005Index\022\026Inde" +
+      "xOperationMetadata\022\275\001\n\013ListIndexes\022-.goo" +
+      "gle.firestore.admin.v1.ListIndexesReques" +
+      "t\032..google.firestore.admin.v1.ListIndexe" +
+      "sResponse\"O\202\323\344\223\002@\022>/v1/{parent=projects/" +
+      "*/databases/*/collectionGroups/*}/indexe" +
+      "s\332A\006parent\022\247\001\n\010GetIndex\022*.google.firesto" +
+      "re.admin.v1.GetIndexRequest\032 .google.fir" +
+      "estore.admin.v1.Index\"M\202\323\344\223\002@\022>/v1/{name" +
+      "=projects/*/databases/*/collectionGroups" +
+      "/*/indexes/*}\332A\004name\022\243\001\n\013DeleteIndex\022-.g" +
+      "oogle.firestore.admin.v1.DeleteIndexRequ" +
+      "est\032\026.google.protobuf.Empty\"M\202\323\344\223\002@*>/v1" +
+      "/{name=projects/*/databases/*/collection" +
+      "Groups/*/indexes/*}\332A\004name\022\246\001\n\010GetField\022" +
+      "*.google.firestore.admin.v1.GetFieldRequ" +
+      "est\032 .google.firestore.admin.v1.Field\"L\202" +
+      "\323\344\223\002?\022=/v1/{name=projects/*/databases/*/" +
+      "collectionGroups/*/fields/*}\332A\004name\022\331\001\n\013" +
+      "UpdateField\022-.google.firestore.admin.v1." +
+      "UpdateFieldRequest\032\035.google.longrunning." +
+      "Operation\"|\202\323\344\223\002L2C/v1/{field.name=proje" +
+      "cts/*/databases/*/collectionGroups/*/fie" +
+      "lds/*}:\005field\332A\005field\312A\037\n\005Field\022\026FieldOp" +
+      "erationMetadata\022\271\001\n\nListFields\022,.google." +
+      "firestore.admin.v1.ListFieldsRequest\032-.g" +
+      "oogle.firestore.admin.v1.ListFieldsRespo" +
+      "nse\"N\202\323\344\223\002?\022=/v1/{parent=projects/*/data" +
+      "bases/*/collectionGroups/*}/fields\332A\006par" +
+      "ent\022\335\001\n\017ExportDocuments\0221.google.firesto" +
+      "re.admin.v1.ExportDocumentsRequest\032\035.goo" +
+      "gle.longrunning.Operation\"x\202\323\344\223\0026\"1/v1/{" +
+      "name=projects/*/databases/*}:exportDocum" +
+      "ents:\001*\332A\004name\312A2\n\027ExportDocumentsRespon" +
+      "se\022\027ExportDocumentsMetadata\022\333\001\n\017ImportDo" +
+      "cuments\0221.google.firestore.admin.v1.Impo" +
+      "rtDocumentsRequest\032\035.google.longrunning." +
+      "Operation\"v\202\323\344\223\0026\"1/v1/{name=projects/*/" +
+      "databases/*}:importDocuments:\001*\332A\004name\312A" +
+      "0\n\025google.protobuf.Empty\022\027ImportDocument" +
+      "sMetadata\022\223\001\n\013GetDatabase\022-.google.fires" +
+      "tore.admin.v1.GetDatabaseRequest\032#.googl" +
+      "e.firestore.admin.v1.Database\"0\202\323\344\223\002#\022!/" +
+      "v1/{name=projects/*/databases/*}\332A\004name\022" +
+      "\246\001\n\rListDatabases\022/.google.firestore.adm" +
+      "in.v1.ListDatabasesRequest\0320.google.fire" +
+      "store.admin.v1.ListDatabasesResponse\"2\202\323" +
+      "\344\223\002#\022!/v1/{parent=projects/*}/databases\332" +
+      "A\006parent\022\333\001\n\016UpdateDatabase\0220.google.fir" +
+      "estore.admin.v1.UpdateDatabaseRequest\032\035." +
+      "google.longrunning.Operation\"x\202\323\344\223\00262*/v" +
+      "1/{database.name=projects/*/databases/*}" +
+      ":\010database\332A\024database,update_mask\312A\"\n\010Da" +
+      "tabase\022\026UpdateDatabaseMetadata\032v\312A\030fires" +
+      "tore.googleapis.com\322AXhttps://www.google" +
+      "apis.com/auth/cloud-platform,https://www" +
+      ".googleapis.com/auth/datastoreB\245\003\n\035com.g" +
+      "oogle.firestore.admin.v1B\023FirestoreAdmin" +
+      "ProtoP\001Z9cloud.google.com/go/firestore/a" +
+      "piv1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Goog" +
+      "le.Cloud.Firestore.Admin.V1\312\002\037Google\\Clo" +
+      "ud\\Firestore\\Admin\\V1\352\002#Google::Cloud::F" +
+      "irestore::Admin::V1\352AL\n!firestore.google" +
+      "apis.com/Location\022\'projects/{project}/lo" +
+      "cations/{location}\352Aq\n(firestore.googlea" +
+      "pis.com/CollectionGroup\022Eprojects/{proje" +
+      "ct}/databases/{database}/collectionGroup" +
+      "s/{collection}b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.firestore.admin.v1.DatabaseProto.getDescriptor(),
+          com.google.firestore.admin.v1.FieldProto.getDescriptor(),
+          com.google.firestore.admin.v1.IndexProto.getDescriptor(),
+          com.google.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.FieldMaskProto.getDescriptor(),
+        });
+    internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor,
+        new java.lang.String[] { "Parent", });
+    internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor,
+        new java.lang.String[] { "Databases", });
+    internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor,
+        new java.lang.String[] { "Database", "UpdateMask", });
+    internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor,
+        new java.lang.String[] { });
+    internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor,
+        new java.lang.String[] { "Parent", "Index", });
+    internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
+    internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor,
+        new java.lang.String[] { "Indexes", "NextPageToken", });
+    internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor,
+        new java.lang.String[] { "Field", "UpdateMask", });
+    internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor,
+        new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", });
+    internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor,
+        new java.lang.String[] { "Fields", "NextPageToken", });
+    internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor,
+        new java.lang.String[] { "Name", "CollectionIds", "OutputUriPrefix", });
+    internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(15);
+    internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor,
+        new java.lang.String[] { "Name", "CollectionIds", "InputUriPrefix", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceDefinition);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.firestore.admin.v1.DatabaseProto.getDescriptor();
+    com.google.firestore.admin.v1.FieldProto.getDescriptor();
+    com.google.firestore.admin.v1.IndexProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
similarity index 62%
rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
index 313947634..d6d435cce 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
@@ -1,88 +1,63 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/firestore_admin.proto
 
 package com.google.firestore.admin.v1;
 
 /**
- *
- *
  * 
  * The request for [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetDatabaseRequest} */ -public final class GetDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDatabaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetDatabaseRequest) GetDatabaseRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDatabaseRequest.newBuilder() to construct. private GetDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDatabaseRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetDatabaseRequest.class, - com.google.firestore.admin.v1.GetDatabaseRequest.Builder.class); + com.google.firestore.admin.v1.GetDatabaseRequest.class, com.google.firestore.admin.v1.GetDatabaseRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.GetDatabaseRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.GetDatabaseRequest other = - (com.google.firestore.admin.v1.GetDatabaseRequest) obj; + com.google.firestore.admin.v1.GetDatabaseRequest other = (com.google.firestore.admin.v1.GetDatabaseRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +161,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.GetDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.GetDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.GetDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
    * 
* * Protobuf type {@code google.firestore.admin.v1.GetDatabaseRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.GetDatabaseRequest) com.google.firestore.admin.v1.GetDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetDatabaseRequest.class, - com.google.firestore.admin.v1.GetDatabaseRequest.Builder.class); + com.google.firestore.admin.v1.GetDatabaseRequest.class, com.google.firestore.admin.v1.GetDatabaseRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.GetDatabaseRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; } @java.lang.Override @@ -348,11 +315,8 @@ public com.google.firestore.admin.v1.GetDatabaseRequest build() { @java.lang.Override public com.google.firestore.admin.v1.GetDatabaseRequest buildPartial() { - com.google.firestore.admin.v1.GetDatabaseRequest result = - new com.google.firestore.admin.v1.GetDatabaseRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.GetDatabaseRequest result = new com.google.firestore.admin.v1.GetDatabaseRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -368,39 +332,38 @@ private void buildPartial0(com.google.firestore.admin.v1.GetDatabaseRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.GetDatabaseRequest) { - return mergeFrom((com.google.firestore.admin.v1.GetDatabaseRequest) other); + return mergeFrom((com.google.firestore.admin.v1.GetDatabaseRequest)other); } else { super.mergeFrom(other); return this; @@ -408,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.GetDatabaseRequest other) { - if (other == com.google.firestore.admin.v1.GetDatabaseRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.GetDatabaseRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -441,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -463,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -562,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.GetDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.GetDatabaseRequest) private static final com.google.firestore.admin.v1.GetDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.GetDatabaseRequest(); } @@ -612,27 +547,27 @@ public static com.google.firestore.admin.v1.GetDatabaseRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.GetDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java new file mode 100644 index 000000000..d0d99efca --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface GetDatabaseRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java similarity index 63% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java index 734d3818c..45a04de88 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetFieldRequest} */ -public final class GetFieldRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFieldRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetFieldRequest) GetFieldRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFieldRequest.newBuilder() to construct. private GetFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFieldRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFieldRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetFieldRequest.class, - com.google.firestore.admin.v1.GetFieldRequest.Builder.class); + com.google.firestore.admin.v1.GetFieldRequest.class, com.google.firestore.admin.v1.GetFieldRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.GetFieldRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.GetFieldRequest other = - (com.google.firestore.admin.v1.GetFieldRequest) obj; + com.google.firestore.admin.v1.GetFieldRequest other = (com.google.firestore.admin.v1.GetFieldRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +161,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.GetFieldRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.GetFieldRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.GetFieldRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.GetFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
    * 
* * Protobuf type {@code google.firestore.admin.v1.GetFieldRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.GetFieldRequest) com.google.firestore.admin.v1.GetFieldRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetFieldRequest.class, - com.google.firestore.admin.v1.GetFieldRequest.Builder.class); + com.google.firestore.admin.v1.GetFieldRequest.class, com.google.firestore.admin.v1.GetFieldRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.GetFieldRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; } @java.lang.Override @@ -348,11 +315,8 @@ public com.google.firestore.admin.v1.GetFieldRequest build() { @java.lang.Override public com.google.firestore.admin.v1.GetFieldRequest buildPartial() { - com.google.firestore.admin.v1.GetFieldRequest result = - new com.google.firestore.admin.v1.GetFieldRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.GetFieldRequest result = new com.google.firestore.admin.v1.GetFieldRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -368,39 +332,38 @@ private void buildPartial0(com.google.firestore.admin.v1.GetFieldRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.GetFieldRequest) { - return mergeFrom((com.google.firestore.admin.v1.GetFieldRequest) other); + return mergeFrom((com.google.firestore.admin.v1.GetFieldRequest)other); } else { super.mergeFrom(other); return this; @@ -440,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -492,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -517,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -561,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.GetFieldRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.GetFieldRequest) private static final com.google.firestore.admin.v1.GetFieldRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.GetFieldRequest(); } @@ -611,27 +547,27 @@ public static com.google.firestore.admin.v1.GetFieldRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.GetFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java new file mode 100644 index 000000000..18cbac5d7 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface GetFieldRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetFieldRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java similarity index 63% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java index 1e6741144..e038ca30c 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetIndexRequest} */ -public final class GetIndexRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetIndexRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetIndexRequest) GetIndexRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetIndexRequest.newBuilder() to construct. private GetIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetIndexRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetIndexRequest.class, - com.google.firestore.admin.v1.GetIndexRequest.Builder.class); + com.google.firestore.admin.v1.GetIndexRequest.class, com.google.firestore.admin.v1.GetIndexRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.GetIndexRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.GetIndexRequest other = - (com.google.firestore.admin.v1.GetIndexRequest) obj; + com.google.firestore.admin.v1.GetIndexRequest other = (com.google.firestore.admin.v1.GetIndexRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +161,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.GetIndexRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.GetIndexRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.GetIndexRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.GetIndexRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
    * 
* * Protobuf type {@code google.firestore.admin.v1.GetIndexRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.GetIndexRequest) com.google.firestore.admin.v1.GetIndexRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetIndexRequest.class, - com.google.firestore.admin.v1.GetIndexRequest.Builder.class); + com.google.firestore.admin.v1.GetIndexRequest.class, com.google.firestore.admin.v1.GetIndexRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.GetIndexRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; } @java.lang.Override @@ -348,11 +315,8 @@ public com.google.firestore.admin.v1.GetIndexRequest build() { @java.lang.Override public com.google.firestore.admin.v1.GetIndexRequest buildPartial() { - com.google.firestore.admin.v1.GetIndexRequest result = - new com.google.firestore.admin.v1.GetIndexRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.GetIndexRequest result = new com.google.firestore.admin.v1.GetIndexRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -368,39 +332,38 @@ private void buildPartial0(com.google.firestore.admin.v1.GetIndexRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.GetIndexRequest) { - return mergeFrom((com.google.firestore.admin.v1.GetIndexRequest) other); + return mergeFrom((com.google.firestore.admin.v1.GetIndexRequest)other); } else { super.mergeFrom(other); return this; @@ -440,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -492,24 +448,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -517,41 +470,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -561,33 +503,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.GetIndexRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.GetIndexRequest) private static final com.google.firestore.admin.v1.GetIndexRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.GetIndexRequest(); } @@ -611,27 +547,27 @@ public static com.google.firestore.admin.v1.GetIndexRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetIndexRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIndexRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.GetIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java new file mode 100644 index 000000000..66231344e --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface GetIndexRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetIndexRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java similarity index 72% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java index d9f95bf20..5332c418e 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** - * - * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsMetadata}
  */
-public final class ImportDocumentsMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ImportDocumentsMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ImportDocumentsMetadata)
     ImportDocumentsMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ImportDocumentsMetadata.newBuilder() to construct.
   private ImportDocumentsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ImportDocumentsMetadata() {
     operationState_ = 0;
     collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -46,41 +28,37 @@ private ImportDocumentsMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ImportDocumentsMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto
-        .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto
-        .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.ImportDocumentsMetadata.class,
-            com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
+            com.google.firestore.admin.v1.ImportDocumentsMetadata.class, com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
-   *
-   *
    * 
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -88,14 +66,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -103,8 +78,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time this operation started.
    * 
@@ -119,15 +92,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -135,15 +105,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -151,8 +118,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -168,49 +133,37 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int OPERATION_STATE_FIELD_NUMBER = 3;
   private int operationState_ = 0;
   /**
-   *
-   *
    * 
    * The state of the import operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The enum numeric value on the wire for operationState. */ - @java.lang.Override - public int getOperationStateValue() { + @java.lang.Override public int getOperationStateValue() { return operationState_; } /** - * - * *
    * The state of the import operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The operationState. */ - @java.lang.Override - public com.google.firestore.admin.v1.OperationState getOperationState() { - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.forNumber(operationState_); + @java.lang.Override public com.google.firestore.admin.v1.OperationState getOperationState() { + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(operationState_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } public static final int PROGRESS_DOCUMENTS_FIELD_NUMBER = 4; private com.google.firestore.admin.v1.Progress progressDocuments_; /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return Whether the progressDocuments field is set. */ @java.lang.Override @@ -218,25 +171,18 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -245,22 +191,17 @@ public com.google.firestore.admin.v1.Progress getProgressDocuments() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 5; private com.google.firestore.admin.v1.Progress progressBytes_; /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -268,25 +209,18 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -295,52 +229,41 @@ public com.google.firestore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } public static final int COLLECTION_IDS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList collectionIds_; /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_; } /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -348,34 +271,28 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString + getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } public static final int INPUT_URI_PREFIX_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object inputUriPrefix_ = ""; /** - * - * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; - * * @return The inputUriPrefix. */ @java.lang.Override @@ -384,29 +301,29 @@ public java.lang.String getInputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; } } /** - * - * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; - * * @return The bytes for inputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getInputUriPrefixBytes() { + public com.google.protobuf.ByteString + getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -415,7 +332,6 @@ public com.google.protobuf.ByteString getInputUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -427,15 +343,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } if (endTime_ != null) { output.writeMessage(2, getEndTime()); } - if (operationState_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + if (operationState_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, operationState_); } if (progressDocuments_ != null) { @@ -460,20 +376,24 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } - if (operationState_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationState_); + if (operationState_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, operationState_); } if (progressDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgressDocuments()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProgressDocuments()); } if (progressBytes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getProgressBytes()); } { int dataSize = 0; @@ -494,33 +414,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ImportDocumentsMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.ImportDocumentsMetadata other = - (com.google.firestore.admin.v1.ImportDocumentsMetadata) obj; + com.google.firestore.admin.v1.ImportDocumentsMetadata other = (com.google.firestore.admin.v1.ImportDocumentsMetadata) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (operationState_ != other.operationState_) return false; if (hasProgressDocuments() != other.hasProgressDocuments()) return false; if (hasProgressDocuments()) { - if (!getProgressDocuments().equals(other.getProgressDocuments())) return false; + if (!getProgressDocuments() + .equals(other.getProgressDocuments())) return false; } if (hasProgressBytes() != other.hasProgressBytes()) return false; if (hasProgressBytes()) { - if (!getProgressBytes().equals(other.getProgressBytes())) return false; + if (!getProgressBytes() + .equals(other.getProgressBytes())) return false; } - if (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; - if (!getInputUriPrefix().equals(other.getInputUriPrefix())) return false; + if (!getCollectionIdsList() + .equals(other.getCollectionIdsList())) return false; + if (!getInputUriPrefix() + .equals(other.getInputUriPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -562,104 +487,96 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.admin.v1.ImportDocumentsMetadata prototype) { + public static Builder newBuilder(com.google.firestore.admin.v1.ImportDocumentsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
    * [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
@@ -667,32 +584,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ImportDocumentsMetadata)
       com.google.firestore.admin.v1.ImportDocumentsMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.ImportDocumentsMetadata.class,
-              com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
+              com.google.firestore.admin.v1.ImportDocumentsMetadata.class, com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.ImportDocumentsMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -725,9 +643,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -746,18 +664,14 @@ public com.google.firestore.admin.v1.ImportDocumentsMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.ImportDocumentsMetadata buildPartial() {
-      com.google.firestore.admin.v1.ImportDocumentsMetadata result =
-          new com.google.firestore.admin.v1.ImportDocumentsMetadata(this);
+      com.google.firestore.admin.v1.ImportDocumentsMetadata result = new com.google.firestore.admin.v1.ImportDocumentsMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.firestore.admin.v1.ImportDocumentsMetadata result) {
+    private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ImportDocumentsMetadata result) {
       if (((bitField0_ & 0x00000020) != 0)) {
         collectionIds_ = collectionIds_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000020);
@@ -768,23 +682,27 @@ private void buildPartialRepeatedFields(
     private void buildPartial0(com.google.firestore.admin.v1.ImportDocumentsMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.operationState_ = operationState_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.progressDocuments_ =
-            progressDocumentsBuilder_ == null
-                ? progressDocuments_
-                : progressDocumentsBuilder_.build();
+        result.progressDocuments_ = progressDocumentsBuilder_ == null
+            ? progressDocuments_
+            : progressDocumentsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.progressBytes_ =
-            progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build();
+        result.progressBytes_ = progressBytesBuilder_ == null
+            ? progressBytes_
+            : progressBytesBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.inputUriPrefix_ = inputUriPrefix_;
@@ -795,39 +713,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ImportDocumentsMetadata
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.ImportDocumentsMetadata) {
-        return mergeFrom((com.google.firestore.admin.v1.ImportDocumentsMetadata) other);
+        return mergeFrom((com.google.firestore.admin.v1.ImportDocumentsMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -835,8 +752,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.ImportDocumentsMetadata other) {
-      if (other == com.google.firestore.admin.v1.ImportDocumentsMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.admin.v1.ImportDocumentsMetadata.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -893,57 +809,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                operationState_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(
-                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureCollectionIdsIsMutable();
-                collectionIds_.add(s);
-                break;
-              } // case 50
-            case 58:
-              {
-                inputUriPrefix_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              operationState_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getProgressDocumentsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getProgressBytesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureCollectionIdsIsMutable();
+              collectionIds_.add(s);
+              break;
+            } // case 50
+            case 58: {
+              inputUriPrefix_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -953,38 +868,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        startTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -995,8 +900,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time this operation started.
      * 
@@ -1017,15 +920,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1036,8 +938,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1046,9 +946,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1061,8 +961,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1080,8 +978,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -1094,8 +990,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time this operation started.
      * 
@@ -1106,12 +1000,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time this operation started.
      * 
@@ -1119,17 +1012,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1137,35 +1027,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1176,8 +1057,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1199,8 +1078,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1208,7 +1085,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -1219,8 +1097,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1230,9 +1106,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -1245,8 +1121,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1265,8 +1139,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1280,8 +1152,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1293,12 +1163,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1307,17 +1176,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1325,29 +1191,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private int operationState_ = 0;
     /**
-     *
-     *
      * 
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The enum numeric value on the wire for operationState. */ - @java.lang.Override - public int getOperationStateValue() { + @java.lang.Override public int getOperationStateValue() { return operationState_; } /** - * - * *
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @param value The enum numeric value on the wire for operationState to set. * @return This builder for chaining. */ @@ -1358,31 +1217,24 @@ public Builder setOperationStateValue(int value) { return this; } /** - * - * *
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The operationState. */ @java.lang.Override public com.google.firestore.admin.v1.OperationState getOperationState() { - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.forNumber(operationState_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(operationState_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } /** - * - * *
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @param value The operationState to set. * @return This builder for chaining. */ @@ -1396,14 +1248,11 @@ public Builder setOperationState(com.google.firestore.admin.v1.OperationState va return this; } /** - * - * *
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return This builder for chaining. */ public Builder clearOperationState() { @@ -1415,47 +1264,34 @@ public Builder clearOperationState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return The progressDocuments. */ public com.google.firestore.admin.v1.Progress getProgressDocuments() { if (progressDocumentsBuilder_ == null) { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } else { return progressDocumentsBuilder_.getMessage(); } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1476,8 +1312,6 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1496,8 +1330,6 @@ public Builder setProgressDocuments( return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1506,9 +1338,9 @@ public Builder setProgressDocuments( */ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress value) { if (progressDocumentsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && progressDocuments_ != null - && progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + progressDocuments_ != null && + progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressDocumentsBuilder().mergeFrom(value); } else { progressDocuments_ = value; @@ -1521,8 +1353,6 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1540,8 +1370,6 @@ public Builder clearProgressDocuments() { return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1554,8 +1382,6 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1566,14 +1392,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1581,17 +1404,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), getParentForChildren(), isClean()); + progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), + getParentForChildren(), + isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -1599,47 +1419,34 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return The progressBytes. */ public com.google.firestore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1660,8 +1467,6 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1680,8 +1485,6 @@ public Builder setProgressBytes( return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1690,9 +1493,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && progressBytes_ != null - && progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + progressBytes_ != null && + progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -1705,8 +1508,6 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1724,8 +1525,6 @@ public Builder clearProgressBytes() { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1738,8 +1537,6 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1750,14 +1547,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1765,68 +1559,55 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), getParentForChildren(), isClean()); + progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), + getParentForChildren(), + isClean()); progressBytes_ = null; } return progressBytesBuilder_; } - private com.google.protobuf.LazyStringList collectionIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -1834,90 +1615,76 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString + getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addCollectionIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds(java.lang.Iterable values) { + public Builder addAllCollectionIds( + java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, collectionIds_); onChanged(); return this; } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -1927,21 +1694,17 @@ public Builder clearCollectionIds() { return this; } /** - * - * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; - * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addCollectionIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); @@ -1951,20 +1714,18 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object inputUriPrefix_ = ""; /** - * - * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; - * * @return The inputUriPrefix. */ public java.lang.String getInputUriPrefix() { java.lang.Object ref = inputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; @@ -1973,21 +1734,20 @@ public java.lang.String getInputUriPrefix() { } } /** - * - * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; - * * @return The bytes for inputUriPrefix. */ - public com.google.protobuf.ByteString getInputUriPrefixBytes() { + public com.google.protobuf.ByteString + getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -1995,35 +1755,28 @@ public com.google.protobuf.ByteString getInputUriPrefixBytes() { } } /** - * - * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; - * * @param value The inputUriPrefix to set. * @return This builder for chaining. */ - public Builder setInputUriPrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInputUriPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } inputUriPrefix_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; - * * @return This builder for chaining. */ public Builder clearInputUriPrefix() { @@ -2033,30 +1786,26 @@ public Builder clearInputUriPrefix() { return this; } /** - * - * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; - * * @param value The bytes for inputUriPrefix to set. * @return This builder for chaining. */ - public Builder setInputUriPrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInputUriPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); inputUriPrefix_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2066,12 +1815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ImportDocumentsMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ImportDocumentsMetadata) private static final com.google.firestore.admin.v1.ImportDocumentsMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ImportDocumentsMetadata(); } @@ -2080,27 +1829,27 @@ public static com.google.firestore.admin.v1.ImportDocumentsMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportDocumentsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportDocumentsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2115,4 +1864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ImportDocumentsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java similarity index 81% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java index dc9f0242f..79cbc4ceb 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface ImportDocumentsMetadataOrBuilder - extends +public interface ImportDocumentsMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ImportDocumentsMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time this operation started.
    * 
@@ -59,34 +35,26 @@ public interface ImportDocumentsMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -97,57 +65,43 @@ public interface ImportDocumentsMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The state of the import operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The enum numeric value on the wire for operationState. */ int getOperationStateValue(); /** - * - * *
    * The state of the import operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; - * * @return The operationState. */ com.google.firestore.admin.v1.OperationState getOperationState(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; - * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -157,32 +111,24 @@ public interface ImportDocumentsMetadataOrBuilder com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; - * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -192,78 +138,63 @@ public interface ImportDocumentsMetadataOrBuilder com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @return A list containing the collectionIds. */ - java.util.List getCollectionIdsList(); + java.util.List + getCollectionIdsList(); /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** - * - * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString getCollectionIdsBytes(int index); + com.google.protobuf.ByteString + getCollectionIdsBytes(int index); /** - * - * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; - * * @return The inputUriPrefix. */ java.lang.String getInputUriPrefix(); /** - * - * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; - * * @return The bytes for inputUriPrefix. */ - com.google.protobuf.ByteString getInputUriPrefixBytes(); + com.google.protobuf.ByteString + getInputUriPrefixBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java similarity index 70% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java index cb41bb110..e6c99eef4 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsRequest} */ -public final class ImportDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportDocumentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ImportDocumentsRequest) ImportDocumentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportDocumentsRequest.newBuilder() to construct. private ImportDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportDocumentsRequest() { name_ = ""; collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -45,46 +27,39 @@ private ImportDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ImportDocumentsRequest.class, - com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ImportDocumentsRequest.class, com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Database to import into. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,32 +68,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Database to import into. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,49 +100,40 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int COLLECTION_IDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList collectionIds_; /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_; } /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -177,29 +141,24 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString + getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } public static final int INPUT_URI_PREFIX_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object inputUriPrefix_ = ""; /** - * - * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -209,7 +168,6 @@ public com.google.protobuf.ByteString getCollectionIdsBytes(int index) {
    * 
* * string input_uri_prefix = 3; - * * @return The inputUriPrefix. */ @java.lang.Override @@ -218,15 +176,14 @@ public java.lang.String getInputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; } } /** - * - * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -236,15 +193,16 @@ public java.lang.String getInputUriPrefix() {
    * 
* * string input_uri_prefix = 3; - * * @return The bytes for inputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getInputUriPrefixBytes() { + public com.google.protobuf.ByteString + getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -253,7 +211,6 @@ public com.google.protobuf.ByteString getInputUriPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -306,17 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ImportDocumentsRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.ImportDocumentsRequest other = - (com.google.firestore.admin.v1.ImportDocumentsRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; - if (!getInputUriPrefix().equals(other.getInputUriPrefix())) return false; + com.google.firestore.admin.v1.ImportDocumentsRequest other = (com.google.firestore.admin.v1.ImportDocumentsRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getCollectionIdsList() + .equals(other.getCollectionIdsList())) return false; + if (!getInputUriPrefix() + .equals(other.getInputUriPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,135 +302,129 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ImportDocumentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ImportDocumentsRequest) com.google.firestore.admin.v1.ImportDocumentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ImportDocumentsRequest.class, - com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ImportDocumentsRequest.class, com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ImportDocumentsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; } @java.lang.Override @@ -504,18 +458,14 @@ public com.google.firestore.admin.v1.ImportDocumentsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ImportDocumentsRequest buildPartial() { - com.google.firestore.admin.v1.ImportDocumentsRequest result = - new com.google.firestore.admin.v1.ImportDocumentsRequest(this); + com.google.firestore.admin.v1.ImportDocumentsRequest result = new com.google.firestore.admin.v1.ImportDocumentsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.firestore.admin.v1.ImportDocumentsRequest result) { + private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ImportDocumentsRequest result) { if (((bitField0_ & 0x00000002) != 0)) { collectionIds_ = collectionIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); @@ -537,39 +487,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ImportDocumentsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ImportDocumentsRequest) { - return mergeFrom((com.google.firestore.admin.v1.ImportDocumentsRequest) other); + return mergeFrom((com.google.firestore.admin.v1.ImportDocumentsRequest)other); } else { super.mergeFrom(other); return this; @@ -577,8 +526,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ImportDocumentsRequest other) { - if (other == com.google.firestore.admin.v1.ImportDocumentsRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ImportDocumentsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -625,32 +573,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureCollectionIdsIsMutable(); - collectionIds_.add(s); - break; - } // case 18 - case 26: - { - inputUriPrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCollectionIdsIsMutable(); + collectionIds_.add(s); + break; + } // case 18 + case 26: { + inputUriPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -660,28 +604,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -690,24 +629,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -715,41 +651,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -759,24 +684,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -784,55 +703,45 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList collectionIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -840,95 +749,81 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString + getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addCollectionIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds(java.lang.Iterable values) { + public Builder addAllCollectionIds( + java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, collectionIds_); onChanged(); return this; } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -938,22 +833,18 @@ public Builder clearCollectionIds() { return this; } /** - * - * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; - * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addCollectionIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); @@ -963,8 +854,6 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object inputUriPrefix_ = ""; /** - * - * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -974,13 +863,13 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) {
      * 
* * string input_uri_prefix = 3; - * * @return The inputUriPrefix. */ public java.lang.String getInputUriPrefix() { java.lang.Object ref = inputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; @@ -989,8 +878,6 @@ public java.lang.String getInputUriPrefix() { } } /** - * - * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -1000,14 +887,15 @@ public java.lang.String getInputUriPrefix() {
      * 
* * string input_uri_prefix = 3; - * * @return The bytes for inputUriPrefix. */ - public com.google.protobuf.ByteString getInputUriPrefixBytes() { + public com.google.protobuf.ByteString + getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -1015,8 +903,6 @@ public com.google.protobuf.ByteString getInputUriPrefixBytes() { } } /** - * - * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -1026,22 +912,18 @@ public com.google.protobuf.ByteString getInputUriPrefixBytes() {
      * 
* * string input_uri_prefix = 3; - * * @param value The inputUriPrefix to set. * @return This builder for chaining. */ - public Builder setInputUriPrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInputUriPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } inputUriPrefix_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -1051,7 +933,6 @@ public Builder setInputUriPrefix(java.lang.String value) {
      * 
* * string input_uri_prefix = 3; - * * @return This builder for chaining. */ public Builder clearInputUriPrefix() { @@ -1061,8 +942,6 @@ public Builder clearInputUriPrefix() { return this; } /** - * - * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -1072,23 +951,21 @@ public Builder clearInputUriPrefix() {
      * 
* * string input_uri_prefix = 3; - * * @param value The bytes for inputUriPrefix to set. * @return This builder for chaining. */ - public Builder setInputUriPrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInputUriPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); inputUriPrefix_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1098,12 +975,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ImportDocumentsRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ImportDocumentsRequest) private static final com.google.firestore.admin.v1.ImportDocumentsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ImportDocumentsRequest(); } @@ -1112,27 +989,27 @@ public static com.google.firestore.admin.v1.ImportDocumentsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportDocumentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportDocumentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,4 +1024,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ImportDocumentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java index 28b8df488..6c2092a57 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java @@ -1,117 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ImportDocumentsRequestOrBuilder - extends +public interface ImportDocumentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ImportDocumentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Database to import into. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Database to import into. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @return A list containing the collectionIds. */ - java.util.List getCollectionIdsList(); + java.util.List + getCollectionIdsList(); /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** - * - * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString getCollectionIdsBytes(int index); + com.google.protobuf.ByteString + getCollectionIdsBytes(int index); /** - * - * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -121,13 +84,10 @@ public interface ImportDocumentsRequestOrBuilder
    * 
* * string input_uri_prefix = 3; - * * @return The inputUriPrefix. */ java.lang.String getInputUriPrefix(); /** - * - * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -137,8 +97,8 @@ public interface ImportDocumentsRequestOrBuilder
    * 
* * string input_uri_prefix = 3; - * * @return The bytes for inputUriPrefix. */ - com.google.protobuf.ByteString getInputUriPrefixBytes(); + com.google.protobuf.ByteString + getInputUriPrefixBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java similarity index 79% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java index 11fc1332b..6c7828ff7 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/index.proto package com.google.firestore.admin.v1; /** - * - * *
  * Cloud Firestore indexes enable simple and complex queries against
  * documents in a database.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Index}
  */
-public final class Index extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Index extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Index)
     IndexOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Index.newBuilder() to construct.
   private Index(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Index() {
     name_ = "";
     queryScope_ = 0;
@@ -47,33 +29,30 @@ private Index() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Index();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.admin.v1.IndexProto
-        .internal_static_google_firestore_admin_v1_Index_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.IndexProto
-        .internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
+    return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Index.class,
-            com.google.firestore.admin.v1.Index.Builder.class);
+            com.google.firestore.admin.v1.Index.class, com.google.firestore.admin.v1.Index.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Query Scope defines the scope at which a query is run. This is specified on
    * a StructuredQuery's `from` field.
@@ -81,10 +60,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.firestore.admin.v1.Index.QueryScope}
    */
-  public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
+  public enum QueryScope
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The query scope is unspecified. Not a valid option.
      * 
@@ -93,8 +71,6 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum { */ QUERY_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified
@@ -105,8 +81,6 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
      */
     COLLECTION(1),
     /**
-     *
-     *
      * 
      * Indexes with a collection group query scope specified allow queries
      * against all collections that has the collection id specified by the
@@ -120,8 +94,6 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The query scope is unspecified. Not a valid option.
      * 
@@ -130,8 +102,6 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int QUERY_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified
@@ -142,8 +112,6 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COLLECTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * Indexes with a collection group query scope specified allow queries
      * against all collections that has the collection id specified by the
@@ -154,6 +122,7 @@ public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COLLECTION_GROUP_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -178,49 +147,49 @@ public static QueryScope valueOf(int value) {
      */
     public static QueryScope forNumber(int value) {
       switch (value) {
-        case 0:
-          return QUERY_SCOPE_UNSPECIFIED;
-        case 1:
-          return COLLECTION;
-        case 2:
-          return COLLECTION_GROUP;
-        default:
-          return null;
+        case 0: return QUERY_SCOPE_UNSPECIFIED;
+        case 1: return COLLECTION;
+        case 2: return COLLECTION_GROUP;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        QueryScope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public QueryScope findValueByNumber(int number) {
+              return QueryScope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public QueryScope findValueByNumber(int number) {
-            return QueryScope.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.admin.v1.Index.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final QueryScope[] VALUES = values();
 
-    public static QueryScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static QueryScope valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -238,8 +207,6 @@ private QueryScope(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The state of an index. During index creation, an index will be in the
    * `CREATING` state. If the index is created successfully, it will transition
@@ -249,10 +216,9 @@ private QueryScope(int value) {
    *
    * Protobuf enum {@code google.firestore.admin.v1.Index.State}
    */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The state is unspecified.
      * 
@@ -261,8 +227,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The index is being created.
      * There is an active long-running operation for the index.
@@ -274,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The index is ready to be used.
      * The index is updated when writing a document.
@@ -286,8 +248,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     READY(2),
     /**
-     *
-     *
      * 
      * The index was being created, but something went wrong.
      * There is no active long-running operation for the index,
@@ -306,8 +266,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state is unspecified.
      * 
@@ -316,8 +274,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The index is being created.
      * There is an active long-running operation for the index.
@@ -329,8 +285,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The index is ready to be used.
      * The index is updated when writing a document.
@@ -341,8 +295,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_VALUE = 2;
     /**
-     *
-     *
      * 
      * The index was being created, but something went wrong.
      * There is no active long-running operation for the index,
@@ -358,6 +310,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NEEDS_REPAIR_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -382,51 +335,50 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return CREATING;
-        case 2:
-          return READY;
-        case 3:
-          return NEEDS_REPAIR;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return CREATING;
+        case 2: return READY;
+        case 3: return NEEDS_REPAIR;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.admin.v1.Index.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -443,14 +395,11 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.firestore.admin.v1.Index.State)
   }
 
-  public interface IndexFieldOrBuilder
-      extends
+  public interface IndexFieldOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Index.IndexField)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -458,13 +407,10 @@ public interface IndexFieldOrBuilder
      * 
* * string field_path = 1; - * * @return The fieldPath. */ java.lang.String getFieldPath(); /** - * - * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -472,84 +418,66 @@ public interface IndexFieldOrBuilder
      * 
* * string field_path = 1; - * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString getFieldPathBytes(); + com.google.protobuf.ByteString + getFieldPathBytes(); /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return Whether the order field is set. */ boolean hasOrder(); /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return The enum numeric value on the wire for order. */ int getOrderValue(); /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return The order. */ com.google.firestore.admin.v1.Index.IndexField.Order getOrder(); /** - * - * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return Whether the arrayConfig field is set. */ boolean hasArrayConfig(); /** - * - * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return The enum numeric value on the wire for arrayConfig. */ int getArrayConfigValue(); /** - * - * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return The arrayConfig. */ com.google.firestore.admin.v1.Index.IndexField.ArrayConfig getArrayConfig(); @@ -557,8 +485,6 @@ public interface IndexFieldOrBuilder public com.google.firestore.admin.v1.Index.IndexField.ValueModeCase getValueModeCase(); } /** - * - * *
    * A field in an index.
    * The field_path describes which field is indexed, the value_mode describes
@@ -567,59 +493,54 @@ public interface IndexFieldOrBuilder
    *
    * Protobuf type {@code google.firestore.admin.v1.Index.IndexField}
    */
-  public static final class IndexField extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class IndexField extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Index.IndexField)
       IndexFieldOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use IndexField.newBuilder() to construct.
     private IndexField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private IndexField() {
       fieldPath_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new IndexField();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.IndexProto
-          .internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.IndexProto
-          .internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
+      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Index.IndexField.class,
-              com.google.firestore.admin.v1.Index.IndexField.Builder.class);
+              com.google.firestore.admin.v1.Index.IndexField.class, com.google.firestore.admin.v1.Index.IndexField.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * The supported orderings.
      * 
* * Protobuf enum {@code google.firestore.admin.v1.Index.IndexField.Order} */ - public enum Order implements com.google.protobuf.ProtocolMessageEnum { + public enum Order + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The ordering is unspecified. Not a valid option.
        * 
@@ -628,8 +549,6 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { */ ORDER_UNSPECIFIED(0), /** - * - * *
        * The field is ordered by ascending field value.
        * 
@@ -638,8 +557,6 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { */ ASCENDING(1), /** - * - * *
        * The field is ordered by descending field value.
        * 
@@ -651,8 +568,6 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The ordering is unspecified. Not a valid option.
        * 
@@ -661,8 +576,6 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORDER_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The field is ordered by ascending field value.
        * 
@@ -671,8 +584,6 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ASCENDING_VALUE = 1; /** - * - * *
        * The field is ordered by descending field value.
        * 
@@ -681,6 +592,7 @@ public enum Order implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESCENDING_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -705,49 +617,49 @@ public static Order valueOf(int value) { */ public static Order forNumber(int value) { switch (value) { - case 0: - return ORDER_UNSPECIFIED; - case 1: - return ASCENDING; - case 2: - return DESCENDING; - default: - return null; + case 0: return ORDER_UNSPECIFIED; + case 1: return ASCENDING; + case 2: return DESCENDING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Order> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Order findValueByNumber(int number) { + return Order.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Order findValueByNumber(int number) { - return Order.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.firestore.admin.v1.Index.IndexField.getDescriptor().getEnumTypes().get(0); } private static final Order[] VALUES = values(); - public static Order valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Order valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -765,18 +677,15 @@ private Order(int value) { } /** - * - * *
      * The supported array value configurations.
      * 
* * Protobuf enum {@code google.firestore.admin.v1.Index.IndexField.ArrayConfig} */ - public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { + public enum ArrayConfig + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The index does not support additional array queries.
        * 
@@ -785,8 +694,6 @@ public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { */ ARRAY_CONFIG_UNSPECIFIED(0), /** - * - * *
        * The index supports array containment queries.
        * 
@@ -798,8 +705,6 @@ public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The index does not support additional array queries.
        * 
@@ -808,8 +713,6 @@ public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRAY_CONFIG_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The index supports array containment queries.
        * 
@@ -818,6 +721,7 @@ public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTAINS_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -842,47 +746,48 @@ public static ArrayConfig valueOf(int value) { */ public static ArrayConfig forNumber(int value) { switch (value) { - case 0: - return ARRAY_CONFIG_UNSPECIFIED; - case 1: - return CONTAINS; - default: - return null; + case 0: return ARRAY_CONFIG_UNSPECIFIED; + case 1: return CONTAINS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ArrayConfig> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArrayConfig findValueByNumber(int number) { + return ArrayConfig.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArrayConfig findValueByNumber(int number) { - return ArrayConfig.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.firestore.admin.v1.Index.IndexField.getDescriptor().getEnumTypes().get(1); } private static final ArrayConfig[] VALUES = values(); - public static ArrayConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ArrayConfig valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -901,16 +806,13 @@ private ArrayConfig(int value) { private int valueModeCase_ = 0; private java.lang.Object valueMode_; - public enum ValueModeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORDER(2), ARRAY_CONFIG(3), VALUEMODE_NOT_SET(0); private final int value; - private ValueModeCase(int value) { this.value = value; } @@ -926,33 +828,27 @@ public static ValueModeCase valueOf(int value) { public static ValueModeCase forNumber(int value) { switch (value) { - case 2: - return ORDER; - case 3: - return ARRAY_CONFIG; - case 0: - return VALUEMODE_NOT_SET; - default: - return null; + case 2: return ORDER; + case 3: return ARRAY_CONFIG; + case 0: return VALUEMODE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueModeCase getValueModeCase() { - return ValueModeCase.forNumber(valueModeCase_); + public ValueModeCase + getValueModeCase() { + return ValueModeCase.forNumber( + valueModeCase_); } public static final int FIELD_PATH_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object fieldPath_ = ""; /** - * - * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -960,7 +856,6 @@ public ValueModeCase getValueModeCase() {
      * 
* * string field_path = 1; - * * @return The fieldPath. */ @java.lang.Override @@ -969,15 +864,14 @@ public java.lang.String getFieldPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; } } /** - * - * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -985,15 +879,16 @@ public java.lang.String getFieldPath() {
      * 
* * string field_path = 1; - * * @return The bytes for fieldPath. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldPathBytes() { + public com.google.protobuf.ByteString + getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -1003,30 +898,24 @@ public com.google.protobuf.ByteString getFieldPathBytes() { public static final int ORDER_FIELD_NUMBER = 2; /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return Whether the order field is set. */ public boolean hasOrder() { return valueModeCase_ == 2; } /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return The enum numeric value on the wire for order. */ public int getOrderValue() { @@ -1036,53 +925,41 @@ public int getOrderValue() { return 0; } /** - * - * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return The order. */ public com.google.firestore.admin.v1.Index.IndexField.Order getOrder() { if (valueModeCase_ == 2) { - com.google.firestore.admin.v1.Index.IndexField.Order result = - com.google.firestore.admin.v1.Index.IndexField.Order.forNumber( - (java.lang.Integer) valueMode_); - return result == null - ? com.google.firestore.admin.v1.Index.IndexField.Order.UNRECOGNIZED - : result; + com.google.firestore.admin.v1.Index.IndexField.Order result = com.google.firestore.admin.v1.Index.IndexField.Order.forNumber( + (java.lang.Integer) valueMode_); + return result == null ? com.google.firestore.admin.v1.Index.IndexField.Order.UNRECOGNIZED : result; } return com.google.firestore.admin.v1.Index.IndexField.Order.ORDER_UNSPECIFIED; } public static final int ARRAY_CONFIG_FIELD_NUMBER = 3; /** - * - * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return Whether the arrayConfig field is set. */ public boolean hasArrayConfig() { return valueModeCase_ == 3; } /** - * - * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return The enum numeric value on the wire for arrayConfig. */ public int getArrayConfigValue() { @@ -1092,30 +969,23 @@ public int getArrayConfigValue() { return 0; } /** - * - * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return The arrayConfig. */ public com.google.firestore.admin.v1.Index.IndexField.ArrayConfig getArrayConfig() { if (valueModeCase_ == 3) { - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.forNumber( - (java.lang.Integer) valueMode_); - return result == null - ? com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.UNRECOGNIZED - : result; + com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.forNumber( + (java.lang.Integer) valueMode_); + return result == null ? com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.UNRECOGNIZED : result; } return com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.ARRAY_CONFIG_UNSPECIFIED; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1127,7 +997,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPath_); } @@ -1150,14 +1021,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldPath_); } if (valueModeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 2, ((java.lang.Integer) valueMode_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, ((java.lang.Integer) valueMode_)); } if (valueModeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 3, ((java.lang.Integer) valueMode_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, ((java.lang.Integer) valueMode_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1167,22 +1036,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Index.IndexField)) { return super.equals(obj); } - com.google.firestore.admin.v1.Index.IndexField other = - (com.google.firestore.admin.v1.Index.IndexField) obj; + com.google.firestore.admin.v1.Index.IndexField other = (com.google.firestore.admin.v1.Index.IndexField) obj; - if (!getFieldPath().equals(other.getFieldPath())) return false; + if (!getFieldPath() + .equals(other.getFieldPath())) return false; if (!getValueModeCase().equals(other.getValueModeCase())) return false; switch (valueModeCase_) { case 2: - if (getOrderValue() != other.getOrderValue()) return false; + if (getOrderValue() + != other.getOrderValue()) return false; break; case 3: - if (getArrayConfigValue() != other.getArrayConfigValue()) return false; + if (getArrayConfigValue() + != other.getArrayConfigValue()) return false; break; case 0: default: @@ -1217,94 +1088,88 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.Index.IndexField parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.Index.IndexField parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.Index.IndexField parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Index.IndexField parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.Index.IndexField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1314,8 +1179,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A field in an index.
      * The field_path describes which field is indexed, the value_mode describes
@@ -1324,33 +1187,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.firestore.admin.v1.Index.IndexField}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Index.IndexField)
         com.google.firestore.admin.v1.Index.IndexFieldOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.firestore.admin.v1.IndexProto
-            .internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.firestore.admin.v1.IndexProto
-            .internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
+        return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.firestore.admin.v1.Index.IndexField.class,
-                com.google.firestore.admin.v1.Index.IndexField.Builder.class);
+                com.google.firestore.admin.v1.Index.IndexField.class, com.google.firestore.admin.v1.Index.IndexField.Builder.class);
       }
 
       // Construct using com.google.firestore.admin.v1.Index.IndexField.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1362,9 +1225,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.firestore.admin.v1.IndexProto
-            .internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
       }
 
       @java.lang.Override
@@ -1383,11 +1246,8 @@ public com.google.firestore.admin.v1.Index.IndexField build() {
 
       @java.lang.Override
       public com.google.firestore.admin.v1.Index.IndexField buildPartial() {
-        com.google.firestore.admin.v1.Index.IndexField result =
-            new com.google.firestore.admin.v1.Index.IndexField(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.firestore.admin.v1.Index.IndexField result = new com.google.firestore.admin.v1.Index.IndexField(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         buildPartialOneofs(result);
         onBuilt();
         return result;
@@ -1409,41 +1269,38 @@ private void buildPartialOneofs(com.google.firestore.admin.v1.Index.IndexField r
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.firestore.admin.v1.Index.IndexField) {
-          return mergeFrom((com.google.firestore.admin.v1.Index.IndexField) other);
+          return mergeFrom((com.google.firestore.admin.v1.Index.IndexField)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1451,28 +1308,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.firestore.admin.v1.Index.IndexField other) {
-        if (other == com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance())
-          return this;
+        if (other == com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance()) return this;
         if (!other.getFieldPath().isEmpty()) {
           fieldPath_ = other.fieldPath_;
           bitField0_ |= 0x00000001;
           onChanged();
         }
         switch (other.getValueModeCase()) {
-          case ORDER:
-            {
-              setOrderValue(other.getOrderValue());
-              break;
-            }
-          case ARRAY_CONFIG:
-            {
-              setArrayConfigValue(other.getArrayConfigValue());
-              break;
-            }
-          case VALUEMODE_NOT_SET:
-            {
-              break;
-            }
+          case ORDER: {
+            setOrderValue(other.getOrderValue());
+            break;
+          }
+          case ARRAY_CONFIG: {
+            setArrayConfigValue(other.getArrayConfigValue());
+            break;
+          }
+          case VALUEMODE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1500,33 +1353,29 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  fieldPath_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 16:
-                {
-                  int rawValue = input.readEnum();
-                  valueModeCase_ = 2;
-                  valueMode_ = rawValue;
-                  break;
-                } // case 16
-              case 24:
-                {
-                  int rawValue = input.readEnum();
-                  valueModeCase_ = 3;
-                  valueMode_ = rawValue;
-                  break;
-                } // case 24
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                fieldPath_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 16: {
+                int rawValue = input.readEnum();
+                valueModeCase_ = 2;
+                valueMode_ = rawValue;
+                break;
+              } // case 16
+              case 24: {
+                int rawValue = input.readEnum();
+                valueModeCase_ = 3;
+                valueMode_ = rawValue;
+                break;
+              } // case 24
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1536,12 +1385,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int valueModeCase_ = 0;
       private java.lang.Object valueMode_;
-
-      public ValueModeCase getValueModeCase() {
-        return ValueModeCase.forNumber(valueModeCase_);
+      public ValueModeCase
+          getValueModeCase() {
+        return ValueModeCase.forNumber(
+            valueModeCase_);
       }
 
       public Builder clearValueMode() {
@@ -1555,8 +1404,6 @@ public Builder clearValueMode() {
 
       private java.lang.Object fieldPath_ = "";
       /**
-       *
-       *
        * 
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1564,13 +1411,13 @@ public Builder clearValueMode() {
        * 
* * string field_path = 1; - * * @return The fieldPath. */ public java.lang.String getFieldPath() { java.lang.Object ref = fieldPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; @@ -1579,8 +1426,6 @@ public java.lang.String getFieldPath() { } } /** - * - * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1588,14 +1433,15 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 1; - * * @return The bytes for fieldPath. */ - public com.google.protobuf.ByteString getFieldPathBytes() { + public com.google.protobuf.ByteString + getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -1603,8 +1449,6 @@ public com.google.protobuf.ByteString getFieldPathBytes() { } } /** - * - * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1612,22 +1456,18 @@ public com.google.protobuf.ByteString getFieldPathBytes() {
        * 
* * string field_path = 1; - * * @param value The fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fieldPath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1635,7 +1475,6 @@ public Builder setFieldPath(java.lang.String value) {
        * 
* * string field_path = 1; - * * @return This builder for chaining. */ public Builder clearFieldPath() { @@ -1645,8 +1484,6 @@ public Builder clearFieldPath() { return this; } /** - * - * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1654,14 +1491,12 @@ public Builder clearFieldPath() {
        * 
* * string field_path = 1; - * * @param value The bytes for fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fieldPath_ = value; bitField0_ |= 0x00000001; @@ -1670,15 +1505,12 @@ public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return Whether the order field is set. */ @java.lang.Override @@ -1686,15 +1518,12 @@ public boolean hasOrder() { return valueModeCase_ == 2; } /** - * - * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return The enum numeric value on the wire for order. */ @java.lang.Override @@ -1705,15 +1534,12 @@ public int getOrderValue() { return 0; } /** - * - * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @param value The enum numeric value on the wire for order to set. * @return This builder for chaining. */ @@ -1724,39 +1550,30 @@ public Builder setOrderValue(int value) { return this; } /** - * - * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return The order. */ @java.lang.Override public com.google.firestore.admin.v1.Index.IndexField.Order getOrder() { if (valueModeCase_ == 2) { - com.google.firestore.admin.v1.Index.IndexField.Order result = - com.google.firestore.admin.v1.Index.IndexField.Order.forNumber( - (java.lang.Integer) valueMode_); - return result == null - ? com.google.firestore.admin.v1.Index.IndexField.Order.UNRECOGNIZED - : result; + com.google.firestore.admin.v1.Index.IndexField.Order result = com.google.firestore.admin.v1.Index.IndexField.Order.forNumber( + (java.lang.Integer) valueMode_); + return result == null ? com.google.firestore.admin.v1.Index.IndexField.Order.UNRECOGNIZED : result; } return com.google.firestore.admin.v1.Index.IndexField.Order.ORDER_UNSPECIFIED; } /** - * - * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @param value The order to set. * @return This builder for chaining. */ @@ -1770,15 +1587,12 @@ public Builder setOrder(com.google.firestore.admin.v1.Index.IndexField.Order val return this; } /** - * - * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; - * * @return This builder for chaining. */ public Builder clearOrder() { @@ -1791,14 +1605,11 @@ public Builder clearOrder() { } /** - * - * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return Whether the arrayConfig field is set. */ @java.lang.Override @@ -1806,14 +1617,11 @@ public boolean hasArrayConfig() { return valueModeCase_ == 3; } /** - * - * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return The enum numeric value on the wire for arrayConfig. */ @java.lang.Override @@ -1824,14 +1632,11 @@ public int getArrayConfigValue() { return 0; } /** - * - * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @param value The enum numeric value on the wire for arrayConfig to set. * @return This builder for chaining. */ @@ -1842,42 +1647,32 @@ public Builder setArrayConfigValue(int value) { return this; } /** - * - * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return The arrayConfig. */ @java.lang.Override public com.google.firestore.admin.v1.Index.IndexField.ArrayConfig getArrayConfig() { if (valueModeCase_ == 3) { - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.forNumber( - (java.lang.Integer) valueMode_); - return result == null - ? com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.UNRECOGNIZED - : result; + com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.forNumber( + (java.lang.Integer) valueMode_); + return result == null ? com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.UNRECOGNIZED : result; } return com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.ARRAY_CONFIG_UNSPECIFIED; } /** - * - * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @param value The arrayConfig to set. * @return This builder for chaining. */ - public Builder setArrayConfig( - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig value) { + public Builder setArrayConfig(com.google.firestore.admin.v1.Index.IndexField.ArrayConfig value) { if (value == null) { throw new NullPointerException(); } @@ -1887,14 +1682,11 @@ public Builder setArrayConfig( return this; } /** - * - * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; - * * @return This builder for chaining. */ public Builder clearArrayConfig() { @@ -1905,7 +1697,6 @@ public Builder clearArrayConfig() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1918,12 +1709,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Index.IndexField) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Index.IndexField) private static final com.google.firestore.admin.v1.Index.IndexField DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Index.IndexField(); } @@ -1932,28 +1723,27 @@ public static com.google.firestore.admin.v1.Index.IndexField getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1968,15 +1758,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Index.IndexField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -1985,7 +1773,6 @@ public com.google.firestore.admin.v1.Index.IndexField getDefaultInstanceForType(
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1994,15 +1781,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -2011,15 +1797,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2030,8 +1817,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int QUERY_SCOPE_FIELD_NUMBER = 2; private int queryScope_ = 0; /** - * - * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -2042,16 +1827,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The enum numeric value on the wire for queryScope. */ - @java.lang.Override - public int getQueryScopeValue() { + @java.lang.Override public int getQueryScopeValue() { return queryScope_; } /** - * - * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -2062,23 +1843,17 @@ public int getQueryScopeValue() {
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The queryScope. */ - @java.lang.Override - public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() { - com.google.firestore.admin.v1.Index.QueryScope result = - com.google.firestore.admin.v1.Index.QueryScope.forNumber(queryScope_); + @java.lang.Override public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() { + com.google.firestore.admin.v1.Index.QueryScope result = com.google.firestore.admin.v1.Index.QueryScope.forNumber(queryScope_); return result == null ? com.google.firestore.admin.v1.Index.QueryScope.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -2098,8 +1873,6 @@ public java.util.List getFieldsL
     return fields_;
   }
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -2115,13 +1888,11 @@ public java.util.List getFieldsL
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFieldsOrBuilderList() {
     return fields_;
   }
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -2141,8 +1912,6 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -2162,8 +1931,6 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
     return fields_.get(index);
   }
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -2179,47 +1946,38 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
   @java.lang.Override
-  public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(int index) {
+  public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(
+      int index) {
     return fields_.get(index);
   }
 
   public static final int STATE_FIELD_NUMBER = 4;
   private int state_ = 0;
   /**
-   *
-   *
    * 
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @return The state. */ - @java.lang.Override - public com.google.firestore.admin.v1.Index.State getState() { - com.google.firestore.admin.v1.Index.State result = - com.google.firestore.admin.v1.Index.State.forNumber(state_); + @java.lang.Override public com.google.firestore.admin.v1.Index.State getState() { + com.google.firestore.admin.v1.Index.State result = com.google.firestore.admin.v1.Index.State.forNumber(state_); return result == null ? com.google.firestore.admin.v1.Index.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2231,12 +1989,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (queryScope_ - != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { + if (queryScope_ != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, queryScope_); } for (int i = 0; i < fields_.size(); i++) { @@ -2257,15 +2015,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (queryScope_ - != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, queryScope_); + if (queryScope_ != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, queryScope_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, fields_.get(i)); } if (state_ != com.google.firestore.admin.v1.Index.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2275,16 +2035,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Index)) { return super.equals(obj); } com.google.firestore.admin.v1.Index other = (com.google.firestore.admin.v1.Index) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (queryScope_ != other.queryScope_) return false; - if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getFieldsList() + .equals(other.getFieldsList())) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2312,103 +2074,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.Index parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Index parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Index parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.Index parseFrom(com.google.protobuf.ByteString data) + public static com.google.firestore.admin.v1.Index parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Index parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Index parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Index parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Index parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Index parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Index parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Index parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Index parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Index parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.Index prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Cloud Firestore indexes enable simple and complex queries against
    * documents in a database.
@@ -2416,32 +2172,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.Index}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Index)
       com.google.firestore.admin.v1.IndexOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.IndexProto
-          .internal_static_google_firestore_admin_v1_Index_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.IndexProto
-          .internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
+      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Index.class,
-              com.google.firestore.admin.v1.Index.Builder.class);
+              com.google.firestore.admin.v1.Index.class, com.google.firestore.admin.v1.Index.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Index.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2460,9 +2217,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.admin.v1.IndexProto
-          .internal_static_google_firestore_admin_v1_Index_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_descriptor;
     }
 
     @java.lang.Override
@@ -2483,9 +2240,7 @@ public com.google.firestore.admin.v1.Index build() {
     public com.google.firestore.admin.v1.Index buildPartial() {
       com.google.firestore.admin.v1.Index result = new com.google.firestore.admin.v1.Index(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -2519,39 +2274,38 @@ private void buildPartial0(com.google.firestore.admin.v1.Index result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.Index) {
-        return mergeFrom((com.google.firestore.admin.v1.Index) other);
+        return mergeFrom((com.google.firestore.admin.v1.Index)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2586,10 +2340,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Index other) {
             fieldsBuilder_ = null;
             fields_ = other.fields_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            fieldsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFieldsFieldBuilder()
-                    : null;
+            fieldsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFieldsFieldBuilder() : null;
           } else {
             fieldsBuilder_.addAllMessages(other.fields_);
           }
@@ -2624,44 +2377,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                queryScope_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                com.google.firestore.admin.v1.Index.IndexField m =
-                    input.readMessage(
-                        com.google.firestore.admin.v1.Index.IndexField.parser(), extensionRegistry);
-                if (fieldsBuilder_ == null) {
-                  ensureFieldsIsMutable();
-                  fields_.add(m);
-                } else {
-                  fieldsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 32:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              queryScope_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              com.google.firestore.admin.v1.Index.IndexField m =
+                  input.readMessage(
+                      com.google.firestore.admin.v1.Index.IndexField.parser(),
+                      extensionRegistry);
+              if (fieldsBuilder_ == null) {
+                ensureFieldsIsMutable();
+                fields_.add(m);
+              } else {
+                fieldsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 32: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2671,13 +2420,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2686,13 +2432,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2701,8 +2447,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2711,14 +2455,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2726,8 +2471,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2736,22 +2479,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2760,7 +2499,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2770,8 +2508,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2780,14 +2516,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2797,8 +2531,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int queryScope_ = 0; /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2809,16 +2541,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The enum numeric value on the wire for queryScope. */ - @java.lang.Override - public int getQueryScopeValue() { + @java.lang.Override public int getQueryScopeValue() { return queryScope_; } /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2829,7 +2557,6 @@ public int getQueryScopeValue() {
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @param value The enum numeric value on the wire for queryScope to set. * @return This builder for chaining. */ @@ -2840,8 +2567,6 @@ public Builder setQueryScopeValue(int value) { return this; } /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2852,18 +2577,14 @@ public Builder setQueryScopeValue(int value) {
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The queryScope. */ @java.lang.Override public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() { - com.google.firestore.admin.v1.Index.QueryScope result = - com.google.firestore.admin.v1.Index.QueryScope.forNumber(queryScope_); + com.google.firestore.admin.v1.Index.QueryScope result = com.google.firestore.admin.v1.Index.QueryScope.forNumber(queryScope_); return result == null ? com.google.firestore.admin.v1.Index.QueryScope.UNRECOGNIZED : result; } /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2874,7 +2595,6 @@ public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() {
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @param value The queryScope to set. * @return This builder for chaining. */ @@ -2888,8 +2608,6 @@ public Builder setQueryScope(com.google.firestore.admin.v1.Index.QueryScope valu return this; } /** - * - * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2900,7 +2618,6 @@ public Builder setQueryScope(com.google.firestore.admin.v1.Index.QueryScope valu
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return This builder for chaining. */ public Builder clearQueryScope() { @@ -2911,24 +2628,18 @@ public Builder clearQueryScope() { } private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index.IndexField, - com.google.firestore.admin.v1.Index.IndexField.Builder, - com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> - fieldsBuilder_; + com.google.firestore.admin.v1.Index.IndexField, com.google.firestore.admin.v1.Index.IndexField.Builder, com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> fieldsBuilder_; /** - * - * *
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2951,8 +2662,6 @@ public java.util.List getFieldsL
       }
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2975,8 +2684,6 @@ public int getFieldsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2999,8 +2706,6 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3015,7 +2720,8 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public Builder setFields(int index, com.google.firestore.admin.v1.Index.IndexField value) {
+    public Builder setFields(
+        int index, com.google.firestore.admin.v1.Index.IndexField value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3029,8 +2735,6 @@ public Builder setFields(int index, com.google.firestore.admin.v1.Index.IndexFie
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3057,8 +2761,6 @@ public Builder setFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3087,8 +2789,6 @@ public Builder addFields(com.google.firestore.admin.v1.Index.IndexField value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3103,7 +2803,8 @@ public Builder addFields(com.google.firestore.admin.v1.Index.IndexField value) {
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public Builder addFields(int index, com.google.firestore.admin.v1.Index.IndexField value) {
+    public Builder addFields(
+        int index, com.google.firestore.admin.v1.Index.IndexField value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3117,8 +2818,6 @@ public Builder addFields(int index, com.google.firestore.admin.v1.Index.IndexFie
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3145,8 +2844,6 @@ public Builder addFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3173,8 +2870,6 @@ public Builder addFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3193,7 +2888,8 @@ public Builder addAllFields(
         java.lang.Iterable values) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, fields_);
         onChanged();
       } else {
         fieldsBuilder_.addAllMessages(values);
@@ -3201,8 +2897,6 @@ public Builder addAllFields(
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3228,8 +2922,6 @@ public Builder clearFields() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3255,8 +2947,6 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3271,12 +2961,11 @@ public Builder removeFields(int index) {
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(int index) {
+    public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(
+        int index) {
       return getFieldsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3291,16 +2980,14 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(i
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(int index) {
+    public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(
+        int index) {
       if (fieldsBuilder_ == null) {
-        return fields_.get(index);
-      } else {
+        return fields_.get(index);  } else {
         return fieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3315,8 +3002,8 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public java.util.List
-        getFieldsOrBuilderList() {
+    public java.util.List 
+         getFieldsOrBuilderList() {
       if (fieldsBuilder_ != null) {
         return fieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -3324,8 +3011,6 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3341,12 +3026,10 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
     public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder() {
-      return getFieldsFieldBuilder()
-          .addBuilder(com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
+      return getFieldsFieldBuilder().addBuilder(
+          com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3361,13 +3044,12 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder()
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(int index) {
-      return getFieldsFieldBuilder()
-          .addBuilder(index, com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
+    public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(
+        int index) {
+      return getFieldsFieldBuilder().addBuilder(
+          index, com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3382,23 +3064,20 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(i
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public java.util.List
-        getFieldsBuilderList() {
+    public java.util.List 
+         getFieldsBuilderList() {
       return getFieldsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.admin.v1.Index.IndexField,
-            com.google.firestore.admin.v1.Index.IndexField.Builder,
-            com.google.firestore.admin.v1.Index.IndexFieldOrBuilder>
+        com.google.firestore.admin.v1.Index.IndexField, com.google.firestore.admin.v1.Index.IndexField.Builder, com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> 
         getFieldsFieldBuilder() {
       if (fieldsBuilder_ == null) {
-        fieldsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.admin.v1.Index.IndexField,
-                com.google.firestore.admin.v1.Index.IndexField.Builder,
-                com.google.firestore.admin.v1.Index.IndexFieldOrBuilder>(
-                fields_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.admin.v1.Index.IndexField, com.google.firestore.admin.v1.Index.IndexField.Builder, com.google.firestore.admin.v1.Index.IndexFieldOrBuilder>(
+                fields_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         fields_ = null;
       }
       return fieldsBuilder_;
@@ -3406,29 +3085,22 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(i
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3439,31 +3111,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @return The state. */ @java.lang.Override public com.google.firestore.admin.v1.Index.State getState() { - com.google.firestore.admin.v1.Index.State result = - com.google.firestore.admin.v1.Index.State.forNumber(state_); + com.google.firestore.admin.v1.Index.State result = com.google.firestore.admin.v1.Index.State.forNumber(state_); return result == null ? com.google.firestore.admin.v1.Index.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3477,14 +3142,11 @@ public Builder setState(com.google.firestore.admin.v1.Index.State value) { return this; } /** - * - * *
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @return This builder for chaining. */ public Builder clearState() { @@ -3493,9 +3155,9 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3505,12 +3167,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Index) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Index) private static final com.google.firestore.admin.v1.Index DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Index(); } @@ -3519,27 +3181,27 @@ public static com.google.firestore.admin.v1.Index getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Index parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Index parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3554,4 +3216,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Index getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java similarity index 100% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java similarity index 72% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java index 0f58c8d9a..109a29297 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** - * - * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.IndexOperationMetadata}
  */
-public final class IndexOperationMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IndexOperationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.IndexOperationMetadata)
     IndexOperationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IndexOperationMetadata.newBuilder() to construct.
   private IndexOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private IndexOperationMetadata() {
     index_ = "";
     state_ = 0;
@@ -45,41 +27,37 @@ private IndexOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IndexOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto
-        .internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto
-        .internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.IndexOperationMetadata.class,
-            com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
+            com.google.firestore.admin.v1.IndexOperationMetadata.class, com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
-   *
-   *
    * 
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -87,14 +65,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -102,8 +77,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time this operation started.
    * 
@@ -118,15 +91,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -134,15 +104,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -150,8 +117,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -165,19 +130,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   public static final int INDEX_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object index_ = "";
   /**
-   *
-   *
    * 
    * The index resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* * string index = 3; - * * @return The index. */ @java.lang.Override @@ -186,30 +147,30 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** - * - * *
    * The index resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* * string index = 3; - * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -220,49 +181,37 @@ public com.google.protobuf.ByteString getIndexBytes() { public static final int STATE_FIELD_NUMBER = 4; private int state_ = 0; /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return The state. */ - @java.lang.Override - public com.google.firestore.admin.v1.OperationState getState() { - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.forNumber(state_); + @java.lang.Override public com.google.firestore.admin.v1.OperationState getState() { + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(state_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } public static final int PROGRESS_DOCUMENTS_FIELD_NUMBER = 5; private com.google.firestore.admin.v1.Progress progressDocuments_; /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; - * * @return Whether the progressDocuments field is set. */ @java.lang.Override @@ -270,25 +219,18 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; - * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -297,22 +239,17 @@ public com.google.firestore.admin.v1.Progress getProgressDocuments() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder() { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 6; private com.google.firestore.admin.v1.Progress progressBytes_; /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; - * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -320,25 +257,18 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; - * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } /** - * - * *
    * The progress, in bytes, of this operation.
    * 
@@ -347,13 +277,10 @@ public com.google.firestore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,7 +292,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -375,8 +303,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, index_); } - if (state_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + if (state_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (progressDocuments_ != null) { @@ -395,23 +322,27 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, index_); } - if (state_ - != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (progressDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProgressDocuments()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getProgressDocuments()); } if (progressBytes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getProgressBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -421,31 +352,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.IndexOperationMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.IndexOperationMetadata other = - (com.google.firestore.admin.v1.IndexOperationMetadata) obj; + com.google.firestore.admin.v1.IndexOperationMetadata other = (com.google.firestore.admin.v1.IndexOperationMetadata) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getIndex().equals(other.getIndex())) return false; + if (!getIndex() + .equals(other.getIndex())) return false; if (state_ != other.state_) return false; if (hasProgressDocuments() != other.hasProgressDocuments()) return false; if (hasProgressDocuments()) { - if (!getProgressDocuments().equals(other.getProgressDocuments())) return false; + if (!getProgressDocuments() + .equals(other.getProgressDocuments())) return false; } if (hasProgressBytes() != other.hasProgressBytes()) return false; if (hasProgressBytes()) { - if (!getProgressBytes().equals(other.getProgressBytes())) return false; + if (!getProgressBytes() + .equals(other.getProgressBytes())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -484,103 +419,96 @@ public int hashCode() { } public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.IndexOperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.IndexOperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.IndexOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
    * [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
@@ -588,32 +516,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.IndexOperationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.IndexOperationMetadata)
       com.google.firestore.admin.v1.IndexOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.IndexOperationMetadata.class,
-              com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
+              com.google.firestore.admin.v1.IndexOperationMetadata.class, com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.IndexOperationMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -644,9 +573,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -665,11 +594,8 @@ public com.google.firestore.admin.v1.IndexOperationMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.IndexOperationMetadata buildPartial() {
-      com.google.firestore.admin.v1.IndexOperationMetadata result =
-          new com.google.firestore.admin.v1.IndexOperationMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.admin.v1.IndexOperationMetadata result = new com.google.firestore.admin.v1.IndexOperationMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -677,10 +603,14 @@ public com.google.firestore.admin.v1.IndexOperationMetadata buildPartial() {
     private void buildPartial0(com.google.firestore.admin.v1.IndexOperationMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.index_ = index_;
@@ -689,14 +619,14 @@ private void buildPartial0(com.google.firestore.admin.v1.IndexOperationMetadata
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.progressDocuments_ =
-            progressDocumentsBuilder_ == null
-                ? progressDocuments_
-                : progressDocumentsBuilder_.build();
+        result.progressDocuments_ = progressDocumentsBuilder_ == null
+            ? progressDocuments_
+            : progressDocumentsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.progressBytes_ =
-            progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build();
+        result.progressBytes_ = progressBytesBuilder_ == null
+            ? progressBytes_
+            : progressBytesBuilder_.build();
       }
     }
 
@@ -704,39 +634,38 @@ private void buildPartial0(com.google.firestore.admin.v1.IndexOperationMetadata
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.IndexOperationMetadata) {
-        return mergeFrom((com.google.firestore.admin.v1.IndexOperationMetadata) other);
+        return mergeFrom((com.google.firestore.admin.v1.IndexOperationMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -744,8 +673,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.IndexOperationMetadata other) {
-      if (other == com.google.firestore.admin.v1.IndexOperationMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.admin.v1.IndexOperationMetadata.getDefaultInstance()) return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -792,50 +720,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                index_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(
-                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              index_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getProgressDocumentsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getProgressBytesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -845,38 +773,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        startTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -887,8 +805,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time this operation started.
      * 
@@ -909,15 +825,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -928,8 +843,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -938,9 +851,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -953,8 +866,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -972,8 +883,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time this operation started.
      * 
@@ -986,8 +895,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time this operation started.
      * 
@@ -998,12 +905,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time this operation started.
      * 
@@ -1011,17 +917,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1029,35 +932,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1068,8 +962,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1091,8 +983,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1100,7 +990,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -1111,8 +1002,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1122,9 +1011,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -1137,8 +1026,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1157,8 +1044,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1172,8 +1057,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1185,12 +1068,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1199,17 +1081,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1217,21 +1096,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object index_ = "";
     /**
-     *
-     *
      * 
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; - * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -1240,22 +1117,21 @@ public java.lang.String getIndex() { } } /** - * - * *
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; - * * @return The bytes for index. */ - public com.google.protobuf.ByteString getIndexBytes() { + public com.google.protobuf.ByteString + getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); index_ = b; return b; } else { @@ -1263,37 +1139,30 @@ public com.google.protobuf.ByteString getIndexBytes() { } } /** - * - * *
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; - * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } index_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -1303,22 +1172,18 @@ public Builder clearIndex() { return this; } /** - * - * *
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; - * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000004; @@ -1328,29 +1193,22 @@ public Builder setIndexBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1361,31 +1219,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return The state. */ @java.lang.Override public com.google.firestore.admin.v1.OperationState getState() { - com.google.firestore.admin.v1.OperationState result = - com.google.firestore.admin.v1.OperationState.forNumber(state_); + com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(state_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1399,14 +1250,11 @@ public Builder setState(com.google.firestore.admin.v1.OperationState value) { return this; } /** - * - * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1418,47 +1266,34 @@ public Builder clearState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; - * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; - * * @return The progressDocuments. */ public com.google.firestore.admin.v1.Progress getProgressDocuments() { if (progressDocumentsBuilder_ == null) { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } else { return progressDocumentsBuilder_.getMessage(); } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1479,8 +1314,6 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1499,8 +1332,6 @@ public Builder setProgressDocuments( return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1509,9 +1340,9 @@ public Builder setProgressDocuments( */ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress value) { if (progressDocumentsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && progressDocuments_ != null - && progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + progressDocuments_ != null && + progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressDocumentsBuilder().mergeFrom(value); } else { progressDocuments_ = value; @@ -1524,8 +1355,6 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1543,8 +1372,6 @@ public Builder clearProgressDocuments() { return this; } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1557,8 +1384,6 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1569,14 +1394,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressDocuments_; + return progressDocuments_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; } } /** - * - * *
      * The progress, in documents, of this operation.
      * 
@@ -1584,17 +1406,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), getParentForChildren(), isClean()); + progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), + getParentForChildren(), + isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -1602,47 +1421,34 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> - progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; - * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; - * * @return The progressBytes. */ public com.google.firestore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1663,8 +1469,6 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1683,8 +1487,6 @@ public Builder setProgressBytes( return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1693,9 +1495,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && progressBytes_ != null - && progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + progressBytes_ != null && + progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -1708,8 +1510,6 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1727,8 +1527,6 @@ public Builder clearProgressBytes() { return this; } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1741,8 +1539,6 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1753,14 +1549,11 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null - ? com.google.firestore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? + com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } } /** - * - * *
      * The progress, in bytes, of this operation.
      * 
@@ -1768,24 +1561,21 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, - com.google.firestore.admin.v1.Progress.Builder, - com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), getParentForChildren(), isClean()); + progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), + getParentForChildren(), + isClean()); progressBytes_ = null; } return progressBytesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1795,12 +1585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.IndexOperationMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.IndexOperationMetadata) private static final com.google.firestore.admin.v1.IndexOperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.IndexOperationMetadata(); } @@ -1809,27 +1599,27 @@ public static com.google.firestore.admin.v1.IndexOperationMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1844,4 +1634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.IndexOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java similarity index 82% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java index 1a4a29da2..ed223fcf7 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface IndexOperationMetadataOrBuilder - extends +public interface IndexOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.IndexOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time this operation started.
    * 
@@ -59,34 +35,26 @@ public interface IndexOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -97,84 +65,65 @@ public interface IndexOperationMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The index resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* * string index = 3; - * * @return The index. */ java.lang.String getIndex(); /** - * - * *
    * The index resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* * string index = 3; - * * @return The bytes for index. */ - com.google.protobuf.ByteString getIndexBytes(); + com.google.protobuf.ByteString + getIndexBytes(); /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 4; - * * @return The state. */ com.google.firestore.admin.v1.OperationState getState(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; - * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; - * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** - * - * *
    * The progress, in documents, of this operation.
    * 
@@ -184,32 +133,24 @@ public interface IndexOperationMetadataOrBuilder com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; - * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; - * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** - * - * *
    * The progress, in bytes, of this operation.
    * 
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java similarity index 88% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java index 498fa9136..82872c483 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/index.proto package com.google.firestore.admin.v1; -public interface IndexOrBuilder - extends +public interface IndexOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Index) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -34,13 +16,10 @@ public interface IndexOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -49,14 +28,12 @@ public interface IndexOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -67,13 +44,10 @@ public interface IndexOrBuilder
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The enum numeric value on the wire for queryScope. */ int getQueryScopeValue(); /** - * - * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -84,14 +58,11 @@ public interface IndexOrBuilder
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; - * * @return The queryScope. */ com.google.firestore.admin.v1.Index.QueryScope getQueryScope(); /** - * - * *
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -106,10 +77,9 @@ public interface IndexOrBuilder
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  java.util.List getFieldsList();
+  java.util.List 
+      getFieldsList();
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -126,8 +96,6 @@ public interface IndexOrBuilder
    */
   com.google.firestore.admin.v1.Index.IndexField getFields(int index);
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -144,8 +112,6 @@ public interface IndexOrBuilder
    */
   int getFieldsCount();
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -160,11 +126,9 @@ public interface IndexOrBuilder
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  java.util.List
+  java.util.List 
       getFieldsOrBuilderList();
   /**
-   *
-   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -179,29 +143,24 @@ public interface IndexOrBuilder
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(int index);
+  com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; - * * @return The state. */ com.google.firestore.admin.v1.Index.State getState(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java new file mode 100644 index 000000000..ac6c90b14 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java @@ -0,0 +1,92 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/index.proto + +package com.google.firestore.admin.v1; + +public final class IndexProto { + private IndexProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Index_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Index_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n%google/firestore/admin/v1/index.proto\022" + + "\031google.firestore.admin.v1\032\031google/api/r" + + "esource.proto\"\243\006\n\005Index\022\014\n\004name\030\001 \001(\t\022@\n" + + "\013query_scope\030\002 \001(\0162+.google.firestore.ad" + + "min.v1.Index.QueryScope\022;\n\006fields\030\003 \003(\0132" + + "+.google.firestore.admin.v1.Index.IndexF" + + "ield\0225\n\005state\030\004 \001(\0162&.google.firestore.a" + + "dmin.v1.Index.State\032\275\002\n\nIndexField\022\022\n\nfi" + + "eld_path\030\001 \001(\t\022B\n\005order\030\002 \001(\01621.google.f" + + "irestore.admin.v1.Index.IndexField.Order" + + "H\000\022O\n\014array_config\030\003 \001(\01627.google.firest" + + "ore.admin.v1.Index.IndexField.ArrayConfi" + + "gH\000\"=\n\005Order\022\025\n\021ORDER_UNSPECIFIED\020\000\022\r\n\tA" + + "SCENDING\020\001\022\016\n\nDESCENDING\020\002\"9\n\013ArrayConfi" + + "g\022\034\n\030ARRAY_CONFIG_UNSPECIFIED\020\000\022\014\n\010CONTA" + + "INS\020\001B\014\n\nvalue_mode\"O\n\nQueryScope\022\033\n\027QUE" + + "RY_SCOPE_UNSPECIFIED\020\000\022\016\n\nCOLLECTION\020\001\022\024" + + "\n\020COLLECTION_GROUP\020\002\"I\n\005State\022\025\n\021STATE_U" + + "NSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\020\n" + + "\014NEEDS_REPAIR\020\003:z\352Aw\n\036firestore.googleap" + + "is.com/Index\022Uprojects/{project}/databas" + + "es/{database}/collectionGroups/{collecti" + + "on}/indexes/{index}B\331\001\n\035com.google.fires" + + "tore.admin.v1B\nIndexProtoP\001Z9cloud.googl" + + "e.com/go/firestore/apiv1/admin/adminpb;a" + + "dminpb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.A" + + "dmin.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V" + + "1\352\002#Google::Cloud::Firestore::Admin::V1b" + + "\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_firestore_admin_v1_Index_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_Index_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Index_descriptor, + new java.lang.String[] { "Name", "QueryScope", "Fields", "State", }); + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor = + internal_static_google_firestore_admin_v1_Index_descriptor.getNestedTypes().get(0); + internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor, + new java.lang.String[] { "FieldPath", "Order", "ArrayConfig", "ValueMode", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java similarity index 61% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java index 67d39c0b4..538729971 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java @@ -1,88 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * A request to list the Firestore Databases in all locations for a project.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesRequest} */ -public final class ListDatabasesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabasesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListDatabasesRequest) ListDatabasesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabasesRequest.newBuilder() to construct. private ListDatabasesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabasesRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabasesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListDatabasesRequest.class, - com.google.firestore.admin.v1.ListDatabasesRequest.Builder.class); + com.google.firestore.admin.v1.ListDatabasesRequest.class, com.google.firestore.admin.v1.ListDatabasesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,32 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,7 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListDatabasesRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListDatabasesRequest other = - (com.google.firestore.admin.v1.ListDatabasesRequest) obj; + com.google.firestore.admin.v1.ListDatabasesRequest other = (com.google.firestore.admin.v1.ListDatabasesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,135 +162,129 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListDatabasesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListDatabasesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ListDatabasesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request to list the Firestore Databases in all locations for a project.
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListDatabasesRequest) com.google.firestore.admin.v1.ListDatabasesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListDatabasesRequest.class, - com.google.firestore.admin.v1.ListDatabasesRequest.Builder.class); + com.google.firestore.admin.v1.ListDatabasesRequest.class, com.google.firestore.admin.v1.ListDatabasesRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ListDatabasesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +294,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; } @java.lang.Override @@ -348,11 +315,8 @@ public com.google.firestore.admin.v1.ListDatabasesRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ListDatabasesRequest buildPartial() { - com.google.firestore.admin.v1.ListDatabasesRequest result = - new com.google.firestore.admin.v1.ListDatabasesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.ListDatabasesRequest result = new com.google.firestore.admin.v1.ListDatabasesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -368,39 +332,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ListDatabasesRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListDatabasesRequest) { - return mergeFrom((com.google.firestore.admin.v1.ListDatabasesRequest) other); + return mergeFrom((com.google.firestore.admin.v1.ListDatabasesRequest)other); } else { super.mergeFrom(other); return this; @@ -408,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListDatabasesRequest other) { - if (other == com.google.firestore.admin.v1.ListDatabasesRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListDatabasesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -441,19 +403,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -463,28 +423,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -493,24 +448,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -518,41 +470,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -562,33 +503,27 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListDatabasesRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListDatabasesRequest) private static final com.google.firestore.admin.v1.ListDatabasesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListDatabasesRequest(); } @@ -612,27 +547,27 @@ public static com.google.firestore.admin.v1.ListDatabasesRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabasesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabasesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListDatabasesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java new file mode 100644 index 000000000..9d60d066a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface ListDatabasesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListDatabasesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. A parent name of the form
+   * `projects/{project_id}`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. A parent name of the form
+   * `projects/{project_id}`
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java similarity index 70% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java index 628702743..c2258eb34 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java @@ -1,79 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The list of databases for a project.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesResponse} */ -public final class ListDatabasesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDatabasesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListDatabasesResponse) ListDatabasesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDatabasesResponse.newBuilder() to construct. private ListDatabasesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDatabasesResponse() { databases_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDatabasesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListDatabasesResponse.class, - com.google.firestore.admin.v1.ListDatabasesResponse.Builder.class); + com.google.firestore.admin.v1.ListDatabasesResponse.class, com.google.firestore.admin.v1.ListDatabasesResponse.Builder.class); } public static final int DATABASES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List databases_; /** - * - * *
    * The databases in the project.
    * 
@@ -85,8 +63,6 @@ public java.util.List getDatabasesList() return databases_; } /** - * - * *
    * The databases in the project.
    * 
@@ -94,13 +70,11 @@ public java.util.List getDatabasesList() * repeated .google.firestore.admin.v1.Database databases = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDatabasesOrBuilderList() { return databases_; } /** - * - * *
    * The databases in the project.
    * 
@@ -112,8 +86,6 @@ public int getDatabasesCount() { return databases_.size(); } /** - * - * *
    * The databases in the project.
    * 
@@ -125,8 +97,6 @@ public com.google.firestore.admin.v1.Database getDatabases(int index) { return databases_.get(index); } /** - * - * *
    * The databases in the project.
    * 
@@ -134,12 +104,12 @@ public com.google.firestore.admin.v1.Database getDatabases(int index) { * repeated .google.firestore.admin.v1.Database databases = 1; */ @java.lang.Override - public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { + public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index) { return databases_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < databases_.size(); i++) { output.writeMessage(1, databases_.get(i)); } @@ -165,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < databases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, databases_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, databases_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,15 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListDatabasesResponse)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListDatabasesResponse other = - (com.google.firestore.admin.v1.ListDatabasesResponse) obj; + com.google.firestore.admin.v1.ListDatabasesResponse other = (com.google.firestore.admin.v1.ListDatabasesResponse) obj; - if (!getDatabasesList().equals(other.getDatabasesList())) return false; + if (!getDatabasesList() + .equals(other.getDatabasesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,135 +177,129 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListDatabasesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListDatabasesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ListDatabasesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The list of databases for a project.
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListDatabasesResponse) com.google.firestore.admin.v1.ListDatabasesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListDatabasesResponse.class, - com.google.firestore.admin.v1.ListDatabasesResponse.Builder.class); + com.google.firestore.admin.v1.ListDatabasesResponse.class, com.google.firestore.admin.v1.ListDatabasesResponse.Builder.class); } // Construct using com.google.firestore.admin.v1.ListDatabasesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +315,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; } @java.lang.Override @@ -370,18 +336,14 @@ public com.google.firestore.admin.v1.ListDatabasesResponse build() { @java.lang.Override public com.google.firestore.admin.v1.ListDatabasesResponse buildPartial() { - com.google.firestore.admin.v1.ListDatabasesResponse result = - new com.google.firestore.admin.v1.ListDatabasesResponse(this); + com.google.firestore.admin.v1.ListDatabasesResponse result = new com.google.firestore.admin.v1.ListDatabasesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.firestore.admin.v1.ListDatabasesResponse result) { + private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ListDatabasesResponse result) { if (databasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { databases_ = java.util.Collections.unmodifiableList(databases_); @@ -401,39 +363,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ListDatabasesResponse r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListDatabasesResponse) { - return mergeFrom((com.google.firestore.admin.v1.ListDatabasesResponse) other); + return mergeFrom((com.google.firestore.admin.v1.ListDatabasesResponse)other); } else { super.mergeFrom(other); return this; @@ -441,8 +402,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListDatabasesResponse other) { - if (other == com.google.firestore.admin.v1.ListDatabasesResponse.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListDatabasesResponse.getDefaultInstance()) return this; if (databasesBuilder_ == null) { if (!other.databases_.isEmpty()) { if (databases_.isEmpty()) { @@ -461,10 +421,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListDatabasesResponse oth databasesBuilder_ = null; databases_ = other.databases_; bitField0_ = (bitField0_ & ~0x00000001); - databasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDatabasesFieldBuilder() - : null; + databasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDatabasesFieldBuilder() : null; } else { databasesBuilder_.addAllMessages(other.databases_); } @@ -496,26 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.firestore.admin.v1.Database m = - input.readMessage( - com.google.firestore.admin.v1.Database.parser(), extensionRegistry); - if (databasesBuilder_ == null) { - ensureDatabasesIsMutable(); - databases_.add(m); - } else { - databasesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.firestore.admin.v1.Database m = + input.readMessage( + com.google.firestore.admin.v1.Database.parser(), + extensionRegistry); + if (databasesBuilder_ == null) { + ensureDatabasesIsMutable(); + databases_.add(m); + } else { + databasesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -525,28 +483,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List databases_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDatabasesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { databases_ = new java.util.ArrayList(databases_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Database, - com.google.firestore.admin.v1.Database.Builder, - com.google.firestore.admin.v1.DatabaseOrBuilder> - databasesBuilder_; + com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder> databasesBuilder_; /** - * - * *
      * The databases in the project.
      * 
@@ -561,8 +512,6 @@ public java.util.List getDatabasesList() } } /** - * - * *
      * The databases in the project.
      * 
@@ -577,8 +526,6 @@ public int getDatabasesCount() { } } /** - * - * *
      * The databases in the project.
      * 
@@ -593,15 +540,14 @@ public com.google.firestore.admin.v1.Database getDatabases(int index) { } } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public Builder setDatabases(int index, com.google.firestore.admin.v1.Database value) { + public Builder setDatabases( + int index, com.google.firestore.admin.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -615,8 +561,6 @@ public Builder setDatabases(int index, com.google.firestore.admin.v1.Database va return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -635,8 +579,6 @@ public Builder setDatabases( return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -657,15 +599,14 @@ public Builder addDatabases(com.google.firestore.admin.v1.Database value) { return this; } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public Builder addDatabases(int index, com.google.firestore.admin.v1.Database value) { + public Builder addDatabases( + int index, com.google.firestore.admin.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,15 +620,14 @@ public Builder addDatabases(int index, com.google.firestore.admin.v1.Database va return this; } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public Builder addDatabases(com.google.firestore.admin.v1.Database.Builder builderForValue) { + public Builder addDatabases( + com.google.firestore.admin.v1.Database.Builder builderForValue) { if (databasesBuilder_ == null) { ensureDatabasesIsMutable(); databases_.add(builderForValue.build()); @@ -698,8 +638,6 @@ public Builder addDatabases(com.google.firestore.admin.v1.Database.Builder build return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -718,8 +656,6 @@ public Builder addDatabases( return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -730,7 +666,8 @@ public Builder addAllDatabases( java.lang.Iterable values) { if (databasesBuilder_ == null) { ensureDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, databases_); onChanged(); } else { databasesBuilder_.addAllMessages(values); @@ -738,8 +675,6 @@ public Builder addAllDatabases( return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -757,8 +692,6 @@ public Builder clearDatabases() { return this; } /** - * - * *
      * The databases in the project.
      * 
@@ -776,44 +709,39 @@ public Builder removeDatabases(int index) { return this; } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public com.google.firestore.admin.v1.Database.Builder getDatabasesBuilder(int index) { + public com.google.firestore.admin.v1.Database.Builder getDatabasesBuilder( + int index) { return getDatabasesFieldBuilder().getBuilder(index); } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { + public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index) { if (databasesBuilder_ == null) { - return databases_.get(index); - } else { + return databases_.get(index); } else { return databasesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public java.util.List - getDatabasesOrBuilderList() { + public java.util.List + getDatabasesOrBuilderList() { if (databasesBuilder_ != null) { return databasesBuilder_.getMessageOrBuilderList(); } else { @@ -821,8 +749,6 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int } } /** - * - * *
      * The databases in the project.
      * 
@@ -830,55 +756,49 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int * repeated .google.firestore.admin.v1.Database databases = 1; */ public com.google.firestore.admin.v1.Database.Builder addDatabasesBuilder() { - return getDatabasesFieldBuilder() - .addBuilder(com.google.firestore.admin.v1.Database.getDefaultInstance()); + return getDatabasesFieldBuilder().addBuilder( + com.google.firestore.admin.v1.Database.getDefaultInstance()); } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public com.google.firestore.admin.v1.Database.Builder addDatabasesBuilder(int index) { - return getDatabasesFieldBuilder() - .addBuilder(index, com.google.firestore.admin.v1.Database.getDefaultInstance()); + public com.google.firestore.admin.v1.Database.Builder addDatabasesBuilder( + int index) { + return getDatabasesFieldBuilder().addBuilder( + index, com.google.firestore.admin.v1.Database.getDefaultInstance()); } /** - * - * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public java.util.List - getDatabasesBuilderList() { + public java.util.List + getDatabasesBuilderList() { return getDatabasesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Database, - com.google.firestore.admin.v1.Database.Builder, - com.google.firestore.admin.v1.DatabaseOrBuilder> + com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder> getDatabasesFieldBuilder() { if (databasesBuilder_ == null) { - databasesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Database, - com.google.firestore.admin.v1.Database.Builder, - com.google.firestore.admin.v1.DatabaseOrBuilder>( - databases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + databasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder>( + databases_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); databases_ = null; } return databasesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -888,12 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListDatabasesResponse) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListDatabasesResponse) private static final com.google.firestore.admin.v1.ListDatabasesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListDatabasesResponse(); } @@ -902,27 +822,27 @@ public static com.google.firestore.admin.v1.ListDatabasesResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabasesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabasesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -937,4 +857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListDatabasesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java similarity index 61% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java index 251d16fad..6f8c2438d 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListDatabasesResponseOrBuilder - extends +public interface ListDatabasesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListDatabasesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The databases in the project.
    * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - java.util.List getDatabasesList(); + java.util.List + getDatabasesList(); /** - * - * *
    * The databases in the project.
    * 
@@ -44,8 +25,6 @@ public interface ListDatabasesResponseOrBuilder */ com.google.firestore.admin.v1.Database getDatabases(int index); /** - * - * *
    * The databases in the project.
    * 
@@ -54,24 +33,21 @@ public interface ListDatabasesResponseOrBuilder */ int getDatabasesCount(); /** - * - * *
    * The databases in the project.
    * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - java.util.List + java.util.List getDatabasesOrBuilderList(); /** - * - * *
    * The databases in the project.
    * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index); + com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( + int index); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java similarity index 70% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java index 40b2c012b..6c250835c 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsRequest} */ -public final class ListFieldsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFieldsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListFieldsRequest) ListFieldsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFieldsRequest.newBuilder() to construct. private ListFieldsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFieldsRequest() { parent_ = ""; filter_ = ""; @@ -45,46 +27,39 @@ private ListFieldsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFieldsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsRequest.class, - com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); + com.google.firestore.admin.v1.ListFieldsRequest.class, com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,12 +100,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -142,7 +112,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -151,15 +120,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -169,15 +137,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -188,14 +157,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * The number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -204,12 +170,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -217,7 +180,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -226,15 +188,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -242,15 +203,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -259,7 +221,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -300,7 +262,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -313,18 +276,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListFieldsRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListFieldsRequest other = - (com.google.firestore.admin.v1.ListFieldsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.firestore.admin.v1.ListFieldsRequest other = (com.google.firestore.admin.v1.ListFieldsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -349,136 +315,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListFieldsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListFieldsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ListFieldsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListFieldsRequest) com.google.firestore.admin.v1.ListFieldsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsRequest.class, - com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); + com.google.firestore.admin.v1.ListFieldsRequest.class, com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ListFieldsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -491,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; } @java.lang.Override @@ -512,11 +472,8 @@ public com.google.firestore.admin.v1.ListFieldsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ListFieldsRequest buildPartial() { - com.google.firestore.admin.v1.ListFieldsRequest result = - new com.google.firestore.admin.v1.ListFieldsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.ListFieldsRequest result = new com.google.firestore.admin.v1.ListFieldsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -541,39 +498,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ListFieldsRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListFieldsRequest) { - return mergeFrom((com.google.firestore.admin.v1.ListFieldsRequest) other); + return mergeFrom((com.google.firestore.admin.v1.ListFieldsRequest)other); } else { super.mergeFrom(other); return this; @@ -581,8 +537,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsRequest other) { - if (other == com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -627,37 +582,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -667,28 +617,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -697,24 +642,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -722,41 +664,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -766,24 +697,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -793,8 +718,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -804,13 +727,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -819,8 +742,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -830,14 +751,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -845,8 +767,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -856,22 +776,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -881,7 +797,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -891,8 +806,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -902,14 +815,12 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -917,16 +828,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -934,33 +842,27 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -972,8 +874,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -981,13 +881,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -996,8 +896,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -1005,14 +903,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1020,8 +919,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -1029,22 +926,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -1052,7 +945,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1062,8 +954,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -1071,23 +961,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +985,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListFieldsRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListFieldsRequest) private static final com.google.firestore.admin.v1.ListFieldsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListFieldsRequest(); } @@ -1111,27 +999,27 @@ public static com.google.firestore.admin.v1.ListFieldsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFieldsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFieldsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1146,4 +1034,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListFieldsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java index b92a37ddd..3b4e824ec 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListFieldsRequestOrBuilder - extends +public interface ListFieldsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListFieldsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -66,13 +39,10 @@ public interface ListFieldsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -82,27 +52,22 @@ public interface ListFieldsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -110,13 +75,10 @@ public interface ListFieldsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -124,8 +86,8 @@ public interface ListFieldsRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java similarity index 71% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java index 0ec5ec8a4..843b33af4 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsResponse} */ -public final class ListFieldsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFieldsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListFieldsResponse) ListFieldsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFieldsResponse.newBuilder() to construct. private ListFieldsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFieldsResponse() { fields_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListFieldsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFieldsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsResponse.class, - com.google.firestore.admin.v1.ListFieldsResponse.Builder.class); + com.google.firestore.admin.v1.ListFieldsResponse.class, com.google.firestore.admin.v1.ListFieldsResponse.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * The requested fields.
    * 
@@ -86,8 +64,6 @@ public java.util.List getFieldsList() { return fields_; } /** - * - * *
    * The requested fields.
    * 
@@ -95,13 +71,11 @@ public java.util.List getFieldsList() { * repeated .google.firestore.admin.v1.Field fields = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
    * The requested fields.
    * 
@@ -113,8 +87,6 @@ public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * The requested fields.
    * 
@@ -126,8 +98,6 @@ public com.google.firestore.admin.v1.Field getFields(int index) { return fields_.get(index); } /** - * - * *
    * The requested fields.
    * 
@@ -135,24 +105,21 @@ public com.google.firestore.admin.v1.Field getFields(int index) { * repeated .google.firestore.admin.v1.Field fields = 1; */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index) { + public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( + int index) { return fields_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < fields_.size(); i++) { output.writeMessage(1, fields_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListFieldsResponse)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListFieldsResponse other = - (com.google.firestore.admin.v1.ListFieldsResponse) obj; + com.google.firestore.admin.v1.ListFieldsResponse other = (com.google.firestore.admin.v1.ListFieldsResponse) obj; - if (!getFieldsList().equals(other.getFieldsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFieldsList() + .equals(other.getFieldsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -267,136 +236,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListFieldsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListFieldsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ListFieldsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListFieldsResponse) com.google.firestore.admin.v1.ListFieldsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsResponse.class, - com.google.firestore.admin.v1.ListFieldsResponse.Builder.class); + com.google.firestore.admin.v1.ListFieldsResponse.class, com.google.firestore.admin.v1.ListFieldsResponse.Builder.class); } // Construct using com.google.firestore.admin.v1.ListFieldsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -413,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; } @java.lang.Override @@ -434,18 +397,14 @@ public com.google.firestore.admin.v1.ListFieldsResponse build() { @java.lang.Override public com.google.firestore.admin.v1.ListFieldsResponse buildPartial() { - com.google.firestore.admin.v1.ListFieldsResponse result = - new com.google.firestore.admin.v1.ListFieldsResponse(this); + com.google.firestore.admin.v1.ListFieldsResponse result = new com.google.firestore.admin.v1.ListFieldsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.firestore.admin.v1.ListFieldsResponse result) { + private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ListFieldsResponse result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -468,39 +427,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ListFieldsResponse resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListFieldsResponse) { - return mergeFrom((com.google.firestore.admin.v1.ListFieldsResponse) other); + return mergeFrom((com.google.firestore.admin.v1.ListFieldsResponse)other); } else { super.mergeFrom(other); return this; @@ -508,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsResponse other) { - if (other == com.google.firestore.admin.v1.ListFieldsResponse.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListFieldsResponse.getDefaultInstance()) return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { @@ -528,10 +485,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsResponse other) fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -568,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.firestore.admin.v1.Field m = - input.readMessage( - com.google.firestore.admin.v1.Field.parser(), extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.firestore.admin.v1.Field m = + input.readMessage( + com.google.firestore.admin.v1.Field.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -603,28 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Field, - com.google.firestore.admin.v1.Field.Builder, - com.google.firestore.admin.v1.FieldOrBuilder> - fieldsBuilder_; + com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder> fieldsBuilder_; /** - * - * *
      * The requested fields.
      * 
@@ -639,8 +586,6 @@ public java.util.List getFieldsList() { } } /** - * - * *
      * The requested fields.
      * 
@@ -655,8 +600,6 @@ public int getFieldsCount() { } } /** - * - * *
      * The requested fields.
      * 
@@ -671,15 +614,14 @@ public com.google.firestore.admin.v1.Field getFields(int index) { } } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public Builder setFields(int index, com.google.firestore.admin.v1.Field value) { + public Builder setFields( + int index, com.google.firestore.admin.v1.Field value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,8 +635,6 @@ public Builder setFields(int index, com.google.firestore.admin.v1.Field value) { return this; } /** - * - * *
      * The requested fields.
      * 
@@ -713,8 +653,6 @@ public Builder setFields( return this; } /** - * - * *
      * The requested fields.
      * 
@@ -735,15 +673,14 @@ public Builder addFields(com.google.firestore.admin.v1.Field value) { return this; } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public Builder addFields(int index, com.google.firestore.admin.v1.Field value) { + public Builder addFields( + int index, com.google.firestore.admin.v1.Field value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,15 +694,14 @@ public Builder addFields(int index, com.google.firestore.admin.v1.Field value) { return this; } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public Builder addFields(com.google.firestore.admin.v1.Field.Builder builderForValue) { + public Builder addFields( + com.google.firestore.admin.v1.Field.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); @@ -776,8 +712,6 @@ public Builder addFields(com.google.firestore.admin.v1.Field.Builder builderForV return this; } /** - * - * *
      * The requested fields.
      * 
@@ -796,8 +730,6 @@ public Builder addFields( return this; } /** - * - * *
      * The requested fields.
      * 
@@ -808,7 +740,8 @@ public Builder addAllFields( java.lang.Iterable values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -816,8 +749,6 @@ public Builder addAllFields( return this; } /** - * - * *
      * The requested fields.
      * 
@@ -835,8 +766,6 @@ public Builder clearFields() { return this; } /** - * - * *
      * The requested fields.
      * 
@@ -854,44 +783,39 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public com.google.firestore.admin.v1.Field.Builder getFieldsBuilder(int index) { + public com.google.firestore.admin.v1.Field.Builder getFieldsBuilder( + int index) { return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index) { + public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( + int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -899,8 +823,6 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index } } /** - * - * *
      * The requested fields.
      * 
@@ -908,47 +830,42 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index * repeated .google.firestore.admin.v1.Field fields = 1; */ public com.google.firestore.admin.v1.Field.Builder addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder(com.google.firestore.admin.v1.Field.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + com.google.firestore.admin.v1.Field.getDefaultInstance()); } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public com.google.firestore.admin.v1.Field.Builder addFieldsBuilder(int index) { - return getFieldsFieldBuilder() - .addBuilder(index, com.google.firestore.admin.v1.Field.getDefaultInstance()); + public com.google.firestore.admin.v1.Field.Builder addFieldsBuilder( + int index) { + return getFieldsFieldBuilder().addBuilder( + index, com.google.firestore.admin.v1.Field.getDefaultInstance()); } /** - * - * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public java.util.List getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Field, - com.google.firestore.admin.v1.Field.Builder, - com.google.firestore.admin.v1.FieldOrBuilder> + com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Field, - com.google.firestore.admin.v1.Field.Builder, - com.google.firestore.admin.v1.FieldOrBuilder>( - fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder>( + fields_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; @@ -956,21 +873,19 @@ public java.util.List getFieldsBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -979,22 +894,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1002,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1042,31 +949,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1076,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListFieldsResponse) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListFieldsResponse) private static final com.google.firestore.admin.v1.ListFieldsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListFieldsResponse(); } @@ -1090,27 +993,27 @@ public static com.google.firestore.admin.v1.ListFieldsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFieldsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFieldsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1125,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListFieldsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java index f855d32e5..48e953d23 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListFieldsResponseOrBuilder - extends +public interface ListFieldsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListFieldsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The requested fields.
    * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
    * The requested fields.
    * 
@@ -44,8 +25,6 @@ public interface ListFieldsResponseOrBuilder */ com.google.firestore.admin.v1.Field getFields(int index); /** - * - * *
    * The requested fields.
    * 
@@ -54,50 +33,43 @@ public interface ListFieldsResponseOrBuilder */ int getFieldsCount(); /** - * - * *
    * The requested fields.
    * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - java.util.List getFieldsOrBuilderList(); + java.util.List + getFieldsOrBuilderList(); /** - * - * *
    * The requested fields.
    * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index); + com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( + int index); /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java similarity index 68% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java index 3e7633be6..ed797cba2 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesRequest} */ -public final class ListIndexesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListIndexesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListIndexesRequest) ListIndexesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListIndexesRequest.newBuilder() to construct. private ListIndexesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListIndexesRequest() { parent_ = ""; filter_ = ""; @@ -45,46 +27,39 @@ private ListIndexesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListIndexesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesRequest.class, - com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); + com.google.firestore.admin.v1.ListIndexesRequest.class, com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,18 +100,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -147,29 +116,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -180,14 +149,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * The number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -196,12 +162,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -209,7 +172,6 @@ public int getPageSize() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -218,15 +180,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -234,15 +195,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -251,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,7 +254,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -305,18 +268,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListIndexesRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListIndexesRequest other = - (com.google.firestore.admin.v1.ListIndexesRequest) obj; + com.google.firestore.admin.v1.ListIndexesRequest other = (com.google.firestore.admin.v1.ListIndexesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -341,136 +307,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListIndexesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListIndexesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ListIndexesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListIndexesRequest) com.google.firestore.admin.v1.ListIndexesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesRequest.class, - com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); + com.google.firestore.admin.v1.ListIndexesRequest.class, com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ListIndexesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; } @java.lang.Override @@ -504,11 +464,8 @@ public com.google.firestore.admin.v1.ListIndexesRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ListIndexesRequest buildPartial() { - com.google.firestore.admin.v1.ListIndexesRequest result = - new com.google.firestore.admin.v1.ListIndexesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.ListIndexesRequest result = new com.google.firestore.admin.v1.ListIndexesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -533,39 +490,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ListIndexesRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListIndexesRequest) { - return mergeFrom((com.google.firestore.admin.v1.ListIndexesRequest) other); + return mergeFrom((com.google.firestore.admin.v1.ListIndexesRequest)other); } else { super.mergeFrom(other); return this; @@ -573,8 +529,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesRequest other) { - if (other == com.google.firestore.admin.v1.ListIndexesRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListIndexesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -619,37 +574,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -659,28 +609,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -689,24 +634,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -714,41 +656,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -758,24 +689,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -785,20 +710,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -807,21 +730,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -829,35 +751,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -867,21 +782,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * The filter to apply to list results.
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -889,16 +800,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -906,33 +814,27 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The number of results to return.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -944,8 +846,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -953,13 +853,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -968,8 +868,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -977,14 +875,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -992,8 +891,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -1001,22 +898,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -1024,7 +917,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1034,8 +926,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -1043,23 +933,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1069,12 +957,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListIndexesRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListIndexesRequest) private static final com.google.firestore.admin.v1.ListIndexesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListIndexesRequest(); } @@ -1083,27 +971,27 @@ public static com.google.firestore.admin.v1.ListIndexesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIndexesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIndexesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1118,4 +1006,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListIndexesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java index abf086c2a..9fb9cfe3d 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java @@ -1,100 +1,65 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListIndexesRequestOrBuilder - extends +public interface ListIndexesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListIndexesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * The filter to apply to list results.
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The number of results to return.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -102,13 +67,10 @@ public interface ListIndexesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -116,8 +78,8 @@ public interface ListIndexesRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java similarity index 71% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java index eec16b8c7..5ceabee65 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesResponse} */ -public final class ListIndexesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListIndexesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListIndexesResponse) ListIndexesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListIndexesResponse.newBuilder() to construct. private ListIndexesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListIndexesResponse() { indexes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,37 +26,33 @@ private ListIndexesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListIndexesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesResponse.class, - com.google.firestore.admin.v1.ListIndexesResponse.Builder.class); + com.google.firestore.admin.v1.ListIndexesResponse.class, com.google.firestore.admin.v1.ListIndexesResponse.Builder.class); } public static final int INDEXES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List indexes_; /** - * - * *
    * The requested indexes.
    * 
@@ -86,8 +64,6 @@ public java.util.List getIndexesList() { return indexes_; } /** - * - * *
    * The requested indexes.
    * 
@@ -95,13 +71,11 @@ public java.util.List getIndexesList() { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIndexesOrBuilderList() { return indexes_; } /** - * - * *
    * The requested indexes.
    * 
@@ -113,8 +87,6 @@ public int getIndexesCount() { return indexes_.size(); } /** - * - * *
    * The requested indexes.
    * 
@@ -126,8 +98,6 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** - * - * *
    * The requested indexes.
    * 
@@ -135,24 +105,21 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index) { return indexes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -161,30 +128,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -193,7 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < indexes_.size(); i++) { output.writeMessage(1, indexes_.get(i)); } @@ -222,7 +189,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < indexes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, indexes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, indexes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -235,16 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListIndexesResponse)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListIndexesResponse other = - (com.google.firestore.admin.v1.ListIndexesResponse) obj; + com.google.firestore.admin.v1.ListIndexesResponse other = (com.google.firestore.admin.v1.ListIndexesResponse) obj; - if (!getIndexesList().equals(other.getIndexesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getIndexesList() + .equals(other.getIndexesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,135 +237,129 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.ListIndexesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.ListIndexesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ListIndexesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListIndexesResponse) com.google.firestore.admin.v1.ListIndexesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesResponse.class, - com.google.firestore.admin.v1.ListIndexesResponse.Builder.class); + com.google.firestore.admin.v1.ListIndexesResponse.class, com.google.firestore.admin.v1.ListIndexesResponse.Builder.class); } // Construct using com.google.firestore.admin.v1.ListIndexesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -413,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; } @java.lang.Override @@ -434,18 +397,14 @@ public com.google.firestore.admin.v1.ListIndexesResponse build() { @java.lang.Override public com.google.firestore.admin.v1.ListIndexesResponse buildPartial() { - com.google.firestore.admin.v1.ListIndexesResponse result = - new com.google.firestore.admin.v1.ListIndexesResponse(this); + com.google.firestore.admin.v1.ListIndexesResponse result = new com.google.firestore.admin.v1.ListIndexesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.firestore.admin.v1.ListIndexesResponse result) { + private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ListIndexesResponse result) { if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { indexes_ = java.util.Collections.unmodifiableList(indexes_); @@ -468,39 +427,38 @@ private void buildPartial0(com.google.firestore.admin.v1.ListIndexesResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListIndexesResponse) { - return mergeFrom((com.google.firestore.admin.v1.ListIndexesResponse) other); + return mergeFrom((com.google.firestore.admin.v1.ListIndexesResponse)other); } else { super.mergeFrom(other); return this; @@ -508,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesResponse other) { - if (other == com.google.firestore.admin.v1.ListIndexesResponse.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.ListIndexesResponse.getDefaultInstance()) return this; if (indexesBuilder_ == null) { if (!other.indexes_.isEmpty()) { if (indexes_.isEmpty()) { @@ -528,10 +485,9 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesResponse other indexesBuilder_ = null; indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000001); - indexesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIndexesFieldBuilder() - : null; + indexesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIndexesFieldBuilder() : null; } else { indexesBuilder_.addAllMessages(other.indexes_); } @@ -568,32 +524,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.firestore.admin.v1.Index m = - input.readMessage( - com.google.firestore.admin.v1.Index.parser(), extensionRegistry); - if (indexesBuilder_ == null) { - ensureIndexesIsMutable(); - indexes_.add(m); - } else { - indexesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.firestore.admin.v1.Index m = + input.readMessage( + com.google.firestore.admin.v1.Index.parser(), + extensionRegistry); + if (indexesBuilder_ == null) { + ensureIndexesIsMutable(); + indexes_.add(m); + } else { + indexesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -603,28 +557,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List indexes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIndexesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { indexes_ = new java.util.ArrayList(indexes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> - indexesBuilder_; + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> indexesBuilder_; /** - * - * *
      * The requested indexes.
      * 
@@ -639,8 +586,6 @@ public java.util.List getIndexesList() { } } /** - * - * *
      * The requested indexes.
      * 
@@ -655,8 +600,6 @@ public int getIndexesCount() { } } /** - * - * *
      * The requested indexes.
      * 
@@ -671,15 +614,14 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { } } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder setIndexes(int index, com.google.firestore.admin.v1.Index value) { + public Builder setIndexes( + int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -693,8 +635,6 @@ public Builder setIndexes(int index, com.google.firestore.admin.v1.Index value) return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -713,8 +653,6 @@ public Builder setIndexes( return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -735,15 +673,14 @@ public Builder addIndexes(com.google.firestore.admin.v1.Index value) { return this; } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes(int index, com.google.firestore.admin.v1.Index value) { + public Builder addIndexes( + int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,15 +694,14 @@ public Builder addIndexes(int index, com.google.firestore.admin.v1.Index value) return this; } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes(com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder addIndexes( + com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(builderForValue.build()); @@ -776,8 +712,6 @@ public Builder addIndexes(com.google.firestore.admin.v1.Index.Builder builderFor return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -796,8 +730,6 @@ public Builder addIndexes( return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -808,7 +740,8 @@ public Builder addAllIndexes( java.lang.Iterable values) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, indexes_); onChanged(); } else { indexesBuilder_.addAllMessages(values); @@ -816,8 +749,6 @@ public Builder addAllIndexes( return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -835,8 +766,6 @@ public Builder clearIndexes() { return this; } /** - * - * *
      * The requested indexes.
      * 
@@ -854,44 +783,39 @@ public Builder removeIndexes(int index) { return this; } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder(int index) { + public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder( + int index) { return getIndexesFieldBuilder().getBuilder(index); } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index) { if (indexesBuilder_ == null) { - return indexes_.get(index); - } else { + return indexes_.get(index); } else { return indexesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List - getIndexesOrBuilderList() { + public java.util.List + getIndexesOrBuilderList() { if (indexesBuilder_ != null) { return indexesBuilder_.getMessageOrBuilderList(); } else { @@ -899,8 +823,6 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde } } /** - * - * *
      * The requested indexes.
      * 
@@ -908,47 +830,42 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde * repeated .google.firestore.admin.v1.Index indexes = 1; */ public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder() { - return getIndexesFieldBuilder() - .addBuilder(com.google.firestore.admin.v1.Index.getDefaultInstance()); + return getIndexesFieldBuilder().addBuilder( + com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder(int index) { - return getIndexesFieldBuilder() - .addBuilder(index, com.google.firestore.admin.v1.Index.getDefaultInstance()); + public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder( + int index) { + return getIndexesFieldBuilder().addBuilder( + index, com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** - * - * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List getIndexesBuilderList() { + public java.util.List + getIndexesBuilderList() { return getIndexesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { - indexesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, - com.google.firestore.admin.v1.Index.Builder, - com.google.firestore.admin.v1.IndexOrBuilder>( - indexes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( + indexes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); indexes_ = null; } return indexesBuilder_; @@ -956,21 +873,19 @@ public java.util.List getIndexesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -979,22 +894,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1002,37 +916,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1042,31 +949,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1076,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListIndexesResponse) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListIndexesResponse) private static final com.google.firestore.admin.v1.ListIndexesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListIndexesResponse(); } @@ -1090,27 +993,27 @@ public static com.google.firestore.admin.v1.ListIndexesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIndexesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIndexesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1125,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListIndexesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java index 88a0ab846..c714ffcee 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListIndexesResponseOrBuilder - extends +public interface ListIndexesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListIndexesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The requested indexes.
    * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List getIndexesList(); + java.util.List + getIndexesList(); /** - * - * *
    * The requested indexes.
    * 
@@ -44,8 +25,6 @@ public interface ListIndexesResponseOrBuilder */ com.google.firestore.admin.v1.Index getIndexes(int index); /** - * - * *
    * The requested indexes.
    * 
@@ -54,50 +33,43 @@ public interface ListIndexesResponseOrBuilder */ int getIndexesCount(); /** - * - * *
    * The requested indexes.
    * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List getIndexesOrBuilderList(); + java.util.List + getIndexesOrBuilderList(); /** - * - * *
    * The requested indexes.
    * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index); + com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index); /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java similarity index 62% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java index b7a9b1c2f..c19a390ed 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java @@ -1,72 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/location.proto package com.google.firestore.admin.v1; /** - * - * *
  * The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata].
  * 
* * Protobuf type {@code google.firestore.admin.v1.LocationMetadata} */ -public final class LocationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LocationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.LocationMetadata) LocationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LocationMetadata.newBuilder() to construct. private LocationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LocationMetadata() {} + private LocationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LocationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.LocationProto - .internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.LocationProto - .internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.LocationMetadata.class, - com.google.firestore.admin.v1.LocationMetadata.Builder.class); + com.google.firestore.admin.v1.LocationMetadata.class, com.google.firestore.admin.v1.LocationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.LocationMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.LocationMetadata other = - (com.google.firestore.admin.v1.LocationMetadata) obj; + com.google.firestore.admin.v1.LocationMetadata other = (com.google.firestore.admin.v1.LocationMetadata) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -120,136 +101,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.LocationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.LocationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.LocationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.LocationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata].
    * 
* * Protobuf type {@code google.firestore.admin.v1.LocationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.LocationMetadata) com.google.firestore.admin.v1.LocationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.LocationProto - .internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.LocationProto - .internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.LocationMetadata.class, - com.google.firestore.admin.v1.LocationMetadata.Builder.class); + com.google.firestore.admin.v1.LocationMetadata.class, com.google.firestore.admin.v1.LocationMetadata.Builder.class); } // Construct using com.google.firestore.admin.v1.LocationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -257,9 +232,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.LocationProto - .internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; } @java.lang.Override @@ -278,8 +253,7 @@ public com.google.firestore.admin.v1.LocationMetadata build() { @java.lang.Override public com.google.firestore.admin.v1.LocationMetadata buildPartial() { - com.google.firestore.admin.v1.LocationMetadata result = - new com.google.firestore.admin.v1.LocationMetadata(this); + com.google.firestore.admin.v1.LocationMetadata result = new com.google.firestore.admin.v1.LocationMetadata(this); onBuilt(); return result; } @@ -288,39 +262,38 @@ public com.google.firestore.admin.v1.LocationMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.LocationMetadata) { - return mergeFrom((com.google.firestore.admin.v1.LocationMetadata) other); + return mergeFrom((com.google.firestore.admin.v1.LocationMetadata)other); } else { super.mergeFrom(other); return this; @@ -355,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -371,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -383,12 +355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.LocationMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.LocationMetadata) private static final com.google.firestore.admin.v1.LocationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.LocationMetadata(); } @@ -397,27 +369,27 @@ public static com.google.firestore.admin.v1.LocationMetadata getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -432,4 +404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.LocationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java new file mode 100644 index 000000000..7e96e28f9 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/location.proto + +package com.google.firestore.admin.v1; + +public interface LocationMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.LocationMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java new file mode 100644 index 000000000..375cf9b15 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/location.proto + +package com.google.firestore.admin.v1; + +public final class LocationProto { + private LocationProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/firestore/admin/v1/location.pro" + + "to\022\031google.firestore.admin.v1\"\022\n\020Locatio" + + "nMetadataB\334\001\n\035com.google.firestore.admin" + + ".v1B\rLocationProtoP\001Z9cloud.google.com/g" + + "o/firestore/apiv1/admin/adminpb;adminpb\242" + + "\002\004GCFS\252\002\037Google.Cloud.Firestore.Admin.V1" + + "\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002#Goo" + + "gle::Cloud::Firestore::Admin::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_firestore_admin_v1_LocationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_LocationMetadata_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java new file mode 100644 index 000000000..746a49327 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java @@ -0,0 +1,192 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/operation.proto + +package com.google.firestore.admin.v1; + +public final class OperationProto { + private OperationProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Progress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n)google/firestore/admin/v1/operation.pr" + + "oto\022\031google.firestore.admin.v1\032%google/f" + + "irestore/admin/v1/index.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\275\002\n\026IndexOperatio" + + "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022\r\n\005index\030\003 \001(\t\0228" + + "\n\005state\030\004 \001(\0162).google.firestore.admin.v" + + "1.OperationState\022?\n\022progress_documents\030\005" + + " \001(\0132#.google.firestore.admin.v1.Progres" + + "s\022;\n\016progress_bytes\030\006 \001(\0132#.google.fires" + + "tore.admin.v1.Progress\"\231\007\n\026FieldOperatio" + + "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022\r\n\005field\030\003 \001(\t\022_" + + "\n\023index_config_deltas\030\004 \003(\0132B.google.fir" + + "estore.admin.v1.FieldOperationMetadata.I" + + "ndexConfigDelta\0228\n\005state\030\005 \001(\0162).google." + + "firestore.admin.v1.OperationState\022?\n\022pro" + + "gress_documents\030\006 \001(\0132#.google.firestore" + + ".admin.v1.Progress\022;\n\016progress_bytes\030\007 \001" + + "(\0132#.google.firestore.admin.v1.Progress\022" + + "Z\n\020ttl_config_delta\030\010 \001(\0132@.google.fires" + + "tore.admin.v1.FieldOperationMetadata.Ttl" + + "ConfigDelta\032\347\001\n\020IndexConfigDelta\022b\n\013chan" + + "ge_type\030\001 \001(\0162M.google.firestore.admin.v" + + "1.FieldOperationMetadata.IndexConfigDelt" + + "a.ChangeType\022/\n\005index\030\002 \001(\0132 .google.fir" + + "estore.admin.v1.Index\">\n\nChangeType\022\033\n\027C" + + "HANGE_TYPE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REM" + + "OVE\020\002\032\262\001\n\016TtlConfigDelta\022`\n\013change_type\030" + + "\001 \001(\0162K.google.firestore.admin.v1.FieldO" + + "perationMetadata.TtlConfigDelta.ChangeTy" + + "pe\">\n\nChangeType\022\033\n\027CHANGE_TYPE_UNSPECIF" + + "IED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\"\354\002\n\027ExportDoc" + + "umentsMetadata\022.\n\nstart_time\030\001 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\013" + + "2\032.google.protobuf.Timestamp\022B\n\017operatio" + + "n_state\030\003 \001(\0162).google.firestore.admin.v" + + "1.OperationState\022?\n\022progress_documents\030\004" + + " \001(\0132#.google.firestore.admin.v1.Progres" + + "s\022;\n\016progress_bytes\030\005 \001(\0132#.google.fires" + + "tore.admin.v1.Progress\022\026\n\016collection_ids" + + "\030\006 \003(\t\022\031\n\021output_uri_prefix\030\007 \001(\t\"\353\002\n\027Im" + + "portDocumentsMetadata\022.\n\nstart_time\030\001 \001(" + + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022B\n\017o" + + "peration_state\030\003 \001(\0162).google.firestore." + + "admin.v1.OperationState\022?\n\022progress_docu" + + "ments\030\004 \001(\0132#.google.firestore.admin.v1." + + "Progress\022;\n\016progress_bytes\030\005 \001(\0132#.googl" + + "e.firestore.admin.v1.Progress\022\026\n\016collect" + + "ion_ids\030\006 \003(\t\022\030\n\020input_uri_prefix\030\007 \001(\t\"" + + "4\n\027ExportDocumentsResponse\022\031\n\021output_uri" + + "_prefix\030\001 \001(\t\":\n\010Progress\022\026\n\016estimated_w" + + "ork\030\001 \001(\003\022\026\n\016completed_work\030\002 \001(\003*\236\001\n\016Op" + + "erationState\022\037\n\033OPERATION_STATE_UNSPECIF" + + "IED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022" + + "\016\n\nCANCELLING\020\003\022\016\n\nFINALIZING\020\004\022\016\n\nSUCCE" + + "SSFUL\020\005\022\n\n\006FAILED\020\006\022\r\n\tCANCELLED\020\007B\335\001\n\035c" + + "om.google.firestore.admin.v1B\016OperationP" + + "rotoP\001Z9cloud.google.com/go/firestore/ap" + + "iv1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Googl" + + "e.Cloud.Firestore.Admin.V1\312\002\037Google\\Clou" + + "d\\Firestore\\Admin\\V1\352\002#Google::Cloud::Fi" + + "restore::Admin::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.firestore.admin.v1.IndexProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "Index", "State", "ProgressDocuments", "ProgressBytes", }); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "Field", "IndexConfigDeltas", "State", "ProgressDocuments", "ProgressBytes", "TtlConfigDelta", }); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor = + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor, + new java.lang.String[] { "ChangeType", "Index", }); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor = + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor.getNestedTypes().get(1); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor, + new java.lang.String[] { "ChangeType", }); + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "OperationState", "ProgressDocuments", "ProgressBytes", "CollectionIds", "OutputUriPrefix", }); + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "OperationState", "ProgressDocuments", "ProgressBytes", "CollectionIds", "InputUriPrefix", }); + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor, + new java.lang.String[] { "OutputUriPrefix", }); + internal_static_google_firestore_admin_v1_Progress_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Progress_descriptor, + new java.lang.String[] { "EstimatedWork", "CompletedWork", }); + com.google.firestore.admin.v1.IndexProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java similarity index 73% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java index e40f2f12b..3ae41ccf8 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** - * - * *
  * Describes the state of the operation.
  * 
* * Protobuf enum {@code google.firestore.admin.v1.OperationState} */ -public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { +public enum OperationState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -39,8 +21,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ OPERATION_STATE_UNSPECIFIED(0), /** - * - * *
    * Request is being prepared for processing.
    * 
@@ -49,8 +29,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ INITIALIZING(1), /** - * - * *
    * Request is actively being processed.
    * 
@@ -59,8 +37,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ PROCESSING(2), /** - * - * *
    * Request is in the process of being cancelled after user called
    * google.longrunning.Operations.CancelOperation on the operation.
@@ -70,8 +46,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum {
    */
   CANCELLING(3),
   /**
-   *
-   *
    * 
    * Request has been processed and is in its finalization stage.
    * 
@@ -80,8 +54,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ FINALIZING(4), /** - * - * *
    * Request has completed successfully.
    * 
@@ -90,8 +62,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ SUCCESSFUL(5), /** - * - * *
    * Request has finished being processed, but encountered an error.
    * 
@@ -100,8 +70,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(6), /** - * - * *
    * Request has finished being cancelled after user called
    * google.longrunning.Operations.CancelOperation.
@@ -114,8 +82,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Unspecified.
    * 
@@ -124,8 +90,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Request is being prepared for processing.
    * 
@@ -134,8 +98,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INITIALIZING_VALUE = 1; /** - * - * *
    * Request is actively being processed.
    * 
@@ -144,8 +106,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROCESSING_VALUE = 2; /** - * - * *
    * Request is in the process of being cancelled after user called
    * google.longrunning.Operations.CancelOperation on the operation.
@@ -155,8 +115,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CANCELLING_VALUE = 3;
   /**
-   *
-   *
    * 
    * Request has been processed and is in its finalization stage.
    * 
@@ -165,8 +123,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FINALIZING_VALUE = 4; /** - * - * *
    * Request has completed successfully.
    * 
@@ -175,8 +131,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCESSFUL_VALUE = 5; /** - * - * *
    * Request has finished being processed, but encountered an error.
    * 
@@ -185,8 +139,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; /** - * - * *
    * Request has finished being cancelled after user called
    * google.longrunning.Operations.CancelOperation.
@@ -196,6 +148,7 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CANCELLED_VALUE = 7;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -220,59 +173,54 @@ public static OperationState valueOf(int value) {
    */
   public static OperationState forNumber(int value) {
     switch (value) {
-      case 0:
-        return OPERATION_STATE_UNSPECIFIED;
-      case 1:
-        return INITIALIZING;
-      case 2:
-        return PROCESSING;
-      case 3:
-        return CANCELLING;
-      case 4:
-        return FINALIZING;
-      case 5:
-        return SUCCESSFUL;
-      case 6:
-        return FAILED;
-      case 7:
-        return CANCELLED;
-      default:
-        return null;
+      case 0: return OPERATION_STATE_UNSPECIFIED;
+      case 1: return INITIALIZING;
+      case 2: return PROCESSING;
+      case 3: return CANCELLING;
+      case 4: return FINALIZING;
+      case 5: return SUCCESSFUL;
+      case 6: return FAILED;
+      case 7: return CANCELLED;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public OperationState findValueByNumber(int number) {
-          return OperationState.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      OperationState> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public OperationState findValueByNumber(int number) {
+            return OperationState.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.firestore.admin.v1.OperationProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final OperationState[] VALUES = values();
 
-  public static OperationState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static OperationState valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -288,3 +236,4 @@ private OperationState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.firestore.admin.v1.OperationState)
 }
+
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
similarity index 66%
rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
index 3a3340c08..211907507 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/operation.proto
 
 package com.google.firestore.admin.v1;
 
 /**
- *
- *
  * 
  * Describes the progress of the operation.
  * Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1.Progress]
@@ -29,55 +12,51 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Progress}
  */
-public final class Progress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Progress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Progress)
     ProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Progress.newBuilder() to construct.
   private Progress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Progress() {}
+  private Progress() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Progress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto
-        .internal_static_google_firestore_admin_v1_Progress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto
-        .internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Progress.class,
-            com.google.firestore.admin.v1.Progress.Builder.class);
+            com.google.firestore.admin.v1.Progress.class, com.google.firestore.admin.v1.Progress.Builder.class);
   }
 
   public static final int ESTIMATED_WORK_FIELD_NUMBER = 1;
   private long estimatedWork_ = 0L;
   /**
-   *
-   *
    * 
    * The amount of work estimated.
    * 
* * int64 estimated_work = 1; - * * @return The estimatedWork. */ @java.lang.Override @@ -88,14 +67,11 @@ public long getEstimatedWork() { public static final int COMPLETED_WORK_FIELD_NUMBER = 2; private long completedWork_ = 0L; /** - * - * *
    * The amount of work completed.
    * 
* * int64 completed_work = 2; - * * @return The completedWork. */ @java.lang.Override @@ -104,7 +80,6 @@ public long getCompletedWork() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,7 +91,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (estimatedWork_ != 0L) { output.writeInt64(1, estimatedWork_); } @@ -133,10 +109,12 @@ public int getSerializedSize() { size = 0; if (estimatedWork_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, estimatedWork_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, estimatedWork_); } if (completedWork_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, completedWork_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, completedWork_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -146,15 +124,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Progress)) { return super.equals(obj); } com.google.firestore.admin.v1.Progress other = (com.google.firestore.admin.v1.Progress) obj; - if (getEstimatedWork() != other.getEstimatedWork()) return false; - if (getCompletedWork() != other.getCompletedWork()) return false; + if (getEstimatedWork() + != other.getEstimatedWork()) return false; + if (getCompletedWork() + != other.getCompletedWork()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -167,112 +147,107 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ESTIMATED_WORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedWork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedWork()); hash = (37 * hash) + COMPLETED_WORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCompletedWork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCompletedWork()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.admin.v1.Progress parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Progress parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Progress parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Progress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Progress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.Progress parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Progress parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Progress parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Progress parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Progress parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Progress parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.Progress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.Progress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Describes the progress of the operation.
    * Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1.Progress]
@@ -281,32 +256,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.admin.v1.Progress}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Progress)
       com.google.firestore.admin.v1.ProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_Progress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Progress.class,
-              com.google.firestore.admin.v1.Progress.Builder.class);
+              com.google.firestore.admin.v1.Progress.class, com.google.firestore.admin.v1.Progress.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Progress.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -317,9 +293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto
-          .internal_static_google_firestore_admin_v1_Progress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_descriptor;
     }
 
     @java.lang.Override
@@ -338,11 +314,8 @@ public com.google.firestore.admin.v1.Progress build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.Progress buildPartial() {
-      com.google.firestore.admin.v1.Progress result =
-          new com.google.firestore.admin.v1.Progress(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.admin.v1.Progress result = new com.google.firestore.admin.v1.Progress(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -361,39 +334,38 @@ private void buildPartial0(com.google.firestore.admin.v1.Progress result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.Progress) {
-        return mergeFrom((com.google.firestore.admin.v1.Progress) other);
+        return mergeFrom((com.google.firestore.admin.v1.Progress)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -434,25 +406,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                estimatedWork_ = input.readInt64();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                completedWork_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              estimatedWork_ = input.readInt64();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              completedWork_ = input.readInt64();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -462,19 +431,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long estimatedWork_;
+    private long estimatedWork_ ;
     /**
-     *
-     *
      * 
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; - * * @return The estimatedWork. */ @java.lang.Override @@ -482,33 +447,27 @@ public long getEstimatedWork() { return estimatedWork_; } /** - * - * *
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; - * * @param value The estimatedWork to set. * @return This builder for chaining. */ public Builder setEstimatedWork(long value) { - + estimatedWork_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; - * * @return This builder for chaining. */ public Builder clearEstimatedWork() { @@ -518,16 +477,13 @@ public Builder clearEstimatedWork() { return this; } - private long completedWork_; + private long completedWork_ ; /** - * - * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; - * * @return The completedWork. */ @java.lang.Override @@ -535,33 +491,27 @@ public long getCompletedWork() { return completedWork_; } /** - * - * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; - * * @param value The completedWork to set. * @return This builder for chaining. */ public Builder setCompletedWork(long value) { - + completedWork_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; - * * @return This builder for chaining. */ public Builder clearCompletedWork() { @@ -570,9 +520,9 @@ public Builder clearCompletedWork() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -582,12 +532,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Progress) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Progress) private static final com.google.firestore.admin.v1.Progress DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Progress(); } @@ -596,27 +546,27 @@ public static com.google.firestore.admin.v1.Progress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Progress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Progress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -631,4 +581,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Progress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java new file mode 100644 index 000000000..5d7d87d9c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/operation.proto + +package com.google.firestore.admin.v1; + +public interface ProgressOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Progress) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The amount of work estimated.
+   * 
+ * + * int64 estimated_work = 1; + * @return The estimatedWork. + */ + long getEstimatedWork(); + + /** + *
+   * The amount of work completed.
+   * 
+ * + * int64 completed_work = 2; + * @return The completedWork. + */ + long getCompletedWork(); +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java similarity index 100% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java similarity index 62% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java index b26f63b4c..485f129f4 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java @@ -1,72 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * Metadata related to the update database operation.
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseMetadata} */ -public final class UpdateDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDatabaseMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateDatabaseMetadata) UpdateDatabaseMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDatabaseMetadata.newBuilder() to construct. private UpdateDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDatabaseMetadata() {} + private UpdateDatabaseMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDatabaseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, - com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,13 +78,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.UpdateDatabaseMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.UpdateDatabaseMetadata other = - (com.google.firestore.admin.v1.UpdateDatabaseMetadata) obj; + com.google.firestore.admin.v1.UpdateDatabaseMetadata other = (com.google.firestore.admin.v1.UpdateDatabaseMetadata) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -121,135 +102,129 @@ public int hashCode() { } public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.UpdateDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata related to the update database operation.
    * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.UpdateDatabaseMetadata) com.google.firestore.admin.v1.UpdateDatabaseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, - com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); } // Construct using com.google.firestore.admin.v1.UpdateDatabaseMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -257,9 +232,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; } @java.lang.Override @@ -278,8 +253,7 @@ public com.google.firestore.admin.v1.UpdateDatabaseMetadata build() { @java.lang.Override public com.google.firestore.admin.v1.UpdateDatabaseMetadata buildPartial() { - com.google.firestore.admin.v1.UpdateDatabaseMetadata result = - new com.google.firestore.admin.v1.UpdateDatabaseMetadata(this); + com.google.firestore.admin.v1.UpdateDatabaseMetadata result = new com.google.firestore.admin.v1.UpdateDatabaseMetadata(this); onBuilt(); return result; } @@ -288,39 +262,38 @@ public com.google.firestore.admin.v1.UpdateDatabaseMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.UpdateDatabaseMetadata) { - return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseMetadata) other); + return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseMetadata)other); } else { super.mergeFrom(other); return this; @@ -328,8 +301,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.UpdateDatabaseMetadata other) { - if (other == com.google.firestore.admin.v1.UpdateDatabaseMetadata.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.UpdateDatabaseMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -356,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -372,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -384,12 +355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.UpdateDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.UpdateDatabaseMetadata) private static final com.google.firestore.admin.v1.UpdateDatabaseMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.UpdateDatabaseMetadata(); } @@ -398,27 +369,27 @@ public static com.google.firestore.admin.v1.UpdateDatabaseMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDatabaseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDatabaseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -433,4 +404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.UpdateDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java new file mode 100644 index 000000000..935f424a5 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface UpdateDatabaseMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateDatabaseMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java similarity index 63% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java index c5814c77b..9824b1f9a 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java @@ -1,83 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseRequest} */ -public final class UpdateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateDatabaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateDatabaseRequest) UpdateDatabaseRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateDatabaseRequest.newBuilder() to construct. private UpdateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateDatabaseRequest() {} + private UpdateDatabaseRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseRequest.class, - com.google.firestore.admin.v1.UpdateDatabaseRequest.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseRequest.class, com.google.firestore.admin.v1.UpdateDatabaseRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; private com.google.firestore.admin.v1.Database database_; /** - * - * *
    * Required. The database to update.
    * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the database field is set. */ @java.lang.Override @@ -85,53 +62,37 @@ public boolean hasDatabase() { return database_ != null; } /** - * - * *
    * Required. The database to update.
    * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The database. */ @java.lang.Override public com.google.firestore.admin.v1.Database getDatabase() { - return database_ == null - ? com.google.firestore.admin.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.firestore.admin.v1.Database.getDefaultInstance() : database_; } /** - * - * *
    * Required. The database to update.
    * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() { - return database_ == null - ? com.google.firestore.admin.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.firestore.admin.v1.Database.getDefaultInstance() : database_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -139,14 +100,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -154,8 +112,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -168,7 +124,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (database_ != null) { output.writeMessage(1, getDatabase()); } @@ -197,10 +153,12 @@ public int getSerializedSize() { size = 0; if (database_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDatabase()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDatabase()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -210,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.UpdateDatabaseRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.UpdateDatabaseRequest other = - (com.google.firestore.admin.v1.UpdateDatabaseRequest) obj; + com.google.firestore.admin.v1.UpdateDatabaseRequest other = (com.google.firestore.admin.v1.UpdateDatabaseRequest) obj; if (hasDatabase() != other.hasDatabase()) return false; if (hasDatabase()) { - if (!getDatabase().equals(other.getDatabase())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,135 +210,129 @@ public int hashCode() { } public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.UpdateDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
    * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.UpdateDatabaseRequest) com.google.firestore.admin.v1.UpdateDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseRequest.class, - com.google.firestore.admin.v1.UpdateDatabaseRequest.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseRequest.class, com.google.firestore.admin.v1.UpdateDatabaseRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.UpdateDatabaseRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; } @java.lang.Override @@ -419,11 +372,8 @@ public com.google.firestore.admin.v1.UpdateDatabaseRequest build() { @java.lang.Override public com.google.firestore.admin.v1.UpdateDatabaseRequest buildPartial() { - com.google.firestore.admin.v1.UpdateDatabaseRequest result = - new com.google.firestore.admin.v1.UpdateDatabaseRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.UpdateDatabaseRequest result = new com.google.firestore.admin.v1.UpdateDatabaseRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -431,10 +381,14 @@ public com.google.firestore.admin.v1.UpdateDatabaseRequest buildPartial() { private void buildPartial0(com.google.firestore.admin.v1.UpdateDatabaseRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.database_ = databaseBuilder_ == null ? database_ : databaseBuilder_.build(); + result.database_ = databaseBuilder_ == null + ? database_ + : databaseBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -442,39 +396,38 @@ private void buildPartial0(com.google.firestore.admin.v1.UpdateDatabaseRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.UpdateDatabaseRequest) { - return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseRequest) other); + return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseRequest)other); } else { super.mergeFrom(other); return this; @@ -482,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.UpdateDatabaseRequest other) { - if (other == com.google.firestore.admin.v1.UpdateDatabaseRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.UpdateDatabaseRequest.getDefaultInstance()) return this; if (other.hasDatabase()) { mergeDatabase(other.getDatabase()); } @@ -516,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getDatabaseFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getDatabaseFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -544,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.firestore.admin.v1.Database database_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Database, - com.google.firestore.admin.v1.Database.Builder, - com.google.firestore.admin.v1.DatabaseOrBuilder> - databaseBuilder_; + com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder> databaseBuilder_; /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the database field is set. */ public boolean hasDatabase() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The database. */ public com.google.firestore.admin.v1.Database getDatabase() { if (databaseBuilder_ == null) { - return database_ == null - ? com.google.firestore.admin.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? com.google.firestore.admin.v1.Database.getDefaultInstance() : database_; } else { return databaseBuilder_.getMessage(); } } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDatabase(com.google.firestore.admin.v1.Database value) { if (databaseBuilder_ == null) { @@ -616,17 +549,14 @@ public Builder setDatabase(com.google.firestore.admin.v1.Database value) { return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDatabase(com.google.firestore.admin.v1.Database.Builder builderForValue) { + public Builder setDatabase( + com.google.firestore.admin.v1.Database.Builder builderForValue) { if (databaseBuilder_ == null) { database_ = builderForValue.build(); } else { @@ -637,21 +567,17 @@ public Builder setDatabase(com.google.firestore.admin.v1.Database.Builder builde return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDatabase(com.google.firestore.admin.v1.Database value) { if (databaseBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && database_ != null - && database_ != com.google.firestore.admin.v1.Database.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + database_ != null && + database_ != com.google.firestore.admin.v1.Database.getDefaultInstance()) { getDatabaseBuilder().mergeFrom(value); } else { database_ = value; @@ -664,15 +590,11 @@ public Builder mergeDatabase(com.google.firestore.admin.v1.Database value) { return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDatabase() { bitField0_ = (bitField0_ & ~0x00000001); @@ -685,15 +607,11 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.firestore.admin.v1.Database.Builder getDatabaseBuilder() { bitField0_ |= 0x00000001; @@ -701,48 +619,36 @@ public com.google.firestore.admin.v1.Database.Builder getDatabaseBuilder() { return getDatabaseFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() { if (databaseBuilder_ != null) { return databaseBuilder_.getMessageOrBuilder(); } else { - return database_ == null - ? com.google.firestore.admin.v1.Database.getDefaultInstance() - : database_; + return database_ == null ? + com.google.firestore.admin.v1.Database.getDefaultInstance() : database_; } } /** - * - * *
      * Required. The database to update.
      * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Database, - com.google.firestore.admin.v1.Database.Builder, - com.google.firestore.admin.v1.DatabaseOrBuilder> + com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder> getDatabaseFieldBuilder() { if (databaseBuilder_ == null) { - databaseBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Database, - com.google.firestore.admin.v1.Database.Builder, - com.google.firestore.admin.v1.DatabaseOrBuilder>( - getDatabase(), getParentForChildren(), isClean()); + databaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder>( + getDatabase(), + getParentForChildren(), + isClean()); database_ = null; } return databaseBuilder_; @@ -750,47 +656,34 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -811,15 +704,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -830,8 +722,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -840,9 +730,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -855,8 +745,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -874,8 +762,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -888,8 +774,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -900,14 +784,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -915,24 +796,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -942,12 +820,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.UpdateDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.UpdateDatabaseRequest) private static final com.google.firestore.admin.v1.UpdateDatabaseRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.UpdateDatabaseRequest(); } @@ -956,27 +834,27 @@ public static com.google.firestore.admin.v1.UpdateDatabaseRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -991,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.UpdateDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java index fb49c8b9e..39db27746 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java @@ -1,96 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface UpdateDatabaseRequestOrBuilder - extends +public interface UpdateDatabaseRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database to update.
    * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the database field is set. */ boolean hasDatabase(); /** - * - * *
    * Required. The database to update.
    * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The database. */ com.google.firestore.admin.v1.Database getDatabase(); /** - * - * *
    * Required. The database to update.
    * 
* - * - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated.
    * 
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java similarity index 68% rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java index 192c18afd..a608640f5 100644 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java @@ -1,82 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** - * - * *
  * The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateFieldRequest} */ -public final class UpdateFieldRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateFieldRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateFieldRequest) UpdateFieldRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateFieldRequest.newBuilder() to construct. private UpdateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateFieldRequest() {} + private UpdateFieldRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateFieldRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateFieldRequest.class, - com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); + com.google.firestore.admin.v1.UpdateFieldRequest.class, com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.firestore.admin.v1.Field field_; /** - * - * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.firestore.admin.v1.Field getField() { return field_ == null ? com.google.firestore.admin.v1.Field.getDefaultInstance() : field_; } /** - * - * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { @@ -117,15 +88,12 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -133,15 +101,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -149,8 +114,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
@@ -164,7 +127,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -176,7 +138,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (field_ != null) {
       output.writeMessage(1, getField());
     }
@@ -193,10 +156,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (field_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getField());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -206,21 +171,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.admin.v1.UpdateFieldRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.admin.v1.UpdateFieldRequest other =
-        (com.google.firestore.admin.v1.UpdateFieldRequest) obj;
+    com.google.firestore.admin.v1.UpdateFieldRequest other = (com.google.firestore.admin.v1.UpdateFieldRequest) obj;
 
     if (hasField() != other.hasField()) return false;
     if (hasField()) {
-      if (!getField().equals(other.getField())) return false;
+      if (!getField()
+          .equals(other.getField())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -246,136 +212,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.admin.v1.UpdateFieldRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.admin.v1.UpdateFieldRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.admin.v1.UpdateFieldRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
    * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateFieldRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.UpdateFieldRequest) com.google.firestore.admin.v1.UpdateFieldRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateFieldRequest.class, - com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); + com.google.firestore.admin.v1.UpdateFieldRequest.class, com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.UpdateFieldRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -394,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto - .internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; } @java.lang.Override @@ -415,11 +375,8 @@ public com.google.firestore.admin.v1.UpdateFieldRequest build() { @java.lang.Override public com.google.firestore.admin.v1.UpdateFieldRequest buildPartial() { - com.google.firestore.admin.v1.UpdateFieldRequest result = - new com.google.firestore.admin.v1.UpdateFieldRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.admin.v1.UpdateFieldRequest result = new com.google.firestore.admin.v1.UpdateFieldRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -427,10 +384,14 @@ public com.google.firestore.admin.v1.UpdateFieldRequest buildPartial() { private void buildPartial0(com.google.firestore.admin.v1.UpdateFieldRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.field_ = fieldBuilder_ == null ? field_ : fieldBuilder_.build(); + result.field_ = fieldBuilder_ == null + ? field_ + : fieldBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -438,39 +399,38 @@ private void buildPartial0(com.google.firestore.admin.v1.UpdateFieldRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.UpdateFieldRequest) { - return mergeFrom((com.google.firestore.admin.v1.UpdateFieldRequest) other); + return mergeFrom((com.google.firestore.admin.v1.UpdateFieldRequest)other); } else { super.mergeFrom(other); return this; @@ -478,8 +438,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.UpdateFieldRequest other) { - if (other == com.google.firestore.admin.v1.UpdateFieldRequest.getDefaultInstance()) - return this; + if (other == com.google.firestore.admin.v1.UpdateFieldRequest.getDefaultInstance()) return this; if (other.hasField()) { mergeField(other.getField()); } @@ -512,25 +471,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getFieldFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getFieldFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,40 +500,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.firestore.admin.v1.Field field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Field, - com.google.firestore.admin.v1.Field.Builder, - com.google.firestore.admin.v1.FieldOrBuilder> - fieldBuilder_; + com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder> fieldBuilder_; /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ public boolean hasField() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ public com.google.firestore.admin.v1.Field getField() { @@ -584,14 +532,11 @@ public com.google.firestore.admin.v1.Field getField() { } } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setField(com.google.firestore.admin.v1.Field value) { if (fieldBuilder_ == null) { @@ -607,16 +552,14 @@ public Builder setField(com.google.firestore.admin.v1.Field value) { return this; } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setField(com.google.firestore.admin.v1.Field.Builder builderForValue) { + public Builder setField( + com.google.firestore.admin.v1.Field.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); } else { @@ -627,20 +570,17 @@ public Builder setField(com.google.firestore.admin.v1.Field.Builder builderForVa return this; } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeField(com.google.firestore.admin.v1.Field value) { if (fieldBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && field_ != null - && field_ != com.google.firestore.admin.v1.Field.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + field_ != null && + field_ != com.google.firestore.admin.v1.Field.getDefaultInstance()) { getFieldBuilder().mergeFrom(value); } else { field_ = value; @@ -653,14 +593,11 @@ public Builder mergeField(com.google.firestore.admin.v1.Field value) { return this; } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearField() { bitField0_ = (bitField0_ & ~0x00000001); @@ -673,14 +610,11 @@ public Builder clearField() { return this; } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.firestore.admin.v1.Field.Builder getFieldBuilder() { bitField0_ |= 0x00000001; @@ -688,44 +622,36 @@ public com.google.firestore.admin.v1.Field.Builder getFieldBuilder() { return getFieldFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? com.google.firestore.admin.v1.Field.getDefaultInstance() : field_; + return field_ == null ? + com.google.firestore.admin.v1.Field.getDefaultInstance() : field_; } } /** - * - * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Field, - com.google.firestore.admin.v1.Field.Builder, - com.google.firestore.admin.v1.FieldOrBuilder> + com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Field, - com.google.firestore.admin.v1.Field.Builder, - com.google.firestore.admin.v1.FieldOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; @@ -733,49 +659,36 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -797,8 +710,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -806,7 +717,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
       } else {
@@ -817,8 +729,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -828,9 +738,9 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      */
     public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && updateMask_ != null
-            && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          updateMask_ != null &&
+          updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
           getUpdateMaskBuilder().mergeFrom(value);
         } else {
           updateMask_ = value;
@@ -843,8 +753,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -863,8 +771,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -878,8 +784,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -891,14 +795,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -907,24 +808,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -934,12 +832,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.UpdateFieldRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.UpdateFieldRequest)
   private static final com.google.firestore.admin.v1.UpdateFieldRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.admin.v1.UpdateFieldRequest();
   }
@@ -948,27 +846,27 @@ public static com.google.firestore.admin.v1.UpdateFieldRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateFieldRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateFieldRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -983,4 +881,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.admin.v1.UpdateFieldRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
similarity index 68%
rename from proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
index 325514988..2702c0e7c 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
@@ -1,95 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/firestore_admin.proto
 
 package com.google.firestore.admin.v1;
 
-public interface UpdateFieldRequestOrBuilder
-    extends
+public interface UpdateFieldRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateFieldRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The field. */ com.google.firestore.admin.v1.Field getField(); /** - * - * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder(); /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
similarity index 100%
rename from proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
similarity index 64%
rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
index 81f3ec9e2..be4071c11 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
 /**
- *
- *
  * 
  * A Firestore bundle is a length-prefixed stream of JSON representations of
  * `BundleElement`.
@@ -31,50 +14,47 @@
  *
  * Protobuf type {@code google.firestore.bundle.BundleElement}
  */
-public final class BundleElement extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BundleElement extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundleElement)
     BundleElementOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BundleElement.newBuilder() to construct.
   private BundleElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private BundleElement() {}
+  private BundleElement() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BundleElement();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.bundle.BundleProto
-        .internal_static_google_firestore_bundle_BundleElement_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.bundle.BundleProto
-        .internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
+    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.bundle.BundleElement.class,
-            com.google.firestore.bundle.BundleElement.Builder.class);
+            com.google.firestore.bundle.BundleElement.class, com.google.firestore.bundle.BundleElement.Builder.class);
   }
 
   private int elementTypeCase_ = 0;
   private java.lang.Object elementType_;
-
   public enum ElementTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     METADATA(1),
     NAMED_QUERY(2),
@@ -82,7 +62,6 @@ public enum ElementTypeCase
     DOCUMENT(4),
     ELEMENTTYPE_NOT_SET(0);
     private final int value;
-
     private ElementTypeCase(int value) {
       this.value = value;
     }
@@ -98,34 +77,28 @@ public static ElementTypeCase valueOf(int value) {
 
     public static ElementTypeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return METADATA;
-        case 2:
-          return NAMED_QUERY;
-        case 3:
-          return DOCUMENT_METADATA;
-        case 4:
-          return DOCUMENT;
-        case 0:
-          return ELEMENTTYPE_NOT_SET;
-        default:
-          return null;
+        case 1: return METADATA;
+        case 2: return NAMED_QUERY;
+        case 3: return DOCUMENT_METADATA;
+        case 4: return DOCUMENT;
+        case 0: return ELEMENTTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ElementTypeCase getElementTypeCase() {
-    return ElementTypeCase.forNumber(elementTypeCase_);
+  public ElementTypeCase
+  getElementTypeCase() {
+    return ElementTypeCase.forNumber(
+        elementTypeCase_);
   }
 
   public static final int METADATA_FIELD_NUMBER = 1;
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
-   *
    * @return Whether the metadata field is set.
    */
   @java.lang.Override
@@ -134,21 +107,22 @@ public boolean hasMetadata() {
   }
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
-   *
    * @return The metadata.
    */
   @java.lang.Override
   public com.google.firestore.bundle.BundleMetadata getMetadata() {
     if (elementTypeCase_ == 1) {
-      return (com.google.firestore.bundle.BundleMetadata) elementType_;
+       return (com.google.firestore.bundle.BundleMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
   }
-  /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+  /**
+   * .google.firestore.bundle.BundleMetadata metadata = 1;
+   */
   @java.lang.Override
   public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder() {
     if (elementTypeCase_ == 1) {
-      return (com.google.firestore.bundle.BundleMetadata) elementType_;
+       return (com.google.firestore.bundle.BundleMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
   }
@@ -156,7 +130,6 @@ public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder(
   public static final int NAMED_QUERY_FIELD_NUMBER = 2;
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
-   *
    * @return Whether the namedQuery field is set.
    */
   @java.lang.Override
@@ -165,21 +138,22 @@ public boolean hasNamedQuery() {
   }
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
-   *
    * @return The namedQuery.
    */
   @java.lang.Override
   public com.google.firestore.bundle.NamedQuery getNamedQuery() {
     if (elementTypeCase_ == 2) {
-      return (com.google.firestore.bundle.NamedQuery) elementType_;
+       return (com.google.firestore.bundle.NamedQuery) elementType_;
     }
     return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
   }
-  /** .google.firestore.bundle.NamedQuery named_query = 2; */
+  /**
+   * .google.firestore.bundle.NamedQuery named_query = 2;
+   */
   @java.lang.Override
   public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder() {
     if (elementTypeCase_ == 2) {
-      return (com.google.firestore.bundle.NamedQuery) elementType_;
+       return (com.google.firestore.bundle.NamedQuery) elementType_;
     }
     return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
   }
@@ -187,7 +161,6 @@ public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder()
   public static final int DOCUMENT_METADATA_FIELD_NUMBER = 3;
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   *
    * @return Whether the documentMetadata field is set.
    */
   @java.lang.Override
@@ -196,22 +169,22 @@ public boolean hasDocumentMetadata() {
   }
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   *
    * @return The documentMetadata.
    */
   @java.lang.Override
   public com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata() {
     if (elementTypeCase_ == 3) {
-      return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
+       return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
   }
-  /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+  /**
+   * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   */
   @java.lang.Override
-  public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder
-      getDocumentMetadataOrBuilder() {
+  public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder() {
     if (elementTypeCase_ == 3) {
-      return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
+       return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
   }
@@ -219,7 +192,6 @@ public com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata()
   public static final int DOCUMENT_FIELD_NUMBER = 4;
   /**
    * .google.firestore.v1.Document document = 4;
-   *
    * @return Whether the document field is set.
    */
   @java.lang.Override
@@ -228,27 +200,27 @@ public boolean hasDocument() {
   }
   /**
    * .google.firestore.v1.Document document = 4;
-   *
    * @return The document.
    */
   @java.lang.Override
   public com.google.firestore.v1.Document getDocument() {
     if (elementTypeCase_ == 4) {
-      return (com.google.firestore.v1.Document) elementType_;
+       return (com.google.firestore.v1.Document) elementType_;
     }
     return com.google.firestore.v1.Document.getDefaultInstance();
   }
-  /** .google.firestore.v1.Document document = 4; */
+  /**
+   * .google.firestore.v1.Document document = 4;
+   */
   @java.lang.Override
   public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
     if (elementTypeCase_ == 4) {
-      return (com.google.firestore.v1.Document) elementType_;
+       return (com.google.firestore.v1.Document) elementType_;
     }
     return com.google.firestore.v1.Document.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -260,7 +232,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (elementTypeCase_ == 1) {
       output.writeMessage(1, (com.google.firestore.bundle.BundleMetadata) elementType_);
     }
@@ -283,24 +256,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (elementTypeCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.firestore.bundle.BundleMetadata) elementType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.firestore.bundle.BundleMetadata) elementType_);
     }
     if (elementTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.firestore.bundle.NamedQuery) elementType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.firestore.bundle.NamedQuery) elementType_);
     }
     if (elementTypeCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.firestore.bundle.BundledDocumentMetadata) elementType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.firestore.bundle.BundledDocumentMetadata) elementType_);
     }
     if (elementTypeCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.firestore.v1.Document) elementType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.firestore.v1.Document) elementType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -310,27 +279,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.bundle.BundleElement)) {
       return super.equals(obj);
     }
-    com.google.firestore.bundle.BundleElement other =
-        (com.google.firestore.bundle.BundleElement) obj;
+    com.google.firestore.bundle.BundleElement other = (com.google.firestore.bundle.BundleElement) obj;
 
     if (!getElementTypeCase().equals(other.getElementTypeCase())) return false;
     switch (elementTypeCase_) {
       case 1:
-        if (!getMetadata().equals(other.getMetadata())) return false;
+        if (!getMetadata()
+            .equals(other.getMetadata())) return false;
         break;
       case 2:
-        if (!getNamedQuery().equals(other.getNamedQuery())) return false;
+        if (!getNamedQuery()
+            .equals(other.getNamedQuery())) return false;
         break;
       case 3:
-        if (!getDocumentMetadata().equals(other.getDocumentMetadata())) return false;
+        if (!getDocumentMetadata()
+            .equals(other.getDocumentMetadata())) return false;
         break;
       case 4:
-        if (!getDocument().equals(other.getDocument())) return false;
+        if (!getDocument()
+            .equals(other.getDocument())) return false;
         break;
       case 0:
       default:
@@ -371,104 +343,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.bundle.BundleElement parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.bundle.BundleElement parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.bundle.BundleElement parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.bundle.BundleElement parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.bundle.BundleElement parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.bundle.BundleElement parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.bundle.BundleElement parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.bundle.BundleElement parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.bundle.BundleElement parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.bundle.BundleElement parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.bundle.BundleElement prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A Firestore bundle is a length-prefixed stream of JSON representations of
    * `BundleElement`.
@@ -479,32 +444,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.bundle.BundleElement}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.bundle.BundleElement)
       com.google.firestore.bundle.BundleElementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.bundle.BundleProto
-          .internal_static_google_firestore_bundle_BundleElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.bundle.BundleProto
-          .internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
+      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.bundle.BundleElement.class,
-              com.google.firestore.bundle.BundleElement.Builder.class);
+              com.google.firestore.bundle.BundleElement.class, com.google.firestore.bundle.BundleElement.Builder.class);
     }
 
     // Construct using com.google.firestore.bundle.BundleElement.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -527,9 +493,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.bundle.BundleProto
-          .internal_static_google_firestore_bundle_BundleElement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_descriptor;
     }
 
     @java.lang.Override
@@ -548,11 +514,8 @@ public com.google.firestore.bundle.BundleElement build() {
 
     @java.lang.Override
     public com.google.firestore.bundle.BundleElement buildPartial() {
-      com.google.firestore.bundle.BundleElement result =
-          new com.google.firestore.bundle.BundleElement(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.bundle.BundleElement result = new com.google.firestore.bundle.BundleElement(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -565,16 +528,20 @@ private void buildPartial0(com.google.firestore.bundle.BundleElement result) {
     private void buildPartialOneofs(com.google.firestore.bundle.BundleElement result) {
       result.elementTypeCase_ = elementTypeCase_;
       result.elementType_ = this.elementType_;
-      if (elementTypeCase_ == 1 && metadataBuilder_ != null) {
+      if (elementTypeCase_ == 1 &&
+          metadataBuilder_ != null) {
         result.elementType_ = metadataBuilder_.build();
       }
-      if (elementTypeCase_ == 2 && namedQueryBuilder_ != null) {
+      if (elementTypeCase_ == 2 &&
+          namedQueryBuilder_ != null) {
         result.elementType_ = namedQueryBuilder_.build();
       }
-      if (elementTypeCase_ == 3 && documentMetadataBuilder_ != null) {
+      if (elementTypeCase_ == 3 &&
+          documentMetadataBuilder_ != null) {
         result.elementType_ = documentMetadataBuilder_.build();
       }
-      if (elementTypeCase_ == 4 && documentBuilder_ != null) {
+      if (elementTypeCase_ == 4 &&
+          documentBuilder_ != null) {
         result.elementType_ = documentBuilder_.build();
       }
     }
@@ -583,39 +550,38 @@ private void buildPartialOneofs(com.google.firestore.bundle.BundleElement result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.bundle.BundleElement) {
-        return mergeFrom((com.google.firestore.bundle.BundleElement) other);
+        return mergeFrom((com.google.firestore.bundle.BundleElement)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -625,30 +591,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.firestore.bundle.BundleElement other) {
       if (other == com.google.firestore.bundle.BundleElement.getDefaultInstance()) return this;
       switch (other.getElementTypeCase()) {
-        case METADATA:
-          {
-            mergeMetadata(other.getMetadata());
-            break;
-          }
-        case NAMED_QUERY:
-          {
-            mergeNamedQuery(other.getNamedQuery());
-            break;
-          }
-        case DOCUMENT_METADATA:
-          {
-            mergeDocumentMetadata(other.getDocumentMetadata());
-            break;
-          }
-        case DOCUMENT:
-          {
-            mergeDocument(other.getDocument());
-            break;
-          }
-        case ELEMENTTYPE_NOT_SET:
-          {
-            break;
-          }
+        case METADATA: {
+          mergeMetadata(other.getMetadata());
+          break;
+        }
+        case NAMED_QUERY: {
+          mergeNamedQuery(other.getNamedQuery());
+          break;
+        }
+        case DOCUMENT_METADATA: {
+          mergeDocumentMetadata(other.getDocumentMetadata());
+          break;
+        }
+        case DOCUMENT: {
+          mergeDocument(other.getDocument());
+          break;
+        }
+        case ELEMENTTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -676,38 +637,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-                elementTypeCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getNamedQueryFieldBuilder().getBuilder(), extensionRegistry);
-                elementTypeCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getDocumentMetadataFieldBuilder().getBuilder(), extensionRegistry);
-                elementTypeCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
-                elementTypeCase_ = 4;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              elementTypeCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getNamedQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              elementTypeCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getDocumentMetadataFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              elementTypeCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getDocumentFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              elementTypeCase_ = 4;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -717,12 +680,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int elementTypeCase_ = 0;
     private java.lang.Object elementType_;
-
-    public ElementTypeCase getElementTypeCase() {
-      return ElementTypeCase.forNumber(elementTypeCase_);
+    public ElementTypeCase
+        getElementTypeCase() {
+      return ElementTypeCase.forNumber(
+          elementTypeCase_);
     }
 
     public Builder clearElementType() {
@@ -735,13 +698,9 @@ public Builder clearElementType() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.bundle.BundleMetadata,
-            com.google.firestore.bundle.BundleMetadata.Builder,
-            com.google.firestore.bundle.BundleMetadataOrBuilder>
-        metadataBuilder_;
+        com.google.firestore.bundle.BundleMetadata, com.google.firestore.bundle.BundleMetadata.Builder, com.google.firestore.bundle.BundleMetadataOrBuilder> metadataBuilder_;
     /**
      * .google.firestore.bundle.BundleMetadata metadata = 1;
-     *
      * @return Whether the metadata field is set.
      */
     @java.lang.Override
@@ -750,7 +709,6 @@ public boolean hasMetadata() {
     }
     /**
      * .google.firestore.bundle.BundleMetadata metadata = 1;
-     *
      * @return The metadata.
      */
     @java.lang.Override
@@ -767,7 +725,9 @@ public com.google.firestore.bundle.BundleMetadata getMetadata() {
         return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
       }
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     public Builder setMetadata(com.google.firestore.bundle.BundleMetadata value) {
       if (metadataBuilder_ == null) {
         if (value == null) {
@@ -781,8 +741,11 @@ public Builder setMetadata(com.google.firestore.bundle.BundleMetadata value) {
       elementTypeCase_ = 1;
       return this;
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
-    public Builder setMetadata(com.google.firestore.bundle.BundleMetadata.Builder builderForValue) {
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
+    public Builder setMetadata(
+        com.google.firestore.bundle.BundleMetadata.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -792,16 +755,15 @@ public Builder setMetadata(com.google.firestore.bundle.BundleMetadata.Builder bu
       elementTypeCase_ = 1;
       return this;
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     public Builder mergeMetadata(com.google.firestore.bundle.BundleMetadata value) {
       if (metadataBuilder_ == null) {
-        if (elementTypeCase_ == 1
-            && elementType_ != com.google.firestore.bundle.BundleMetadata.getDefaultInstance()) {
-          elementType_ =
-              com.google.firestore.bundle.BundleMetadata.newBuilder(
-                      (com.google.firestore.bundle.BundleMetadata) elementType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (elementTypeCase_ == 1 &&
+            elementType_ != com.google.firestore.bundle.BundleMetadata.getDefaultInstance()) {
+          elementType_ = com.google.firestore.bundle.BundleMetadata.newBuilder((com.google.firestore.bundle.BundleMetadata) elementType_)
+              .mergeFrom(value).buildPartial();
         } else {
           elementType_ = value;
         }
@@ -816,7 +778,9 @@ public Builder mergeMetadata(com.google.firestore.bundle.BundleMetadata value) {
       elementTypeCase_ = 1;
       return this;
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     public Builder clearMetadata() {
       if (metadataBuilder_ == null) {
         if (elementTypeCase_ == 1) {
@@ -833,11 +797,15 @@ public Builder clearMetadata() {
       }
       return this;
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     public com.google.firestore.bundle.BundleMetadata.Builder getMetadataBuilder() {
       return getMetadataFieldBuilder().getBuilder();
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     @java.lang.Override
     public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder() {
       if ((elementTypeCase_ == 1) && (metadataBuilder_ != null)) {
@@ -849,21 +817,18 @@ public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder(
         return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
       }
     }
-    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    /**
+     * .google.firestore.bundle.BundleMetadata metadata = 1;
+     */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.bundle.BundleMetadata,
-            com.google.firestore.bundle.BundleMetadata.Builder,
-            com.google.firestore.bundle.BundleMetadataOrBuilder>
+        com.google.firestore.bundle.BundleMetadata, com.google.firestore.bundle.BundleMetadata.Builder, com.google.firestore.bundle.BundleMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
         if (!(elementTypeCase_ == 1)) {
           elementType_ = com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
         }
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.bundle.BundleMetadata,
-                com.google.firestore.bundle.BundleMetadata.Builder,
-                com.google.firestore.bundle.BundleMetadataOrBuilder>(
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.bundle.BundleMetadata, com.google.firestore.bundle.BundleMetadata.Builder, com.google.firestore.bundle.BundleMetadataOrBuilder>(
                 (com.google.firestore.bundle.BundleMetadata) elementType_,
                 getParentForChildren(),
                 isClean());
@@ -875,13 +840,9 @@ public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder(
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.bundle.NamedQuery,
-            com.google.firestore.bundle.NamedQuery.Builder,
-            com.google.firestore.bundle.NamedQueryOrBuilder>
-        namedQueryBuilder_;
+        com.google.firestore.bundle.NamedQuery, com.google.firestore.bundle.NamedQuery.Builder, com.google.firestore.bundle.NamedQueryOrBuilder> namedQueryBuilder_;
     /**
      * .google.firestore.bundle.NamedQuery named_query = 2;
-     *
      * @return Whether the namedQuery field is set.
      */
     @java.lang.Override
@@ -890,7 +851,6 @@ public boolean hasNamedQuery() {
     }
     /**
      * .google.firestore.bundle.NamedQuery named_query = 2;
-     *
      * @return The namedQuery.
      */
     @java.lang.Override
@@ -907,7 +867,9 @@ public com.google.firestore.bundle.NamedQuery getNamedQuery() {
         return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
       }
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       if (namedQueryBuilder_ == null) {
         if (value == null) {
@@ -921,8 +883,11 @@ public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       elementTypeCase_ = 2;
       return this;
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
-    public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery.Builder builderForValue) {
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
+    public Builder setNamedQuery(
+        com.google.firestore.bundle.NamedQuery.Builder builderForValue) {
       if (namedQueryBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -932,16 +897,15 @@ public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery.Builder buil
       elementTypeCase_ = 2;
       return this;
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     public Builder mergeNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       if (namedQueryBuilder_ == null) {
-        if (elementTypeCase_ == 2
-            && elementType_ != com.google.firestore.bundle.NamedQuery.getDefaultInstance()) {
-          elementType_ =
-              com.google.firestore.bundle.NamedQuery.newBuilder(
-                      (com.google.firestore.bundle.NamedQuery) elementType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (elementTypeCase_ == 2 &&
+            elementType_ != com.google.firestore.bundle.NamedQuery.getDefaultInstance()) {
+          elementType_ = com.google.firestore.bundle.NamedQuery.newBuilder((com.google.firestore.bundle.NamedQuery) elementType_)
+              .mergeFrom(value).buildPartial();
         } else {
           elementType_ = value;
         }
@@ -956,7 +920,9 @@ public Builder mergeNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       elementTypeCase_ = 2;
       return this;
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     public Builder clearNamedQuery() {
       if (namedQueryBuilder_ == null) {
         if (elementTypeCase_ == 2) {
@@ -973,11 +939,15 @@ public Builder clearNamedQuery() {
       }
       return this;
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     public com.google.firestore.bundle.NamedQuery.Builder getNamedQueryBuilder() {
       return getNamedQueryFieldBuilder().getBuilder();
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     @java.lang.Override
     public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder() {
       if ((elementTypeCase_ == 2) && (namedQueryBuilder_ != null)) {
@@ -989,21 +959,18 @@ public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder()
         return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
       }
     }
-    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    /**
+     * .google.firestore.bundle.NamedQuery named_query = 2;
+     */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.bundle.NamedQuery,
-            com.google.firestore.bundle.NamedQuery.Builder,
-            com.google.firestore.bundle.NamedQueryOrBuilder>
+        com.google.firestore.bundle.NamedQuery, com.google.firestore.bundle.NamedQuery.Builder, com.google.firestore.bundle.NamedQueryOrBuilder> 
         getNamedQueryFieldBuilder() {
       if (namedQueryBuilder_ == null) {
         if (!(elementTypeCase_ == 2)) {
           elementType_ = com.google.firestore.bundle.NamedQuery.getDefaultInstance();
         }
-        namedQueryBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.bundle.NamedQuery,
-                com.google.firestore.bundle.NamedQuery.Builder,
-                com.google.firestore.bundle.NamedQueryOrBuilder>(
+        namedQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.bundle.NamedQuery, com.google.firestore.bundle.NamedQuery.Builder, com.google.firestore.bundle.NamedQueryOrBuilder>(
                 (com.google.firestore.bundle.NamedQuery) elementType_,
                 getParentForChildren(),
                 isClean());
@@ -1015,13 +982,9 @@ public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder()
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.bundle.BundledDocumentMetadata,
-            com.google.firestore.bundle.BundledDocumentMetadata.Builder,
-            com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>
-        documentMetadataBuilder_;
+        com.google.firestore.bundle.BundledDocumentMetadata, com.google.firestore.bundle.BundledDocumentMetadata.Builder, com.google.firestore.bundle.BundledDocumentMetadataOrBuilder> documentMetadataBuilder_;
     /**
      * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     *
      * @return Whether the documentMetadata field is set.
      */
     @java.lang.Override
@@ -1030,7 +993,6 @@ public boolean hasDocumentMetadata() {
     }
     /**
      * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     *
      * @return The documentMetadata.
      */
     @java.lang.Override
@@ -1047,7 +1009,9 @@ public com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata()
         return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
       }
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
     public Builder setDocumentMetadata(com.google.firestore.bundle.BundledDocumentMetadata value) {
       if (documentMetadataBuilder_ == null) {
         if (value == null) {
@@ -1061,7 +1025,9 @@ public Builder setDocumentMetadata(com.google.firestore.bundle.BundledDocumentMe
       elementTypeCase_ = 3;
       return this;
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
     public Builder setDocumentMetadata(
         com.google.firestore.bundle.BundledDocumentMetadata.Builder builderForValue) {
       if (documentMetadataBuilder_ == null) {
@@ -1073,18 +1039,15 @@ public Builder setDocumentMetadata(
       elementTypeCase_ = 3;
       return this;
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
-    public Builder mergeDocumentMetadata(
-        com.google.firestore.bundle.BundledDocumentMetadata value) {
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
+    public Builder mergeDocumentMetadata(com.google.firestore.bundle.BundledDocumentMetadata value) {
       if (documentMetadataBuilder_ == null) {
-        if (elementTypeCase_ == 3
-            && elementType_
-                != com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) {
-          elementType_ =
-              com.google.firestore.bundle.BundledDocumentMetadata.newBuilder(
-                      (com.google.firestore.bundle.BundledDocumentMetadata) elementType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (elementTypeCase_ == 3 &&
+            elementType_ != com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) {
+          elementType_ = com.google.firestore.bundle.BundledDocumentMetadata.newBuilder((com.google.firestore.bundle.BundledDocumentMetadata) elementType_)
+              .mergeFrom(value).buildPartial();
         } else {
           elementType_ = value;
         }
@@ -1099,7 +1062,9 @@ public Builder mergeDocumentMetadata(
       elementTypeCase_ = 3;
       return this;
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
     public Builder clearDocumentMetadata() {
       if (documentMetadataBuilder_ == null) {
         if (elementTypeCase_ == 3) {
@@ -1116,15 +1081,17 @@ public Builder clearDocumentMetadata() {
       }
       return this;
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
-    public com.google.firestore.bundle.BundledDocumentMetadata.Builder
-        getDocumentMetadataBuilder() {
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
+    public com.google.firestore.bundle.BundledDocumentMetadata.Builder getDocumentMetadataBuilder() {
       return getDocumentMetadataFieldBuilder().getBuilder();
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
     @java.lang.Override
-    public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder
-        getDocumentMetadataOrBuilder() {
+    public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder() {
       if ((elementTypeCase_ == 3) && (documentMetadataBuilder_ != null)) {
         return documentMetadataBuilder_.getMessageOrBuilder();
       } else {
@@ -1134,21 +1101,18 @@ public Builder clearDocumentMetadata() {
         return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
       }
     }
-    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    /**
+     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.bundle.BundledDocumentMetadata,
-            com.google.firestore.bundle.BundledDocumentMetadata.Builder,
-            com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>
+        com.google.firestore.bundle.BundledDocumentMetadata, com.google.firestore.bundle.BundledDocumentMetadata.Builder, com.google.firestore.bundle.BundledDocumentMetadataOrBuilder> 
         getDocumentMetadataFieldBuilder() {
       if (documentMetadataBuilder_ == null) {
         if (!(elementTypeCase_ == 3)) {
           elementType_ = com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
         }
-        documentMetadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.bundle.BundledDocumentMetadata,
-                com.google.firestore.bundle.BundledDocumentMetadata.Builder,
-                com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>(
+        documentMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.bundle.BundledDocumentMetadata, com.google.firestore.bundle.BundledDocumentMetadata.Builder, com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>(
                 (com.google.firestore.bundle.BundledDocumentMetadata) elementType_,
                 getParentForChildren(),
                 isClean());
@@ -1160,13 +1124,9 @@ public Builder clearDocumentMetadata() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Document,
-            com.google.firestore.v1.Document.Builder,
-            com.google.firestore.v1.DocumentOrBuilder>
-        documentBuilder_;
+        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_;
     /**
      * .google.firestore.v1.Document document = 4;
-     *
      * @return Whether the document field is set.
      */
     @java.lang.Override
@@ -1175,7 +1135,6 @@ public boolean hasDocument() {
     }
     /**
      * .google.firestore.v1.Document document = 4;
-     *
      * @return The document.
      */
     @java.lang.Override
@@ -1192,7 +1151,9 @@ public com.google.firestore.v1.Document getDocument() {
         return com.google.firestore.v1.Document.getDefaultInstance();
       }
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     public Builder setDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
         if (value == null) {
@@ -1206,8 +1167,11 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
       elementTypeCase_ = 4;
       return this;
     }
-    /** .google.firestore.v1.Document document = 4; */
-    public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) {
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
+    public Builder setDocument(
+        com.google.firestore.v1.Document.Builder builderForValue) {
       if (documentBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -1217,16 +1181,15 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa
       elementTypeCase_ = 4;
       return this;
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     public Builder mergeDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
-        if (elementTypeCase_ == 4
-            && elementType_ != com.google.firestore.v1.Document.getDefaultInstance()) {
-          elementType_ =
-              com.google.firestore.v1.Document.newBuilder(
-                      (com.google.firestore.v1.Document) elementType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (elementTypeCase_ == 4 &&
+            elementType_ != com.google.firestore.v1.Document.getDefaultInstance()) {
+          elementType_ = com.google.firestore.v1.Document.newBuilder((com.google.firestore.v1.Document) elementType_)
+              .mergeFrom(value).buildPartial();
         } else {
           elementType_ = value;
         }
@@ -1241,7 +1204,9 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       elementTypeCase_ = 4;
       return this;
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     public Builder clearDocument() {
       if (documentBuilder_ == null) {
         if (elementTypeCase_ == 4) {
@@ -1258,11 +1223,15 @@ public Builder clearDocument() {
       }
       return this;
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     public com.google.firestore.v1.Document.Builder getDocumentBuilder() {
       return getDocumentFieldBuilder().getBuilder();
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     @java.lang.Override
     public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
       if ((elementTypeCase_ == 4) && (documentBuilder_ != null)) {
@@ -1274,31 +1243,30 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
         return com.google.firestore.v1.Document.getDefaultInstance();
       }
     }
-    /** .google.firestore.v1.Document document = 4; */
+    /**
+     * .google.firestore.v1.Document document = 4;
+     */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Document,
-            com.google.firestore.v1.Document.Builder,
-            com.google.firestore.v1.DocumentOrBuilder>
+        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> 
         getDocumentFieldBuilder() {
       if (documentBuilder_ == null) {
         if (!(elementTypeCase_ == 4)) {
           elementType_ = com.google.firestore.v1.Document.getDefaultInstance();
         }
-        documentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Document,
-                com.google.firestore.v1.Document.Builder,
-                com.google.firestore.v1.DocumentOrBuilder>(
-                (com.google.firestore.v1.Document) elementType_, getParentForChildren(), isClean());
+        documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>(
+                (com.google.firestore.v1.Document) elementType_,
+                getParentForChildren(),
+                isClean());
         elementType_ = null;
       }
       elementTypeCase_ = 4;
       onChanged();
       return documentBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1308,12 +1276,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.bundle.BundleElement)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.bundle.BundleElement)
   private static final com.google.firestore.bundle.BundleElement DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.bundle.BundleElement();
   }
@@ -1322,27 +1290,27 @@ public static com.google.firestore.bundle.BundleElement getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BundleElement parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BundleElement parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1357,4 +1325,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.bundle.BundleElement getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
similarity index 67%
rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
index a84a717fc..23ff8a73b 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
@@ -1,86 +1,70 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
-public interface BundleElementOrBuilder
-    extends
+public interface BundleElementOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundleElement)
     com.google.protobuf.MessageOrBuilder {
 
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
-   *
    * @return Whether the metadata field is set.
    */
   boolean hasMetadata();
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
-   *
    * @return The metadata.
    */
   com.google.firestore.bundle.BundleMetadata getMetadata();
-  /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+  /**
+   * .google.firestore.bundle.BundleMetadata metadata = 1;
+   */
   com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder();
 
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
-   *
    * @return Whether the namedQuery field is set.
    */
   boolean hasNamedQuery();
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
-   *
    * @return The namedQuery.
    */
   com.google.firestore.bundle.NamedQuery getNamedQuery();
-  /** .google.firestore.bundle.NamedQuery named_query = 2; */
+  /**
+   * .google.firestore.bundle.NamedQuery named_query = 2;
+   */
   com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder();
 
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   *
    * @return Whether the documentMetadata field is set.
    */
   boolean hasDocumentMetadata();
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   *
    * @return The documentMetadata.
    */
   com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata();
-  /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+  /**
+   * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   */
   com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder();
 
   /**
    * .google.firestore.v1.Document document = 4;
-   *
    * @return Whether the document field is set.
    */
   boolean hasDocument();
   /**
    * .google.firestore.v1.Document document = 4;
-   *
    * @return The document.
    */
   com.google.firestore.v1.Document getDocument();
-  /** .google.firestore.v1.Document document = 4; */
+  /**
+   * .google.firestore.v1.Document document = 4;
+   */
   com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder();
 
   public com.google.firestore.bundle.BundleElement.ElementTypeCase getElementTypeCase();
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
similarity index 69%
rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
index 08e4d9d84..c89f67feb 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
@@ -1,85 +1,62 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
 /**
- *
- *
  * 
  * Metadata describing the bundle file/stream.
  * 
* * Protobuf type {@code google.firestore.bundle.BundleMetadata} */ -public final class BundleMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BundleMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundleMetadata) BundleMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BundleMetadata.newBuilder() to construct. private BundleMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BundleMetadata() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BundleMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundleMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundleMetadata.class, - com.google.firestore.bundle.BundleMetadata.Builder.class); + com.google.firestore.bundle.BundleMetadata.class, com.google.firestore.bundle.BundleMetadata.Builder.class); } public static final int ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * *
    * The ID of the bundle.
    * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -88,29 +65,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * The ID of the bundle.
    * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -121,14 +98,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -136,14 +110,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ @java.lang.Override @@ -151,8 +122,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
@@ -167,14 +136,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int VERSION_FIELD_NUMBER = 3; private int version_ = 0; /** - * - * *
    * The schema version of the bundle.
    * 
* * uint32 version = 3; - * * @return The version. */ @java.lang.Override @@ -185,14 +151,11 @@ public int getVersion() { public static final int TOTAL_DOCUMENTS_FIELD_NUMBER = 4; private int totalDocuments_ = 0; /** - * - * *
    * The number of documents in the bundle.
    * 
* * uint32 total_documents = 4; - * * @return The totalDocuments. */ @java.lang.Override @@ -203,14 +166,11 @@ public int getTotalDocuments() { public static final int TOTAL_BYTES_FIELD_NUMBER = 5; private long totalBytes_ = 0L; /** - * - * *
    * The size of the bundle in bytes, excluding this `BundleMetadata`.
    * 
* * uint64 total_bytes = 5; - * * @return The totalBytes. */ @java.lang.Override @@ -219,7 +179,6 @@ public long getTotalBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,7 +190,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -260,16 +220,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (version_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeUInt32Size(3, version_); + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, version_); } if (totalDocuments_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, totalDocuments_); + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, totalDocuments_); } if (totalBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeUInt64Size(5, totalBytes_); + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(5, totalBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -279,22 +243,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.bundle.BundleMetadata)) { return super.equals(obj); } - com.google.firestore.bundle.BundleMetadata other = - (com.google.firestore.bundle.BundleMetadata) obj; + com.google.firestore.bundle.BundleMetadata other = (com.google.firestore.bundle.BundleMetadata) obj; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (getVersion() != other.getVersion()) return false; - if (getTotalDocuments() != other.getTotalDocuments()) return false; - if (getTotalBytes() != other.getTotalBytes()) return false; + if (getVersion() + != other.getVersion()) return false; + if (getTotalDocuments() + != other.getTotalDocuments()) return false; + if (getTotalBytes() + != other.getTotalBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -317,142 +285,137 @@ public int hashCode() { hash = (37 * hash) + TOTAL_DOCUMENTS_FIELD_NUMBER; hash = (53 * hash) + getTotalDocuments(); hash = (37 * hash) + TOTAL_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTotalBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.bundle.BundleMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.bundle.BundleMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.bundle.BundleMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.bundle.BundleMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.bundle.BundleMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.bundle.BundleMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.bundle.BundleMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.bundle.BundleMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.bundle.BundleMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.bundle.BundleMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.bundle.BundleMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.bundle.BundleMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.bundle.BundleMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.bundle.BundleMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.bundle.BundleMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata describing the bundle file/stream.
    * 
* * Protobuf type {@code google.firestore.bundle.BundleMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.bundle.BundleMetadata) com.google.firestore.bundle.BundleMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundleMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundleMetadata.class, - com.google.firestore.bundle.BundleMetadata.Builder.class); + com.google.firestore.bundle.BundleMetadata.class, com.google.firestore.bundle.BundleMetadata.Builder.class); } // Construct using com.google.firestore.bundle.BundleMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -470,9 +433,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundleMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_descriptor; } @java.lang.Override @@ -491,11 +454,8 @@ public com.google.firestore.bundle.BundleMetadata build() { @java.lang.Override public com.google.firestore.bundle.BundleMetadata buildPartial() { - com.google.firestore.bundle.BundleMetadata result = - new com.google.firestore.bundle.BundleMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.bundle.BundleMetadata result = new com.google.firestore.bundle.BundleMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -506,7 +466,9 @@ private void buildPartial0(com.google.firestore.bundle.BundleMetadata result) { result.id_ = id_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.version_ = version_; @@ -523,39 +485,38 @@ private void buildPartial0(com.google.firestore.bundle.BundleMetadata result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.bundle.BundleMetadata) { - return mergeFrom((com.google.firestore.bundle.BundleMetadata) other); + return mergeFrom((com.google.firestore.bundle.BundleMetadata)other); } else { super.mergeFrom(other); return this; @@ -607,43 +568,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - version_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: - { - totalDocuments_ = input.readUInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - totalBytes_ = input.readUInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + version_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + totalDocuments_ = input.readUInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + totalBytes_ = input.readUInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -653,25 +610,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object id_ = ""; /** - * - * *
      * The ID of the bundle.
      * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -680,21 +634,20 @@ public java.lang.String getId() { } } /** - * - * *
      * The ID of the bundle.
      * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -702,35 +655,28 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * The ID of the bundle.
      * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The ID of the bundle.
      * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { @@ -740,21 +686,17 @@ public Builder clearId() { return this; } /** - * - * *
      * The ID of the bundle.
      * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -764,47 +706,34 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -825,15 +754,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
* * .google.protobuf.Timestamp create_time = 2; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -844,8 +772,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -854,9 +780,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -869,8 +795,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -888,8 +812,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -902,8 +824,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -914,14 +834,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -929,32 +846,26 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } - private int version_; + private int version_ ; /** - * - * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; - * * @return The version. */ @java.lang.Override @@ -962,33 +873,27 @@ public int getVersion() { return version_; } /** - * - * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; - * * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(int value) { - + version_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -998,16 +903,13 @@ public Builder clearVersion() { return this; } - private int totalDocuments_; + private int totalDocuments_ ; /** - * - * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; - * * @return The totalDocuments. */ @java.lang.Override @@ -1015,33 +917,27 @@ public int getTotalDocuments() { return totalDocuments_; } /** - * - * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; - * * @param value The totalDocuments to set. * @return This builder for chaining. */ public Builder setTotalDocuments(int value) { - + totalDocuments_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; - * * @return This builder for chaining. */ public Builder clearTotalDocuments() { @@ -1051,16 +947,13 @@ public Builder clearTotalDocuments() { return this; } - private long totalBytes_; + private long totalBytes_ ; /** - * - * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; - * * @return The totalBytes. */ @java.lang.Override @@ -1068,33 +961,27 @@ public long getTotalBytes() { return totalBytes_; } /** - * - * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; - * * @param value The totalBytes to set. * @return This builder for chaining. */ public Builder setTotalBytes(long value) { - + totalBytes_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; - * * @return This builder for chaining. */ public Builder clearTotalBytes() { @@ -1103,9 +990,9 @@ public Builder clearTotalBytes() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.bundle.BundleMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.bundle.BundleMetadata) private static final com.google.firestore.bundle.BundleMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.bundle.BundleMetadata(); } @@ -1129,27 +1016,27 @@ public static com.google.firestore.bundle.BundleMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BundleMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BundleMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1164,4 +1051,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.bundle.BundleMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java similarity index 69% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java index 73817f7a5..fa6fc0c07 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; -public interface BundleMetadataOrBuilder - extends +public interface BundleMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundleMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The ID of the bundle.
    * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * The ID of the bundle.
    * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
@@ -84,40 +55,31 @@ public interface BundleMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The schema version of the bundle.
    * 
* * uint32 version = 3; - * * @return The version. */ int getVersion(); /** - * - * *
    * The number of documents in the bundle.
    * 
* * uint32 total_documents = 4; - * * @return The totalDocuments. */ int getTotalDocuments(); /** - * - * *
    * The size of the bundle in bytes, excluding this `BundleMetadata`.
    * 
* * uint64 total_bytes = 5; - * * @return The totalBytes. */ long getTotalBytes(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java new file mode 100644 index 000000000..6d67bae24 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java @@ -0,0 +1,126 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/bundle/bundle.proto + +package com.google.firestore.bundle; + +public final class BundleProto { + private BundleProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundledQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_NamedQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundleMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundleElement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n$google/firestore/bundle/bundle.proto\022\027" + + "google.firestore.bundle\032\"google/firestor" + + "e/v1/document.proto\032\037google/firestore/v1" + + "/query.proto\032\037google/protobuf/timestamp." + + "proto\"\325\001\n\014BundledQuery\022\016\n\006parent\030\001 \001(\t\022@" + + "\n\020structured_query\030\002 \001(\0132$.google.firest" + + "ore.v1.StructuredQueryH\000\022C\n\nlimit_type\030\003" + + " \001(\0162/.google.firestore.bundle.BundledQu" + + "ery.LimitType\" \n\tLimitType\022\t\n\005FIRST\020\000\022\010\n" + + "\004LAST\020\001B\014\n\nquery_type\"\207\001\n\nNamedQuery\022\014\n\004" + + "name\030\001 \001(\t\022<\n\rbundled_query\030\002 \001(\0132%.goog" + + "le.firestore.bundle.BundledQuery\022-\n\tread" + + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" + + "w\n\027BundledDocumentMetadata\022\014\n\004name\030\001 \001(\t" + + "\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022\016\n\006exists\030\003 \001(\010\022\017\n\007queries\030\004 \003(\t" + + "\"\214\001\n\016BundleMetadata\022\n\n\002id\030\001 \001(\t\022/\n\013creat" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\022\017\n\007version\030\003 \001(\r\022\027\n\017total_documents\030\004 \001" + + "(\r\022\023\n\013total_bytes\030\005 \001(\004\"\232\002\n\rBundleElemen" + + "t\022;\n\010metadata\030\001 \001(\0132\'.google.firestore.b" + + "undle.BundleMetadataH\000\022:\n\013named_query\030\002 " + + "\001(\0132#.google.firestore.bundle.NamedQuery" + + "H\000\022M\n\021document_metadata\030\003 \001(\01320.google.f" + + "irestore.bundle.BundledDocumentMetadataH" + + "\000\0221\n\010document\030\004 \001(\0132\035.google.firestore.v" + + "1.DocumentH\000B\016\n\014element_typeB\222\001\n\033com.goo" + + "gle.firestore.bundleB\013BundleProtoP\001Z6clo" + + "ud.google.com/go/firestore/bundle/bundle" + + "pb;bundlepb\242\002\005FSTPB\252\002\020Firestore.Bundle\312\002" + + "\020Firestore\\Bundleb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.firestore.v1.DocumentProto.getDescriptor(), + com.google.firestore.v1.QueryProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_firestore_bundle_BundledQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundledQuery_descriptor, + new java.lang.String[] { "Parent", "StructuredQuery", "LimitType", "QueryType", }); + internal_static_google_firestore_bundle_NamedQuery_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_NamedQuery_descriptor, + new java.lang.String[] { "Name", "BundledQuery", "ReadTime", }); + internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor, + new java.lang.String[] { "Name", "ReadTime", "Exists", "Queries", }); + internal_static_google_firestore_bundle_BundleMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundleMetadata_descriptor, + new java.lang.String[] { "Id", "CreateTime", "Version", "TotalDocuments", "TotalBytes", }); + internal_static_google_firestore_bundle_BundleElement_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundleElement_descriptor, + new java.lang.String[] { "Metadata", "NamedQuery", "DocumentMetadata", "Document", "ElementType", }); + com.google.firestore.v1.DocumentProto.getDescriptor(); + com.google.firestore.v1.QueryProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java similarity index 70% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java index d8c48814b..7e949d00a 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** - * - * *
  * Metadata describing a Firestore document saved in the bundle.
  * 
* * Protobuf type {@code google.firestore.bundle.BundledDocumentMetadata} */ -public final class BundledDocumentMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BundledDocumentMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundledDocumentMetadata) BundledDocumentMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BundledDocumentMetadata.newBuilder() to construct. private BundledDocumentMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BundledDocumentMetadata() { name_ = ""; queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,43 +26,38 @@ private BundledDocumentMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BundledDocumentMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundledDocumentMetadata.class, - com.google.firestore.bundle.BundledDocumentMetadata.Builder.class); + com.google.firestore.bundle.BundledDocumentMetadata.class, com.google.firestore.bundle.BundledDocumentMetadata.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The document key of a bundled document.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -89,29 +66,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The document key of a bundled document.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,14 +99,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -137,14 +111,11 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -152,8 +123,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The snapshot version of the document data bundled.
    * 
@@ -168,14 +137,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int EXISTS_FIELD_NUMBER = 3; private boolean exists_ = false; /** - * - * *
    * Whether the document exists.
    * 
* * bool exists = 3; - * * @return The exists. */ @java.lang.Override @@ -184,46 +150,37 @@ public boolean getExists() { } public static final int QUERIES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList queries_; /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList getQueriesList() { + public com.google.protobuf.ProtocolStringList + getQueriesList() { return queries_; } /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -231,23 +188,20 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString getQueriesBytes(int index) { + public com.google.protobuf.ByteString + getQueriesBytes(int index) { return queries_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +213,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -285,10 +240,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadTime()); } if (exists_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, exists_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, exists_); } { int dataSize = 0; @@ -306,21 +263,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.bundle.BundledDocumentMetadata)) { return super.equals(obj); } - com.google.firestore.bundle.BundledDocumentMetadata other = - (com.google.firestore.bundle.BundledDocumentMetadata) obj; + com.google.firestore.bundle.BundledDocumentMetadata other = (com.google.firestore.bundle.BundledDocumentMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; } - if (getExists() != other.getExists()) return false; - if (!getQueriesList().equals(other.getQueriesList())) return false; + if (getExists() + != other.getExists()) return false; + if (!getQueriesList() + .equals(other.getQueriesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -339,7 +299,8 @@ public int hashCode() { hash = (53 * hash) + getReadTime().hashCode(); } hash = (37 * hash) + EXISTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExists()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExists()); if (getQueriesCount() > 0) { hash = (37 * hash) + QUERIES_FIELD_NUMBER; hash = (53 * hash) + getQueriesList().hashCode(); @@ -350,135 +311,129 @@ public int hashCode() { } public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.bundle.BundledDocumentMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.bundle.BundledDocumentMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.bundle.BundledDocumentMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata describing a Firestore document saved in the bundle.
    * 
* * Protobuf type {@code google.firestore.bundle.BundledDocumentMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.bundle.BundledDocumentMetadata) com.google.firestore.bundle.BundledDocumentMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundledDocumentMetadata.class, - com.google.firestore.bundle.BundledDocumentMetadata.Builder.class); + com.google.firestore.bundle.BundledDocumentMetadata.class, com.google.firestore.bundle.BundledDocumentMetadata.Builder.class); } // Construct using com.google.firestore.bundle.BundledDocumentMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -496,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; } @java.lang.Override @@ -517,18 +472,14 @@ public com.google.firestore.bundle.BundledDocumentMetadata build() { @java.lang.Override public com.google.firestore.bundle.BundledDocumentMetadata buildPartial() { - com.google.firestore.bundle.BundledDocumentMetadata result = - new com.google.firestore.bundle.BundledDocumentMetadata(this); + com.google.firestore.bundle.BundledDocumentMetadata result = new com.google.firestore.bundle.BundledDocumentMetadata(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.firestore.bundle.BundledDocumentMetadata result) { + private void buildPartialRepeatedFields(com.google.firestore.bundle.BundledDocumentMetadata result) { if (((bitField0_ & 0x00000008) != 0)) { queries_ = queries_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -542,7 +493,9 @@ private void buildPartial0(com.google.firestore.bundle.BundledDocumentMetadata r result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.exists_ = exists_; @@ -553,39 +506,38 @@ private void buildPartial0(com.google.firestore.bundle.BundledDocumentMetadata r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.bundle.BundledDocumentMetadata) { - return mergeFrom((com.google.firestore.bundle.BundledDocumentMetadata) other); + return mergeFrom((com.google.firestore.bundle.BundledDocumentMetadata)other); } else { super.mergeFrom(other); return this; @@ -593,8 +545,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.bundle.BundledDocumentMetadata other) { - if (other == com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) - return this; + if (other == com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -642,38 +593,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - exists_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureQueriesIsMutable(); - queries_.add(s); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + exists_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureQueriesIsMutable(); + queries_.add(s); + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,25 +631,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The document key of a bundled document.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -710,21 +655,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The document key of a bundled document.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -732,35 +676,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The document key of a bundled document.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The document key of a bundled document.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -770,21 +707,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The document key of a bundled document.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -794,33 +727,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The snapshot version of the document data bundled.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -831,8 +755,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -853,15 +775,14 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
* * .google.protobuf.Timestamp read_time = 2; */ - public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setReadTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (readTimeBuilder_ == null) { readTime_ = builderForValue.build(); } else { @@ -872,8 +793,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -882,9 +801,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && readTime_ != null - && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + readTime_ != null && + readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -897,8 +816,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -916,8 +833,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -930,8 +845,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -942,12 +855,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { if (readTimeBuilder_ != null) { return readTimeBuilder_.getMessageOrBuilder(); } else { - return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + return readTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } } /** - * - * *
      * The snapshot version of the document data bundled.
      * 
@@ -955,32 +867,26 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getReadTimeFieldBuilder() { if (readTimeBuilder_ == null) { - readTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getReadTime(), getParentForChildren(), isClean()); + readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getReadTime(), + getParentForChildren(), + isClean()); readTime_ = null; } return readTimeBuilder_; } - private boolean exists_; + private boolean exists_ ; /** - * - * *
      * Whether the document exists.
      * 
* * bool exists = 3; - * * @return The exists. */ @java.lang.Override @@ -988,33 +894,27 @@ public boolean getExists() { return exists_; } /** - * - * *
      * Whether the document exists.
      * 
* * bool exists = 3; - * * @param value The exists to set. * @return This builder for chaining. */ public Builder setExists(boolean value) { - + exists_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Whether the document exists.
      * 
* * bool exists = 3; - * * @return This builder for chaining. */ public Builder clearExists() { @@ -1024,52 +924,42 @@ public Builder clearExists() { return this; } - private com.google.protobuf.LazyStringList queries_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureQueriesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { queries_ = new com.google.protobuf.LazyStringArrayList(queries_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList getQueriesList() { + public com.google.protobuf.ProtocolStringList + getQueriesList() { return queries_.getUnmodifiableView(); } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -1077,90 +967,76 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString getQueriesBytes(int index) { + public com.google.protobuf.ByteString + getQueriesBytes(int index) { return queries_.getByteString(index); } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @param index The index to set the value at. * @param value The queries to set. * @return This builder for chaining. */ - public Builder setQueries(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueries( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureQueriesIsMutable(); queries_.set(index, value); onChanged(); return this; } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @param value The queries to add. * @return This builder for chaining. */ - public Builder addQueries(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addQueries( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @param values The queries to add. * @return This builder for chaining. */ - public Builder addAllQueries(java.lang.Iterable values) { + public Builder addAllQueries( + java.lang.Iterable values) { ensureQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queries_); onChanged(); return this; } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @return This builder for chaining. */ public Builder clearQueries() { @@ -1170,30 +1046,26 @@ public Builder clearQueries() { return this; } /** - * - * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; - * * @param value The bytes of the queries to add. * @return This builder for chaining. */ - public Builder addQueriesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addQueriesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1203,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.bundle.BundledDocumentMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.bundle.BundledDocumentMetadata) private static final com.google.firestore.bundle.BundledDocumentMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.bundle.BundledDocumentMetadata(); } @@ -1217,27 +1089,27 @@ public static com.google.firestore.bundle.BundledDocumentMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BundledDocumentMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BundledDocumentMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1252,4 +1124,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.bundle.BundledDocumentMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java similarity index 71% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java index bf08931cc..2a01a269d 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; -public interface BundledDocumentMetadataOrBuilder - extends +public interface BundledDocumentMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundledDocumentMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The document key of a bundled document.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The document key of a bundled document.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The snapshot version of the document data bundled.
    * 
@@ -84,66 +55,53 @@ public interface BundledDocumentMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** - * - * *
    * Whether the document exists.
    * 
* * bool exists = 3; - * * @return The exists. */ boolean getExists(); /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @return A list containing the queries. */ - java.util.List getQueriesList(); + java.util.List + getQueriesList(); /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @return The count of queries. */ int getQueriesCount(); /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @param index The index of the element to return. * @return The queries at the given index. */ java.lang.String getQueries(int index); /** - * - * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; - * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - com.google.protobuf.ByteString getQueriesBytes(int index); + com.google.protobuf.ByteString + getQueriesBytes(int index); } diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java similarity index 69% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java index 9a9042dfb..bd6da96ff 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** - * - * *
  * Encodes a query saved in the bundle.
  * 
* * Protobuf type {@code google.firestore.bundle.BundledQuery} */ -public final class BundledQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BundledQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundledQuery) BundledQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BundledQuery.newBuilder() to construct. private BundledQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BundledQuery() { parent_ = ""; limitType_ = 0; @@ -44,33 +26,30 @@ private BundledQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BundledQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundledQuery.class, - com.google.firestore.bundle.BundledQuery.Builder.class); + com.google.firestore.bundle.BundledQuery.class, com.google.firestore.bundle.BundledQuery.Builder.class); } /** - * - * *
    * If the query is a limit query, should the limit be applied to the beginning or
    * the end of results.
@@ -78,19 +57,29 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.firestore.bundle.BundledQuery.LimitType}
    */
-  public enum LimitType implements com.google.protobuf.ProtocolMessageEnum {
-    /** FIRST = 0; */
+  public enum LimitType
+      implements com.google.protobuf.ProtocolMessageEnum {
+    /**
+     * FIRST = 0;
+     */
     FIRST(0),
-    /** LAST = 1; */
+    /**
+     * LAST = 1;
+     */
     LAST(1),
     UNRECOGNIZED(-1),
     ;
 
-    /** FIRST = 0; */
+    /**
+     * FIRST = 0;
+     */
     public static final int FIRST_VALUE = 0;
-    /** LAST = 1; */
+    /**
+     * LAST = 1;
+     */
     public static final int LAST_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -115,47 +104,48 @@ public static LimitType valueOf(int value) {
      */
     public static LimitType forNumber(int value) {
       switch (value) {
-        case 0:
-          return FIRST;
-        case 1:
-          return LAST;
-        default:
-          return null;
+        case 0: return FIRST;
+        case 1: return LAST;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        LimitType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public LimitType findValueByNumber(int number) {
+              return LimitType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public LimitType findValueByNumber(int number) {
-            return LimitType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.bundle.BundledQuery.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final LimitType[] VALUES = values();
 
-    public static LimitType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static LimitType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -174,15 +164,12 @@ private LimitType(int value) {
 
   private int queryTypeCase_ = 0;
   private java.lang.Object queryType_;
-
   public enum QueryTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STRUCTURED_QUERY(2),
     QUERYTYPE_NOT_SET(0);
     private final int value;
-
     private QueryTypeCase(int value) {
       this.value = value;
     }
@@ -198,37 +185,31 @@ public static QueryTypeCase valueOf(int value) {
 
     public static QueryTypeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return STRUCTURED_QUERY;
-        case 0:
-          return QUERYTYPE_NOT_SET;
-        default:
-          return null;
+        case 2: return STRUCTURED_QUERY;
+        case 0: return QUERYTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public QueryTypeCase getQueryTypeCase() {
-    return QueryTypeCase.forNumber(queryTypeCase_);
+  public QueryTypeCase
+  getQueryTypeCase() {
+    return QueryTypeCase.forNumber(
+        queryTypeCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * The parent resource name.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -237,29 +218,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent resource name.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -269,14 +250,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -284,26 +262,21 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** - * - * *
    * A structured query.
    * 
@@ -313,7 +286,7 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } @@ -322,29 +295,21 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil private int limitType_ = 0; /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return The enum numeric value on the wire for limitType. */ - @java.lang.Override - public int getLimitTypeValue() { + @java.lang.Override public int getLimitTypeValue() { return limitType_; } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return The limitType. */ - @java.lang.Override - public com.google.firestore.bundle.BundledQuery.LimitType getLimitType() { - com.google.firestore.bundle.BundledQuery.LimitType result = - com.google.firestore.bundle.BundledQuery.LimitType.forNumber(limitType_); - return result == null - ? com.google.firestore.bundle.BundledQuery.LimitType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.bundle.BundledQuery.LimitType getLimitType() { + com.google.firestore.bundle.BundledQuery.LimitType result = com.google.firestore.bundle.BundledQuery.LimitType.forNumber(limitType_); + return result == null ? com.google.firestore.bundle.BundledQuery.LimitType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -356,7 +321,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -379,12 +345,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queryTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.firestore.v1.StructuredQuery) queryType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery) queryType_); } if (limitType_ != com.google.firestore.bundle.BundledQuery.LimitType.FIRST.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, limitType_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, limitType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -394,19 +360,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.bundle.BundledQuery)) { return super.equals(obj); } com.google.firestore.bundle.BundledQuery other = (com.google.firestore.bundle.BundledQuery) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (limitType_ != other.limitType_) return false; if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 2: - if (!getStructuredQuery().equals(other.getStructuredQuery())) return false; + if (!getStructuredQuery() + .equals(other.getStructuredQuery())) return false; break; case 0: default: @@ -439,136 +407,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.bundle.BundledQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.bundle.BundledQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.bundle.BundledQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.bundle.BundledQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.bundle.BundledQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.bundle.BundledQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.bundle.BundledQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.bundle.BundledQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.bundle.BundledQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.bundle.BundledQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.bundle.BundledQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.bundle.BundledQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.bundle.BundledQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.bundle.BundledQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.bundle.BundledQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encodes a query saved in the bundle.
    * 
* * Protobuf type {@code google.firestore.bundle.BundledQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.bundle.BundledQuery) com.google.firestore.bundle.BundledQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundledQuery.class, - com.google.firestore.bundle.BundledQuery.Builder.class); + com.google.firestore.bundle.BundledQuery.class, com.google.firestore.bundle.BundledQuery.Builder.class); } // Construct using com.google.firestore.bundle.BundledQuery.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -584,9 +546,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.bundle.BundleProto - .internal_static_google_firestore_bundle_BundledQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_descriptor; } @java.lang.Override @@ -605,11 +567,8 @@ public com.google.firestore.bundle.BundledQuery build() { @java.lang.Override public com.google.firestore.bundle.BundledQuery buildPartial() { - com.google.firestore.bundle.BundledQuery result = - new com.google.firestore.bundle.BundledQuery(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.bundle.BundledQuery result = new com.google.firestore.bundle.BundledQuery(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -628,7 +587,8 @@ private void buildPartial0(com.google.firestore.bundle.BundledQuery result) { private void buildPartialOneofs(com.google.firestore.bundle.BundledQuery result) { result.queryTypeCase_ = queryTypeCase_; result.queryType_ = this.queryType_; - if (queryTypeCase_ == 2 && structuredQueryBuilder_ != null) { + if (queryTypeCase_ == 2 && + structuredQueryBuilder_ != null) { result.queryType_ = structuredQueryBuilder_.build(); } } @@ -637,39 +597,38 @@ private void buildPartialOneofs(com.google.firestore.bundle.BundledQuery result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.bundle.BundledQuery) { - return mergeFrom((com.google.firestore.bundle.BundledQuery) other); + return mergeFrom((com.google.firestore.bundle.BundledQuery)other); } else { super.mergeFrom(other); return this; @@ -687,15 +646,13 @@ public Builder mergeFrom(com.google.firestore.bundle.BundledQuery other) { setLimitTypeValue(other.getLimitTypeValue()); } switch (other.getQueryTypeCase()) { - case STRUCTURED_QUERY: - { - mergeStructuredQuery(other.getStructuredQuery()); - break; - } - case QUERYTYPE_NOT_SET: - { - break; - } + case STRUCTURED_QUERY: { + mergeStructuredQuery(other.getStructuredQuery()); + break; + } + case QUERYTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -723,31 +680,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry); - queryTypeCase_ = 2; - break; - } // case 18 - case 24: - { - limitType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStructuredQueryFieldBuilder().getBuilder(), + extensionRegistry); + queryTypeCase_ = 2; + break; + } // case 18 + case 24: { + limitType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -757,12 +712,12 @@ public Builder mergeFrom( } // finally return this; } - private int queryTypeCase_ = 0; private java.lang.Object queryType_; - - public QueryTypeCase getQueryTypeCase() { - return QueryTypeCase.forNumber(queryTypeCase_); + public QueryTypeCase + getQueryTypeCase() { + return QueryTypeCase.forNumber( + queryTypeCase_); } public Builder clearQueryType() { @@ -776,20 +731,18 @@ public Builder clearQueryType() { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent resource name.
      * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -798,21 +751,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent resource name.
      * 
* * string parent = 1; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -820,35 +772,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent resource name.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The parent resource name.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -858,21 +803,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * The parent resource name.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -881,19 +822,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder> - structuredQueryBuilder_; + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_; /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -901,14 +836,11 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override @@ -926,8 +858,6 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** - * - * *
      * A structured query.
      * 
@@ -948,8 +878,6 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** - * - * *
      * A structured query.
      * 
@@ -968,8 +896,6 @@ public Builder setStructuredQuery( return this; } /** - * - * *
      * A structured query.
      * 
@@ -978,13 +904,10 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 2 - && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = - com.google.firestore.v1.StructuredQuery.newBuilder( - (com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 2 && + queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -1000,8 +923,6 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** - * - * *
      * A structured query.
      * 
@@ -1025,8 +946,6 @@ public Builder clearStructuredQuery() { return this; } /** - * - * *
      * A structured query.
      * 
@@ -1037,8 +956,6 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** - * - * *
      * A structured query.
      * 
@@ -1057,8 +974,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** - * - * *
      * A structured query.
      * 
@@ -1066,19 +981,14 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil * .google.firestore.v1.StructuredQuery structured_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder> + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> getStructuredQueryFieldBuilder() { if (structuredQueryBuilder_ == null) { if (!(queryTypeCase_ == 2)) { queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } - structuredQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder>( + structuredQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder>( (com.google.firestore.v1.StructuredQuery) queryType_, getParentForChildren(), isClean()); @@ -1092,16 +1002,13 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil private int limitType_ = 0; /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return The enum numeric value on the wire for limitType. */ - @java.lang.Override - public int getLimitTypeValue() { + @java.lang.Override public int getLimitTypeValue() { return limitType_; } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @param value The enum numeric value on the wire for limitType to set. * @return This builder for chaining. */ @@ -1113,20 +1020,15 @@ public Builder setLimitTypeValue(int value) { } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return The limitType. */ @java.lang.Override public com.google.firestore.bundle.BundledQuery.LimitType getLimitType() { - com.google.firestore.bundle.BundledQuery.LimitType result = - com.google.firestore.bundle.BundledQuery.LimitType.forNumber(limitType_); - return result == null - ? com.google.firestore.bundle.BundledQuery.LimitType.UNRECOGNIZED - : result; + com.google.firestore.bundle.BundledQuery.LimitType result = com.google.firestore.bundle.BundledQuery.LimitType.forNumber(limitType_); + return result == null ? com.google.firestore.bundle.BundledQuery.LimitType.UNRECOGNIZED : result; } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @param value The limitType to set. * @return This builder for chaining. */ @@ -1141,7 +1043,6 @@ public Builder setLimitType(com.google.firestore.bundle.BundledQuery.LimitType v } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return This builder for chaining. */ public Builder clearLimitType() { @@ -1150,9 +1051,9 @@ public Builder clearLimitType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1162,12 +1063,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.bundle.BundledQuery) } // @@protoc_insertion_point(class_scope:google.firestore.bundle.BundledQuery) private static final com.google.firestore.bundle.BundledQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.bundle.BundledQuery(); } @@ -1176,27 +1077,27 @@ public static com.google.firestore.bundle.BundledQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BundledQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BundledQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1211,4 +1112,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.bundle.BundledQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java similarity index 69% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java index baea728d2..68ff233d8 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; -public interface BundledQueryOrBuilder - extends +public interface BundledQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundledQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The parent resource name.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent resource name.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** - * - * *
    * A structured query.
    * 
@@ -85,13 +56,11 @@ public interface BundledQueryOrBuilder /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return The enum numeric value on the wire for limitType. */ int getLimitTypeValue(); /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; - * * @return The limitType. */ com.google.firestore.bundle.BundledQuery.LimitType getLimitType(); diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java similarity index 71% rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java index 7a107326e..538ef1071 100644 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** - * - * *
  * A Query associated with a name, created as part of the bundle file, and can be read
  * by client SDKs once the bundle containing them is loaded.
@@ -28,53 +11,48 @@
  *
  * Protobuf type {@code google.firestore.bundle.NamedQuery}
  */
-public final class NamedQuery extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NamedQuery extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.bundle.NamedQuery)
     NamedQueryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NamedQuery.newBuilder() to construct.
   private NamedQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NamedQuery() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NamedQuery();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.bundle.BundleProto
-        .internal_static_google_firestore_bundle_NamedQuery_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.bundle.BundleProto
-        .internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
+    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.bundle.NamedQuery.class,
-            com.google.firestore.bundle.NamedQuery.Builder.class);
+            com.google.firestore.bundle.NamedQuery.class, com.google.firestore.bundle.NamedQuery.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -82,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -91,15 +68,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -107,15 +83,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,14 +103,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int BUNDLED_QUERY_FIELD_NUMBER = 2; private com.google.firestore.bundle.BundledQuery bundledQuery_; /** - * - * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return Whether the bundledQuery field is set. */ @java.lang.Override @@ -141,25 +115,18 @@ public boolean hasBundledQuery() { return bundledQuery_ != null; } /** - * - * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return The bundledQuery. */ @java.lang.Override public com.google.firestore.bundle.BundledQuery getBundledQuery() { - return bundledQuery_ == null - ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() - : bundledQuery_; + return bundledQuery_ == null ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() : bundledQuery_; } /** - * - * *
    * The query saved in the bundle.
    * 
@@ -168,23 +135,18 @@ public com.google.firestore.bundle.BundledQuery getBundledQuery() { */ @java.lang.Override public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilder() { - return bundledQuery_ == null - ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() - : bundledQuery_; + return bundledQuery_ == null ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() : bundledQuery_; } public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -192,15 +154,12 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ @java.lang.Override @@ -208,8 +167,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
@@ -223,7 +180,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -235,7 +191,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -258,10 +215,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (bundledQuery_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBundledQuery());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getBundledQuery());
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -271,21 +230,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.bundle.NamedQuery)) {
       return super.equals(obj);
     }
     com.google.firestore.bundle.NamedQuery other = (com.google.firestore.bundle.NamedQuery) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasBundledQuery() != other.hasBundledQuery()) return false;
     if (hasBundledQuery()) {
-      if (!getBundledQuery().equals(other.getBundledQuery())) return false;
+      if (!getBundledQuery()
+          .equals(other.getBundledQuery())) return false;
     }
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime().equals(other.getReadTime())) return false;
+      if (!getReadTime()
+          .equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -313,104 +275,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.bundle.NamedQuery parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.bundle.NamedQuery parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.bundle.NamedQuery parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.bundle.NamedQuery prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A Query associated with a name, created as part of the bundle file, and can be read
    * by client SDKs once the bundle containing them is loaded.
@@ -418,32 +373,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.bundle.NamedQuery}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.bundle.NamedQuery)
       com.google.firestore.bundle.NamedQueryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.bundle.BundleProto
-          .internal_static_google_firestore_bundle_NamedQuery_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.bundle.BundleProto
-          .internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
+      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.bundle.NamedQuery.class,
-              com.google.firestore.bundle.NamedQuery.Builder.class);
+              com.google.firestore.bundle.NamedQuery.class, com.google.firestore.bundle.NamedQuery.Builder.class);
     }
 
     // Construct using com.google.firestore.bundle.NamedQuery.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -463,9 +419,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.bundle.BundleProto
-          .internal_static_google_firestore_bundle_NamedQuery_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_descriptor;
     }
 
     @java.lang.Override
@@ -484,11 +440,8 @@ public com.google.firestore.bundle.NamedQuery build() {
 
     @java.lang.Override
     public com.google.firestore.bundle.NamedQuery buildPartial() {
-      com.google.firestore.bundle.NamedQuery result =
-          new com.google.firestore.bundle.NamedQuery(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.bundle.NamedQuery result = new com.google.firestore.bundle.NamedQuery(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -499,11 +452,14 @@ private void buildPartial0(com.google.firestore.bundle.NamedQuery result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.bundledQuery_ =
-            bundledQueryBuilder_ == null ? bundledQuery_ : bundledQueryBuilder_.build();
+        result.bundledQuery_ = bundledQueryBuilder_ == null
+            ? bundledQuery_
+            : bundledQueryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null
+            ? readTime_
+            : readTimeBuilder_.build();
       }
     }
 
@@ -511,39 +467,38 @@ private void buildPartial0(com.google.firestore.bundle.NamedQuery result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.bundle.NamedQuery) {
-        return mergeFrom((com.google.firestore.bundle.NamedQuery) other);
+        return mergeFrom((com.google.firestore.bundle.NamedQuery)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -589,31 +544,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getBundledQueryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getBundledQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -623,13 +578,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -637,13 +589,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -652,8 +604,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -661,14 +611,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -676,8 +627,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -685,22 +634,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -708,7 +653,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -718,8 +662,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -727,14 +669,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -744,47 +684,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.firestore.bundle.BundledQuery bundledQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.bundle.BundledQuery, - com.google.firestore.bundle.BundledQuery.Builder, - com.google.firestore.bundle.BundledQueryOrBuilder> - bundledQueryBuilder_; + com.google.firestore.bundle.BundledQuery, com.google.firestore.bundle.BundledQuery.Builder, com.google.firestore.bundle.BundledQueryOrBuilder> bundledQueryBuilder_; /** - * - * *
      * The query saved in the bundle.
      * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return Whether the bundledQuery field is set. */ public boolean hasBundledQuery() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The query saved in the bundle.
      * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return The bundledQuery. */ public com.google.firestore.bundle.BundledQuery getBundledQuery() { if (bundledQueryBuilder_ == null) { - return bundledQuery_ == null - ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() - : bundledQuery_; + return bundledQuery_ == null ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() : bundledQuery_; } else { return bundledQueryBuilder_.getMessage(); } } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -805,8 +732,6 @@ public Builder setBundledQuery(com.google.firestore.bundle.BundledQuery value) { return this; } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -825,8 +750,6 @@ public Builder setBundledQuery( return this; } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -835,9 +758,9 @@ public Builder setBundledQuery( */ public Builder mergeBundledQuery(com.google.firestore.bundle.BundledQuery value) { if (bundledQueryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && bundledQuery_ != null - && bundledQuery_ != com.google.firestore.bundle.BundledQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + bundledQuery_ != null && + bundledQuery_ != com.google.firestore.bundle.BundledQuery.getDefaultInstance()) { getBundledQueryBuilder().mergeFrom(value); } else { bundledQuery_ = value; @@ -850,8 +773,6 @@ public Builder mergeBundledQuery(com.google.firestore.bundle.BundledQuery value) return this; } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -869,8 +790,6 @@ public Builder clearBundledQuery() { return this; } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -883,8 +802,6 @@ public com.google.firestore.bundle.BundledQuery.Builder getBundledQueryBuilder() return getBundledQueryFieldBuilder().getBuilder(); } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -895,14 +812,11 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde if (bundledQueryBuilder_ != null) { return bundledQueryBuilder_.getMessageOrBuilder(); } else { - return bundledQuery_ == null - ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() - : bundledQuery_; + return bundledQuery_ == null ? + com.google.firestore.bundle.BundledQuery.getDefaultInstance() : bundledQuery_; } } /** - * - * *
      * The query saved in the bundle.
      * 
@@ -910,17 +824,14 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde * .google.firestore.bundle.BundledQuery bundled_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.bundle.BundledQuery, - com.google.firestore.bundle.BundledQuery.Builder, - com.google.firestore.bundle.BundledQueryOrBuilder> + com.google.firestore.bundle.BundledQuery, com.google.firestore.bundle.BundledQuery.Builder, com.google.firestore.bundle.BundledQueryOrBuilder> getBundledQueryFieldBuilder() { if (bundledQueryBuilder_ == null) { - bundledQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.bundle.BundledQuery, - com.google.firestore.bundle.BundledQuery.Builder, - com.google.firestore.bundle.BundledQueryOrBuilder>( - getBundledQuery(), getParentForChildren(), isClean()); + bundledQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.bundle.BundledQuery, com.google.firestore.bundle.BundledQuery.Builder, com.google.firestore.bundle.BundledQueryOrBuilder>( + getBundledQuery(), + getParentForChildren(), + isClean()); bundledQuery_ = null; } return bundledQueryBuilder_; @@ -928,35 +839,26 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -967,8 +869,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -990,8 +890,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -999,7 +897,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 3;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -1010,8 +909,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1021,9 +918,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1036,8 +933,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1056,8 +951,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1071,8 +964,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1084,12 +975,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -1098,24 +988,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1125,12 +1012,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.bundle.NamedQuery)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.bundle.NamedQuery)
   private static final com.google.firestore.bundle.NamedQuery DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.bundle.NamedQuery();
   }
@@ -1139,27 +1026,27 @@ public static com.google.firestore.bundle.NamedQuery getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public NamedQuery parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public NamedQuery parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1174,4 +1061,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.bundle.NamedQuery getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
similarity index 76%
rename from proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
index 1ab84b31e..b124e75f3 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
-public interface NamedQueryOrBuilder
-    extends
+public interface NamedQueryOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.bundle.NamedQuery)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -33,13 +15,10 @@ public interface NamedQueryOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -47,38 +26,30 @@ public interface NamedQueryOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return Whether the bundledQuery field is set. */ boolean hasBundledQuery(); /** - * - * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; - * * @return The bundledQuery. */ com.google.firestore.bundle.BundledQuery getBundledQuery(); /** - * - * *
    * The query saved in the bundle.
    * 
@@ -88,34 +59,26 @@ public interface NamedQueryOrBuilder com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilder(); /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto
similarity index 100%
rename from proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
similarity index 65%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
index f8a8ee4da..359de5066 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/aggregation_result.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The result of a single bucket from a Firestore aggregation query.
  * The keys of `aggregate_fields` are the same for all results in an aggregation
@@ -30,89 +13,82 @@
  *
  * Protobuf type {@code google.firestore.v1.AggregationResult}
  */
-public final class AggregationResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AggregationResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.AggregationResult)
     AggregationResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AggregationResult.newBuilder() to construct.
   private AggregationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AggregationResult() {}
+  private AggregationResult() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AggregationResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.AggregationResultProto
-        .internal_static_google_firestore_v1_AggregationResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 2:
         return internalGetAggregateFields();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.AggregationResultProto
-        .internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
+    return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.AggregationResult.class,
-            com.google.firestore.v1.AggregationResult.Builder.class);
+            com.google.firestore.v1.AggregationResult.class, com.google.firestore.v1.AggregationResult.Builder.class);
   }
 
   public static final int AGGREGATE_FIELDS_FIELD_NUMBER = 2;
-
   private static final class AggregateFieldsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry
-        defaultEntry =
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, com.google.firestore.v1.Value> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.firestore.v1.AggregationResultProto
-                        .internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.firestore.v1.Value.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.firestore.v1.Value.getDefaultInstance());
   }
-
   @SuppressWarnings("serial")
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.firestore.v1.Value> aggregateFields_;
   private com.google.protobuf.MapField
-      aggregateFields_;
-
-  private com.google.protobuf.MapField
-      internalGetAggregateFields() {
+  internalGetAggregateFields() {
     if (aggregateFields_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           AggregateFieldsDefaultEntryHolder.defaultEntry);
     }
     return aggregateFields_;
   }
-
   public int getAggregateFieldsCount() {
     return internalGetAggregateFields().getMap().size();
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -124,21 +100,20 @@ public int getAggregateFieldsCount() {
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   @java.lang.Override
-  public boolean containsAggregateFields(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAggregateFields(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAggregateFields().getMap().containsKey(key);
   }
-  /** Use {@link #getAggregateFieldsMap()} instead. */
+  /**
+   * Use {@link #getAggregateFieldsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAggregateFields() {
     return getAggregateFieldsMap();
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -154,8 +129,6 @@ public java.util.Map getAggrega
     return internalGetAggregateFields().getMap();
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -167,20 +140,17 @@ public java.util.Map getAggrega
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   @java.lang.Override
-  public /* nullable */ com.google.firestore.v1.Value getAggregateFieldsOrDefault(
+  public /* nullable */
+com.google.firestore.v1.Value getAggregateFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.firestore.v1.Value defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.firestore.v1.Value defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetAggregateFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -192,10 +162,9 @@ public java.util.Map getAggrega
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.firestore.v1.Value getAggregateFieldsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetAggregateFields().getMap();
     if (!map.containsKey(key)) {
@@ -205,7 +174,6 @@ public com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -217,9 +185,14 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetAggregateFields(), AggregateFieldsDefaultEntryHolder.defaultEntry, 2);
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetAggregateFields(),
+        AggregateFieldsDefaultEntryHolder.defaultEntry,
+        2);
     getUnknownFields().writeTo(output);
   }
 
@@ -229,16 +202,15 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    for (java.util.Map.Entry entry :
-        internalGetAggregateFields().getMap().entrySet()) {
+    for (java.util.Map.Entry entry
+         : internalGetAggregateFields().getMap().entrySet()) {
       com.google.protobuf.MapEntry
-          aggregateFields__ =
-              AggregateFieldsDefaultEntryHolder.defaultEntry
-                  .newBuilderForType()
-                  .setKey(entry.getKey())
-                  .setValue(entry.getValue())
-                  .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, aggregateFields__);
+      aggregateFields__ = AggregateFieldsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, aggregateFields__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -248,15 +220,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.AggregationResult)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.AggregationResult other =
-        (com.google.firestore.v1.AggregationResult) obj;
+    com.google.firestore.v1.AggregationResult other = (com.google.firestore.v1.AggregationResult) obj;
 
-    if (!internalGetAggregateFields().equals(other.internalGetAggregateFields())) return false;
+    if (!internalGetAggregateFields().equals(
+        other.internalGetAggregateFields())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -277,104 +249,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.AggregationResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.AggregationResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.AggregationResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of a single bucket from a Firestore aggregation query.
    * The keys of `aggregate_fields` are the same for all results in an aggregation
@@ -384,52 +349,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.AggregationResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.AggregationResult)
       com.google.firestore.v1.AggregationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.AggregationResultProto
-          .internal_static_google_firestore_v1_AggregationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetAggregateFields();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetMutableAggregateFields();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.AggregationResultProto
-          .internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
+      return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.AggregationResult.class,
-              com.google.firestore.v1.AggregationResult.Builder.class);
+              com.google.firestore.v1.AggregationResult.class, com.google.firestore.v1.AggregationResult.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.AggregationResult.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -439,9 +407,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.AggregationResultProto
-          .internal_static_google_firestore_v1_AggregationResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_descriptor;
     }
 
     @java.lang.Override
@@ -460,11 +428,8 @@ public com.google.firestore.v1.AggregationResult build() {
 
     @java.lang.Override
     public com.google.firestore.v1.AggregationResult buildPartial() {
-      com.google.firestore.v1.AggregationResult result =
-          new com.google.firestore.v1.AggregationResult(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.AggregationResult result = new com.google.firestore.v1.AggregationResult(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -481,39 +446,38 @@ private void buildPartial0(com.google.firestore.v1.AggregationResult result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.AggregationResult) {
-        return mergeFrom((com.google.firestore.v1.AggregationResult) other);
+        return mergeFrom((com.google.firestore.v1.AggregationResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -522,7 +486,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.firestore.v1.AggregationResult other) {
       if (other == com.google.firestore.v1.AggregationResult.getDefaultInstance()) return this;
-      internalGetMutableAggregateFields().mergeFrom(other.internalGetAggregateFields());
+      internalGetMutableAggregateFields().mergeFrom(
+          other.internalGetAggregateFields());
       bitField0_ |= 0x00000001;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -550,26 +515,21 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                com.google.protobuf.MapEntry
-                    aggregateFields__ =
-                        input.readMessage(
-                            AggregateFieldsDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableAggregateFields()
-                    .getMutableMap()
-                    .put(aggregateFields__.getKey(), aggregateFields__.getValue());
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              com.google.protobuf.MapEntry
+              aggregateFields__ = input.readMessage(
+                  AggregateFieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAggregateFields().getMutableMap().put(
+                  aggregateFields__.getKey(), aggregateFields__.getValue());
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -579,12 +539,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.MapField
-        aggregateFields_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, com.google.firestore.v1.Value> aggregateFields_;
     private com.google.protobuf.MapField
         internalGetAggregateFields() {
       if (aggregateFields_ == null) {
@@ -593,13 +551,11 @@ public Builder mergeFrom(
       }
       return aggregateFields_;
     }
-
     private com.google.protobuf.MapField
         internalGetMutableAggregateFields() {
       if (aggregateFields_ == null) {
-        aggregateFields_ =
-            com.google.protobuf.MapField.newMapField(
-                AggregateFieldsDefaultEntryHolder.defaultEntry);
+        aggregateFields_ = com.google.protobuf.MapField.newMapField(
+            AggregateFieldsDefaultEntryHolder.defaultEntry);
       }
       if (!aggregateFields_.isMutable()) {
         aggregateFields_ = aggregateFields_.copy();
@@ -608,13 +564,10 @@ public Builder mergeFrom(
       onChanged();
       return aggregateFields_;
     }
-
     public int getAggregateFieldsCount() {
       return internalGetAggregateFields().getMap().size();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -626,21 +579,20 @@ public int getAggregateFieldsCount() {
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
     @java.lang.Override
-    public boolean containsAggregateFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAggregateFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAggregateFields().getMap().containsKey(key);
     }
-    /** Use {@link #getAggregateFieldsMap()} instead. */
+    /**
+     * Use {@link #getAggregateFieldsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAggregateFields() {
       return getAggregateFieldsMap();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -656,8 +608,6 @@ public java.util.Map getAggrega
       return internalGetAggregateFields().getMap();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -669,20 +619,17 @@ public java.util.Map getAggrega
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
     @java.lang.Override
-    public /* nullable */ com.google.firestore.v1.Value getAggregateFieldsOrDefault(
+    public /* nullable */
+com.google.firestore.v1.Value getAggregateFieldsOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.firestore.v1.Value defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+com.google.firestore.v1.Value defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetAggregateFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -694,10 +641,9 @@ public java.util.Map getAggrega
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
     @java.lang.Override
-    public com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public com.google.firestore.v1.Value getAggregateFieldsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetAggregateFields().getMap();
       if (!map.containsKey(key)) {
@@ -705,15 +651,13 @@ public com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String
       }
       return map.get(key);
     }
-
     public Builder clearAggregateFields() {
       bitField0_ = (bitField0_ & ~0x00000001);
-      internalGetMutableAggregateFields().getMutableMap().clear();
+      internalGetMutableAggregateFields().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -724,14 +668,16 @@ public Builder clearAggregateFields() {
      *
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
-    public Builder removeAggregateFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAggregateFields().getMutableMap().remove(key);
+    public Builder removeAggregateFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAggregateFields().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
         getMutableAggregateFields() {
@@ -739,8 +685,6 @@ public Builder removeAggregateFields(java.lang.String key) {
       return internalGetMutableAggregateFields().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -751,20 +695,17 @@ public Builder removeAggregateFields(java.lang.String key) {
      *
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
-    public Builder putAggregateFields(java.lang.String key, com.google.firestore.v1.Value value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAggregateFields().getMutableMap().put(key, value);
+    public Builder putAggregateFields(
+        java.lang.String key,
+        com.google.firestore.v1.Value value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAggregateFields().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000001;
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -777,13 +718,14 @@ public Builder putAggregateFields(java.lang.String key, com.google.firestore.v1.
      */
     public Builder putAllAggregateFields(
         java.util.Map values) {
-      internalGetMutableAggregateFields().getMutableMap().putAll(values);
+      internalGetMutableAggregateFields().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000001;
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -793,12 +735,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.AggregationResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.AggregationResult)
   private static final com.google.firestore.v1.AggregationResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.AggregationResult();
   }
@@ -807,27 +749,27 @@ public static com.google.firestore.v1.AggregationResult getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AggregationResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AggregationResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -842,4 +784,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.AggregationResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
similarity index 72%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
index c539ea8ec..33a23aaf0 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/aggregation_result.proto
 
 package com.google.firestore.v1;
 
-public interface AggregationResultOrBuilder
-    extends
+public interface AggregationResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.AggregationResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -38,8 +20,6 @@ public interface AggregationResultOrBuilder
    */
   int getAggregateFieldsCount();
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -50,13 +30,15 @@ public interface AggregationResultOrBuilder
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  boolean containsAggregateFields(java.lang.String key);
-  /** Use {@link #getAggregateFieldsMap()} instead. */
+  boolean containsAggregateFields(
+      java.lang.String key);
+  /**
+   * Use {@link #getAggregateFieldsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAggregateFields();
+  java.util.Map
+  getAggregateFields();
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -67,10 +49,9 @@ public interface AggregationResultOrBuilder
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  java.util.Map getAggregateFieldsMap();
+  java.util.Map
+  getAggregateFieldsMap();
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -82,13 +63,11 @@ public interface AggregationResultOrBuilder
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   /* nullable */
-  com.google.firestore.v1.Value getAggregateFieldsOrDefault(
+com.google.firestore.v1.Value getAggregateFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.firestore.v1.Value defaultValue);
+com.google.firestore.v1.Value defaultValue);
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -99,5 +78,6 @@ com.google.firestore.v1.Value getAggregateFieldsOrDefault(
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String key);
+  com.google.firestore.v1.Value getAggregateFieldsOrThrow(
+      java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java
new file mode 100644
index 000000000..3be2edaf3
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java
@@ -0,0 +1,71 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/aggregation_result.proto
+
+package com.google.firestore.v1;
+
+public final class AggregationResultProto {
+  private AggregationResultProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_AggregationResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n,google/firestore/v1/aggregation_result" +
+      ".proto\022\023google.firestore.v1\032\"google/fire" +
+      "store/v1/document.proto\"\276\001\n\021AggregationR" +
+      "esult\022U\n\020aggregate_fields\030\002 \003(\0132;.google" +
+      ".firestore.v1.AggregationResult.Aggregat" +
+      "eFieldsEntry\032R\n\024AggregateFieldsEntry\022\013\n\003" +
+      "key\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.google.firest" +
+      "ore.v1.Value:\0028\001B\316\001\n\027com.google.firestor" +
+      "e.v1B\026AggregationResultProtoP\001Z;cloud.go" +
+      "ogle.com/go/firestore/apiv1/firestorepb;" +
+      "firestorepb\242\002\004GCFS\252\002\031Google.Cloud.Firest" +
+      "ore.V1\312\002\031Google\\Cloud\\Firestore\\V1\352\002\034Goo" +
+      "gle::Cloud::Firestore::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.firestore.v1.DocumentProto.getDescriptor(),
+        });
+    internal_static_google_firestore_v1_AggregationResult_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_AggregationResult_descriptor,
+        new java.lang.String[] { "AggregateFields", });
+    internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor =
+      internal_static_google_firestore_v1_AggregationResult_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    com.google.firestore.v1.DocumentProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
similarity index 69%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
index 4c24457e1..3e6a556bc 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
@@ -1,79 +1,57 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * An array value.
  * 
* * Protobuf type {@code google.firestore.v1.ArrayValue} */ -public final class ArrayValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArrayValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ArrayValue) ArrayValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArrayValue.newBuilder() to construct. private ArrayValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArrayValue() { values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArrayValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_ArrayValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ArrayValue.class, - com.google.firestore.v1.ArrayValue.Builder.class); + com.google.firestore.v1.ArrayValue.class, com.google.firestore.v1.ArrayValue.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List values_; /** - * - * *
    * Values in the array.
    * 
@@ -85,8 +63,6 @@ public java.util.List getValuesList() { return values_; } /** - * - * *
    * Values in the array.
    * 
@@ -94,12 +70,11 @@ public java.util.List getValuesList() { * repeated .google.firestore.v1.Value values = 1; */ @java.lang.Override - public java.util.List getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { return values_; } /** - * - * *
    * Values in the array.
    * 
@@ -111,8 +86,6 @@ public int getValuesCount() { return values_.size(); } /** - * - * *
    * Values in the array.
    * 
@@ -124,8 +97,6 @@ public com.google.firestore.v1.Value getValues(int index) { return values_.get(index); } /** - * - * *
    * Values in the array.
    * 
@@ -133,12 +104,12 @@ public com.google.firestore.v1.Value getValues(int index) { * repeated .google.firestore.v1.Value values = 1; */ @java.lang.Override - public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { + public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( + int index) { return values_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -164,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,14 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ArrayValue)) { return super.equals(obj); } com.google.firestore.v1.ArrayValue other = (com.google.firestore.v1.ArrayValue) obj; - if (!getValuesList().equals(other.getValuesList())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,135 +176,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ArrayValue parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.ArrayValue parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ArrayValue parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.ArrayValue parseFrom(com.google.protobuf.ByteString data) + public static com.google.firestore.v1.ArrayValue parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ArrayValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ArrayValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ArrayValue parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ArrayValue parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ArrayValue parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ArrayValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.ArrayValue parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ArrayValue parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ArrayValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.ArrayValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An array value.
    * 
* * Protobuf type {@code google.firestore.v1.ArrayValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.ArrayValue) com.google.firestore.v1.ArrayValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_ArrayValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ArrayValue.class, - com.google.firestore.v1.ArrayValue.Builder.class); + com.google.firestore.v1.ArrayValue.class, com.google.firestore.v1.ArrayValue.Builder.class); } // Construct using com.google.firestore.v1.ArrayValue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -346,9 +315,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_ArrayValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_descriptor; } @java.lang.Override @@ -369,9 +338,7 @@ public com.google.firestore.v1.ArrayValue build() { public com.google.firestore.v1.ArrayValue buildPartial() { com.google.firestore.v1.ArrayValue result = new com.google.firestore.v1.ArrayValue(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -396,39 +363,38 @@ private void buildPartial0(com.google.firestore.v1.ArrayValue result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.ArrayValue) { - return mergeFrom((com.google.firestore.v1.ArrayValue) other); + return mergeFrom((com.google.firestore.v1.ArrayValue)other); } else { super.mergeFrom(other); return this; @@ -455,10 +421,9 @@ public Builder mergeFrom(com.google.firestore.v1.ArrayValue other) { valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValuesFieldBuilder() - : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValuesFieldBuilder() : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -490,25 +455,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.firestore.v1.Value m = - input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(m); - } else { - valuesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.firestore.v1.Value m = + input.readMessage( + com.google.firestore.v1.Value.parser(), + extensionRegistry); + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(m); + } else { + valuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -518,28 +483,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List values_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder> - valuesBuilder_; + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> valuesBuilder_; /** - * - * *
      * Values in the array.
      * 
@@ -554,8 +512,6 @@ public java.util.List getValuesList() { } } /** - * - * *
      * Values in the array.
      * 
@@ -570,8 +526,6 @@ public int getValuesCount() { } } /** - * - * *
      * Values in the array.
      * 
@@ -586,15 +540,14 @@ public com.google.firestore.v1.Value getValues(int index) { } } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder setValues(int index, com.google.firestore.v1.Value value) { + public Builder setValues( + int index, com.google.firestore.v1.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -608,15 +561,14 @@ public Builder setValues(int index, com.google.firestore.v1.Value value) { return this; } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder setValues(int index, com.google.firestore.v1.Value.Builder builderForValue) { + public Builder setValues( + int index, com.google.firestore.v1.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.set(index, builderForValue.build()); @@ -627,8 +579,6 @@ public Builder setValues(int index, com.google.firestore.v1.Value.Builder builde return this; } /** - * - * *
      * Values in the array.
      * 
@@ -649,15 +599,14 @@ public Builder addValues(com.google.firestore.v1.Value value) { return this; } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder addValues(int index, com.google.firestore.v1.Value value) { + public Builder addValues( + int index, com.google.firestore.v1.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -671,15 +620,14 @@ public Builder addValues(int index, com.google.firestore.v1.Value value) { return this; } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) { + public Builder addValues( + com.google.firestore.v1.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -690,15 +638,14 @@ public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) return this; } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder addValues(int index, com.google.firestore.v1.Value.Builder builderForValue) { + public Builder addValues( + int index, com.google.firestore.v1.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(index, builderForValue.build()); @@ -709,8 +656,6 @@ public Builder addValues(int index, com.google.firestore.v1.Value.Builder builde return this; } /** - * - * *
      * Values in the array.
      * 
@@ -721,7 +666,8 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -729,8 +675,6 @@ public Builder addAllValues( return this; } /** - * - * *
      * Values in the array.
      * 
@@ -748,8 +692,6 @@ public Builder clearValues() { return this; } /** - * - * *
      * Values in the array.
      * 
@@ -767,44 +709,39 @@ public Builder removeValues(int index) { return this; } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) { + public com.google.firestore.v1.Value.Builder getValuesBuilder( + int index) { return getValuesFieldBuilder().getBuilder(index); } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { + public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( + int index) { if (valuesBuilder_ == null) { - return values_.get(index); - } else { + return values_.get(index); } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -812,8 +749,6 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { } } /** - * - * *
      * Values in the array.
      * 
@@ -821,53 +756,49 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { * repeated .google.firestore.v1.Value values = 1; */ public com.google.firestore.v1.Value.Builder addValuesBuilder() { - return getValuesFieldBuilder().addBuilder(com.google.firestore.v1.Value.getDefaultInstance()); + return getValuesFieldBuilder().addBuilder( + com.google.firestore.v1.Value.getDefaultInstance()); } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) { - return getValuesFieldBuilder() - .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance()); + public com.google.firestore.v1.Value.Builder addValuesBuilder( + int index) { + return getValuesFieldBuilder().addBuilder( + index, com.google.firestore.v1.Value.getDefaultInstance()); } /** - * - * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public java.util.List getValuesBuilderList() { + public java.util.List + getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder> + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder>( - values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>( + values_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); values_ = null; } return valuesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -877,12 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ArrayValue) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ArrayValue) private static final com.google.firestore.v1.ArrayValue DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.ArrayValue(); } @@ -891,27 +822,27 @@ public static com.google.firestore.v1.ArrayValue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrayValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrayValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,4 +857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ArrayValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java similarity index 55% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java index 5aa4db46e..2b842d6ae 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface ArrayValueOrBuilder - extends +public interface ArrayValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ArrayValue) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Values in the array.
    * 
* * repeated .google.firestore.v1.Value values = 1; */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
    * Values in the array.
    * 
@@ -44,8 +25,6 @@ public interface ArrayValueOrBuilder */ com.google.firestore.v1.Value getValues(int index); /** - * - * *
    * Values in the array.
    * 
@@ -54,23 +33,21 @@ public interface ArrayValueOrBuilder */ int getValuesCount(); /** - * - * *
    * Values in the array.
    * 
* * repeated .google.firestore.v1.Value values = 1; */ - java.util.List getValuesOrBuilderList(); + java.util.List + getValuesOrBuilderList(); /** - * - * *
    * Values in the array.
    * 
* * repeated .google.firestore.v1.Value values = 1; */ - com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index); + com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( + int index); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java similarity index 75% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java index fb7a4bf34..fba2c6575 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for
  * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest}
  */
-public final class BatchGetDocumentsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchGetDocumentsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsRequest)
     BatchGetDocumentsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchGetDocumentsRequest.newBuilder() to construct.
   private BatchGetDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchGetDocumentsRequest() {
     database_ = "";
     documents_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -45,43 +27,39 @@ private BatchGetDocumentsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchGetDocumentsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BatchGetDocumentsRequest.class,
-            com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class);
+            com.google.firestore.v1.BatchGetDocumentsRequest.class, com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class);
   }
 
   private int consistencySelectorCase_ = 0;
   private java.lang.Object consistencySelector_;
-
   public enum ConsistencySelectorCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TRANSACTION(4),
     NEW_TRANSACTION(5),
     READ_TIME(7),
     CONSISTENCYSELECTOR_NOT_SET(0);
     private final int value;
-
     private ConsistencySelectorCase(int value) {
       this.value = value;
     }
@@ -97,42 +75,34 @@ public static ConsistencySelectorCase valueOf(int value) {
 
     public static ConsistencySelectorCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return TRANSACTION;
-        case 5:
-          return NEW_TRANSACTION;
-        case 7:
-          return READ_TIME;
-        case 0:
-          return CONSISTENCYSELECTOR_NOT_SET;
-        default:
-          return null;
+        case 4: return TRANSACTION;
+        case 5: return NEW_TRANSACTION;
+        case 7: return READ_TIME;
+        case 0: return CONSISTENCYSELECTOR_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConsistencySelectorCase getConsistencySelectorCase() {
-    return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+  public ConsistencySelectorCase
+  getConsistencySelectorCase() {
+    return ConsistencySelectorCase.forNumber(
+        consistencySelectorCase_);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ @java.lang.Override @@ -141,30 +111,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -173,12 +143,9 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } public static final int DOCUMENTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList documents_; /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -187,15 +154,13 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
    * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList getDocumentsList() { + public com.google.protobuf.ProtocolStringList + getDocumentsList() { return documents_; } /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -204,15 +169,12 @@ public com.google.protobuf.ProtocolStringList getDocumentsList() {
    * 
* * repeated string documents = 2; - * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -221,7 +183,6 @@ public int getDocumentsCount() {
    * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -229,8 +190,6 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -239,19 +198,17 @@ public java.lang.String getDocuments(int index) {
    * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString getDocumentsBytes(int index) { + public com.google.protobuf.ByteString + getDocumentsBytes(int index) { return documents_.getByteString(index); } public static final int MASK_FIELD_NUMBER = 3; private com.google.firestore.v1.DocumentMask mask_; /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -259,7 +216,6 @@ public com.google.protobuf.ByteString getDocumentsBytes(int index) {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ @java.lang.Override @@ -267,8 +223,6 @@ public boolean hasMask() { return mask_ != null; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -276,7 +230,6 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ @java.lang.Override @@ -284,8 +237,6 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -301,14 +252,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
   public static final int TRANSACTION_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -316,14 +264,11 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** - * - * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; - * * @return The transaction. */ @java.lang.Override @@ -336,8 +281,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 5; /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -346,7 +289,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -354,8 +296,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -364,19 +304,16 @@ public boolean hasNewTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getNewTransaction() { if (consistencySelectorCase_ == 5) { - return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; } return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -389,22 +326,19 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencySelectorCase_ == 5) {
-      return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+       return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
     }
     return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -412,27 +346,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 7) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -443,13 +372,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 7) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -461,7 +389,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
     }
@@ -472,7 +401,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(3, getMask());
     }
     if (consistencySelectorCase_ == 4) {
-      output.writeBytes(4, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(
+          4, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
       output.writeMessage(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
@@ -501,22 +431,21 @@ public int getSerializedSize() {
       size += 1 * getDocumentsList().size();
     }
     if (mask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMask());
     }
     if (consistencySelectorCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeBytesSize(
-              4, (com.google.protobuf.ByteString) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(
+            4, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
     }
     if (consistencySelectorCase_ == 7) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              7, (com.google.protobuf.Timestamp) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -526,30 +455,35 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.BatchGetDocumentsRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.BatchGetDocumentsRequest other =
-        (com.google.firestore.v1.BatchGetDocumentsRequest) obj;
+    com.google.firestore.v1.BatchGetDocumentsRequest other = (com.google.firestore.v1.BatchGetDocumentsRequest) obj;
 
-    if (!getDatabase().equals(other.getDatabase())) return false;
-    if (!getDocumentsList().equals(other.getDocumentsList())) return false;
+    if (!getDatabase()
+        .equals(other.getDatabase())) return false;
+    if (!getDocumentsList()
+        .equals(other.getDocumentsList())) return false;
     if (hasMask() != other.hasMask()) return false;
     if (hasMask()) {
-      if (!getMask().equals(other.getMask())) return false;
+      if (!getMask()
+          .equals(other.getMask())) return false;
     }
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 4:
-        if (!getTransaction().equals(other.getTransaction())) return false;
+        if (!getTransaction()
+            .equals(other.getTransaction())) return false;
         break;
       case 5:
-        if (!getNewTransaction().equals(other.getNewTransaction())) return false;
+        if (!getNewTransaction()
+            .equals(other.getNewTransaction())) return false;
         break;
       case 7:
-        if (!getReadTime().equals(other.getReadTime())) return false;
+        if (!getReadTime()
+            .equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -596,104 +530,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.BatchGetDocumentsRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.BatchGetDocumentsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.BatchGetDocumentsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
@@ -701,32 +628,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchGetDocumentsRequest)
       com.google.firestore.v1.BatchGetDocumentsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BatchGetDocumentsRequest.class,
-              com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class);
+              com.google.firestore.v1.BatchGetDocumentsRequest.class, com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BatchGetDocumentsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -751,9 +679,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -772,19 +700,15 @@ public com.google.firestore.v1.BatchGetDocumentsRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BatchGetDocumentsRequest buildPartial() {
-      com.google.firestore.v1.BatchGetDocumentsRequest result =
-          new com.google.firestore.v1.BatchGetDocumentsRequest(this);
+      com.google.firestore.v1.BatchGetDocumentsRequest result = new com.google.firestore.v1.BatchGetDocumentsRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.firestore.v1.BatchGetDocumentsRequest result) {
+    private void buildPartialRepeatedFields(com.google.firestore.v1.BatchGetDocumentsRequest result) {
       if (((bitField0_ & 0x00000002) != 0)) {
         documents_ = documents_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000002);
@@ -798,17 +722,21 @@ private void buildPartial0(com.google.firestore.v1.BatchGetDocumentsRequest resu
         result.database_ = database_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
+        result.mask_ = maskBuilder_ == null
+            ? mask_
+            : maskBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.firestore.v1.BatchGetDocumentsRequest result) {
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 5 && newTransactionBuilder_ != null) {
+      if (consistencySelectorCase_ == 5 &&
+          newTransactionBuilder_ != null) {
         result.consistencySelector_ = newTransactionBuilder_.build();
       }
-      if (consistencySelectorCase_ == 7 && readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 7 &&
+          readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -817,39 +745,38 @@ private void buildPartialOneofs(com.google.firestore.v1.BatchGetDocumentsRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BatchGetDocumentsRequest) {
-        return mergeFrom((com.google.firestore.v1.BatchGetDocumentsRequest) other);
+        return mergeFrom((com.google.firestore.v1.BatchGetDocumentsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -857,8 +784,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsRequest other) {
-      if (other == com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance()) return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -878,25 +804,21 @@ public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsRequest other)
         mergeMask(other.getMask());
       }
       switch (other.getConsistencySelectorCase()) {
-        case TRANSACTION:
-          {
-            setTransaction(other.getTransaction());
-            break;
-          }
-        case NEW_TRANSACTION:
-          {
-            mergeNewTransaction(other.getNewTransaction());
-            break;
-          }
-        case READ_TIME:
-          {
-            mergeReadTime(other.getReadTime());
-            break;
-          }
-        case CONSISTENCYSELECTOR_NOT_SET:
-          {
-            break;
-          }
+        case TRANSACTION: {
+          setTransaction(other.getTransaction());
+          break;
+        }
+        case NEW_TRANSACTION: {
+          mergeNewTransaction(other.getNewTransaction());
+          break;
+        }
+        case READ_TIME: {
+          mergeReadTime(other.getReadTime());
+          break;
+        }
+        case CONSISTENCYSELECTOR_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -924,50 +846,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureDocumentsIsMutable();
-                documents_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                consistencySelector_ = input.readBytes();
-                consistencySelectorCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getNewTransactionFieldBuilder().getBuilder(), extensionRegistry);
-                consistencySelectorCase_ = 5;
-                break;
-              } // case 42
-            case 58:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                consistencySelectorCase_ = 7;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureDocumentsIsMutable();
+              documents_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              consistencySelector_ = input.readBytes();
+              consistencySelectorCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getNewTransactionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              consistencySelectorCase_ = 5;
+              break;
+            } // case 42
+            case 58: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              consistencySelectorCase_ = 7;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -977,12 +898,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-
-    public ConsistencySelectorCase getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+    public ConsistencySelectorCase
+        getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(
+          consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -996,21 +917,19 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -1019,22 +938,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -1042,37 +960,30 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -1082,22 +993,18 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -1105,18 +1012,14 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList documents_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDocumentsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { documents_ = new com.google.protobuf.LazyStringArrayList(documents_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1125,15 +1028,13 @@ private void ensureDocumentsIsMutable() {
      * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList getDocumentsList() { + public com.google.protobuf.ProtocolStringList + getDocumentsList() { return documents_.getUnmodifiableView(); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1142,15 +1043,12 @@ public com.google.protobuf.ProtocolStringList getDocumentsList() {
      * 
* * repeated string documents = 2; - * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1159,7 +1057,6 @@ public int getDocumentsCount() {
      * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -1167,8 +1064,6 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1177,16 +1072,14 @@ public java.lang.String getDocuments(int index) {
      * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString getDocumentsBytes(int index) { + public com.google.protobuf.ByteString + getDocumentsBytes(int index) { return documents_.getByteString(index); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1195,23 +1088,19 @@ public com.google.protobuf.ByteString getDocumentsBytes(int index) {
      * 
* * repeated string documents = 2; - * * @param index The index to set the value at. * @param value The documents to set. * @return This builder for chaining. */ - public Builder setDocuments(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDocuments( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDocumentsIsMutable(); documents_.set(index, value); onChanged(); return this; } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1220,22 +1109,18 @@ public Builder setDocuments(int index, java.lang.String value) {
      * 
* * repeated string documents = 2; - * * @param value The documents to add. * @return This builder for chaining. */ - public Builder addDocuments(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDocuments( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1244,19 +1129,18 @@ public Builder addDocuments(java.lang.String value) {
      * 
* * repeated string documents = 2; - * * @param values The documents to add. * @return This builder for chaining. */ - public Builder addAllDocuments(java.lang.Iterable values) { + public Builder addAllDocuments( + java.lang.Iterable values) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, documents_); onChanged(); return this; } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1265,7 +1149,6 @@ public Builder addAllDocuments(java.lang.Iterable values) {
      * 
* * repeated string documents = 2; - * * @return This builder for chaining. */ public Builder clearDocuments() { @@ -1275,8 +1158,6 @@ public Builder clearDocuments() { return this; } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1285,14 +1166,12 @@ public Builder clearDocuments() {
      * 
* * repeated string documents = 2; - * * @param value The bytes of the documents to add. * @return This builder for chaining. */ - public Builder addDocumentsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDocumentsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDocumentsIsMutable(); documents_.add(value); @@ -1302,13 +1181,8 @@ public Builder addDocumentsBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - maskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1316,15 +1190,12 @@ public Builder addDocumentsBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ public boolean hasMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1332,7 +1203,6 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1343,8 +1213,6 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1367,8 +1235,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1377,7 +1243,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 3;
      */
-    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
       } else {
@@ -1388,8 +1255,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1400,9 +1265,9 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
      */
     public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && mask_ != null
-            && mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          mask_ != null &&
+          mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getMaskBuilder().mergeFrom(value);
         } else {
           mask_ = value;
@@ -1415,8 +1280,6 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1436,8 +1299,6 @@ public Builder clearMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1452,8 +1313,6 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1466,12 +1325,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1481,45 +1339,36 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(), getParentForChildren(), isClean());
+        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(),
+                getParentForChildren(),
+                isClean());
         mask_ = null;
       }
       return maskBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** - * - * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1529,35 +1378,27 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } consistencySelectorCase_ = 4; consistencySelector_ = value; onChanged(); return this; } /** - * - * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1570,13 +1411,8 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, - com.google.firestore.v1.TransactionOptions.Builder, - com.google.firestore.v1.TransactionOptionsOrBuilder> - newTransactionBuilder_; + com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1585,7 +1421,6 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1593,8 +1428,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1603,7 +1436,6 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ @java.lang.Override @@ -1621,8 +1453,6 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1646,8 +1476,6 @@ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1669,8 +1497,6 @@ public Builder setNewTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1682,14 +1508,10 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencySelectorCase_ == 5
-            && consistencySelector_
-                != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.firestore.v1.TransactionOptions.newBuilder(
-                      (com.google.firestore.v1.TransactionOptions) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 5 &&
+            consistencySelector_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencySelector_ = com.google.firestore.v1.TransactionOptions.newBuilder((com.google.firestore.v1.TransactionOptions) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1705,8 +1527,6 @@ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions va
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1733,8 +1553,6 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1748,8 +1566,6 @@ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1771,8 +1587,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1783,19 +1597,14 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * .google.firestore.v1.TransactionOptions new_transaction = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.TransactionOptions,
-            com.google.firestore.v1.TransactionOptions.Builder,
-            com.google.firestore.v1.TransactionOptionsOrBuilder>
+        com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> 
         getNewTransactionFieldBuilder() {
       if (newTransactionBuilder_ == null) {
         if (!(consistencySelectorCase_ == 5)) {
           consistencySelector_ = com.google.firestore.v1.TransactionOptions.getDefaultInstance();
         }
-        newTransactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.TransactionOptions,
-                com.google.firestore.v1.TransactionOptions.Builder,
-                com.google.firestore.v1.TransactionOptionsOrBuilder>(
+        newTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder>(
                 (com.google.firestore.v1.TransactionOptions) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1807,20 +1616,14 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        readTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1828,15 +1631,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ @java.lang.Override @@ -1854,8 +1654,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1877,8 +1675,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1886,7 +1682,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 7;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1897,8 +1694,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1908,13 +1703,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 7
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 7 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1930,8 +1722,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1956,8 +1746,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1969,8 +1757,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1990,8 +1776,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -2000,19 +1784,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 7)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -2022,9 +1801,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2034,12 +1813,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchGetDocumentsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchGetDocumentsRequest)
   private static final com.google.firestore.v1.BatchGetDocumentsRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.BatchGetDocumentsRequest();
   }
@@ -2048,27 +1827,27 @@ public static com.google.firestore.v1.BatchGetDocumentsRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchGetDocumentsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchGetDocumentsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2083,4 +1862,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.BatchGetDocumentsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
similarity index 84%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
index 7c77b6fe6..8705811b4 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
@@ -1,58 +1,35 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchGetDocumentsRequestOrBuilder
-    extends
+public interface BatchGetDocumentsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -61,13 +38,11 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - java.util.List getDocumentsList(); + java.util.List + getDocumentsList(); /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -76,13 +51,10 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * repeated string documents = 2; - * * @return The count of documents. */ int getDocumentsCount(); /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -91,14 +63,11 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ java.lang.String getDocuments(int index); /** - * - * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -107,15 +76,13 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - com.google.protobuf.ByteString getDocumentsBytes(int index); + com.google.protobuf.ByteString + getDocumentsBytes(int index); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -123,13 +90,10 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ boolean hasMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -137,13 +101,10 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -155,33 +116,25 @@ public interface BatchGetDocumentsRequestOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -190,13 +143,10 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -205,13 +155,10 @@ public interface BatchGetDocumentsRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -224,34 +171,26 @@ public interface BatchGetDocumentsRequestOrBuilder
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -261,6 +200,5 @@ public interface BatchGetDocumentsRequestOrBuilder
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
similarity index 73%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
index f00c5a233..837a78329 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The streamed response for
  * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
@@ -28,58 +11,53 @@
  *
  * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse}
  */
-public final class BatchGetDocumentsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchGetDocumentsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsResponse)
     BatchGetDocumentsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchGetDocumentsResponse.newBuilder() to construct.
   private BatchGetDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchGetDocumentsResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchGetDocumentsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BatchGetDocumentsResponse.class,
-            com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class);
+            com.google.firestore.v1.BatchGetDocumentsResponse.class, com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class);
   }
 
   private int resultCase_ = 0;
   private java.lang.Object result_;
-
   public enum ResultCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     FOUND(1),
     MISSING(2),
     RESULT_NOT_SET(0);
     private final int value;
-
     private ResultCase(int value) {
       this.value = value;
     }
@@ -95,36 +73,30 @@ public static ResultCase valueOf(int value) {
 
     public static ResultCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return FOUND;
-        case 2:
-          return MISSING;
-        case 0:
-          return RESULT_NOT_SET;
-        default:
-          return null;
+        case 1: return FOUND;
+        case 2: return MISSING;
+        case 0: return RESULT_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ResultCase getResultCase() {
-    return ResultCase.forNumber(resultCase_);
+  public ResultCase
+  getResultCase() {
+    return ResultCase.forNumber(
+        resultCase_);
   }
 
   public static final int FOUND_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; - * * @return Whether the found field is set. */ @java.lang.Override @@ -132,26 +104,21 @@ public boolean hasFound() { return resultCase_ == 1; } /** - * - * *
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; - * * @return The found. */ @java.lang.Override public com.google.firestore.v1.Document getFound() { if (resultCase_ == 1) { - return (com.google.firestore.v1.Document) result_; + return (com.google.firestore.v1.Document) result_; } return com.google.firestore.v1.Document.getDefaultInstance(); } /** - * - * *
    * A document that was requested.
    * 
@@ -161,37 +128,31 @@ public com.google.firestore.v1.Document getFound() { @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { if (resultCase_ == 1) { - return (com.google.firestore.v1.Document) result_; + return (com.google.firestore.v1.Document) result_; } return com.google.firestore.v1.Document.getDefaultInstance(); } public static final int MISSING_FIELD_NUMBER = 2; /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return Whether the missing field is set. */ public boolean hasMissing() { return resultCase_ == 2; } /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return The missing. */ public java.lang.String getMissing() { @@ -202,7 +163,8 @@ public java.lang.String getMissing() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (resultCase_ == 2) { result_ = s; @@ -211,25 +173,24 @@ public java.lang.String getMissing() { } } /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return The bytes for missing. */ - public com.google.protobuf.ByteString getMissingBytes() { + public com.google.protobuf.ByteString + getMissingBytes() { java.lang.Object ref = ""; if (resultCase_ == 2) { ref = result_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (resultCase_ == 2) { result_ = b; } @@ -242,8 +203,6 @@ public com.google.protobuf.ByteString getMissingBytes() { public static final int TRANSACTION_FIELD_NUMBER = 3; private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * The transaction that was started as part of this request.
    * Will only be set in the first response, and only if
@@ -252,7 +211,6 @@ public com.google.protobuf.ByteString getMissingBytes() {
    * 
* * bytes transaction = 3; - * * @return The transaction. */ @java.lang.Override @@ -263,8 +221,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -273,7 +229,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -281,8 +236,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -291,7 +244,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -299,8 +251,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -316,7 +266,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -328,7 +277,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (resultCase_ == 1) {
       output.writeMessage(1, (com.google.firestore.v1.Document) result_);
     }
@@ -351,18 +301,19 @@ public int getSerializedSize() {
 
     size = 0;
     if (resultCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.firestore.v1.Document) result_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.firestore.v1.Document) result_);
     }
     if (resultCase_ == 2) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, result_);
     }
     if (!transaction_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, transaction_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(3, transaction_);
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -372,26 +323,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.BatchGetDocumentsResponse)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.BatchGetDocumentsResponse other =
-        (com.google.firestore.v1.BatchGetDocumentsResponse) obj;
+    com.google.firestore.v1.BatchGetDocumentsResponse other = (com.google.firestore.v1.BatchGetDocumentsResponse) obj;
 
-    if (!getTransaction().equals(other.getTransaction())) return false;
+    if (!getTransaction()
+        .equals(other.getTransaction())) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime().equals(other.getReadTime())) return false;
+      if (!getReadTime()
+          .equals(other.getReadTime())) return false;
     }
     if (!getResultCase().equals(other.getResultCase())) return false;
     switch (resultCase_) {
       case 1:
-        if (!getFound().equals(other.getFound())) return false;
+        if (!getFound()
+            .equals(other.getFound())) return false;
         break;
       case 2:
-        if (!getMissing().equals(other.getMissing())) return false;
+        if (!getMissing()
+            .equals(other.getMissing())) return false;
         break;
       case 0:
       default:
@@ -431,103 +385,96 @@ public int hashCode() {
   }
 
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.BatchGetDocumentsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.BatchGetDocumentsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.BatchGetDocumentsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The streamed response for
    * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
@@ -535,32 +482,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchGetDocumentsResponse)
       com.google.firestore.v1.BatchGetDocumentsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BatchGetDocumentsResponse.class,
-              com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class);
+              com.google.firestore.v1.BatchGetDocumentsResponse.class, com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BatchGetDocumentsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -580,9 +528,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -601,11 +549,8 @@ public com.google.firestore.v1.BatchGetDocumentsResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BatchGetDocumentsResponse buildPartial() {
-      com.google.firestore.v1.BatchGetDocumentsResponse result =
-          new com.google.firestore.v1.BatchGetDocumentsResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.BatchGetDocumentsResponse result = new com.google.firestore.v1.BatchGetDocumentsResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -617,14 +562,17 @@ private void buildPartial0(com.google.firestore.v1.BatchGetDocumentsResponse res
         result.transaction_ = transaction_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null
+            ? readTime_
+            : readTimeBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.firestore.v1.BatchGetDocumentsResponse result) {
       result.resultCase_ = resultCase_;
       result.result_ = this.result_;
-      if (resultCase_ == 1 && foundBuilder_ != null) {
+      if (resultCase_ == 1 &&
+          foundBuilder_ != null) {
         result.result_ = foundBuilder_.build();
       }
     }
@@ -633,39 +581,38 @@ private void buildPartialOneofs(com.google.firestore.v1.BatchGetDocumentsRespons
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BatchGetDocumentsResponse) {
-        return mergeFrom((com.google.firestore.v1.BatchGetDocumentsResponse) other);
+        return mergeFrom((com.google.firestore.v1.BatchGetDocumentsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -673,8 +620,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsResponse other) {
-      if (other == com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance()) return this;
       if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) {
         setTransaction(other.getTransaction());
       }
@@ -682,22 +628,19 @@ public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsResponse other
         mergeReadTime(other.getReadTime());
       }
       switch (other.getResultCase()) {
-        case FOUND:
-          {
-            mergeFound(other.getFound());
-            break;
-          }
-        case MISSING:
-          {
-            resultCase_ = 2;
-            result_ = other.result_;
-            onChanged();
-            break;
-          }
-        case RESULT_NOT_SET:
-          {
-            break;
-          }
+        case FOUND: {
+          mergeFound(other.getFound());
+          break;
+        }
+        case MISSING: {
+          resultCase_ = 2;
+          result_ = other.result_;
+          onChanged();
+          break;
+        }
+        case RESULT_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -725,38 +668,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getFoundFieldBuilder().getBuilder(), extensionRegistry);
-                resultCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                resultCase_ = 2;
-                result_ = s;
-                break;
-              } // case 18
-            case 26:
-              {
-                transaction_ = input.readBytes();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getFoundFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              resultCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              resultCase_ = 2;
+              result_ = s;
+              break;
+            } // case 18
+            case 26: {
+              transaction_ = input.readBytes();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -766,12 +708,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int resultCase_ = 0;
     private java.lang.Object result_;
-
-    public ResultCase getResultCase() {
-      return ResultCase.forNumber(resultCase_);
+    public ResultCase
+        getResultCase() {
+      return ResultCase.forNumber(
+          resultCase_);
     }
 
     public Builder clearResult() {
@@ -784,19 +726,13 @@ public Builder clearResult() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Document,
-            com.google.firestore.v1.Document.Builder,
-            com.google.firestore.v1.DocumentOrBuilder>
-        foundBuilder_;
+        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> foundBuilder_;
     /**
-     *
-     *
      * 
      * A document that was requested.
      * 
* * .google.firestore.v1.Document found = 1; - * * @return Whether the found field is set. */ @java.lang.Override @@ -804,14 +740,11 @@ public boolean hasFound() { return resultCase_ == 1; } /** - * - * *
      * A document that was requested.
      * 
* * .google.firestore.v1.Document found = 1; - * * @return The found. */ @java.lang.Override @@ -829,8 +762,6 @@ public com.google.firestore.v1.Document getFound() { } } /** - * - * *
      * A document that was requested.
      * 
@@ -851,15 +782,14 @@ public Builder setFound(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A document that was requested.
      * 
* * .google.firestore.v1.Document found = 1; */ - public Builder setFound(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setFound( + com.google.firestore.v1.Document.Builder builderForValue) { if (foundBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -870,8 +800,6 @@ public Builder setFound(com.google.firestore.v1.Document.Builder builderForValue return this; } /** - * - * *
      * A document that was requested.
      * 
@@ -880,12 +808,10 @@ public Builder setFound(com.google.firestore.v1.Document.Builder builderForValue */ public Builder mergeFound(com.google.firestore.v1.Document value) { if (foundBuilder_ == null) { - if (resultCase_ == 1 && result_ != com.google.firestore.v1.Document.getDefaultInstance()) { - result_ = - com.google.firestore.v1.Document.newBuilder( - (com.google.firestore.v1.Document) result_) - .mergeFrom(value) - .buildPartial(); + if (resultCase_ == 1 && + result_ != com.google.firestore.v1.Document.getDefaultInstance()) { + result_ = com.google.firestore.v1.Document.newBuilder((com.google.firestore.v1.Document) result_) + .mergeFrom(value).buildPartial(); } else { result_ = value; } @@ -901,8 +827,6 @@ public Builder mergeFound(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A document that was requested.
      * 
@@ -926,8 +850,6 @@ public Builder clearFound() { return this; } /** - * - * *
      * A document that was requested.
      * 
@@ -938,8 +860,6 @@ public com.google.firestore.v1.Document.Builder getFoundBuilder() { return getFoundFieldBuilder().getBuilder(); } /** - * - * *
      * A document that was requested.
      * 
@@ -958,8 +878,6 @@ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { } } /** - * - * *
      * A document that was requested.
      * 
@@ -967,20 +885,17 @@ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { * .google.firestore.v1.Document found = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> getFoundFieldBuilder() { if (foundBuilder_ == null) { if (!(resultCase_ == 1)) { result_ = com.google.firestore.v1.Document.getDefaultInstance(); } - foundBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder>( - (com.google.firestore.v1.Document) result_, getParentForChildren(), isClean()); + foundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( + (com.google.firestore.v1.Document) result_, + getParentForChildren(), + isClean()); result_ = null; } resultCase_ = 1; @@ -989,15 +904,12 @@ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { } /** - * - * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; - * * @return Whether the missing field is set. */ @java.lang.Override @@ -1005,15 +917,12 @@ public boolean hasMissing() { return resultCase_ == 2; } /** - * - * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; - * * @return The missing. */ @java.lang.Override @@ -1023,7 +932,8 @@ public java.lang.String getMissing() { ref = result_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (resultCase_ == 2) { result_ = s; @@ -1034,26 +944,25 @@ public java.lang.String getMissing() { } } /** - * - * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; - * * @return The bytes for missing. */ @java.lang.Override - public com.google.protobuf.ByteString getMissingBytes() { + public com.google.protobuf.ByteString + getMissingBytes() { java.lang.Object ref = ""; if (resultCase_ == 2) { ref = result_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (resultCase_ == 2) { result_ = b; } @@ -1063,37 +972,30 @@ public com.google.protobuf.ByteString getMissingBytes() { } } /** - * - * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; - * * @param value The missing to set. * @return This builder for chaining. */ - public Builder setMissing(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMissing( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } resultCase_ = 2; result_ = value; onChanged(); return this; } /** - * - * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; - * * @return This builder for chaining. */ public Builder clearMissing() { @@ -1105,22 +1007,18 @@ public Builder clearMissing() { return this; } /** - * - * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; - * * @param value The bytes for missing to set. * @return This builder for chaining. */ - public Builder setMissingBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMissingBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resultCase_ = 2; result_ = value; @@ -1130,8 +1028,6 @@ public Builder setMissingBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The transaction that was started as part of this request.
      * Will only be set in the first response, and only if
@@ -1140,7 +1036,6 @@ public Builder setMissingBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 3; - * * @return The transaction. */ @java.lang.Override @@ -1148,8 +1043,6 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The transaction that was started as part of this request.
      * Will only be set in the first response, and only if
@@ -1158,22 +1051,17 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 3; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The transaction that was started as part of this request.
      * Will only be set in the first response, and only if
@@ -1182,7 +1070,6 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 3; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1194,13 +1081,8 @@ public Builder clearTransaction() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1209,15 +1091,12 @@ public Builder clearTransaction() {
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1226,7 +1105,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1237,8 +1115,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1262,8 +1138,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1273,7 +1147,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -1284,8 +1159,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1297,9 +1170,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1312,8 +1185,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1334,8 +1205,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1351,8 +1220,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1366,12 +1233,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1382,24 +1248,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1409,12 +1272,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchGetDocumentsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchGetDocumentsResponse)
   private static final com.google.firestore.v1.BatchGetDocumentsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.BatchGetDocumentsResponse();
   }
@@ -1423,27 +1286,27 @@ public static com.google.firestore.v1.BatchGetDocumentsResponse getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchGetDocumentsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchGetDocumentsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1458,4 +1321,6 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.firestore.v1.BatchGetDocumentsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
similarity index 80%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
index fceb027e3..6a52a517f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchGetDocumentsResponseOrBuilder
-    extends
+public interface BatchGetDocumentsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; - * * @return Whether the found field is set. */ boolean hasFound(); /** - * - * *
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; - * * @return The found. */ com.google.firestore.v1.Document getFound(); /** - * - * *
    * A document that was requested.
    * 
@@ -59,48 +35,38 @@ public interface BatchGetDocumentsResponseOrBuilder com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder(); /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return Whether the missing field is set. */ boolean hasMissing(); /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return The missing. */ java.lang.String getMissing(); /** - * - * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; - * * @return The bytes for missing. */ - com.google.protobuf.ByteString getMissingBytes(); + com.google.protobuf.ByteString + getMissingBytes(); /** - * - * *
    * The transaction that was started as part of this request.
    * Will only be set in the first response, and only if
@@ -109,14 +75,11 @@ public interface BatchGetDocumentsResponseOrBuilder
    * 
* * bytes transaction = 3; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -125,13 +88,10 @@ public interface BatchGetDocumentsResponseOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -140,13 +100,10 @@ public interface BatchGetDocumentsResponseOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
similarity index 69%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
index 172294171..4d3ad7649 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for
  * [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.v1.BatchWriteRequest}
  */
-public final class BatchWriteRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchWriteRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchWriteRequest)
     BatchWriteRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchWriteRequest.newBuilder() to construct.
   private BatchWriteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchWriteRequest() {
     database_ = "";
     writes_ = java.util.Collections.emptyList();
@@ -45,55 +27,51 @@ private BatchWriteRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchWriteRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BatchWriteRequest.class,
-            com.google.firestore.v1.BatchWriteRequest.Builder.class);
+            com.google.firestore.v1.BatchWriteRequest.class, com.google.firestore.v1.BatchWriteRequest.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ @java.lang.Override @@ -102,30 +80,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -134,12 +112,9 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } public static final int WRITES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List writes_; /** - * - * *
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -154,8 +129,6 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -166,12 +139,11 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public java.util.List getWritesOrBuilderList() {
+  public java.util.List 
+      getWritesOrBuilderList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -186,8 +158,6 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -202,8 +172,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -214,39 +182,38 @@ public com.google.firestore.v1.Write getWrites(int index) {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index) {
     return writes_.get(index);
   }
 
   public static final int LABELS_FIELD_NUMBER = 3;
-
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.firestore.v1.FirestoreProto
-                .internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> labels_;
+  private com.google.protobuf.MapField
+  internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
-
   public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Labels associated with this batch write.
    * 
@@ -254,21 +221,20 @@ public int getLabelsCount() { * map<string, string> labels = 3; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels associated with this batch write.
    * 
@@ -280,8 +246,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels associated with this batch write.
    * 
@@ -289,19 +253,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels associated with this batch write.
    * 
@@ -309,11 +271,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -321,7 +283,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,15 +294,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } for (int i = 0; i < writes_.size(); i++) { output.writeMessage(2, writes_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 3); getUnknownFields().writeTo(output); } @@ -355,17 +321,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } for (int i = 0; i < writes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, writes_.get(i)); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, writes_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, labels__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -375,17 +342,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.BatchWriteRequest)) { return super.equals(obj); } - com.google.firestore.v1.BatchWriteRequest other = - (com.google.firestore.v1.BatchWriteRequest) obj; + com.google.firestore.v1.BatchWriteRequest other = (com.google.firestore.v1.BatchWriteRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getWritesList().equals(other.getWritesList())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getWritesList() + .equals(other.getWritesList())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -412,104 +381,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.BatchWriteRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.BatchWriteRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.BatchWriteRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.BatchWriteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.BatchWriteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.BatchWriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.BatchWriteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.BatchWriteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.BatchWriteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.BatchWriteRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.BatchWriteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.BatchWriteRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.BatchWriteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.BatchWriteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.BatchWriteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
@@ -517,52 +479,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.BatchWriteRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchWriteRequest)
       com.google.firestore.v1.BatchWriteRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BatchWriteRequest.class,
-              com.google.firestore.v1.BatchWriteRequest.Builder.class);
+              com.google.firestore.v1.BatchWriteRequest.class, com.google.firestore.v1.BatchWriteRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BatchWriteRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -580,9 +545,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
     }
 
     @java.lang.Override
@@ -601,12 +566,9 @@ public com.google.firestore.v1.BatchWriteRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BatchWriteRequest buildPartial() {
-      com.google.firestore.v1.BatchWriteRequest result =
-          new com.google.firestore.v1.BatchWriteRequest(this);
+      com.google.firestore.v1.BatchWriteRequest result = new com.google.firestore.v1.BatchWriteRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -638,39 +600,38 @@ private void buildPartial0(com.google.firestore.v1.BatchWriteRequest result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BatchWriteRequest) {
-        return mergeFrom((com.google.firestore.v1.BatchWriteRequest) other);
+        return mergeFrom((com.google.firestore.v1.BatchWriteRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -702,16 +663,16 @@ public Builder mergeFrom(com.google.firestore.v1.BatchWriteRequest other) {
             writesBuilder_ = null;
             writes_ = other.writes_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            writesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getWritesFieldBuilder()
-                    : null;
+            writesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getWritesFieldBuilder() : null;
           } else {
             writesBuilder_.addAllMessages(other.writes_);
           }
         }
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000004;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -739,43 +700,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.firestore.v1.Write m =
-                    input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry);
-                if (writesBuilder_ == null) {
-                  ensureWritesIsMutable();
-                  writes_.add(m);
-                } else {
-                  writesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.firestore.v1.Write m =
+                  input.readMessage(
+                      com.google.firestore.v1.Write.parser(),
+                      extensionRegistry);
+              if (writesBuilder_ == null) {
+                ensureWritesIsMutable();
+                writes_.add(m);
+              } else {
+                writesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -785,26 +742,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -813,22 +767,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -836,37 +789,30 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -876,22 +822,18 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -900,24 +842,18 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { } private java.util.List writes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, - com.google.firestore.v1.Write.Builder, - com.google.firestore.v1.WriteOrBuilder> - writesBuilder_; + com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; /** - * - * *
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -935,8 +871,6 @@ public java.util.List getWritesList() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -954,8 +888,6 @@ public int getWritesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -973,8 +905,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -984,7 +914,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -998,8 +929,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1009,7 +938,8 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.set(index, builderForValue.build());
@@ -1020,8 +950,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1045,8 +973,6 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1056,7 +982,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1070,8 +997,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1081,7 +1006,8 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(builderForValue.build());
@@ -1092,8 +1018,6 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1103,7 +1027,8 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(index, builderForValue.build());
@@ -1114,8 +1039,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1129,7 +1052,8 @@ public Builder addAllWrites(
         java.lang.Iterable values) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writes_);
         onChanged();
       } else {
         writesBuilder_.addAllMessages(values);
@@ -1137,8 +1061,6 @@ public Builder addAllWrites(
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1159,8 +1081,6 @@ public Builder clearWrites() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1181,8 +1101,6 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1192,12 +1110,11 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(
+        int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1207,16 +1124,14 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+        int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);
-      } else {
+        return writes_.get(index);  } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1226,8 +1141,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List
-        getWritesOrBuilderList() {
+    public java.util.List 
+         getWritesOrBuilderList() {
       if (writesBuilder_ != null) {
         return writesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1235,8 +1150,6 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1247,11 +1160,10 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      * repeated .google.firestore.v1.Write writes = 2;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(
+          com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1261,13 +1173,12 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
-      return getWritesFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(
+        int index) {
+      return getWritesFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1277,40 +1188,40 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List getWritesBuilderList() {
+    public java.util.List 
+         getWritesBuilderList() {
       return getWritesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Write,
-            com.google.firestore.v1.Write.Builder,
-            com.google.firestore.v1.WriteOrBuilder>
+        com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> 
         getWritesFieldBuilder() {
       if (writesBuilder_ == null) {
-        writesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Write,
-                com.google.firestore.v1.Write.Builder,
-                com.google.firestore.v1.WriteOrBuilder>(
-                writes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        writesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder>(
+                writes_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         writes_ = null;
       }
       return writesBuilder_;
     }
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+        internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
-
     private com.google.protobuf.MapField
         internalGetMutableLabels() {
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -1319,13 +1230,10 @@ private com.google.protobuf.MapField interna
       onChanged();
       return labels_;
     }
-
     public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Labels associated with this batch write.
      * 
@@ -1333,21 +1241,20 @@ public int getLabelsCount() { * map<string, string> labels = 3; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels associated with this batch write.
      * 
@@ -1359,8 +1266,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels associated with this batch write.
      * 
@@ -1368,19 +1273,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels associated with this batch write.
      * 
@@ -1388,81 +1291,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels associated with this batch write.
      * 
* * map<string, string> labels = 3; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000004; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels associated with this batch write.
      * 
* * map<string, string> labels = 3; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000004; return this; } /** - * - * *
      * Labels associated with this batch write.
      * 
* * map<string, string> labels = 3; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000004; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1472,12 +1373,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchWriteRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchWriteRequest) private static final com.google.firestore.v1.BatchWriteRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.BatchWriteRequest(); } @@ -1486,27 +1387,27 @@ public static com.google.firestore.v1.BatchWriteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchWriteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchWriteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1521,4 +1422,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.BatchWriteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java index 937b46657..95ea5ab91 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface BatchWriteRequestOrBuilder - extends +public interface BatchWriteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchWriteRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -62,10 +39,9 @@ public interface BatchWriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List getWritesList();
+  java.util.List 
+      getWritesList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -77,8 +53,6 @@ public interface BatchWriteRequestOrBuilder
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -90,8 +64,6 @@ public interface BatchWriteRequestOrBuilder
    */
   int getWritesCount();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -101,10 +73,9 @@ public interface BatchWriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List getWritesOrBuilderList();
+  java.util.List 
+      getWritesOrBuilderList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -114,11 +85,10 @@ public interface BatchWriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Labels associated with this batch write.
    * 
@@ -127,31 +97,30 @@ public interface BatchWriteRequestOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels associated with this batch write.
    * 
@@ -159,18 +128,17 @@ public interface BatchWriteRequestOrBuilder * map<string, string> labels = 3; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java similarity index 75% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java index 4ca4c0a12..e16824a80 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The response from
  * [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.v1.BatchWriteResponse}
  */
-public final class BatchWriteResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchWriteResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchWriteResponse)
     BatchWriteResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchWriteResponse.newBuilder() to construct.
   private BatchWriteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchWriteResponse() {
     writeResults_ = java.util.Collections.emptyList();
     status_ = java.util.Collections.emptyList();
@@ -45,37 +27,33 @@ private BatchWriteResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchWriteResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BatchWriteResponse.class,
-            com.google.firestore.v1.BatchWriteResponse.Builder.class);
+            com.google.firestore.v1.BatchWriteResponse.class, com.google.firestore.v1.BatchWriteResponse.Builder.class);
   }
 
   public static final int WRITE_RESULTS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List writeResults_;
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -89,8 +67,6 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -100,13 +76,11 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -120,8 +94,6 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -135,8 +107,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -146,17 +116,15 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index) {
     return writeResults_.get(index);
   }
 
   public static final int STATUS_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List status_;
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -170,8 +138,6 @@ public java.util.List getStatusList() {
     return status_;
   }
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -181,12 +147,11 @@ public java.util.List getStatusList() {
    * repeated .google.rpc.Status status = 2;
    */
   @java.lang.Override
-  public java.util.List getStatusOrBuilderList() {
+  public java.util.List 
+      getStatusOrBuilderList() {
     return status_;
   }
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -200,8 +165,6 @@ public int getStatusCount() {
     return status_.size();
   }
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -215,8 +178,6 @@ public com.google.rpc.Status getStatus(int index) {
     return status_.get(index);
   }
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -226,12 +187,12 @@ public com.google.rpc.Status getStatus(int index) {
    * repeated .google.rpc.Status status = 2;
    */
   @java.lang.Override
-  public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index) {
+  public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
+      int index) {
     return status_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -243,7 +204,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < writeResults_.size(); i++) {
       output.writeMessage(1, writeResults_.get(i));
     }
@@ -260,10 +222,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < writeResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, writeResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, writeResults_.get(i));
     }
     for (int i = 0; i < status_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, status_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, status_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -273,16 +237,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.BatchWriteResponse)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.BatchWriteResponse other =
-        (com.google.firestore.v1.BatchWriteResponse) obj;
+    com.google.firestore.v1.BatchWriteResponse other = (com.google.firestore.v1.BatchWriteResponse) obj;
 
-    if (!getWriteResultsList().equals(other.getWriteResultsList())) return false;
-    if (!getStatusList().equals(other.getStatusList())) return false;
+    if (!getWriteResultsList()
+        .equals(other.getWriteResultsList())) return false;
+    if (!getStatusList()
+        .equals(other.getStatusList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -307,104 +272,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.BatchWriteResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.BatchWriteResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.BatchWriteResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.BatchWriteResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BatchWriteResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.BatchWriteResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The response from
    * [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
@@ -412,32 +370,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.BatchWriteResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchWriteResponse)
       com.google.firestore.v1.BatchWriteResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BatchWriteResponse.class,
-              com.google.firestore.v1.BatchWriteResponse.Builder.class);
+              com.google.firestore.v1.BatchWriteResponse.class, com.google.firestore.v1.BatchWriteResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BatchWriteResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -460,9 +419,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
     }
 
     @java.lang.Override
@@ -481,12 +440,9 @@ public com.google.firestore.v1.BatchWriteResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BatchWriteResponse buildPartial() {
-      com.google.firestore.v1.BatchWriteResponse result =
-          new com.google.firestore.v1.BatchWriteResponse(this);
+      com.google.firestore.v1.BatchWriteResponse result = new com.google.firestore.v1.BatchWriteResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -520,39 +476,38 @@ private void buildPartial0(com.google.firestore.v1.BatchWriteResponse result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BatchWriteResponse) {
-        return mergeFrom((com.google.firestore.v1.BatchWriteResponse) other);
+        return mergeFrom((com.google.firestore.v1.BatchWriteResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -579,10 +534,9 @@ public Builder mergeFrom(com.google.firestore.v1.BatchWriteResponse other) {
             writeResultsBuilder_ = null;
             writeResults_ = other.writeResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            writeResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getWriteResultsFieldBuilder()
-                    : null;
+            writeResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getWriteResultsFieldBuilder() : null;
           } else {
             writeResultsBuilder_.addAllMessages(other.writeResults_);
           }
@@ -606,10 +560,9 @@ public Builder mergeFrom(com.google.firestore.v1.BatchWriteResponse other) {
             statusBuilder_ = null;
             status_ = other.status_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            statusBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getStatusFieldBuilder()
-                    : null;
+            statusBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getStatusFieldBuilder() : null;
           } else {
             statusBuilder_.addAllMessages(other.status_);
           }
@@ -641,38 +594,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.firestore.v1.WriteResult m =
-                    input.readMessage(
-                        com.google.firestore.v1.WriteResult.parser(), extensionRegistry);
-                if (writeResultsBuilder_ == null) {
-                  ensureWriteResultsIsMutable();
-                  writeResults_.add(m);
-                } else {
-                  writeResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.rpc.Status m =
-                    input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-                if (statusBuilder_ == null) {
-                  ensureStatusIsMutable();
-                  status_.add(m);
-                } else {
-                  statusBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.firestore.v1.WriteResult m =
+                  input.readMessage(
+                      com.google.firestore.v1.WriteResult.parser(),
+                      extensionRegistry);
+              if (writeResultsBuilder_ == null) {
+                ensureWriteResultsIsMutable();
+                writeResults_.add(m);
+              } else {
+                writeResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              com.google.rpc.Status m =
+                  input.readMessage(
+                      com.google.rpc.Status.parser(),
+                      extensionRegistry);
+              if (statusBuilder_ == null) {
+                ensureStatusIsMutable();
+                status_.add(m);
+              } else {
+                statusBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -682,28 +635,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List writeResults_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureWriteResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         writeResults_ = new java.util.ArrayList(writeResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult,
-            com.google.firestore.v1.WriteResult.Builder,
-            com.google.firestore.v1.WriteResultOrBuilder>
-        writeResultsBuilder_;
+        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -720,8 +666,6 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -738,8 +682,6 @@ public int getWriteResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -756,8 +698,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -766,7 +706,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder setWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -780,8 +721,6 @@ public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -802,8 +741,6 @@ public Builder setWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -826,8 +763,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -836,7 +771,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder addWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -850,8 +786,6 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -860,7 +794,8 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) {
+    public Builder addWriteResults(
+        com.google.firestore.v1.WriteResult.Builder builderForValue) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
         writeResults_.add(builderForValue.build());
@@ -871,8 +806,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -893,8 +826,6 @@ public Builder addWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -907,7 +838,8 @@ public Builder addAllWriteResults(
         java.lang.Iterable values) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writeResults_);
         onChanged();
       } else {
         writeResultsBuilder_.addAllMessages(values);
@@ -915,8 +847,6 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -936,8 +866,6 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -957,8 +885,6 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -967,12 +893,11 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
+        int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -981,16 +906,14 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+        int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);
-      } else {
+        return writeResults_.get(index);  } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -999,8 +922,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List
-        getWriteResultsOrBuilderList() {
+    public java.util.List 
+         getWriteResultsOrBuilderList() {
       if (writeResultsBuilder_ != null) {
         return writeResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1008,8 +931,6 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1019,12 +940,10 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder().addBuilder(
+          com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1033,13 +952,12 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
+        int index) {
+      return getWriteResultsFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1048,44 +966,38 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List
-        getWriteResultsBuilderList() {
+    public java.util.List 
+         getWriteResultsBuilderList() {
       return getWriteResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult,
-            com.google.firestore.v1.WriteResult.Builder,
-            com.google.firestore.v1.WriteResultOrBuilder>
+        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> 
         getWriteResultsFieldBuilder() {
       if (writeResultsBuilder_ == null) {
-        writeResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.WriteResult,
-                com.google.firestore.v1.WriteResult.Builder,
-                com.google.firestore.v1.WriteResultOrBuilder>(
-                writeResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        writeResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder>(
+                writeResults_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         writeResults_ = null;
       }
       return writeResultsBuilder_;
     }
 
-    private java.util.List status_ = java.util.Collections.emptyList();
-
+    private java.util.List status_ =
+      java.util.Collections.emptyList();
     private void ensureStatusIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         status_ = new java.util.ArrayList(status_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        statusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
 
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1102,8 +1014,6 @@ public java.util.List getStatusList() {
       }
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1120,8 +1030,6 @@ public int getStatusCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1138,8 +1046,6 @@ public com.google.rpc.Status getStatus(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1148,7 +1054,8 @@ public com.google.rpc.Status getStatus(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder setStatus(int index, com.google.rpc.Status value) {
+    public Builder setStatus(
+        int index, com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1162,8 +1069,6 @@ public Builder setStatus(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1172,7 +1077,8 @@ public Builder setStatus(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder setStatus(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
         status_.set(index, builderForValue.build());
@@ -1183,8 +1089,6 @@ public Builder setStatus(int index, com.google.rpc.Status.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1207,8 +1111,6 @@ public Builder addStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1217,7 +1119,8 @@ public Builder addStatus(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addStatus(int index, com.google.rpc.Status value) {
+    public Builder addStatus(
+        int index, com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1231,8 +1134,6 @@ public Builder addStatus(int index, com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1241,7 +1142,8 @@ public Builder addStatus(int index, com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder addStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
         status_.add(builderForValue.build());
@@ -1252,8 +1154,6 @@ public Builder addStatus(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1262,7 +1162,8 @@ public Builder addStatus(com.google.rpc.Status.Builder builderForValue) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addStatus(int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addStatus(
+        int index, com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
         status_.add(index, builderForValue.build());
@@ -1273,8 +1174,6 @@ public Builder addStatus(int index, com.google.rpc.Status.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1283,10 +1182,12 @@ public Builder addStatus(int index, com.google.rpc.Status.Builder builderForValu
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addAllStatus(java.lang.Iterable values) {
+    public Builder addAllStatus(
+        java.lang.Iterable values) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, status_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, status_);
         onChanged();
       } else {
         statusBuilder_.addAllMessages(values);
@@ -1294,8 +1195,6 @@ public Builder addAllStatus(java.lang.Iterable
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1315,8 +1214,6 @@ public Builder clearStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1336,8 +1233,6 @@ public Builder removeStatus(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1346,12 +1241,11 @@ public Builder removeStatus(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.Status.Builder getStatusBuilder(int index) {
+    public com.google.rpc.Status.Builder getStatusBuilder(
+        int index) {
       return getStatusFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1360,16 +1254,14 @@ public com.google.rpc.Status.Builder getStatusBuilder(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index) {
+    public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
+        int index) {
       if (statusBuilder_ == null) {
-        return status_.get(index);
-      } else {
+        return status_.get(index);  } else {
         return statusBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1378,7 +1270,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public java.util.List getStatusOrBuilderList() {
+    public java.util.List 
+         getStatusOrBuilderList() {
       if (statusBuilder_ != null) {
         return statusBuilder_.getMessageOrBuilderList();
       } else {
@@ -1386,8 +1279,6 @@ public java.util.List getStatusOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1397,11 +1288,10 @@ public java.util.List getStatusOrBuild
      * repeated .google.rpc.Status status = 2;
      */
     public com.google.rpc.Status.Builder addStatusBuilder() {
-      return getStatusFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
+      return getStatusFieldBuilder().addBuilder(
+          com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1410,12 +1300,12 @@ public com.google.rpc.Status.Builder addStatusBuilder() {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.Status.Builder addStatusBuilder(int index) {
-      return getStatusFieldBuilder().addBuilder(index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addStatusBuilder(
+        int index) {
+      return getStatusFieldBuilder().addBuilder(
+          index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1424,27 +1314,27 @@ public com.google.rpc.Status.Builder addStatusBuilder(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public java.util.List getStatusBuilderList() {
+    public java.util.List 
+         getStatusBuilderList() {
       return getStatusFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getStatusFieldBuilder() {
       if (statusBuilder_ == null) {
-        statusBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(
-                status_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        statusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                status_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         status_ = null;
       }
       return statusBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1454,12 +1344,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchWriteResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchWriteResponse)
   private static final com.google.firestore.v1.BatchWriteResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.BatchWriteResponse();
   }
@@ -1468,27 +1358,27 @@ public static com.google.firestore.v1.BatchWriteResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchWriteResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchWriteResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1503,4 +1393,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.BatchWriteResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
similarity index 73%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
index ec5ff4d76..1d21849cf 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchWriteResponseOrBuilder
-    extends
+public interface BatchWriteResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchWriteResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -34,10 +16,9 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List getWriteResultsList();
+  java.util.List 
+      getWriteResultsList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -48,8 +29,6 @@ public interface BatchWriteResponseOrBuilder
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -60,8 +39,6 @@ public interface BatchWriteResponseOrBuilder
    */
   int getWriteResultsCount();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -70,11 +47,9 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List
+  java.util.List 
       getWriteResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -83,11 +58,10 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -96,10 +70,9 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.rpc.Status status = 2;
    */
-  java.util.List getStatusList();
+  java.util.List 
+      getStatusList();
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -110,8 +83,6 @@ public interface BatchWriteResponseOrBuilder
    */
   com.google.rpc.Status getStatus(int index);
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -122,8 +93,6 @@ public interface BatchWriteResponseOrBuilder
    */
   int getStatusCount();
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -132,10 +101,9 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.rpc.Status status = 2;
    */
-  java.util.List getStatusOrBuilderList();
+  java.util.List 
+      getStatusOrBuilderList();
   /**
-   *
-   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -144,5 +112,6 @@ public interface BatchWriteResponseOrBuilder
    *
    * repeated .google.rpc.Status status = 2;
    */
-  com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index);
+  com.google.rpc.StatusOrBuilder getStatusOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
similarity index 68%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
index 60ba89553..1b7d5cf4c 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for
  * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
@@ -28,60 +11,54 @@
  *
  * Protobuf type {@code google.firestore.v1.BeginTransactionRequest}
  */
-public final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BeginTransactionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionRequest)
     BeginTransactionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BeginTransactionRequest.newBuilder() to construct.
   private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BeginTransactionRequest() {
     database_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BeginTransactionRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BeginTransactionRequest.class,
-            com.google.firestore.v1.BeginTransactionRequest.Builder.class);
+            com.google.firestore.v1.BeginTransactionRequest.class, com.google.firestore.v1.BeginTransactionRequest.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ @java.lang.Override @@ -90,30 +67,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -124,15 +101,12 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int OPTIONS_FIELD_NUMBER = 2; private com.google.firestore.v1.TransactionOptions options_; /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return Whether the options field is set. */ @java.lang.Override @@ -140,26 +114,19 @@ public boolean hasOptions() { return options_ != null; } /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return The options. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getOptions() { - return options_ == null - ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() : options_; } /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
@@ -169,13 +136,10 @@ public com.google.firestore.v1.TransactionOptions getOptions() {
    */
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() {
-    return options_ == null
-        ? com.google.firestore.v1.TransactionOptions.getDefaultInstance()
-        : options_;
+    return options_ == null ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() : options_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,7 +151,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
     }
@@ -207,7 +172,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_);
     }
     if (options_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getOptions());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -217,18 +183,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.BeginTransactionRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.BeginTransactionRequest other =
-        (com.google.firestore.v1.BeginTransactionRequest) obj;
+    com.google.firestore.v1.BeginTransactionRequest other = (com.google.firestore.v1.BeginTransactionRequest) obj;
 
-    if (!getDatabase().equals(other.getDatabase())) return false;
+    if (!getDatabase()
+        .equals(other.getDatabase())) return false;
     if (hasOptions() != other.hasOptions()) return false;
     if (hasOptions()) {
-      if (!getOptions().equals(other.getOptions())) return false;
+      if (!getOptions()
+          .equals(other.getOptions())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -252,104 +219,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.BeginTransactionRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.BeginTransactionRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.BeginTransactionRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BeginTransactionRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.BeginTransactionRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
@@ -357,32 +317,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.BeginTransactionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BeginTransactionRequest)
       com.google.firestore.v1.BeginTransactionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BeginTransactionRequest.class,
-              com.google.firestore.v1.BeginTransactionRequest.Builder.class);
+              com.google.firestore.v1.BeginTransactionRequest.class, com.google.firestore.v1.BeginTransactionRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BeginTransactionRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,9 +358,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
     }
 
     @java.lang.Override
@@ -418,11 +379,8 @@ public com.google.firestore.v1.BeginTransactionRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BeginTransactionRequest buildPartial() {
-      com.google.firestore.v1.BeginTransactionRequest result =
-          new com.google.firestore.v1.BeginTransactionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.BeginTransactionRequest result = new com.google.firestore.v1.BeginTransactionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -433,7 +391,9 @@ private void buildPartial0(com.google.firestore.v1.BeginTransactionRequest resul
         result.database_ = database_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build();
+        result.options_ = optionsBuilder_ == null
+            ? options_
+            : optionsBuilder_.build();
       }
     }
 
@@ -441,39 +401,38 @@ private void buildPartial0(com.google.firestore.v1.BeginTransactionRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BeginTransactionRequest) {
-        return mergeFrom((com.google.firestore.v1.BeginTransactionRequest) other);
+        return mergeFrom((com.google.firestore.v1.BeginTransactionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -481,8 +440,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.BeginTransactionRequest other) {
-      if (other == com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance()) return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -517,25 +475,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -545,26 +502,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -573,22 +527,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -596,37 +549,30 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -636,22 +582,18 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -661,49 +603,36 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.TransactionOptions options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, - com.google.firestore.v1.TransactionOptions.Builder, - com.google.firestore.v1.TransactionOptionsOrBuilder> - optionsBuilder_; + com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> optionsBuilder_; /** - * - * *
      * The options for the transaction.
      * Defaults to a read-write transaction.
      * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return Whether the options field is set. */ public boolean hasOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The options for the transaction.
      * Defaults to a read-write transaction.
      * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return The options. */ public com.google.firestore.v1.TransactionOptions getOptions() { if (optionsBuilder_ == null) { - return options_ == null - ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() - : options_; + return options_ == null ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() : options_; } else { return optionsBuilder_.getMessage(); } } /** - * - * *
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -725,8 +654,6 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -734,7 +661,8 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions value) {
      *
      * .google.firestore.v1.TransactionOptions options = 2;
      */
-    public Builder setOptions(com.google.firestore.v1.TransactionOptions.Builder builderForValue) {
+    public Builder setOptions(
+        com.google.firestore.v1.TransactionOptions.Builder builderForValue) {
       if (optionsBuilder_ == null) {
         options_ = builderForValue.build();
       } else {
@@ -745,8 +673,6 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -756,9 +682,9 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions.Builder bui
      */
     public Builder mergeOptions(com.google.firestore.v1.TransactionOptions value) {
       if (optionsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && options_ != null
-            && options_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          options_ != null &&
+          options_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
           getOptionsBuilder().mergeFrom(value);
         } else {
           options_ = value;
@@ -771,8 +697,6 @@ public Builder mergeOptions(com.google.firestore.v1.TransactionOptions value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -791,8 +715,6 @@ public Builder clearOptions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -806,8 +728,6 @@ public com.google.firestore.v1.TransactionOptions.Builder getOptionsBuilder() {
       return getOptionsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -819,14 +739,11 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder()
       if (optionsBuilder_ != null) {
         return optionsBuilder_.getMessageOrBuilder();
       } else {
-        return options_ == null
-            ? com.google.firestore.v1.TransactionOptions.getDefaultInstance()
-            : options_;
+        return options_ == null ?
+            com.google.firestore.v1.TransactionOptions.getDefaultInstance() : options_;
       }
     }
     /**
-     *
-     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -835,24 +752,21 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder()
      * .google.firestore.v1.TransactionOptions options = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.TransactionOptions,
-            com.google.firestore.v1.TransactionOptions.Builder,
-            com.google.firestore.v1.TransactionOptionsOrBuilder>
+        com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> 
         getOptionsFieldBuilder() {
       if (optionsBuilder_ == null) {
-        optionsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.TransactionOptions,
-                com.google.firestore.v1.TransactionOptions.Builder,
-                com.google.firestore.v1.TransactionOptionsOrBuilder>(
-                getOptions(), getParentForChildren(), isClean());
+        optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder>(
+                getOptions(),
+                getParentForChildren(),
+                isClean());
         options_ = null;
       }
       return optionsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -862,12 +776,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.BeginTransactionRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.BeginTransactionRequest)
   private static final com.google.firestore.v1.BeginTransactionRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.BeginTransactionRequest();
   }
@@ -876,27 +790,27 @@ public static com.google.firestore.v1.BeginTransactionRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BeginTransactionRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BeginTransactionRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -911,4 +825,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.BeginTransactionRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
similarity index 67%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
index d72805481..99a70bc56 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
@@ -1,84 +1,55 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BeginTransactionRequestOrBuilder
-    extends
+public interface BeginTransactionRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BeginTransactionRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return Whether the options field is set. */ boolean hasOptions(); /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; - * * @return The options. */ com.google.firestore.v1.TransactionOptions getOptions(); /** - * - * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
similarity index 65%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
index 0ca41a926..69fd33e2e 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The response for
  * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
@@ -28,57 +11,52 @@
  *
  * Protobuf type {@code google.firestore.v1.BeginTransactionResponse}
  */
-public final class BeginTransactionResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BeginTransactionResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionResponse)
     BeginTransactionResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BeginTransactionResponse.newBuilder() to construct.
   private BeginTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BeginTransactionResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BeginTransactionResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BeginTransactionResponse.class,
-            com.google.firestore.v1.BeginTransactionResponse.Builder.class);
+            com.google.firestore.v1.BeginTransactionResponse.class, com.google.firestore.v1.BeginTransactionResponse.Builder.class);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The transaction that was started.
    * 
* * bytes transaction = 1; - * * @return The transaction. */ @java.lang.Override @@ -87,7 +65,6 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -99,7 +76,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!transaction_.isEmpty()) { output.writeBytes(1, transaction_); } @@ -113,7 +91,8 @@ public int getSerializedSize() { size = 0; if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, transaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, transaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,15 +102,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.BeginTransactionResponse)) { return super.equals(obj); } - com.google.firestore.v1.BeginTransactionResponse other = - (com.google.firestore.v1.BeginTransactionResponse) obj; + com.google.firestore.v1.BeginTransactionResponse other = (com.google.firestore.v1.BeginTransactionResponse) obj; - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -150,104 +129,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.BeginTransactionResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.BeginTransactionResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.BeginTransactionResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.BeginTransactionResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.BeginTransactionResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.BeginTransactionResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
@@ -255,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.BeginTransactionResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BeginTransactionResponse)
       com.google.firestore.v1.BeginTransactionResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BeginTransactionResponse.class,
-              com.google.firestore.v1.BeginTransactionResponse.Builder.class);
+              com.google.firestore.v1.BeginTransactionResponse.class, com.google.firestore.v1.BeginTransactionResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BeginTransactionResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -290,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
     }
 
     @java.lang.Override
@@ -311,11 +284,8 @@ public com.google.firestore.v1.BeginTransactionResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BeginTransactionResponse buildPartial() {
-      com.google.firestore.v1.BeginTransactionResponse result =
-          new com.google.firestore.v1.BeginTransactionResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.BeginTransactionResponse result = new com.google.firestore.v1.BeginTransactionResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -331,39 +301,38 @@ private void buildPartial0(com.google.firestore.v1.BeginTransactionResponse resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BeginTransactionResponse) {
-        return mergeFrom((com.google.firestore.v1.BeginTransactionResponse) other);
+        return mergeFrom((com.google.firestore.v1.BeginTransactionResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -371,8 +340,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.BeginTransactionResponse other) {
-      if (other == com.google.firestore.v1.BeginTransactionResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.v1.BeginTransactionResponse.getDefaultInstance()) return this;
       if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) {
         setTransaction(other.getTransaction());
       }
@@ -402,19 +370,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                transaction_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              transaction_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,19 +390,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The transaction that was started.
      * 
* * bytes transaction = 1; - * * @return The transaction. */ @java.lang.Override @@ -444,35 +406,27 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The transaction that was started.
      * 
* * bytes transaction = 1; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The transaction that was started.
      * 
* * bytes transaction = 1; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -481,9 +435,9 @@ public Builder clearTransaction() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -493,12 +447,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.BeginTransactionResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.BeginTransactionResponse) private static final com.google.firestore.v1.BeginTransactionResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.BeginTransactionResponse(); } @@ -507,27 +461,27 @@ public static com.google.firestore.v1.BeginTransactionResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BeginTransactionResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BeginTransactionResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -542,4 +496,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.BeginTransactionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java new file mode 100644 index 000000000..844aceaea --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface BeginTransactionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.BeginTransactionResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The transaction that was started.
+   * 
+ * + * bytes transaction = 1; + * @return The transaction. + */ + com.google.protobuf.ByteString getTransaction(); +} diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java similarity index 73% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java index 8ec6a941b..986809569 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
  * 
* * Protobuf type {@code google.firestore.v1.CommitRequest} */ -public final class CommitRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.CommitRequest) CommitRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitRequest.newBuilder() to construct. private CommitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitRequest() { database_ = ""; writes_ = java.util.Collections.emptyList(); @@ -45,44 +27,39 @@ private CommitRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CommitRequest.class, - com.google.firestore.v1.CommitRequest.Builder.class); + com.google.firestore.v1.CommitRequest.class, com.google.firestore.v1.CommitRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ @java.lang.Override @@ -91,30 +68,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -123,12 +100,9 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } public static final int WRITES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List writes_; /** - * - * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -141,8 +115,6 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -151,12 +123,11 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public java.util.List getWritesOrBuilderList() {
+  public java.util.List 
+      getWritesOrBuilderList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -169,8 +140,6 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -183,8 +152,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -193,21 +160,19 @@ public com.google.firestore.v1.Write getWrites(int index) {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index) {
     return writes_.get(index);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 3;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * If set, applies all writes in this transaction, and commits it.
    * 
* * bytes transaction = 3; - * * @return The transaction. */ @java.lang.Override @@ -216,7 +181,6 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,7 +192,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -251,10 +216,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } for (int i = 0; i < writes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, writes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, writes_.get(i)); } if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, transaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, transaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -264,16 +231,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.CommitRequest)) { return super.equals(obj); } com.google.firestore.v1.CommitRequest other = (com.google.firestore.v1.CommitRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getWritesList().equals(other.getWritesList())) return false; - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getWritesList() + .equals(other.getWritesList())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -298,135 +268,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.CommitRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.CommitRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.CommitRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.CommitRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.firestore.v1.CommitRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.CommitRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.CommitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.CommitRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.CommitRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.CommitRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.CommitRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.CommitRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.CommitRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.CommitRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.CommitRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
    * 
* * Protobuf type {@code google.firestore.v1.CommitRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.CommitRequest) com.google.firestore.v1.CommitRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CommitRequest.class, - com.google.firestore.v1.CommitRequest.Builder.class); + com.google.firestore.v1.CommitRequest.class, com.google.firestore.v1.CommitRequest.Builder.class); } // Construct using com.google.firestore.v1.CommitRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_CommitRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_descriptor; } @java.lang.Override @@ -465,12 +430,9 @@ public com.google.firestore.v1.CommitRequest build() { @java.lang.Override public com.google.firestore.v1.CommitRequest buildPartial() { - com.google.firestore.v1.CommitRequest result = - new com.google.firestore.v1.CommitRequest(this); + com.google.firestore.v1.CommitRequest result = new com.google.firestore.v1.CommitRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -501,39 +463,38 @@ private void buildPartial0(com.google.firestore.v1.CommitRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.CommitRequest) { - return mergeFrom((com.google.firestore.v1.CommitRequest) other); + return mergeFrom((com.google.firestore.v1.CommitRequest)other); } else { super.mergeFrom(other); return this; @@ -565,10 +526,9 @@ public Builder mergeFrom(com.google.firestore.v1.CommitRequest other) { writesBuilder_ = null; writes_ = other.writes_; bitField0_ = (bitField0_ & ~0x00000002); - writesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWritesFieldBuilder() - : null; + writesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWritesFieldBuilder() : null; } else { writesBuilder_.addAllMessages(other.writes_); } @@ -603,37 +563,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.firestore.v1.Write m = - input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry); - if (writesBuilder_ == null) { - ensureWritesIsMutable(); - writes_.add(m); - } else { - writesBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - transaction_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.firestore.v1.Write m = + input.readMessage( + com.google.firestore.v1.Write.parser(), + extensionRegistry); + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + writes_.add(m); + } else { + writesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + transaction_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -643,26 +601,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -671,22 +626,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -694,37 +648,30 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -734,22 +681,18 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -758,24 +701,18 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { } private java.util.List writes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, - com.google.firestore.v1.Write.Builder, - com.google.firestore.v1.WriteOrBuilder> - writesBuilder_; + com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; /** - * - * *
      * The writes to apply.
      * Always executed atomically and in order.
@@ -791,8 +728,6 @@ public java.util.List getWritesList() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -808,8 +743,6 @@ public int getWritesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -825,8 +758,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -834,7 +765,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -848,8 +780,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -857,7 +787,8 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.set(index, builderForValue.build());
@@ -868,8 +799,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -891,8 +820,6 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -900,7 +827,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -914,8 +842,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -923,7 +849,8 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(builderForValue.build());
@@ -934,8 +861,6 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -943,7 +868,8 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(index, builderForValue.build());
@@ -954,8 +880,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -967,7 +891,8 @@ public Builder addAllWrites(
         java.lang.Iterable values) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writes_);
         onChanged();
       } else {
         writesBuilder_.addAllMessages(values);
@@ -975,8 +900,6 @@ public Builder addAllWrites(
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -995,8 +918,6 @@ public Builder clearWrites() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1015,8 +936,6 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1024,12 +943,11 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(
+        int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1037,16 +955,14 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+        int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);
-      } else {
+        return writes_.get(index);  } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1054,8 +970,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List
-        getWritesOrBuilderList() {
+    public java.util.List 
+         getWritesOrBuilderList() {
       if (writesBuilder_ != null) {
         return writesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1063,8 +979,6 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1073,11 +987,10 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      * repeated .google.firestore.v1.Write writes = 2;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(
+          com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1085,13 +998,12 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
-      return getWritesFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(
+        int index) {
+      return getWritesFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1099,22 +1011,20 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List getWritesBuilderList() {
+    public java.util.List 
+         getWritesBuilderList() {
       return getWritesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Write,
-            com.google.firestore.v1.Write.Builder,
-            com.google.firestore.v1.WriteOrBuilder>
+        com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> 
         getWritesFieldBuilder() {
       if (writesBuilder_ == null) {
-        writesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Write,
-                com.google.firestore.v1.Write.Builder,
-                com.google.firestore.v1.WriteOrBuilder>(
-                writes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        writesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder>(
+                writes_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         writes_ = null;
       }
       return writesBuilder_;
@@ -1122,14 +1032,11 @@ public java.util.List getWritesBuilderLis
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * If set, applies all writes in this transaction, and commits it.
      * 
* * bytes transaction = 3; - * * @return The transaction. */ @java.lang.Override @@ -1137,35 +1044,27 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * If set, applies all writes in this transaction, and commits it.
      * 
* * bytes transaction = 3; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If set, applies all writes in this transaction, and commits it.
      * 
* * bytes transaction = 3; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1174,9 +1073,9 @@ public Builder clearTransaction() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1186,12 +1085,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.CommitRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.CommitRequest) private static final com.google.firestore.v1.CommitRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.CommitRequest(); } @@ -1200,27 +1099,27 @@ public static com.google.firestore.v1.CommitRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1235,4 +1134,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.CommitRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java index 2d72b4b20..97e9470c1 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface CommitRequestOrBuilder - extends +public interface CommitRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.CommitRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -60,10 +37,9 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List getWritesList();
+  java.util.List 
+      getWritesList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -73,8 +49,6 @@ public interface CommitRequestOrBuilder
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -84,8 +58,6 @@ public interface CommitRequestOrBuilder
    */
   int getWritesCount();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -93,10 +65,9 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List getWritesOrBuilderList();
+  java.util.List 
+      getWritesOrBuilderList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -104,17 +75,15 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If set, applies all writes in this transaction, and commits it.
    * 
* * bytes transaction = 3; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java similarity index 74% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java index 8cc91557d..3db5359b2 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java @@ -1,79 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
  * 
* * Protobuf type {@code google.firestore.v1.CommitResponse} */ -public final class CommitResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.CommitResponse) CommitResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitResponse.newBuilder() to construct. private CommitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitResponse() { writeResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CommitResponse.class, - com.google.firestore.v1.CommitResponse.Builder.class); + com.google.firestore.v1.CommitResponse.class, com.google.firestore.v1.CommitResponse.Builder.class); } public static final int WRITE_RESULTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List writeResults_; /** - * - * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -87,8 +65,6 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -98,13 +74,11 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -118,8 +92,6 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -133,8 +105,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -144,22 +114,20 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index) {
     return writeResults_.get(index);
   }
 
   public static final int COMMIT_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp commitTime_;
   /**
-   *
-   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -167,15 +135,12 @@ public boolean hasCommitTime() { return commitTime_ != null; } /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return The commitTime. */ @java.lang.Override @@ -183,8 +148,6 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
@@ -198,7 +161,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -210,7 +172,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < writeResults_.size(); i++) {
       output.writeMessage(1, writeResults_.get(i));
     }
@@ -227,10 +190,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < writeResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, writeResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, writeResults_.get(i));
     }
     if (commitTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCommitTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getCommitTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -240,17 +205,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.CommitResponse)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.CommitResponse other = (com.google.firestore.v1.CommitResponse) obj;
 
-    if (!getWriteResultsList().equals(other.getWriteResultsList())) return false;
+    if (!getWriteResultsList()
+        .equals(other.getWriteResultsList())) return false;
     if (hasCommitTime() != other.hasCommitTime()) return false;
     if (hasCommitTime()) {
-      if (!getCommitTime().equals(other.getCommitTime())) return false;
+      if (!getCommitTime()
+          .equals(other.getCommitTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -276,136 +243,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.CommitResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.CommitResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.CommitResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.CommitResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.CommitResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.CommitResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.CommitResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.CommitResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.CommitResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.CommitResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.CommitResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.CommitResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.CommitResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.CommitResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
    * 
* * Protobuf type {@code google.firestore.v1.CommitResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.CommitResponse) com.google.firestore.v1.CommitResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CommitResponse.class, - com.google.firestore.v1.CommitResponse.Builder.class); + com.google.firestore.v1.CommitResponse.class, com.google.firestore.v1.CommitResponse.Builder.class); } // Construct using com.google.firestore.v1.CommitResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_CommitResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_descriptor; } @java.lang.Override @@ -447,12 +408,9 @@ public com.google.firestore.v1.CommitResponse build() { @java.lang.Override public com.google.firestore.v1.CommitResponse buildPartial() { - com.google.firestore.v1.CommitResponse result = - new com.google.firestore.v1.CommitResponse(this); + com.google.firestore.v1.CommitResponse result = new com.google.firestore.v1.CommitResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -472,7 +430,9 @@ private void buildPartialRepeatedFields(com.google.firestore.v1.CommitResponse r private void buildPartial0(com.google.firestore.v1.CommitResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null + ? commitTime_ + : commitTimeBuilder_.build(); } } @@ -480,39 +440,38 @@ private void buildPartial0(com.google.firestore.v1.CommitResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.CommitResponse) { - return mergeFrom((com.google.firestore.v1.CommitResponse) other); + return mergeFrom((com.google.firestore.v1.CommitResponse)other); } else { super.mergeFrom(other); return this; @@ -539,10 +498,9 @@ public Builder mergeFrom(com.google.firestore.v1.CommitResponse other) { writeResultsBuilder_ = null; writeResults_ = other.writeResults_; bitField0_ = (bitField0_ & ~0x00000001); - writeResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWriteResultsFieldBuilder() - : null; + writeResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWriteResultsFieldBuilder() : null; } else { writeResultsBuilder_.addAllMessages(other.writeResults_); } @@ -577,32 +535,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.firestore.v1.WriteResult m = - input.readMessage( - com.google.firestore.v1.WriteResult.parser(), extensionRegistry); - if (writeResultsBuilder_ == null) { - ensureWriteResultsIsMutable(); - writeResults_.add(m); - } else { - writeResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.firestore.v1.WriteResult m = + input.readMessage( + com.google.firestore.v1.WriteResult.parser(), + extensionRegistry); + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.add(m); + } else { + writeResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getCommitTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,28 +570,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List writeResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWriteResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writeResults_ = new java.util.ArrayList(writeResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.WriteResult, - com.google.firestore.v1.WriteResult.Builder, - com.google.firestore.v1.WriteResultOrBuilder> - writeResultsBuilder_; + com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_; /** - * - * *
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -650,8 +601,6 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -668,8 +617,6 @@ public int getWriteResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -686,8 +633,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -696,7 +641,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder setWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -710,8 +656,6 @@ public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -732,8 +676,6 @@ public Builder setWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -756,8 +698,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -766,7 +706,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder addWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -780,8 +721,6 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -790,7 +729,8 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) {
+    public Builder addWriteResults(
+        com.google.firestore.v1.WriteResult.Builder builderForValue) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
         writeResults_.add(builderForValue.build());
@@ -801,8 +741,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -823,8 +761,6 @@ public Builder addWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -837,7 +773,8 @@ public Builder addAllWriteResults(
         java.lang.Iterable values) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writeResults_);
         onChanged();
       } else {
         writeResultsBuilder_.addAllMessages(values);
@@ -845,8 +782,6 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -866,8 +801,6 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -887,8 +820,6 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -897,12 +828,11 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
+        int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -911,16 +841,14 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+        int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);
-      } else {
+        return writeResults_.get(index);  } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -929,8 +857,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List
-        getWriteResultsOrBuilderList() {
+    public java.util.List 
+         getWriteResultsOrBuilderList() {
       if (writeResultsBuilder_ != null) {
         return writeResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -938,8 +866,6 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -949,12 +875,10 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder().addBuilder(
+          com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -963,13 +887,12 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
+        int index) {
+      return getWriteResultsFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -978,23 +901,20 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List
-        getWriteResultsBuilderList() {
+    public java.util.List 
+         getWriteResultsBuilderList() {
       return getWriteResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult,
-            com.google.firestore.v1.WriteResult.Builder,
-            com.google.firestore.v1.WriteResultOrBuilder>
+        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> 
         getWriteResultsFieldBuilder() {
       if (writeResultsBuilder_ == null) {
-        writeResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.WriteResult,
-                com.google.firestore.v1.WriteResult.Builder,
-                com.google.firestore.v1.WriteResultOrBuilder>(
-                writeResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        writeResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder>(
+                writeResults_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         writeResults_ = null;
       }
       return writeResultsBuilder_;
@@ -1002,49 +922,36 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
 
     private com.google.protobuf.Timestamp commitTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        commitTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
      * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
      * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return The commitTime. */ public com.google.protobuf.Timestamp getCommitTime() { if (commitTimeBuilder_ == null) { - return commitTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTime_; + return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } else { return commitTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1066,8 +973,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1075,7 +980,8 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp commit_time = 2;
      */
-    public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCommitTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimeBuilder_ == null) {
         commitTime_ = builderForValue.build();
       } else {
@@ -1086,8 +992,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1097,9 +1001,9 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && commitTime_ != null
-            && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          commitTime_ != null &&
+          commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCommitTimeBuilder().mergeFrom(value);
         } else {
           commitTime_ = value;
@@ -1112,8 +1016,6 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1132,8 +1034,6 @@ public Builder clearCommitTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1147,8 +1047,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
       return getCommitTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1160,14 +1058,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
       if (commitTimeBuilder_ != null) {
         return commitTimeBuilder_.getMessageOrBuilder();
       } else {
-        return commitTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : commitTime_;
+        return commitTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1176,24 +1071,21 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * .google.protobuf.Timestamp commit_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCommitTimeFieldBuilder() {
       if (commitTimeBuilder_ == null) {
-        commitTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCommitTime(), getParentForChildren(), isClean());
+        commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCommitTime(),
+                getParentForChildren(),
+                isClean());
         commitTime_ = null;
       }
       return commitTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1203,12 +1095,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.CommitResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.CommitResponse)
   private static final com.google.firestore.v1.CommitResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.CommitResponse();
   }
@@ -1217,27 +1109,27 @@ public static com.google.firestore.v1.CommitResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CommitResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CommitResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1252,4 +1144,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.CommitResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
similarity index 76%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
index 76745e124..983f0cd94 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface CommitResponseOrBuilder
-    extends
+public interface CommitResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.CommitResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -34,10 +16,9 @@ public interface CommitResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List getWriteResultsList();
+  java.util.List 
+      getWriteResultsList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -48,8 +29,6 @@ public interface CommitResponseOrBuilder
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -60,8 +39,6 @@ public interface CommitResponseOrBuilder
    */
   int getWriteResultsCount();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -70,11 +47,9 @@ public interface CommitResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List
+  java.util.List 
       getWriteResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -83,37 +58,30 @@ public interface CommitResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; - * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java
new file mode 100644
index 000000000..dfa9aec80
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java
@@ -0,0 +1,110 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/common.proto
+
+package com.google.firestore.v1;
+
+public final class CommonProto {
+  private CommonProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentMask_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Precondition_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Precondition_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_TransactionOptions_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n google/firestore/v1/common.proto\022\023goog" +
+      "le.firestore.v1\032\037google/protobuf/timesta" +
+      "mp.proto\"#\n\014DocumentMask\022\023\n\013field_paths\030" +
+      "\001 \003(\t\"e\n\014Precondition\022\020\n\006exists\030\001 \001(\010H\000\022" +
+      "1\n\013update_time\030\002 \001(\0132\032.google.protobuf.T" +
+      "imestampH\000B\020\n\016condition_type\"\251\002\n\022Transac" +
+      "tionOptions\022E\n\tread_only\030\002 \001(\01320.google." +
+      "firestore.v1.TransactionOptions.ReadOnly" +
+      "H\000\022G\n\nread_write\030\003 \001(\01321.google.firestor" +
+      "e.v1.TransactionOptions.ReadWriteH\000\032&\n\tR" +
+      "eadWrite\022\031\n\021retry_transaction\030\001 \001(\014\032S\n\010R" +
+      "eadOnly\022/\n\tread_time\030\002 \001(\0132\032.google.prot" +
+      "obuf.TimestampH\000B\026\n\024consistency_selector" +
+      "B\006\n\004modeB\303\001\n\027com.google.firestore.v1B\013Co" +
+      "mmonProtoP\001Z;cloud.google.com/go/firesto" +
+      "re/apiv1/firestorepb;firestorepb\242\002\004GCFS\252" +
+      "\002\031Google.Cloud.Firestore.V1\312\002\031Google\\Clo" +
+      "ud\\Firestore\\V1\352\002\034Google::Cloud::Firesto" +
+      "re::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_firestore_v1_DocumentMask_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_DocumentMask_descriptor,
+        new java.lang.String[] { "FieldPaths", });
+    internal_static_google_firestore_v1_Precondition_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_v1_Precondition_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_Precondition_descriptor,
+        new java.lang.String[] { "Exists", "UpdateTime", "ConditionType", });
+    internal_static_google_firestore_v1_TransactionOptions_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_TransactionOptions_descriptor,
+        new java.lang.String[] { "ReadOnly", "ReadWrite", "Mode", });
+    internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor =
+      internal_static_google_firestore_v1_TransactionOptions_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor,
+        new java.lang.String[] { "RetryTransaction", });
+    internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor =
+      internal_static_google_firestore_v1_TransactionOptions_descriptor.getNestedTypes().get(1);
+    internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor,
+        new java.lang.String[] { "ReadTime", "ConsistencySelector", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
similarity index 72%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
index d9dcc9953..e1376a15c 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for
  * [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.v1.CreateDocumentRequest}
  */
-public final class CreateDocumentRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateDocumentRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.CreateDocumentRequest)
     CreateDocumentRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateDocumentRequest.newBuilder() to construct.
   private CreateDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateDocumentRequest() {
     parent_ = "";
     collectionId_ = "";
@@ -46,37 +28,33 @@ private CreateDocumentRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateDocumentRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.CreateDocumentRequest.class,
-            com.google.firestore.v1.CreateDocumentRequest.Builder.class);
+            com.google.firestore.v1.CreateDocumentRequest.class, com.google.firestore.v1.CreateDocumentRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -84,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -93,15 +70,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -109,15 +85,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,19 +103,15 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int COLLECTION_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object collectionId_ = ""; /** - * - * *
    * Required. The collection ID, relative to `parent`, to list. For example:
    * `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The collectionId. */ @java.lang.Override @@ -147,30 +120,30 @@ public java.lang.String getCollectionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; } } /** - * - * *
    * Required. The collection ID, relative to `parent`, to list. For example:
    * `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for collectionId. */ @java.lang.Override - public com.google.protobuf.ByteString getCollectionIdBytes() { + public com.google.protobuf.ByteString + getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collectionId_ = b; return b; } else { @@ -179,19 +152,15 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { } public static final int DOCUMENT_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object documentId_ = ""; /** - * - * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; - * * @return The documentId. */ @java.lang.Override @@ -200,30 +169,30 @@ public java.lang.String getDocumentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); documentId_ = s; return s; } } /** - * - * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; - * * @return The bytes for documentId. */ @java.lang.Override - public com.google.protobuf.ByteString getDocumentIdBytes() { + public com.google.protobuf.ByteString + getDocumentIdBytes() { java.lang.Object ref = documentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); documentId_ = b; return b; } else { @@ -234,15 +203,11 @@ public com.google.protobuf.ByteString getDocumentIdBytes() { public static final int DOCUMENT_FIELD_NUMBER = 4; private com.google.firestore.v1.Document document_; /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the document field is set. */ @java.lang.Override @@ -250,15 +215,11 @@ public boolean hasDocument() { return document_ != null; } /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The document. */ @java.lang.Override @@ -266,14 +227,11 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { @@ -283,8 +241,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { public static final int MASK_FIELD_NUMBER = 5; private com.google.firestore.v1.DocumentMask mask_; /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -292,7 +248,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return Whether the mask field is set. */ @java.lang.Override @@ -300,8 +255,6 @@ public boolean hasMask() { return mask_ != null; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -309,7 +262,6 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return The mask. */ @java.lang.Override @@ -317,8 +269,6 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -333,7 +283,6 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -345,7 +294,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -380,10 +330,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, documentId_);
     }
     if (document_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDocument());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getDocument());
     }
     if (mask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -393,24 +345,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.CreateDocumentRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.CreateDocumentRequest other =
-        (com.google.firestore.v1.CreateDocumentRequest) obj;
+    com.google.firestore.v1.CreateDocumentRequest other = (com.google.firestore.v1.CreateDocumentRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getCollectionId().equals(other.getCollectionId())) return false;
-    if (!getDocumentId().equals(other.getDocumentId())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getCollectionId()
+        .equals(other.getCollectionId())) return false;
+    if (!getDocumentId()
+        .equals(other.getDocumentId())) return false;
     if (hasDocument() != other.hasDocument()) return false;
     if (hasDocument()) {
-      if (!getDocument().equals(other.getDocument())) return false;
+      if (!getDocument()
+          .equals(other.getDocument())) return false;
     }
     if (hasMask() != other.hasMask()) return false;
     if (hasMask()) {
-      if (!getMask().equals(other.getMask())) return false;
+      if (!getMask()
+          .equals(other.getMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -442,104 +398,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.CreateDocumentRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.CreateDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.CreateDocumentRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.CreateDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.CreateDocumentRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
@@ -547,32 +496,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.CreateDocumentRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.CreateDocumentRequest)
       com.google.firestore.v1.CreateDocumentRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.CreateDocumentRequest.class,
-              com.google.firestore.v1.CreateDocumentRequest.Builder.class);
+              com.google.firestore.v1.CreateDocumentRequest.class, com.google.firestore.v1.CreateDocumentRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.CreateDocumentRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -594,9 +544,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
     }
 
     @java.lang.Override
@@ -615,11 +565,8 @@ public com.google.firestore.v1.CreateDocumentRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.CreateDocumentRequest buildPartial() {
-      com.google.firestore.v1.CreateDocumentRequest result =
-          new com.google.firestore.v1.CreateDocumentRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.CreateDocumentRequest result = new com.google.firestore.v1.CreateDocumentRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -636,10 +583,14 @@ private void buildPartial0(com.google.firestore.v1.CreateDocumentRequest result)
         result.documentId_ = documentId_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.document_ = documentBuilder_ == null ? document_ : documentBuilder_.build();
+        result.document_ = documentBuilder_ == null
+            ? document_
+            : documentBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
+        result.mask_ = maskBuilder_ == null
+            ? mask_
+            : maskBuilder_.build();
       }
     }
 
@@ -647,39 +598,38 @@ private void buildPartial0(com.google.firestore.v1.CreateDocumentRequest result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.CreateDocumentRequest) {
-        return mergeFrom((com.google.firestore.v1.CreateDocumentRequest) other);
+        return mergeFrom((com.google.firestore.v1.CreateDocumentRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -735,43 +685,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                collectionId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                documentId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              collectionId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              documentId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getDocumentFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -781,13 +729,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -795,13 +740,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -810,8 +755,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -819,14 +762,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -834,8 +778,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -843,22 +785,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -866,7 +804,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -876,8 +813,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -885,14 +820,12 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -902,21 +835,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object collectionId_ = ""; /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example:
      * `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The collectionId. */ public java.lang.String getCollectionId() { java.lang.Object ref = collectionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; @@ -925,22 +856,21 @@ public java.lang.String getCollectionId() { } } /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example:
      * `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for collectionId. */ - public com.google.protobuf.ByteString getCollectionIdBytes() { + public com.google.protobuf.ByteString + getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collectionId_ = b; return b; } else { @@ -948,37 +878,30 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { } } /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example:
      * `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } collectionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example:
      * `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCollectionId() { @@ -988,22 +911,18 @@ public Builder clearCollectionId() { return this; } /** - * - * *
      * Required. The collection ID, relative to `parent`, to list. For example:
      * `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collectionId_ = value; bitField0_ |= 0x00000002; @@ -1013,21 +932,19 @@ public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object documentId_ = ""; /** - * - * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; - * * @return The documentId. */ public java.lang.String getDocumentId() { java.lang.Object ref = documentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); documentId_ = s; return s; @@ -1036,22 +953,21 @@ public java.lang.String getDocumentId() { } } /** - * - * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; - * * @return The bytes for documentId. */ - public com.google.protobuf.ByteString getDocumentIdBytes() { + public com.google.protobuf.ByteString + getDocumentIdBytes() { java.lang.Object ref = documentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); documentId_ = b; return b; } else { @@ -1059,37 +975,30 @@ public com.google.protobuf.ByteString getDocumentIdBytes() { } } /** - * - * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; - * * @param value The documentId to set. * @return This builder for chaining. */ - public Builder setDocumentId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDocumentId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } documentId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; - * * @return This builder for chaining. */ public Builder clearDocumentId() { @@ -1099,22 +1008,18 @@ public Builder clearDocumentId() { return this; } /** - * - * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; - * * @param value The bytes for documentId to set. * @return This builder for chaining. */ - public Builder setDocumentIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDocumentIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); documentId_ = value; bitField0_ |= 0x00000004; @@ -1124,55 +1029,39 @@ public Builder setDocumentIdBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.Document document_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> - documentBuilder_; + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_; /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the document field is set. */ public boolean hasDocument() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The document. */ public com.google.firestore.v1.Document getDocument() { if (documentBuilder_ == null) { - return document_ == null - ? com.google.firestore.v1.Document.getDefaultInstance() - : document_; + return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } else { return documentBuilder_.getMessage(); } } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { @@ -1188,16 +1077,14 @@ public Builder setDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setDocument( + com.google.firestore.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { document_ = builderForValue.build(); } else { @@ -1208,20 +1095,17 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa return this; } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && document_ != null - && document_ != com.google.firestore.v1.Document.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + document_ != null && + document_ != com.google.firestore.v1.Document.getDefaultInstance()) { getDocumentBuilder().mergeFrom(value); } else { document_ = value; @@ -1234,14 +1118,11 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDocument() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1254,14 +1135,11 @@ public Builder clearDocument() { return this; } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { bitField0_ |= 0x00000008; @@ -1269,46 +1147,36 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { return getDocumentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { return documentBuilder_.getMessageOrBuilder(); } else { - return document_ == null - ? com.google.firestore.v1.Document.getDefaultInstance() - : document_; + return document_ == null ? + com.google.firestore.v1.Document.getDefaultInstance() : document_; } } /** - * - * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> getDocumentFieldBuilder() { if (documentBuilder_ == null) { - documentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder>( - getDocument(), getParentForChildren(), isClean()); + documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), + getParentForChildren(), + isClean()); document_ = null; } return documentBuilder_; @@ -1316,13 +1184,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - maskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1330,15 +1193,12 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return Whether the mask field is set. */ public boolean hasMask() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1346,7 +1206,6 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1357,8 +1216,6 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1381,8 +1238,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1391,7 +1246,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 5;
      */
-    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
       } else {
@@ -1402,8 +1258,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1414,9 +1268,9 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
      */
     public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && mask_ != null
-            && mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          mask_ != null &&
+          mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getMaskBuilder().mergeFrom(value);
         } else {
           mask_ = value;
@@ -1429,8 +1283,6 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1450,8 +1302,6 @@ public Builder clearMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1466,8 +1316,6 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1480,12 +1328,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1495,24 +1342,21 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(), getParentForChildren(), isClean());
+        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(),
+                getParentForChildren(),
+                isClean());
         mask_ = null;
       }
       return maskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1522,12 +1366,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.CreateDocumentRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.CreateDocumentRequest)
   private static final com.google.firestore.v1.CreateDocumentRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.CreateDocumentRequest();
   }
@@ -1536,27 +1380,27 @@ public static com.google.firestore.v1.CreateDocumentRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CreateDocumentRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CreateDocumentRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1571,4 +1415,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.CreateDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
similarity index 77%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
index 8ad6def54..bdd068620 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface CreateDocumentRequestOrBuilder
-    extends
+public interface CreateDocumentRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.CreateDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -33,13 +15,10 @@ public interface CreateDocumentRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -47,106 +26,83 @@ public interface CreateDocumentRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The collection ID, relative to `parent`, to list. For example:
    * `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The collectionId. */ java.lang.String getCollectionId(); /** - * - * *
    * Required. The collection ID, relative to `parent`, to list. For example:
    * `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for collectionId. */ - com.google.protobuf.ByteString getCollectionIdBytes(); + com.google.protobuf.ByteString + getCollectionIdBytes(); /** - * - * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; - * * @return The documentId. */ java.lang.String getDocumentId(); /** - * - * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; - * * @return The bytes for documentId. */ - com.google.protobuf.ByteString getDocumentIdBytes(); + com.google.protobuf.ByteString + getDocumentIdBytes(); /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the document field is set. */ boolean hasDocument(); /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The document. */ com.google.firestore.v1.Document getDocument(); /** - * - * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -154,13 +110,10 @@ public interface CreateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return Whether the mask field is set. */ boolean hasMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -168,13 +121,10 @@ public interface CreateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 5; - * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
similarity index 74%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
index 52b0edfda..7d4c656df 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
@@ -1,77 +1,57 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/query.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A position in a query result set.
  * 
* * Protobuf type {@code google.firestore.v1.Cursor} */ -public final class Cursor extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Cursor extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Cursor) CursorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Cursor.newBuilder() to construct. private Cursor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Cursor() { values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Cursor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_Cursor_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Cursor.class, com.google.firestore.v1.Cursor.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List values_; /** - * - * *
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -85,8 +65,6 @@ public java.util.List getValuesList() {
     return values_;
   }
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -96,12 +74,11 @@ public java.util.List getValuesList() {
    * repeated .google.firestore.v1.Value values = 1;
    */
   @java.lang.Override
-  public java.util.List getValuesOrBuilderList() {
+  public java.util.List 
+      getValuesOrBuilderList() {
     return values_;
   }
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -115,8 +92,6 @@ public int getValuesCount() {
     return values_.size();
   }
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -130,8 +105,6 @@ public com.google.firestore.v1.Value getValues(int index) {
     return values_.get(index);
   }
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -141,22 +114,20 @@ public com.google.firestore.v1.Value getValues(int index) {
    * repeated .google.firestore.v1.Value values = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
+  public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
+      int index) {
     return values_.get(index);
   }
 
   public static final int BEFORE_FIELD_NUMBER = 2;
   private boolean before_ = false;
   /**
-   *
-   *
    * 
    * If the position is just before or just after the given values, relative
    * to the sort order defined by the query.
    * 
* * bool before = 2; - * * @return The before. */ @java.lang.Override @@ -165,7 +136,6 @@ public boolean getBefore() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -194,10 +165,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, values_.get(i)); } if (before_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, before_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, before_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -207,15 +180,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Cursor)) { return super.equals(obj); } com.google.firestore.v1.Cursor other = (com.google.firestore.v1.Cursor) obj; - if (!getValuesList().equals(other.getValuesList())) return false; - if (getBefore() != other.getBefore()) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; + if (getBefore() + != other.getBefore()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,140 +207,137 @@ public int hashCode() { hash = (53 * hash) + getValuesList().hashCode(); } hash = (37 * hash) + BEFORE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBefore()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBefore()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.v1.Cursor parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.Cursor parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Cursor parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.Cursor parseFrom(com.google.protobuf.ByteString data) + public static com.google.firestore.v1.Cursor parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Cursor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Cursor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Cursor parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Cursor parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.Cursor parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Cursor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.Cursor parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.Cursor parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.firestore.v1.Cursor parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.Cursor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.Cursor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A position in a query result set.
    * 
* * Protobuf type {@code google.firestore.v1.Cursor} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Cursor) com.google.firestore.v1.CursorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_Cursor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_Cursor_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Cursor.class, com.google.firestore.v1.Cursor.Builder.class); } // Construct using com.google.firestore.v1.Cursor.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_Cursor_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_descriptor; } @java.lang.Override @@ -405,9 +377,7 @@ public com.google.firestore.v1.Cursor build() { public com.google.firestore.v1.Cursor buildPartial() { com.google.firestore.v1.Cursor result = new com.google.firestore.v1.Cursor(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -435,39 +405,38 @@ private void buildPartial0(com.google.firestore.v1.Cursor result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Cursor) { - return mergeFrom((com.google.firestore.v1.Cursor) other); + return mergeFrom((com.google.firestore.v1.Cursor)other); } else { super.mergeFrom(other); return this; @@ -494,10 +463,9 @@ public Builder mergeFrom(com.google.firestore.v1.Cursor other) { valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getValuesFieldBuilder() - : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getValuesFieldBuilder() : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -532,31 +500,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.firestore.v1.Value m = - input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(m); - } else { - valuesBuilder_.addMessage(m); - } - break; - } // case 10 - case 16: - { - before_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.firestore.v1.Value m = + input.readMessage( + com.google.firestore.v1.Value.parser(), + extensionRegistry); + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(m); + } else { + valuesBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: { + before_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -566,28 +533,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List values_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder> - valuesBuilder_; + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> valuesBuilder_; /** - * - * *
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -604,8 +564,6 @@ public java.util.List getValuesList() {
       }
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -622,8 +580,6 @@ public int getValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -640,8 +596,6 @@ public com.google.firestore.v1.Value getValues(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -650,7 +604,8 @@ public com.google.firestore.v1.Value getValues(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder setValues(int index, com.google.firestore.v1.Value value) {
+    public Builder setValues(
+        int index, com.google.firestore.v1.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -664,8 +619,6 @@ public Builder setValues(int index, com.google.firestore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -674,7 +627,8 @@ public Builder setValues(int index, com.google.firestore.v1.Value value) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder setValues(int index, com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder setValues(
+        int index, com.google.firestore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.set(index, builderForValue.build());
@@ -685,8 +639,6 @@ public Builder setValues(int index, com.google.firestore.v1.Value.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -709,8 +661,6 @@ public Builder addValues(com.google.firestore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -719,7 +669,8 @@ public Builder addValues(com.google.firestore.v1.Value value) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder addValues(int index, com.google.firestore.v1.Value value) {
+    public Builder addValues(
+        int index, com.google.firestore.v1.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -733,8 +684,6 @@ public Builder addValues(int index, com.google.firestore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -743,7 +692,8 @@ public Builder addValues(int index, com.google.firestore.v1.Value value) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder addValues(
+        com.google.firestore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(builderForValue.build());
@@ -754,8 +704,6 @@ public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -764,7 +712,8 @@ public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue)
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder addValues(int index, com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder addValues(
+        int index, com.google.firestore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(index, builderForValue.build());
@@ -775,8 +724,6 @@ public Builder addValues(int index, com.google.firestore.v1.Value.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -789,7 +736,8 @@ public Builder addAllValues(
         java.lang.Iterable values) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, values_);
         onChanged();
       } else {
         valuesBuilder_.addAllMessages(values);
@@ -797,8 +745,6 @@ public Builder addAllValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -818,8 +764,6 @@ public Builder clearValues() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -839,8 +783,6 @@ public Builder removeValues(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -849,12 +791,11 @@ public Builder removeValues(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) {
+    public com.google.firestore.v1.Value.Builder getValuesBuilder(
+        int index) {
       return getValuesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -863,16 +804,14 @@ public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
+    public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
+        int index) {
       if (valuesBuilder_ == null) {
-        return values_.get(index);
-      } else {
+        return values_.get(index);  } else {
         return valuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -881,8 +820,8 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public java.util.List
-        getValuesOrBuilderList() {
+    public java.util.List 
+         getValuesOrBuilderList() {
       if (valuesBuilder_ != null) {
         return valuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -890,8 +829,6 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -901,11 +838,10 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
      * repeated .google.firestore.v1.Value values = 1;
      */
     public com.google.firestore.v1.Value.Builder addValuesBuilder() {
-      return getValuesFieldBuilder().addBuilder(com.google.firestore.v1.Value.getDefaultInstance());
+      return getValuesFieldBuilder().addBuilder(
+          com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -914,13 +850,12 @@ public com.google.firestore.v1.Value.Builder addValuesBuilder() {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) {
-      return getValuesFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance());
+    public com.google.firestore.v1.Value.Builder addValuesBuilder(
+        int index) {
+      return getValuesFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -929,38 +864,33 @@ public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public java.util.List getValuesBuilderList() {
+    public java.util.List 
+         getValuesBuilderList() {
       return getValuesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Value,
-            com.google.firestore.v1.Value.Builder,
-            com.google.firestore.v1.ValueOrBuilder>
+        com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
         getValuesFieldBuilder() {
       if (valuesBuilder_ == null) {
-        valuesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Value,
-                com.google.firestore.v1.Value.Builder,
-                com.google.firestore.v1.ValueOrBuilder>(
-                values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
+                values_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         values_ = null;
       }
       return valuesBuilder_;
     }
 
-    private boolean before_;
+    private boolean before_ ;
     /**
-     *
-     *
      * 
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; - * * @return The before. */ @java.lang.Override @@ -968,35 +898,29 @@ public boolean getBefore() { return before_; } /** - * - * *
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; - * * @param value The before to set. * @return This builder for chaining. */ public Builder setBefore(boolean value) { - + before_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; - * * @return This builder for chaining. */ public Builder clearBefore() { @@ -1005,9 +929,9 @@ public Builder clearBefore() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1017,12 +941,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Cursor) } // @@protoc_insertion_point(class_scope:google.firestore.v1.Cursor) private static final com.google.firestore.v1.Cursor DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.Cursor(); } @@ -1031,27 +955,27 @@ public static com.google.firestore.v1.Cursor getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cursor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cursor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1066,4 +990,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Cursor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java similarity index 70% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java index 0d7526a9d..f8eadb55f 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; -public interface CursorOrBuilder - extends +public interface CursorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Cursor) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -34,10 +16,9 @@ public interface CursorOrBuilder
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  java.util.List getValuesList();
+  java.util.List 
+      getValuesList();
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -48,8 +29,6 @@ public interface CursorOrBuilder
    */
   com.google.firestore.v1.Value getValues(int index);
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -60,8 +39,6 @@ public interface CursorOrBuilder
    */
   int getValuesCount();
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -70,10 +47,9 @@ public interface CursorOrBuilder
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  java.util.List getValuesOrBuilderList();
+  java.util.List 
+      getValuesOrBuilderList();
   /**
-   *
-   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -82,18 +58,16 @@ public interface CursorOrBuilder
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index);
+  com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If the position is just before or just after the given values, relative
    * to the sort order defined by the query.
    * 
* * bool before = 2; - * * @return The before. */ boolean getBefore(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java similarity index 70% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java index cd06ebbb2..40696c52d 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for
  * [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].
@@ -28,60 +11,54 @@
  *
  * Protobuf type {@code google.firestore.v1.DeleteDocumentRequest}
  */
-public final class DeleteDocumentRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteDocumentRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DeleteDocumentRequest)
     DeleteDocumentRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteDocumentRequest.newBuilder() to construct.
   private DeleteDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteDocumentRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteDocumentRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DeleteDocumentRequest.class,
-            com.google.firestore.v1.DeleteDocumentRequest.Builder.class);
+            com.google.firestore.v1.DeleteDocumentRequest.class, com.google.firestore.v1.DeleteDocumentRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The resource name of the Document to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -90,30 +67,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the Document to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,15 +101,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 2; private com.google.firestore.v1.Precondition currentDocument_; /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -140,26 +114,19 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return The currentDocument. */ @java.lang.Override public com.google.firestore.v1.Precondition getCurrentDocument() { - return currentDocument_ == null - ? com.google.firestore.v1.Precondition.getDefaultInstance() - : currentDocument_; + return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; } /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
@@ -169,13 +136,10 @@ public com.google.firestore.v1.Precondition getCurrentDocument() {
    */
   @java.lang.Override
   public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() {
-    return currentDocument_ == null
-        ? com.google.firestore.v1.Precondition.getDefaultInstance()
-        : currentDocument_;
+    return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,7 +151,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -207,7 +172,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (currentDocument_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCurrentDocument());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getCurrentDocument());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -217,18 +183,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.DeleteDocumentRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.DeleteDocumentRequest other =
-        (com.google.firestore.v1.DeleteDocumentRequest) obj;
+    com.google.firestore.v1.DeleteDocumentRequest other = (com.google.firestore.v1.DeleteDocumentRequest) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasCurrentDocument() != other.hasCurrentDocument()) return false;
     if (hasCurrentDocument()) {
-      if (!getCurrentDocument().equals(other.getCurrentDocument())) return false;
+      if (!getCurrentDocument()
+          .equals(other.getCurrentDocument())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -252,104 +219,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.DeleteDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.DeleteDocumentRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DeleteDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.DeleteDocumentRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].
@@ -357,32 +317,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.DeleteDocumentRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DeleteDocumentRequest)
       com.google.firestore.v1.DeleteDocumentRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DeleteDocumentRequest.class,
-              com.google.firestore.v1.DeleteDocumentRequest.Builder.class);
+              com.google.firestore.v1.DeleteDocumentRequest.class, com.google.firestore.v1.DeleteDocumentRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DeleteDocumentRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,9 +358,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
     }
 
     @java.lang.Override
@@ -418,11 +379,8 @@ public com.google.firestore.v1.DeleteDocumentRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.DeleteDocumentRequest buildPartial() {
-      com.google.firestore.v1.DeleteDocumentRequest result =
-          new com.google.firestore.v1.DeleteDocumentRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.DeleteDocumentRequest result = new com.google.firestore.v1.DeleteDocumentRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -433,8 +391,9 @@ private void buildPartial0(com.google.firestore.v1.DeleteDocumentRequest result)
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.currentDocument_ =
-            currentDocumentBuilder_ == null ? currentDocument_ : currentDocumentBuilder_.build();
+        result.currentDocument_ = currentDocumentBuilder_ == null
+            ? currentDocument_
+            : currentDocumentBuilder_.build();
       }
     }
 
@@ -442,39 +401,38 @@ private void buildPartial0(com.google.firestore.v1.DeleteDocumentRequest result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.DeleteDocumentRequest) {
-        return mergeFrom((com.google.firestore.v1.DeleteDocumentRequest) other);
+        return mergeFrom((com.google.firestore.v1.DeleteDocumentRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -517,25 +475,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getCurrentDocumentFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getCurrentDocumentFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -545,26 +502,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -573,22 +527,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -596,37 +549,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -636,22 +582,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -661,49 +603,36 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.Precondition currentDocument_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Precondition, - com.google.firestore.v1.Precondition.Builder, - com.google.firestore.v1.PreconditionOrBuilder> - currentDocumentBuilder_; + com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> currentDocumentBuilder_; /** - * - * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return Whether the currentDocument field is set. */ public boolean hasCurrentDocument() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return The currentDocument. */ public com.google.firestore.v1.Precondition getCurrentDocument() { if (currentDocumentBuilder_ == null) { - return currentDocument_ == null - ? com.google.firestore.v1.Precondition.getDefaultInstance() - : currentDocument_; + return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; } else { return currentDocumentBuilder_.getMessage(); } } /** - * - * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -725,8 +654,6 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -746,8 +673,6 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -757,9 +682,9 @@ public Builder setCurrentDocument(
      */
     public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value) {
       if (currentDocumentBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && currentDocument_ != null
-            && currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          currentDocument_ != null &&
+          currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
           getCurrentDocumentBuilder().mergeFrom(value);
         } else {
           currentDocument_ = value;
@@ -772,8 +697,6 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -792,8 +715,6 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -807,8 +728,6 @@ public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder()
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -820,14 +739,11 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
       if (currentDocumentBuilder_ != null) {
         return currentDocumentBuilder_.getMessageOrBuilder();
       } else {
-        return currentDocument_ == null
-            ? com.google.firestore.v1.Precondition.getDefaultInstance()
-            : currentDocument_;
+        return currentDocument_ == null ?
+            com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
       }
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -836,24 +752,21 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
      * .google.firestore.v1.Precondition current_document = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition,
-            com.google.firestore.v1.Precondition.Builder,
-            com.google.firestore.v1.PreconditionOrBuilder>
+        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> 
         getCurrentDocumentFieldBuilder() {
       if (currentDocumentBuilder_ == null) {
-        currentDocumentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Precondition,
-                com.google.firestore.v1.Precondition.Builder,
-                com.google.firestore.v1.PreconditionOrBuilder>(
-                getCurrentDocument(), getParentForChildren(), isClean());
+        currentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder>(
+                getCurrentDocument(),
+                getParentForChildren(),
+                isClean());
         currentDocument_ = null;
       }
       return currentDocumentBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +776,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.DeleteDocumentRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.DeleteDocumentRequest)
   private static final com.google.firestore.v1.DeleteDocumentRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.DeleteDocumentRequest();
   }
@@ -877,27 +790,27 @@ public static com.google.firestore.v1.DeleteDocumentRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DeleteDocumentRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DeleteDocumentRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,4 +825,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.DeleteDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
similarity index 70%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
index ff6e2f121..65416d9c8 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
@@ -1,84 +1,55 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface DeleteDocumentRequestOrBuilder
-    extends
+public interface DeleteDocumentRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DeleteDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The resource name of the Document to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the Document to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; - * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
similarity index 76%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
index e97f18f55..88727cdd0 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A Firestore document.
  * Must not exceed 1 MiB - 4 bytes.
@@ -28,70 +11,66 @@
  *
  * Protobuf type {@code google.firestore.v1.Document}
  */
-public final class Document extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Document extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.Document)
     DocumentOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Document.newBuilder() to construct.
   private Document(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Document() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Document();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.DocumentProto
-        .internal_static_google_firestore_v1_Document_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 2:
         return internalGetFields();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.DocumentProto
-        .internal_static_google_firestore_v1_Document_fieldAccessorTable
+    return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.firestore.v1.Document.class, com.google.firestore.v1.Document.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -100,30 +79,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -132,37 +111,32 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int FIELDS_FIELD_NUMBER = 2; - private static final class FieldsDefaultEntryHolder { - static final com.google.protobuf.MapEntry - defaultEntry = + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.firestore.v1.Value> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_Document_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.firestore.v1.Value.getDefaultInstance()); + .newDefaultInstance( + com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.firestore.v1.Value.getDefaultInstance()); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField fields_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.firestore.v1.Value> fields_; private com.google.protobuf.MapField - internalGetFields() { + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
    * The document's fields.
    * The map keys represent field names.
@@ -188,21 +162,20 @@ public int getFieldsCount() {
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   @java.lang.Override
-  public boolean containsFields(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsFields(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetFields().getMap().containsKey(key);
   }
-  /** Use {@link #getFieldsMap()} instead. */
+  /**
+   * Use {@link #getFieldsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getFields() {
     return getFieldsMap();
   }
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -232,8 +205,6 @@ public java.util.Map getFieldsM
     return internalGetFields().getMap();
   }
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -259,20 +230,17 @@ public java.util.Map getFieldsM
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   @java.lang.Override
-  public /* nullable */ com.google.firestore.v1.Value getFieldsOrDefault(
+  public /* nullable */
+com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.firestore.v1.Value defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.firestore.v1.Value defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -298,10 +266,9 @@ public java.util.Map getFieldsM
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.firestore.v1.Value getFieldsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetFields().getMap();
     if (!map.containsKey(key)) {
@@ -313,8 +280,6 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -323,7 +288,6 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -331,8 +295,6 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -341,7 +303,6 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ @java.lang.Override @@ -349,8 +310,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -368,8 +327,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int UPDATE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp updateTime_;
   /**
-   *
-   *
    * 
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -378,7 +335,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -386,8 +342,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -396,7 +350,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ @java.lang.Override @@ -404,8 +357,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -421,7 +372,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -433,12 +383,17 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 2);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetFields(),
+        FieldsDefaultEntryHolder.defaultEntry,
+        2);
     if (createTime_ != null) {
       output.writeMessage(3, getCreateTime());
     }
@@ -457,21 +412,23 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetFields().getMap().entrySet()) {
-      com.google.protobuf.MapEntry fields__ =
-          FieldsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields__);
+    for (java.util.Map.Entry entry
+         : internalGetFields().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, fields__);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getUpdateTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -481,22 +438,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.Document)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.Document other = (com.google.firestore.v1.Document) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!internalGetFields().equals(other.internalGetFields())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!internalGetFields().equals(
+        other.internalGetFields())) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -528,103 +489,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.Document parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.Document parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.Document parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.firestore.v1.Document parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Document parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Document parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Document parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Document parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Document parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.Document prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A Firestore document.
    * Must not exceed 1 MiB - 4 bytes.
@@ -632,52 +587,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.Document}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.Document)
       com.google.firestore.v1.DocumentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.DocumentProto
-          .internal_static_google_firestore_v1_Document_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetFields();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetMutableFields();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.DocumentProto
-          .internal_static_google_firestore_v1_Document_fieldAccessorTable
+      return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.Document.class,
-              com.google.firestore.v1.Document.Builder.class);
+              com.google.firestore.v1.Document.class, com.google.firestore.v1.Document.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.Document.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -698,9 +656,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.DocumentProto
-          .internal_static_google_firestore_v1_Document_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_descriptor;
     }
 
     @java.lang.Override
@@ -720,9 +678,7 @@ public com.google.firestore.v1.Document build() {
     @java.lang.Override
     public com.google.firestore.v1.Document buildPartial() {
       com.google.firestore.v1.Document result = new com.google.firestore.v1.Document(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -737,10 +693,14 @@ private void buildPartial0(com.google.firestore.v1.Document result) {
         result.fields_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
     }
 
@@ -748,39 +708,38 @@ private void buildPartial0(com.google.firestore.v1.Document result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.Document) {
-        return mergeFrom((com.google.firestore.v1.Document) other);
+        return mergeFrom((com.google.firestore.v1.Document)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -794,7 +753,8 @@ public Builder mergeFrom(com.google.firestore.v1.Document other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(other.internalGetFields());
+      internalGetMutableFields().mergeFrom(
+          other.internalGetFields());
       bitField0_ |= 0x00000002;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
@@ -828,44 +788,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry
-                    fields__ =
-                        input.readMessage(
-                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableFields()
-                    .getMutableMap()
-                    .put(fields__.getKey(), fields__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              fields__ = input.readMessage(
+                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableFields().getMutableMap().put(
+                  fields__.getKey(), fields__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -875,26 +831,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -903,22 +856,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -926,37 +878,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -966,22 +911,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -989,20 +930,21 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField fields_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.firestore.v1.Value> fields_; private com.google.protobuf.MapField internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - private com.google.protobuf.MapField internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField( + FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -1011,13 +953,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { onChanged(); return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
      * The document's fields.
      * The map keys represent field names.
@@ -1043,21 +982,20 @@ public int getFieldsCount() {
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
-    public boolean containsFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetFields().getMap().containsKey(key);
     }
-    /** Use {@link #getFieldsMap()} instead. */
+    /**
+     * Use {@link #getFieldsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getFields() {
       return getFieldsMap();
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1087,8 +1025,6 @@ public java.util.Map getFieldsM
       return internalGetFields().getMap();
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1114,20 +1050,17 @@ public java.util.Map getFieldsM
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
-    public /* nullable */ com.google.firestore.v1.Value getFieldsOrDefault(
+    public /* nullable */
+com.google.firestore.v1.Value getFieldsOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.firestore.v1.Value defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+com.google.firestore.v1.Value defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1153,10 +1086,9 @@ public java.util.Map getFieldsM
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
-    public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public com.google.firestore.v1.Value getFieldsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetFields().getMap();
       if (!map.containsKey(key)) {
@@ -1164,15 +1096,13 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
       }
       return map.get(key);
     }
-
     public Builder clearFields() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableFields().getMutableMap().clear();
+      internalGetMutableFields().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1197,22 +1127,23 @@ public Builder clearFields() {
      *
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
-    public Builder removeFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableFields().getMutableMap().remove(key);
+    public Builder removeFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableFields().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableFields() {
+    public java.util.Map
+        getMutableFields() {
       bitField0_ |= 0x00000002;
       return internalGetMutableFields().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1237,20 +1168,17 @@ public java.util.Map getMutable
      *
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
-    public Builder putFields(java.lang.String key, com.google.firestore.v1.Value value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableFields().getMutableMap().put(key, value);
+    public Builder putFields(
+        java.lang.String key,
+        com.google.firestore.v1.Value value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableFields().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
-     *
-     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1277,20 +1205,16 @@ public Builder putFields(java.lang.String key, com.google.firestore.v1.Value val
      */
     public Builder putAllFields(
         java.util.Map values) {
-      internalGetMutableFields().getMutableMap().putAll(values);
+      internalGetMutableFields().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1299,15 +1223,12 @@ public Builder putAllFields(
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1316,21 +1237,16 @@ public boolean hasCreateTime() {
      * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1354,8 +1270,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1365,7 +1279,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 3;
      */
-    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCreateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (createTimeBuilder_ == null) {
         createTime_ = builderForValue.build();
       } else {
@@ -1376,8 +1291,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1389,9 +1302,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && createTime_ != null
-            && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          createTime_ != null &&
+          createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCreateTimeBuilder().mergeFrom(value);
         } else {
           createTime_ = value;
@@ -1404,8 +1317,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1426,8 +1337,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1443,8 +1352,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1458,14 +1365,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
       if (createTimeBuilder_ != null) {
         return createTimeBuilder_.getMessageOrBuilder();
       } else {
-        return createTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : createTime_;
+        return createTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1476,17 +1380,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCreateTimeFieldBuilder() {
       if (createTimeBuilder_ == null) {
-        createTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCreateTime(), getParentForChildren(), isClean());
+        createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCreateTime(),
+                getParentForChildren(),
+                isClean());
         createTime_ = null;
       }
       return createTimeBuilder_;
@@ -1494,13 +1395,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp updateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        updateTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1509,15 +1405,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1526,21 +1419,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1564,8 +1452,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1575,7 +1461,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 4;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
       } else {
@@ -1586,8 +1473,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1599,9 +1484,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && updateTime_ != null
-            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          updateTime_ != null &&
+          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -1614,8 +1499,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1636,8 +1519,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1653,8 +1534,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1668,14 +1547,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : updateTime_;
+        return updateTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1686,24 +1562,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(), getParentForChildren(), isClean());
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(),
+                getParentForChildren(),
+                isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1713,12 +1586,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.Document)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.Document)
   private static final com.google.firestore.v1.Document DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.Document();
   }
@@ -1727,27 +1600,27 @@ public static com.google.firestore.v1.Document getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Document parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Document parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1762,4 +1635,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.Document getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
similarity index 71%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
index 0caf53ee5..3d4c96a48 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A [Document][google.firestore.v1.Document] has changed.
  * May be the result of multiple [writes][google.firestore.v1.Write], including
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentChange}
  */
-public final class DocumentChange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DocumentChange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentChange)
     DocumentChangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DocumentChange.newBuilder() to construct.
   private DocumentChange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DocumentChange() {
     targetIds_ = emptyIntList();
     removedTargetIds_ = emptyIntList();
@@ -49,42 +31,38 @@ private DocumentChange() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DocumentChange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.WriteProto
-        .internal_static_google_firestore_v1_DocumentChange_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.WriteProto
-        .internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
+    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentChange.class,
-            com.google.firestore.v1.DocumentChange.Builder.class);
+            com.google.firestore.v1.DocumentChange.class, com.google.firestore.v1.DocumentChange.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.Document document_;
   /**
-   *
-   *
    * 
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ @java.lang.Override @@ -92,15 +70,12 @@ public boolean hasDocument() { return document_ != null; } /** - * - * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ @java.lang.Override @@ -108,8 +83,6 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** - * - * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
@@ -123,109 +96,88 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
   }
 
   public static final int TARGET_IDS_FIELD_NUMBER = 5;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.Internal.IntList targetIds_;
   /**
-   *
-   *
    * 
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; - * * @return A list containing the targetIds. */ @java.lang.Override - public java.util.List getTargetIdsList() { + public java.util.List + getTargetIdsList() { return targetIds_; } /** - * - * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; - * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** - * - * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; - * * @param index The index of the element to return. * @return The targetIds at the given index. */ public int getTargetIds(int index) { return targetIds_.getInt(index); } - private int targetIdsMemoizedSerializedSize = -1; public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList removedTargetIds_; /** - * - * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return A list containing the removedTargetIds. */ @java.lang.Override - public java.util.List getRemovedTargetIdsList() { + public java.util.List + getRemovedTargetIdsList() { return removedTargetIds_; } /** - * - * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** - * - * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } - private int removedTargetIdsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +189,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (document_ != null) { output.writeMessage(1, getDocument()); @@ -266,32 +219,34 @@ public int getSerializedSize() { size = 0; if (document_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDocument()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDocument()); } { int dataSize = 0; for (int i = 0; i < targetIds_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(targetIds_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(targetIds_.getInt(i)); } size += dataSize; if (!getTargetIdsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } targetIdsMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < removedTargetIds_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( - removedTargetIds_.getInt(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(removedTargetIds_.getInt(i)); } size += dataSize; if (!getRemovedTargetIdsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } removedTargetIdsMemoizedSerializedSize = dataSize; } @@ -303,7 +258,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.DocumentChange)) { return super.equals(obj); @@ -312,10 +267,13 @@ public boolean equals(final java.lang.Object obj) { if (hasDocument() != other.hasDocument()) return false; if (hasDocument()) { - if (!getDocument().equals(other.getDocument())) return false; + if (!getDocument() + .equals(other.getDocument())) return false; } - if (!getTargetIdsList().equals(other.getTargetIdsList())) return false; - if (!getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList())) return false; + if (!getTargetIdsList() + .equals(other.getTargetIdsList())) return false; + if (!getRemovedTargetIdsList() + .equals(other.getRemovedTargetIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,104 +302,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.DocumentChange parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.DocumentChange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentChange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentChange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentChange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentChange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.DocumentChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentChange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.DocumentChange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.DocumentChange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * May be the result of multiple [writes][google.firestore.v1.Write], including
@@ -453,32 +404,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.DocumentChange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentChange)
       com.google.firestore.v1.DocumentChangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentChange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentChange.class,
-              com.google.firestore.v1.DocumentChange.Builder.class);
+              com.google.firestore.v1.DocumentChange.class, com.google.firestore.v1.DocumentChange.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentChange.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -494,9 +446,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentChange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_descriptor;
     }
 
     @java.lang.Override
@@ -515,12 +467,9 @@ public com.google.firestore.v1.DocumentChange build() {
 
     @java.lang.Override
     public com.google.firestore.v1.DocumentChange buildPartial() {
-      com.google.firestore.v1.DocumentChange result =
-          new com.google.firestore.v1.DocumentChange(this);
+      com.google.firestore.v1.DocumentChange result = new com.google.firestore.v1.DocumentChange(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -541,7 +490,9 @@ private void buildPartialRepeatedFields(com.google.firestore.v1.DocumentChange r
     private void buildPartial0(com.google.firestore.v1.DocumentChange result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.document_ = documentBuilder_ == null ? document_ : documentBuilder_.build();
+        result.document_ = documentBuilder_ == null
+            ? document_
+            : documentBuilder_.build();
       }
     }
 
@@ -549,39 +500,38 @@ private void buildPartial0(com.google.firestore.v1.DocumentChange result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.DocumentChange) {
-        return mergeFrom((com.google.firestore.v1.DocumentChange) other);
+        return mergeFrom((com.google.firestore.v1.DocumentChange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -639,55 +589,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 40:
-              {
-                int v = input.readInt32();
-                ensureTargetIdsIsMutable();
-                targetIds_.addInt(v);
-                break;
-              } // case 40
-            case 42:
-              {
-                int length = input.readRawVarint32();
-                int limit = input.pushLimit(length);
-                ensureTargetIdsIsMutable();
-                while (input.getBytesUntilLimit() > 0) {
-                  targetIds_.addInt(input.readInt32());
-                }
-                input.popLimit(limit);
-                break;
-              } // case 42
-            case 48:
-              {
-                int v = input.readInt32();
-                ensureRemovedTargetIdsIsMutable();
-                removedTargetIds_.addInt(v);
-                break;
-              } // case 48
-            case 50:
-              {
-                int length = input.readRawVarint32();
-                int limit = input.pushLimit(length);
-                ensureRemovedTargetIdsIsMutable();
-                while (input.getBytesUntilLimit() > 0) {
-                  removedTargetIds_.addInt(input.readInt32());
-                }
-                input.popLimit(limit);
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getDocumentFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 40: {
+              int v = input.readInt32();
+              ensureTargetIdsIsMutable();
+              targetIds_.addInt(v);
+              break;
+            } // case 40
+            case 42: {
+              int length = input.readRawVarint32();
+              int limit = input.pushLimit(length);
+              ensureTargetIdsIsMutable();
+              while (input.getBytesUntilLimit() > 0) {
+                targetIds_.addInt(input.readInt32());
+              }
+              input.popLimit(limit);
+              break;
+            } // case 42
+            case 48: {
+              int v = input.readInt32();
+              ensureRemovedTargetIdsIsMutable();
+              removedTargetIds_.addInt(v);
+              break;
+            } // case 48
+            case 50: {
+              int length = input.readRawVarint32();
+              int limit = input.pushLimit(length);
+              ensureRemovedTargetIdsIsMutable();
+              while (input.getBytesUntilLimit() > 0) {
+                removedTargetIds_.addInt(input.readInt32());
+              }
+              input.popLimit(limit);
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -697,54 +643,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.firestore.v1.Document document_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Document,
-            com.google.firestore.v1.Document.Builder,
-            com.google.firestore.v1.DocumentOrBuilder>
-        documentBuilder_;
+        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_;
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
      * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ public boolean hasDocument() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
      * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ public com.google.firestore.v1.Document getDocument() { if (documentBuilder_ == null) { - return document_ == null - ? com.google.firestore.v1.Document.getDefaultInstance() - : document_; + return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } else { return documentBuilder_.getMessage(); } } /** - * - * *
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -766,8 +698,6 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -775,7 +705,8 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
      *
      * .google.firestore.v1.Document document = 1;
      */
-    public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) {
+    public Builder setDocument(
+        com.google.firestore.v1.Document.Builder builderForValue) {
       if (documentBuilder_ == null) {
         document_ = builderForValue.build();
       } else {
@@ -786,8 +717,6 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -797,9 +726,9 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa
      */
     public Builder mergeDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && document_ != null
-            && document_ != com.google.firestore.v1.Document.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          document_ != null &&
+          document_ != com.google.firestore.v1.Document.getDefaultInstance()) {
           getDocumentBuilder().mergeFrom(value);
         } else {
           document_ = value;
@@ -812,8 +741,6 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -832,8 +759,6 @@ public Builder clearDocument() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -847,8 +772,6 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() {
       return getDocumentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -860,14 +783,11 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
       if (documentBuilder_ != null) {
         return documentBuilder_.getMessageOrBuilder();
       } else {
-        return document_ == null
-            ? com.google.firestore.v1.Document.getDefaultInstance()
-            : document_;
+        return document_ == null ?
+            com.google.firestore.v1.Document.getDefaultInstance() : document_;
       }
     }
     /**
-     *
-     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -876,24 +796,20 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * .google.firestore.v1.Document document = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Document,
-            com.google.firestore.v1.Document.Builder,
-            com.google.firestore.v1.DocumentOrBuilder>
+        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> 
         getDocumentFieldBuilder() {
       if (documentBuilder_ == null) {
-        documentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Document,
-                com.google.firestore.v1.Document.Builder,
-                com.google.firestore.v1.DocumentOrBuilder>(
-                getDocument(), getParentForChildren(), isClean());
+        documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>(
+                getDocument(),
+                getParentForChildren(),
+                isClean());
         document_ = null;
       }
       return documentBuilder_;
     }
 
     private com.google.protobuf.Internal.IntList targetIds_ = emptyIntList();
-
     private void ensureTargetIdsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         targetIds_ = mutableCopy(targetIds_);
@@ -901,44 +817,35 @@ private void ensureTargetIdsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; - * * @return A list containing the targetIds. */ - public java.util.List getTargetIdsList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(targetIds_) - : targetIds_; + public java.util.List + getTargetIdsList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(targetIds_) : targetIds_; } /** - * - * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; - * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** - * - * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; - * * @param index The index of the element to return. * @return The targetIds at the given index. */ @@ -946,71 +853,62 @@ public int getTargetIds(int index) { return targetIds_.getInt(index); } /** - * - * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; - * * @param index The index to set the value at. * @param value The targetIds to set. * @return This builder for chaining. */ - public Builder setTargetIds(int index, int value) { - + public Builder setTargetIds( + int index, int value) { + ensureTargetIdsIsMutable(); targetIds_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; - * * @param value The targetIds to add. * @return This builder for chaining. */ public Builder addTargetIds(int value) { - + ensureTargetIdsIsMutable(); targetIds_.addInt(value); onChanged(); return this; } /** - * - * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; - * * @param values The targetIds to add. * @return This builder for chaining. */ - public Builder addAllTargetIds(java.lang.Iterable values) { + public Builder addAllTargetIds( + java.lang.Iterable values) { ensureTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, targetIds_); onChanged(); return this; } /** - * - * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; - * * @return This builder for chaining. */ public Builder clearTargetIds() { @@ -1021,7 +919,6 @@ public Builder clearTargetIds() { } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); - private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); @@ -1029,44 +926,35 @@ private void ensureRemovedTargetIdsIsMutable() { } } /** - * - * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; - * * @return A list containing the removedTargetIds. */ - public java.util.List getRemovedTargetIdsList() { - return ((bitField0_ & 0x00000004) != 0) - ? java.util.Collections.unmodifiableList(removedTargetIds_) - : removedTargetIds_; + public java.util.List + getRemovedTargetIdsList() { + return ((bitField0_ & 0x00000004) != 0) ? + java.util.Collections.unmodifiableList(removedTargetIds_) : removedTargetIds_; } /** - * - * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; - * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** - * - * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ @@ -1074,71 +962,62 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** - * - * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds(int index, int value) { - + public Builder setRemovedTargetIds( + int index, int value) { + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param value The removedTargetIds to add. * @return This builder for chaining. */ public Builder addRemovedTargetIds(int value) { - + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.addInt(value); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param values The removedTargetIds to add. * @return This builder for chaining. */ - public Builder addAllRemovedTargetIds(java.lang.Iterable values) { + public Builder addAllRemovedTargetIds( + java.lang.Iterable values) { ensureRemovedTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, removedTargetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, removedTargetIds_); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; - * * @return This builder for chaining. */ public Builder clearRemovedTargetIds() { @@ -1147,9 +1026,9 @@ public Builder clearRemovedTargetIds() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1159,12 +1038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentChange) } // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentChange) private static final com.google.firestore.v1.DocumentChange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentChange(); } @@ -1173,27 +1052,27 @@ public static com.google.firestore.v1.DocumentChange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentChange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentChange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1208,4 +1087,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.DocumentChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java similarity index 78% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java index faf5f3dab..0a931ac08 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; -public interface DocumentChangeOrBuilder - extends +public interface DocumentChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentChange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ boolean hasDocument(); /** - * - * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** - * - * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
@@ -62,76 +38,58 @@ public interface DocumentChangeOrBuilder
   com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder();
 
   /**
-   *
-   *
    * 
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; - * * @return A list containing the targetIds. */ java.util.List getTargetIdsList(); /** - * - * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; - * * @return The count of targetIds. */ int getTargetIdsCount(); /** - * - * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; - * * @param index The index of the element to return. * @return The targetIds at the given index. */ int getTargetIds(int index); /** - * - * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** - * - * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** - * - * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java similarity index 72% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java index 8cf3d6a68..25675b82e 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** - * - * *
  * A [Document][google.firestore.v1.Document] has been deleted.
  * May be the result of multiple [writes][google.firestore.v1.Write], including
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentDelete}
  */
-public final class DocumentDelete extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DocumentDelete extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentDelete)
     DocumentDeleteOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DocumentDelete.newBuilder() to construct.
   private DocumentDelete(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DocumentDelete() {
     document_ = "";
     removedTargetIds_ = emptyIntList();
@@ -49,44 +31,39 @@ private DocumentDelete() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DocumentDelete();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.WriteProto
-        .internal_static_google_firestore_v1_DocumentDelete_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.WriteProto
-        .internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
+    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentDelete.class,
-            com.google.firestore.v1.DocumentDelete.Builder.class);
+            com.google.firestore.v1.DocumentDelete.class, com.google.firestore.v1.DocumentDelete.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object document_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that was
    * deleted.
    * 
* * string document = 1; - * * @return The document. */ @java.lang.Override @@ -95,30 +72,30 @@ public java.lang.String getDocument() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; } } /** - * - * *
    * The resource name of the [Document][google.firestore.v1.Document] that was
    * deleted.
    * 
* * string document = 1; - * * @return The bytes for document. */ @java.lang.Override - public com.google.protobuf.ByteString getDocumentBytes() { + public com.google.protobuf.ByteString + getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); document_ = b; return b; } else { @@ -127,68 +104,55 @@ public com.google.protobuf.ByteString getDocumentBytes() { } public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList removedTargetIds_; /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return A list containing the removedTargetIds. */ @java.lang.Override - public java.util.List getRemovedTargetIdsList() { + public java.util.List + getRemovedTargetIdsList() { return removedTargetIds_; } /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } - private int removedTargetIdsMemoizedSerializedSize = -1; public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -196,15 +160,12 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -212,8 +173,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
@@ -227,7 +186,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -239,7 +197,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getSerializedSize();
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(document_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_);
@@ -267,19 +226,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, document_);
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getReadTime());
     }
     {
       int dataSize = 0;
       for (int i = 0; i < removedTargetIds_.size(); i++) {
-        dataSize +=
-            com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(
-                removedTargetIds_.getInt(i));
+        dataSize += com.google.protobuf.CodedOutputStream
+          .computeInt32SizeNoTag(removedTargetIds_.getInt(i));
       }
       size += dataSize;
       if (!getRemovedTargetIdsList().isEmpty()) {
         size += 1;
-        size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
+        size += com.google.protobuf.CodedOutputStream
+            .computeInt32SizeNoTag(dataSize);
       }
       removedTargetIdsMemoizedSerializedSize = dataSize;
     }
@@ -291,18 +251,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.DocumentDelete)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.DocumentDelete other = (com.google.firestore.v1.DocumentDelete) obj;
 
-    if (!getDocument().equals(other.getDocument())) return false;
-    if (!getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList())) return false;
+    if (!getDocument()
+        .equals(other.getDocument())) return false;
+    if (!getRemovedTargetIdsList()
+        .equals(other.getRemovedTargetIdsList())) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime().equals(other.getReadTime())) return false;
+      if (!getReadTime()
+          .equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -330,104 +293,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.DocumentDelete parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.DocumentDelete parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.DocumentDelete prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A [Document][google.firestore.v1.Document] has been deleted.
    * May be the result of multiple [writes][google.firestore.v1.Write], including
@@ -439,32 +395,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.DocumentDelete}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentDelete)
       com.google.firestore.v1.DocumentDeleteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentDelete_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentDelete.class,
-              com.google.firestore.v1.DocumentDelete.Builder.class);
+              com.google.firestore.v1.DocumentDelete.class, com.google.firestore.v1.DocumentDelete.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentDelete.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -480,9 +437,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentDelete_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_descriptor;
     }
 
     @java.lang.Override
@@ -501,12 +458,9 @@ public com.google.firestore.v1.DocumentDelete build() {
 
     @java.lang.Override
     public com.google.firestore.v1.DocumentDelete buildPartial() {
-      com.google.firestore.v1.DocumentDelete result =
-          new com.google.firestore.v1.DocumentDelete(this);
+      com.google.firestore.v1.DocumentDelete result = new com.google.firestore.v1.DocumentDelete(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -525,7 +479,9 @@ private void buildPartial0(com.google.firestore.v1.DocumentDelete result) {
         result.document_ = document_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null
+            ? readTime_
+            : readTimeBuilder_.build();
       }
     }
 
@@ -533,39 +489,38 @@ private void buildPartial0(com.google.firestore.v1.DocumentDelete result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.DocumentDelete) {
-        return mergeFrom((com.google.firestore.v1.DocumentDelete) other);
+        return mergeFrom((com.google.firestore.v1.DocumentDelete)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -618,43 +573,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                document_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 34:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            case 48:
-              {
-                int v = input.readInt32();
-                ensureRemovedTargetIdsIsMutable();
-                removedTargetIds_.addInt(v);
-                break;
-              } // case 48
-            case 50:
-              {
-                int length = input.readRawVarint32();
-                int limit = input.pushLimit(length);
-                ensureRemovedTargetIdsIsMutable();
-                while (input.getBytesUntilLimit() > 0) {
-                  removedTargetIds_.addInt(input.readInt32());
-                }
-                input.popLimit(limit);
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              document_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 34: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            case 48: {
+              int v = input.readInt32();
+              ensureRemovedTargetIdsIsMutable();
+              removedTargetIds_.addInt(v);
+              break;
+            } // case 48
+            case 50: {
+              int length = input.readRawVarint32();
+              int limit = input.pushLimit(length);
+              ensureRemovedTargetIdsIsMutable();
+              while (input.getBytesUntilLimit() > 0) {
+                removedTargetIds_.addInt(input.readInt32());
+              }
+              input.popLimit(limit);
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -664,26 +616,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object document_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the [Document][google.firestore.v1.Document] that was
      * deleted.
      * 
* * string document = 1; - * * @return The document. */ public java.lang.String getDocument() { java.lang.Object ref = document_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; @@ -692,22 +641,21 @@ public java.lang.String getDocument() { } } /** - * - * *
      * The resource name of the [Document][google.firestore.v1.Document] that was
      * deleted.
      * 
* * string document = 1; - * * @return The bytes for document. */ - public com.google.protobuf.ByteString getDocumentBytes() { + public com.google.protobuf.ByteString + getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); document_ = b; return b; } else { @@ -715,37 +663,30 @@ public com.google.protobuf.ByteString getDocumentBytes() { } } /** - * - * *
      * The resource name of the [Document][google.firestore.v1.Document] that was
      * deleted.
      * 
* * string document = 1; - * * @param value The document to set. * @return This builder for chaining. */ - public Builder setDocument(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDocument( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } document_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the [Document][google.firestore.v1.Document] that was
      * deleted.
      * 
* * string document = 1; - * * @return This builder for chaining. */ public Builder clearDocument() { @@ -755,22 +696,18 @@ public Builder clearDocument() { return this; } /** - * - * *
      * The resource name of the [Document][google.firestore.v1.Document] that was
      * deleted.
      * 
* * string document = 1; - * * @param value The bytes for document to set. * @return This builder for chaining. */ - public Builder setDocumentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDocumentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); document_ = value; bitField0_ |= 0x00000001; @@ -779,7 +716,6 @@ public Builder setDocumentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); - private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); @@ -787,44 +723,35 @@ private void ensureRemovedTargetIdsIsMutable() { } } /** - * - * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; - * * @return A list containing the removedTargetIds. */ - public java.util.List getRemovedTargetIdsList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(removedTargetIds_) - : removedTargetIds_; + public java.util.List + getRemovedTargetIdsList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(removedTargetIds_) : removedTargetIds_; } /** - * - * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; - * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** - * - * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ @@ -832,71 +759,62 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** - * - * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds(int index, int value) { - + public Builder setRemovedTargetIds( + int index, int value) { + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param value The removedTargetIds to add. * @return This builder for chaining. */ public Builder addRemovedTargetIds(int value) { - + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.addInt(value); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; - * * @param values The removedTargetIds to add. * @return This builder for chaining. */ - public Builder addAllRemovedTargetIds(java.lang.Iterable values) { + public Builder addAllRemovedTargetIds( + java.lang.Iterable values) { ensureRemovedTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, removedTargetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, removedTargetIds_); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; - * * @return This builder for chaining. */ public Builder clearRemovedTargetIds() { @@ -908,35 +826,26 @@ public Builder clearRemovedTargetIds() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -947,8 +856,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -970,8 +877,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -979,7 +884,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -990,8 +896,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1001,9 +905,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1016,8 +920,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1036,8 +938,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1051,8 +951,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1064,12 +962,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -1078,24 +975,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1105,12 +999,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentDelete)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentDelete)
   private static final com.google.firestore.v1.DocumentDelete DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentDelete();
   }
@@ -1119,27 +1013,27 @@ public static com.google.firestore.v1.DocumentDelete getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DocumentDelete parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DocumentDelete parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1154,4 +1048,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.DocumentDelete getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
similarity index 74%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
index 49b952456..04a0db1b7 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
@@ -1,122 +1,84 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface DocumentDeleteOrBuilder
-    extends
+public interface DocumentDeleteOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentDelete)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that was
    * deleted.
    * 
* * string document = 1; - * * @return The document. */ java.lang.String getDocument(); /** - * - * *
    * The resource name of the [Document][google.firestore.v1.Document] that was
    * deleted.
    * 
* * string document = 1; - * * @return The bytes for document. */ - com.google.protobuf.ByteString getDocumentBytes(); + com.google.protobuf.ByteString + getDocumentBytes(); /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** - * - * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ int getRemovedTargetIds(int index); /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
similarity index 70%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
index 2e7b517ae..9f275acdf 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/common.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A set of field paths on a document.
  * Used to restrict a get or update operation on a document to a subset of its
@@ -32,53 +15,48 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentMask}
  */
-public final class DocumentMask extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DocumentMask extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentMask)
     DocumentMaskOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DocumentMask.newBuilder() to construct.
   private DocumentMask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DocumentMask() {
     fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DocumentMask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.CommonProto
-        .internal_static_google_firestore_v1_DocumentMask_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.CommonProto
-        .internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
+    return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentMask.class,
-            com.google.firestore.v1.DocumentMask.Builder.class);
+            com.google.firestore.v1.DocumentMask.class, com.google.firestore.v1.DocumentMask.Builder.class);
   }
 
   public static final int FIELD_PATHS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList fieldPaths_;
   /**
-   *
-   *
    * 
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -86,15 +64,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string field_paths = 1; - * * @return A list containing the fieldPaths. */ - public com.google.protobuf.ProtocolStringList getFieldPathsList() { + public com.google.protobuf.ProtocolStringList + getFieldPathsList() { return fieldPaths_; } /** - * - * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -102,15 +78,12 @@ public com.google.protobuf.ProtocolStringList getFieldPathsList() {
    * 
* * repeated string field_paths = 1; - * * @return The count of fieldPaths. */ public int getFieldPathsCount() { return fieldPaths_.size(); } /** - * - * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -118,7 +91,6 @@ public int getFieldPathsCount() {
    * 
* * repeated string field_paths = 1; - * * @param index The index of the element to return. * @return The fieldPaths at the given index. */ @@ -126,8 +98,6 @@ public java.lang.String getFieldPaths(int index) { return fieldPaths_.get(index); } /** - * - * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -135,16 +105,15 @@ public java.lang.String getFieldPaths(int index) {
    * 
* * repeated string field_paths = 1; - * * @param index The index of the value to return. * @return The bytes of the fieldPaths at the given index. */ - public com.google.protobuf.ByteString getFieldPathsBytes(int index) { + public com.google.protobuf.ByteString + getFieldPathsBytes(int index) { return fieldPaths_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,7 +125,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < fieldPaths_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPaths_.getRaw(i)); } @@ -185,14 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.DocumentMask)) { return super.equals(obj); } com.google.firestore.v1.DocumentMask other = (com.google.firestore.v1.DocumentMask) obj; - if (!getFieldPathsList().equals(other.getFieldPathsList())) return false; + if (!getFieldPathsList() + .equals(other.getFieldPathsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,103 +184,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.DocumentMask parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.DocumentMask parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentMask parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.DocumentMask parseFrom(com.google.protobuf.ByteString data) + public static com.google.firestore.v1.DocumentMask parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentMask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentMask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentMask parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentMask parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentMask parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.DocumentMask parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentMask parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.DocumentMask parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentMask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.DocumentMask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A set of field paths on a document.
    * Used to restrict a get or update operation on a document to a subset of its
@@ -321,32 +286,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.DocumentMask}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentMask)
       com.google.firestore.v1.DocumentMaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.CommonProto
-          .internal_static_google_firestore_v1_DocumentMask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.CommonProto
-          .internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
+      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentMask.class,
-              com.google.firestore.v1.DocumentMask.Builder.class);
+              com.google.firestore.v1.DocumentMask.class, com.google.firestore.v1.DocumentMask.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentMask.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -357,9 +323,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.CommonProto
-          .internal_static_google_firestore_v1_DocumentMask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
     }
 
     @java.lang.Override
@@ -380,9 +346,7 @@ public com.google.firestore.v1.DocumentMask build() {
     public com.google.firestore.v1.DocumentMask buildPartial() {
       com.google.firestore.v1.DocumentMask result = new com.google.firestore.v1.DocumentMask(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -403,39 +367,38 @@ private void buildPartial0(com.google.firestore.v1.DocumentMask result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.DocumentMask) {
-        return mergeFrom((com.google.firestore.v1.DocumentMask) other);
+        return mergeFrom((com.google.firestore.v1.DocumentMask)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -480,20 +443,18 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureFieldPathsIsMutable();
-                fieldPaths_.add(s);
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureFieldPathsIsMutable();
+              fieldPaths_.add(s);
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -503,21 +464,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList fieldPaths_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureFieldPathsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         fieldPaths_ = new com.google.protobuf.LazyStringArrayList(fieldPaths_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -525,15 +481,13 @@ private void ensureFieldPathsIsMutable() {
      * 
* * repeated string field_paths = 1; - * * @return A list containing the fieldPaths. */ - public com.google.protobuf.ProtocolStringList getFieldPathsList() { + public com.google.protobuf.ProtocolStringList + getFieldPathsList() { return fieldPaths_.getUnmodifiableView(); } /** - * - * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -541,15 +495,12 @@ public com.google.protobuf.ProtocolStringList getFieldPathsList() {
      * 
* * repeated string field_paths = 1; - * * @return The count of fieldPaths. */ public int getFieldPathsCount() { return fieldPaths_.size(); } /** - * - * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -557,7 +508,6 @@ public int getFieldPathsCount() {
      * 
* * repeated string field_paths = 1; - * * @param index The index of the element to return. * @return The fieldPaths at the given index. */ @@ -565,8 +515,6 @@ public java.lang.String getFieldPaths(int index) { return fieldPaths_.get(index); } /** - * - * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -574,16 +522,14 @@ public java.lang.String getFieldPaths(int index) {
      * 
* * repeated string field_paths = 1; - * * @param index The index of the value to return. * @return The bytes of the fieldPaths at the given index. */ - public com.google.protobuf.ByteString getFieldPathsBytes(int index) { + public com.google.protobuf.ByteString + getFieldPathsBytes(int index) { return fieldPaths_.getByteString(index); } /** - * - * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -591,23 +537,19 @@ public com.google.protobuf.ByteString getFieldPathsBytes(int index) {
      * 
* * repeated string field_paths = 1; - * * @param index The index to set the value at. * @param value The fieldPaths to set. * @return This builder for chaining. */ - public Builder setFieldPaths(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldPaths( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFieldPathsIsMutable(); fieldPaths_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -615,22 +557,18 @@ public Builder setFieldPaths(int index, java.lang.String value) {
      * 
* * repeated string field_paths = 1; - * * @param value The fieldPaths to add. * @return This builder for chaining. */ - public Builder addFieldPaths(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFieldPaths( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFieldPathsIsMutable(); fieldPaths_.add(value); onChanged(); return this; } /** - * - * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -638,19 +576,18 @@ public Builder addFieldPaths(java.lang.String value) {
      * 
* * repeated string field_paths = 1; - * * @param values The fieldPaths to add. * @return This builder for chaining. */ - public Builder addAllFieldPaths(java.lang.Iterable values) { + public Builder addAllFieldPaths( + java.lang.Iterable values) { ensureFieldPathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldPaths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fieldPaths_); onChanged(); return this; } /** - * - * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -658,7 +595,6 @@ public Builder addAllFieldPaths(java.lang.Iterable values) {
      * 
* * repeated string field_paths = 1; - * * @return This builder for chaining. */ public Builder clearFieldPaths() { @@ -668,8 +604,6 @@ public Builder clearFieldPaths() { return this; } /** - * - * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -677,23 +611,21 @@ public Builder clearFieldPaths() {
      * 
* * repeated string field_paths = 1; - * * @param value The bytes of the fieldPaths to add. * @return This builder for chaining. */ - public Builder addFieldPathsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFieldPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFieldPathsIsMutable(); fieldPaths_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -703,12 +635,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentMask) } // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentMask) private static final com.google.firestore.v1.DocumentMask DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentMask(); } @@ -717,27 +649,27 @@ public static com.google.firestore.v1.DocumentMask getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentMask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentMask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -752,4 +684,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.DocumentMask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java similarity index 65% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java index 747760394..95dc7d655 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; -public interface DocumentMaskOrBuilder - extends +public interface DocumentMaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentMask) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -33,13 +15,11 @@ public interface DocumentMaskOrBuilder
    * 
* * repeated string field_paths = 1; - * * @return A list containing the fieldPaths. */ - java.util.List getFieldPathsList(); + java.util.List + getFieldPathsList(); /** - * - * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -47,13 +27,10 @@ public interface DocumentMaskOrBuilder
    * 
* * repeated string field_paths = 1; - * * @return The count of fieldPaths. */ int getFieldPathsCount(); /** - * - * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -61,14 +38,11 @@ public interface DocumentMaskOrBuilder
    * 
* * repeated string field_paths = 1; - * * @param index The index of the element to return. * @return The fieldPaths at the given index. */ java.lang.String getFieldPaths(int index); /** - * - * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -76,9 +50,9 @@ public interface DocumentMaskOrBuilder
    * 
* * repeated string field_paths = 1; - * * @param index The index of the value to return. * @return The bytes of the fieldPaths at the given index. */ - com.google.protobuf.ByteString getFieldPathsBytes(int index); + com.google.protobuf.ByteString + getFieldPathsBytes(int index); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java similarity index 89% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java index 6c80d8e2a..a0027dbfe 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface DocumentOrBuilder - extends +public interface DocumentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Document) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The document's fields.
    * The map keys represent field names.
@@ -79,8 +56,6 @@ public interface DocumentOrBuilder
    */
   int getFieldsCount();
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -105,13 +80,15 @@ public interface DocumentOrBuilder
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  boolean containsFields(java.lang.String key);
-  /** Use {@link #getFieldsMap()} instead. */
+  boolean containsFields(
+      java.lang.String key);
+  /**
+   * Use {@link #getFieldsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getFields();
+  java.util.Map
+  getFields();
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -136,10 +113,9 @@ public interface DocumentOrBuilder
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  java.util.Map getFieldsMap();
+  java.util.Map
+  getFieldsMap();
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -165,13 +141,11 @@ public interface DocumentOrBuilder
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   /* nullable */
-  com.google.firestore.v1.Value getFieldsOrDefault(
+com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.firestore.v1.Value defaultValue);
+com.google.firestore.v1.Value defaultValue);
   /**
-   *
-   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -196,11 +170,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key);
+  com.google.firestore.v1.Value getFieldsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -209,13 +182,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -224,13 +194,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    * 
* * .google.protobuf.Timestamp create_time = 3; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -243,8 +210,6 @@ com.google.firestore.v1.Value getFieldsOrDefault(
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -253,13 +218,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -268,13 +230,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    * 
* * .google.protobuf.Timestamp update_time = 4; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
new file mode 100644
index 000000000..f156f50fa
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
@@ -0,0 +1,138 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/document.proto
+
+package com.google.firestore.v1;
+
+public final class DocumentProto {
+  private DocumentProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Document_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Document_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Document_FieldsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Value_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Value_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_ArrayValue_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_MapValue_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_MapValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_MapValue_FieldsEntry_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\"google/firestore/v1/document.proto\022\023go" +
+      "ogle.firestore.v1\032\034google/protobuf/struc" +
+      "t.proto\032\037google/protobuf/timestamp.proto" +
+      "\032\030google/type/latlng.proto\"\200\002\n\010Document\022" +
+      "\014\n\004name\030\001 \001(\t\0229\n\006fields\030\002 \003(\0132).google.f" +
+      "irestore.v1.Document.FieldsEntry\022/\n\013crea" +
+      "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" +
+      "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf" +
+      ".Timestamp\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)" +
+      "\n\005value\030\002 \001(\0132\032.google.firestore.v1.Valu" +
+      "e:\0028\001\"\256\003\n\005Value\0220\n\nnull_value\030\013 \001(\0162\032.go" +
+      "ogle.protobuf.NullValueH\000\022\027\n\rboolean_val" +
+      "ue\030\001 \001(\010H\000\022\027\n\rinteger_value\030\002 \001(\003H\000\022\026\n\014d" +
+      "ouble_value\030\003 \001(\001H\000\0225\n\017timestamp_value\030\n" +
+      " \001(\0132\032.google.protobuf.TimestampH\000\022\026\n\014st" +
+      "ring_value\030\021 \001(\tH\000\022\025\n\013bytes_value\030\022 \001(\014H" +
+      "\000\022\031\n\017reference_value\030\005 \001(\tH\000\022.\n\017geo_poin" +
+      "t_value\030\010 \001(\0132\023.google.type.LatLngH\000\0226\n\013" +
+      "array_value\030\t \001(\0132\037.google.firestore.v1." +
+      "ArrayValueH\000\0222\n\tmap_value\030\006 \001(\0132\035.google" +
+      ".firestore.v1.MapValueH\000B\014\n\nvalue_type\"8" +
+      "\n\nArrayValue\022*\n\006values\030\001 \003(\0132\032.google.fi" +
+      "restore.v1.Value\"\220\001\n\010MapValue\0229\n\006fields\030" +
+      "\001 \003(\0132).google.firestore.v1.MapValue.Fie" +
+      "ldsEntry\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)\n\005" +
+      "value\030\002 \001(\0132\032.google.firestore.v1.Value:" +
+      "\0028\001B\305\001\n\027com.google.firestore.v1B\rDocumen" +
+      "tProtoP\001Z;cloud.google.com/go/firestore/" +
+      "apiv1/firestorepb;firestorepb\242\002\004GCFS\252\002\031G" +
+      "oogle.Cloud.Firestore.V1\312\002\031Google\\Cloud\\" +
+      "Firestore\\V1\352\002\034Google::Cloud::Firestore:" +
+      ":V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.type.LatLngProto.getDescriptor(),
+        });
+    internal_static_google_firestore_v1_Document_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_v1_Document_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_Document_descriptor,
+        new java.lang.String[] { "Name", "Fields", "CreateTime", "UpdateTime", });
+    internal_static_google_firestore_v1_Document_FieldsEntry_descriptor =
+      internal_static_google_firestore_v1_Document_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_Document_FieldsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_firestore_v1_Value_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_v1_Value_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_Value_descriptor,
+        new java.lang.String[] { "NullValue", "BooleanValue", "IntegerValue", "DoubleValue", "TimestampValue", "StringValue", "BytesValue", "ReferenceValue", "GeoPointValue", "ArrayValue", "MapValue", "ValueType", });
+    internal_static_google_firestore_v1_ArrayValue_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_ArrayValue_descriptor,
+        new java.lang.String[] { "Values", });
+    internal_static_google_firestore_v1_MapValue_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_firestore_v1_MapValue_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_MapValue_descriptor,
+        new java.lang.String[] { "Fields", });
+    internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor =
+      internal_static_google_firestore_v1_MapValue_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_MapValue_FieldsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.LatLngProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
similarity index 72%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
index 1f4f68300..db07465bb 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A [Document][google.firestore.v1.Document] has been removed from the view of
  * the targets.
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentRemove}
  */
-public final class DocumentRemove extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DocumentRemove extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentRemove)
     DocumentRemoveOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DocumentRemove.newBuilder() to construct.
   private DocumentRemove(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DocumentRemove() {
     document_ = "";
     removedTargetIds_ = emptyIntList();
@@ -51,44 +33,39 @@ private DocumentRemove() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DocumentRemove();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.WriteProto
-        .internal_static_google_firestore_v1_DocumentRemove_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.WriteProto
-        .internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
+    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentRemove.class,
-            com.google.firestore.v1.DocumentRemove.Builder.class);
+            com.google.firestore.v1.DocumentRemove.class, com.google.firestore.v1.DocumentRemove.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object document_ = "";
   /**
-   *
-   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that has
    * gone out of view.
    * 
* * string document = 1; - * * @return The document. */ @java.lang.Override @@ -97,30 +74,30 @@ public java.lang.String getDocument() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; } } /** - * - * *
    * The resource name of the [Document][google.firestore.v1.Document] that has
    * gone out of view.
    * 
* * string document = 1; - * * @return The bytes for document. */ @java.lang.Override - public com.google.protobuf.ByteString getDocumentBytes() { + public com.google.protobuf.ByteString + getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); document_ = b; return b; } else { @@ -129,68 +106,55 @@ public com.google.protobuf.ByteString getDocumentBytes() { } public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList removedTargetIds_; /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @return A list containing the removedTargetIds. */ @java.lang.Override - public java.util.List getRemovedTargetIdsList() { + public java.util.List + getRemovedTargetIdsList() { return removedTargetIds_; } /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } - private int removedTargetIdsMemoizedSerializedSize = -1; public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -198,15 +162,12 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -214,8 +175,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -229,7 +188,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -241,7 +199,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getSerializedSize();
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(document_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_);
@@ -271,19 +230,20 @@ public int getSerializedSize() {
     {
       int dataSize = 0;
       for (int i = 0; i < removedTargetIds_.size(); i++) {
-        dataSize +=
-            com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(
-                removedTargetIds_.getInt(i));
+        dataSize += com.google.protobuf.CodedOutputStream
+          .computeInt32SizeNoTag(removedTargetIds_.getInt(i));
       }
       size += dataSize;
       if (!getRemovedTargetIdsList().isEmpty()) {
         size += 1;
-        size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
+        size += com.google.protobuf.CodedOutputStream
+            .computeInt32SizeNoTag(dataSize);
       }
       removedTargetIdsMemoizedSerializedSize = dataSize;
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -293,18 +253,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.DocumentRemove)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.DocumentRemove other = (com.google.firestore.v1.DocumentRemove) obj;
 
-    if (!getDocument().equals(other.getDocument())) return false;
-    if (!getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList())) return false;
+    if (!getDocument()
+        .equals(other.getDocument())) return false;
+    if (!getRemovedTargetIdsList()
+        .equals(other.getRemovedTargetIdsList())) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime().equals(other.getReadTime())) return false;
+      if (!getReadTime()
+          .equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -332,104 +295,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.DocumentRemove parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.DocumentRemove parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.DocumentRemove parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.DocumentRemove prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A [Document][google.firestore.v1.Document] has been removed from the view of
    * the targets.
@@ -443,32 +399,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.DocumentRemove}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentRemove)
       com.google.firestore.v1.DocumentRemoveOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentRemove_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentRemove.class,
-              com.google.firestore.v1.DocumentRemove.Builder.class);
+              com.google.firestore.v1.DocumentRemove.class, com.google.firestore.v1.DocumentRemove.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentRemove.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -484,9 +441,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.WriteProto
-          .internal_static_google_firestore_v1_DocumentRemove_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_descriptor;
     }
 
     @java.lang.Override
@@ -505,12 +462,9 @@ public com.google.firestore.v1.DocumentRemove build() {
 
     @java.lang.Override
     public com.google.firestore.v1.DocumentRemove buildPartial() {
-      com.google.firestore.v1.DocumentRemove result =
-          new com.google.firestore.v1.DocumentRemove(this);
+      com.google.firestore.v1.DocumentRemove result = new com.google.firestore.v1.DocumentRemove(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -529,7 +483,9 @@ private void buildPartial0(com.google.firestore.v1.DocumentRemove result) {
         result.document_ = document_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null
+            ? readTime_
+            : readTimeBuilder_.build();
       }
     }
 
@@ -537,39 +493,38 @@ private void buildPartial0(com.google.firestore.v1.DocumentRemove result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.DocumentRemove) {
-        return mergeFrom((com.google.firestore.v1.DocumentRemove) other);
+        return mergeFrom((com.google.firestore.v1.DocumentRemove)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -622,43 +577,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                document_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                int v = input.readInt32();
-                ensureRemovedTargetIdsIsMutable();
-                removedTargetIds_.addInt(v);
-                break;
-              } // case 16
-            case 18:
-              {
-                int length = input.readRawVarint32();
-                int limit = input.pushLimit(length);
-                ensureRemovedTargetIdsIsMutable();
-                while (input.getBytesUntilLimit() > 0) {
-                  removedTargetIds_.addInt(input.readInt32());
-                }
-                input.popLimit(limit);
-                break;
-              } // case 18
-            case 34:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              document_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              int v = input.readInt32();
+              ensureRemovedTargetIdsIsMutable();
+              removedTargetIds_.addInt(v);
+              break;
+            } // case 16
+            case 18: {
+              int length = input.readRawVarint32();
+              int limit = input.pushLimit(length);
+              ensureRemovedTargetIdsIsMutable();
+              while (input.getBytesUntilLimit() > 0) {
+                removedTargetIds_.addInt(input.readInt32());
+              }
+              input.popLimit(limit);
+              break;
+            } // case 18
+            case 34: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -668,26 +620,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object document_ = "";
     /**
-     *
-     *
      * 
      * The resource name of the [Document][google.firestore.v1.Document] that has
      * gone out of view.
      * 
* * string document = 1; - * * @return The document. */ public java.lang.String getDocument() { java.lang.Object ref = document_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; @@ -696,22 +645,21 @@ public java.lang.String getDocument() { } } /** - * - * *
      * The resource name of the [Document][google.firestore.v1.Document] that has
      * gone out of view.
      * 
* * string document = 1; - * * @return The bytes for document. */ - public com.google.protobuf.ByteString getDocumentBytes() { + public com.google.protobuf.ByteString + getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); document_ = b; return b; } else { @@ -719,37 +667,30 @@ public com.google.protobuf.ByteString getDocumentBytes() { } } /** - * - * *
      * The resource name of the [Document][google.firestore.v1.Document] that has
      * gone out of view.
      * 
* * string document = 1; - * * @param value The document to set. * @return This builder for chaining. */ - public Builder setDocument(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDocument( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } document_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The resource name of the [Document][google.firestore.v1.Document] that has
      * gone out of view.
      * 
* * string document = 1; - * * @return This builder for chaining. */ public Builder clearDocument() { @@ -759,22 +700,18 @@ public Builder clearDocument() { return this; } /** - * - * *
      * The resource name of the [Document][google.firestore.v1.Document] that has
      * gone out of view.
      * 
* * string document = 1; - * * @param value The bytes for document to set. * @return This builder for chaining. */ - public Builder setDocumentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDocumentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); document_ = value; bitField0_ |= 0x00000001; @@ -783,7 +720,6 @@ public Builder setDocumentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); - private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); @@ -791,44 +727,35 @@ private void ensureRemovedTargetIdsIsMutable() { } } /** - * - * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; - * * @return A list containing the removedTargetIds. */ - public java.util.List getRemovedTargetIdsList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(removedTargetIds_) - : removedTargetIds_; + public java.util.List + getRemovedTargetIdsList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(removedTargetIds_) : removedTargetIds_; } /** - * - * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; - * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** - * - * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ @@ -836,71 +763,62 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** - * - * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; - * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds(int index, int value) { - + public Builder setRemovedTargetIds( + int index, int value) { + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; - * * @param value The removedTargetIds to add. * @return This builder for chaining. */ public Builder addRemovedTargetIds(int value) { - + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.addInt(value); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; - * * @param values The removedTargetIds to add. * @return This builder for chaining. */ - public Builder addAllRemovedTargetIds(java.lang.Iterable values) { + public Builder addAllRemovedTargetIds( + java.lang.Iterable values) { ensureRemovedTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, removedTargetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, removedTargetIds_); onChanged(); return this; } /** - * - * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; - * * @return This builder for chaining. */ public Builder clearRemovedTargetIds() { @@ -912,35 +830,26 @@ public Builder clearRemovedTargetIds() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -951,8 +860,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -974,8 +881,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -983,7 +888,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -994,8 +900,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1005,9 +909,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1020,8 +924,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1040,8 +942,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1055,8 +955,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1068,12 +966,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -1082,24 +979,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1109,12 +1003,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentRemove)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentRemove)
   private static final com.google.firestore.v1.DocumentRemove DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentRemove();
   }
@@ -1123,27 +1017,27 @@ public static com.google.firestore.v1.DocumentRemove getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DocumentRemove parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DocumentRemove parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1158,4 +1052,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.DocumentRemove getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
similarity index 75%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
index de610bbe2..35891b5bf 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
@@ -1,122 +1,84 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface DocumentRemoveOrBuilder
-    extends
+public interface DocumentRemoveOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentRemove)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that has
    * gone out of view.
    * 
* * string document = 1; - * * @return The document. */ java.lang.String getDocument(); /** - * - * *
    * The resource name of the [Document][google.firestore.v1.Document] that has
    * gone out of view.
    * 
* * string document = 1; - * * @return The bytes for document. */ - com.google.protobuf.ByteString getDocumentBytes(); + com.google.protobuf.ByteString + getDocumentBytes(); /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** - * - * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; - * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ int getRemovedTargetIds(int index); /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
similarity index 80%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
index c20a45caf..3b6069fe1 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A transformation of a document.
  * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform} */ -public final class DocumentTransform extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DocumentTransform extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentTransform) DocumentTransformOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DocumentTransform.newBuilder() to construct. private DocumentTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DocumentTransform() { document_ = ""; fieldTransforms_ = java.util.Collections.emptyList(); @@ -44,38 +26,34 @@ private DocumentTransform() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DocumentTransform(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_DocumentTransform_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DocumentTransform.class, - com.google.firestore.v1.DocumentTransform.Builder.class); + com.google.firestore.v1.DocumentTransform.class, com.google.firestore.v1.DocumentTransform.Builder.class); } - public interface FieldTransformOrBuilder - extends + public interface FieldTransformOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentTransform.FieldTransform) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The path of the field. See
      * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -83,13 +61,10 @@ public interface FieldTransformOrBuilder
      * 
* * string field_path = 1; - * * @return The fieldPath. */ java.lang.String getFieldPath(); /** - * - * *
      * The path of the field. See
      * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -97,57 +72,40 @@ public interface FieldTransformOrBuilder
      * 
* * string field_path = 1; - * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString getFieldPathBytes(); + com.google.protobuf.ByteString + getFieldPathBytes(); /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return Whether the setToServerValue field is set. */ boolean hasSetToServerValue(); /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return The enum numeric value on the wire for setToServerValue. */ int getSetToServerValueValue(); /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return The setToServerValue. */ com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue getSetToServerValue(); /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -161,13 +119,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value increment = 3; - * * @return Whether the increment field is set. */ boolean hasIncrement(); /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -181,13 +136,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value increment = 3; - * * @return The increment. */ com.google.firestore.v1.Value getIncrement(); /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -205,8 +157,6 @@ public interface FieldTransformOrBuilder
     com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder();
 
     /**
-     *
-     *
      * 
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -222,13 +172,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value maximum = 4; - * * @return Whether the maximum field is set. */ boolean hasMaximum(); /** - * - * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -244,13 +191,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value maximum = 4; - * * @return The maximum. */ com.google.firestore.v1.Value getMaximum(); /** - * - * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -270,8 +214,6 @@ public interface FieldTransformOrBuilder
     com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder();
 
     /**
-     *
-     *
      * 
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -287,13 +229,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value minimum = 5; - * * @return Whether the minimum field is set. */ boolean hasMinimum(); /** - * - * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -309,13 +248,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.Value minimum = 5; - * * @return The minimum. */ com.google.firestore.v1.Value getMinimum(); /** - * - * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -335,8 +271,6 @@ public interface FieldTransformOrBuilder
     com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder();
 
     /**
-     *
-     *
      * 
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -351,13 +285,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return Whether the appendMissingElements field is set. */ boolean hasAppendMissingElements(); /** - * - * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -372,13 +303,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return The appendMissingElements. */ com.google.firestore.v1.ArrayValue getAppendMissingElements(); /** - * - * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -397,8 +325,6 @@ public interface FieldTransformOrBuilder
     com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBuilder();
 
     /**
-     *
-     *
      * 
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -411,13 +337,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return Whether the removeAllFromArray field is set. */ boolean hasRemoveAllFromArray(); /** - * - * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -430,13 +353,10 @@ public interface FieldTransformOrBuilder
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return The removeAllFromArray. */ com.google.firestore.v1.ArrayValue getRemoveAllFromArray(); /** - * - * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -452,71 +372,63 @@ public interface FieldTransformOrBuilder
      */
     com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder();
 
-    public com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase
-        getTransformTypeCase();
+    public com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase getTransformTypeCase();
   }
   /**
-   *
-   *
    * 
    * A transformation of a field of the document.
    * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform.FieldTransform} */ - public static final class FieldTransform extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FieldTransform extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentTransform.FieldTransform) FieldTransformOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldTransform.newBuilder() to construct. private FieldTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FieldTransform() { fieldPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FieldTransform(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DocumentTransform.FieldTransform.class, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); + com.google.firestore.v1.DocumentTransform.FieldTransform.class, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); } /** - * - * *
      * A value that is calculated by the server.
      * 
* * Protobuf enum {@code google.firestore.v1.DocumentTransform.FieldTransform.ServerValue} */ - public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum { + public enum ServerValue + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified. This value must not be used.
        * 
@@ -525,8 +437,6 @@ public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum { */ SERVER_VALUE_UNSPECIFIED(0), /** - * - * *
        * The time at which the server processed the request, with millisecond
        * precision. If used on multiple fields (same or different documents) in
@@ -540,8 +450,6 @@ public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -550,8 +458,6 @@ public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVER_VALUE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The time at which the server processed the request, with millisecond
        * precision. If used on multiple fields (same or different documents) in
@@ -562,6 +468,7 @@ public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int REQUEST_TIME_VALUE = 1;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -586,49 +493,48 @@ public static ServerValue valueOf(int value) {
        */
       public static ServerValue forNumber(int value) {
         switch (value) {
-          case 0:
-            return SERVER_VALUE_UNSPECIFIED;
-          case 1:
-            return REQUEST_TIME;
-          default:
-            return null;
+          case 0: return SERVER_VALUE_UNSPECIFIED;
+          case 1: return REQUEST_TIME;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ServerValue> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ServerValue findValueByNumber(int number) {
+                return ServerValue.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ServerValue findValueByNumber(int number) {
-              return ServerValue.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.firestore.v1.DocumentTransform.FieldTransform.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.firestore.v1.DocumentTransform.FieldTransform.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ServerValue[] VALUES = values();
 
-      public static ServerValue valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static ServerValue valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -647,10 +553,8 @@ private ServerValue(int value) {
 
     private int transformTypeCase_ = 0;
     private java.lang.Object transformType_;
-
     public enum TransformTypeCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       SET_TO_SERVER_VALUE(2),
       INCREMENT(3),
@@ -660,7 +564,6 @@ public enum TransformTypeCase
       REMOVE_ALL_FROM_ARRAY(7),
       TRANSFORMTYPE_NOT_SET(0);
       private final int value;
-
       private TransformTypeCase(int value) {
         this.value = value;
       }
@@ -676,41 +579,31 @@ public static TransformTypeCase valueOf(int value) {
 
       public static TransformTypeCase forNumber(int value) {
         switch (value) {
-          case 2:
-            return SET_TO_SERVER_VALUE;
-          case 3:
-            return INCREMENT;
-          case 4:
-            return MAXIMUM;
-          case 5:
-            return MINIMUM;
-          case 6:
-            return APPEND_MISSING_ELEMENTS;
-          case 7:
-            return REMOVE_ALL_FROM_ARRAY;
-          case 0:
-            return TRANSFORMTYPE_NOT_SET;
-          default:
-            return null;
+          case 2: return SET_TO_SERVER_VALUE;
+          case 3: return INCREMENT;
+          case 4: return MAXIMUM;
+          case 5: return MINIMUM;
+          case 6: return APPEND_MISSING_ELEMENTS;
+          case 7: return REMOVE_ALL_FROM_ARRAY;
+          case 0: return TRANSFORMTYPE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public TransformTypeCase getTransformTypeCase() {
-      return TransformTypeCase.forNumber(transformTypeCase_);
+    public TransformTypeCase
+    getTransformTypeCase() {
+      return TransformTypeCase.forNumber(
+          transformTypeCase_);
     }
 
     public static final int FIELD_PATH_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object fieldPath_ = "";
     /**
-     *
-     *
      * 
      * The path of the field. See
      * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -718,7 +611,6 @@ public TransformTypeCase getTransformTypeCase() {
      * 
* * string field_path = 1; - * * @return The fieldPath. */ @java.lang.Override @@ -727,15 +619,14 @@ public java.lang.String getFieldPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; } } /** - * - * *
      * The path of the field. See
      * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -743,15 +634,16 @@ public java.lang.String getFieldPath() {
      * 
* * string field_path = 1; - * * @return The bytes for fieldPath. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldPathBytes() { + public com.google.protobuf.ByteString + getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -761,32 +653,22 @@ public com.google.protobuf.ByteString getFieldPathBytes() { public static final int SET_TO_SERVER_VALUE_FIELD_NUMBER = 2; /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return Whether the setToServerValue field is set. */ public boolean hasSetToServerValue() { return transformTypeCase_ == 2; } /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return The enum numeric value on the wire for setToServerValue. */ public int getSetToServerValueValue() { @@ -796,36 +678,24 @@ public int getSetToServerValueValue() { return 0; } /** - * - * *
      * Sets the field to the given server value.
      * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return The setToServerValue. */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue - getSetToServerValue() { + public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue getSetToServerValue() { if (transformTypeCase_ == 2) { - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.forNumber( - (java.lang.Integer) transformType_); - return result == null - ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED - : result; - } - return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue - .SERVER_VALUE_UNSPECIFIED; + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.forNumber( + (java.lang.Integer) transformType_); + return result == null ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED : result; + } + return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.SERVER_VALUE_UNSPECIFIED; } public static final int INCREMENT_FIELD_NUMBER = 3; /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -839,7 +709,6 @@ public int getSetToServerValueValue() {
      * 
* * .google.firestore.v1.Value increment = 3; - * * @return Whether the increment field is set. */ @java.lang.Override @@ -847,8 +716,6 @@ public boolean hasIncrement() { return transformTypeCase_ == 3; } /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -862,19 +729,16 @@ public boolean hasIncrement() {
      * 
* * .google.firestore.v1.Value increment = 3; - * * @return The increment. */ @java.lang.Override public com.google.firestore.v1.Value getIncrement() { if (transformTypeCase_ == 3) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** - * - * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -892,15 +756,13 @@ public com.google.firestore.v1.Value getIncrement() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
       if (transformTypeCase_ == 3) {
-        return (com.google.firestore.v1.Value) transformType_;
+         return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int MAXIMUM_FIELD_NUMBER = 4;
     /**
-     *
-     *
      * 
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -916,7 +778,6 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
      * 
* * .google.firestore.v1.Value maximum = 4; - * * @return Whether the maximum field is set. */ @java.lang.Override @@ -924,8 +785,6 @@ public boolean hasMaximum() { return transformTypeCase_ == 4; } /** - * - * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -941,19 +800,16 @@ public boolean hasMaximum() {
      * 
* * .google.firestore.v1.Value maximum = 4; - * * @return The maximum. */ @java.lang.Override public com.google.firestore.v1.Value getMaximum() { if (transformTypeCase_ == 4) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** - * - * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -973,15 +829,13 @@ public com.google.firestore.v1.Value getMaximum() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
       if (transformTypeCase_ == 4) {
-        return (com.google.firestore.v1.Value) transformType_;
+         return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int MINIMUM_FIELD_NUMBER = 5;
     /**
-     *
-     *
      * 
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -997,7 +851,6 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
      * 
* * .google.firestore.v1.Value minimum = 5; - * * @return Whether the minimum field is set. */ @java.lang.Override @@ -1005,8 +858,6 @@ public boolean hasMinimum() { return transformTypeCase_ == 5; } /** - * - * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -1022,19 +873,16 @@ public boolean hasMinimum() {
      * 
* * .google.firestore.v1.Value minimum = 5; - * * @return The minimum. */ @java.lang.Override public com.google.firestore.v1.Value getMinimum() { if (transformTypeCase_ == 5) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** - * - * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -1054,15 +902,13 @@ public com.google.firestore.v1.Value getMinimum() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
       if (transformTypeCase_ == 5) {
-        return (com.google.firestore.v1.Value) transformType_;
+         return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int APPEND_MISSING_ELEMENTS_FIELD_NUMBER = 6;
     /**
-     *
-     *
      * 
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -1077,7 +923,6 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return Whether the appendMissingElements field is set. */ @java.lang.Override @@ -1085,8 +930,6 @@ public boolean hasAppendMissingElements() { return transformTypeCase_ == 6; } /** - * - * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -1101,19 +944,16 @@ public boolean hasAppendMissingElements() {
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return The appendMissingElements. */ @java.lang.Override public com.google.firestore.v1.ArrayValue getAppendMissingElements() { if (transformTypeCase_ == 6) { - return (com.google.firestore.v1.ArrayValue) transformType_; + return (com.google.firestore.v1.ArrayValue) transformType_; } return com.google.firestore.v1.ArrayValue.getDefaultInstance(); } /** - * - * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -1132,15 +972,13 @@ public com.google.firestore.v1.ArrayValue getAppendMissingElements() {
     @java.lang.Override
     public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBuilder() {
       if (transformTypeCase_ == 6) {
-        return (com.google.firestore.v1.ArrayValue) transformType_;
+         return (com.google.firestore.v1.ArrayValue) transformType_;
       }
       return com.google.firestore.v1.ArrayValue.getDefaultInstance();
     }
 
     public static final int REMOVE_ALL_FROM_ARRAY_FIELD_NUMBER = 7;
     /**
-     *
-     *
      * 
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -1153,7 +991,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return Whether the removeAllFromArray field is set. */ @java.lang.Override @@ -1161,8 +998,6 @@ public boolean hasRemoveAllFromArray() { return transformTypeCase_ == 7; } /** - * - * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -1175,19 +1010,16 @@ public boolean hasRemoveAllFromArray() {
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return The removeAllFromArray. */ @java.lang.Override public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() { if (transformTypeCase_ == 7) { - return (com.google.firestore.v1.ArrayValue) transformType_; + return (com.google.firestore.v1.ArrayValue) transformType_; } return com.google.firestore.v1.ArrayValue.getDefaultInstance(); } /** - * - * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -1204,13 +1036,12 @@ public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() {
     @java.lang.Override
     public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder() {
       if (transformTypeCase_ == 7) {
-        return (com.google.firestore.v1.ArrayValue) transformType_;
+         return (com.google.firestore.v1.ArrayValue) transformType_;
       }
       return com.google.firestore.v1.ArrayValue.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1222,7 +1053,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPath_);
       }
@@ -1257,34 +1089,28 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldPath_);
       }
       if (transformTypeCase_ == 2) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeEnumSize(
-                2, ((java.lang.Integer) transformType_));
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(2, ((java.lang.Integer) transformType_));
       }
       if (transformTypeCase_ == 3) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                3, (com.google.firestore.v1.Value) transformType_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, (com.google.firestore.v1.Value) transformType_);
       }
       if (transformTypeCase_ == 4) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                4, (com.google.firestore.v1.Value) transformType_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, (com.google.firestore.v1.Value) transformType_);
       }
       if (transformTypeCase_ == 5) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                5, (com.google.firestore.v1.Value) transformType_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, (com.google.firestore.v1.Value) transformType_);
       }
       if (transformTypeCase_ == 6) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                6, (com.google.firestore.v1.ArrayValue) transformType_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(6, (com.google.firestore.v1.ArrayValue) transformType_);
       }
       if (transformTypeCase_ == 7) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                7, (com.google.firestore.v1.ArrayValue) transformType_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(7, (com.google.firestore.v1.ArrayValue) transformType_);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1294,34 +1120,40 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.firestore.v1.DocumentTransform.FieldTransform)) {
         return super.equals(obj);
       }
-      com.google.firestore.v1.DocumentTransform.FieldTransform other =
-          (com.google.firestore.v1.DocumentTransform.FieldTransform) obj;
+      com.google.firestore.v1.DocumentTransform.FieldTransform other = (com.google.firestore.v1.DocumentTransform.FieldTransform) obj;
 
-      if (!getFieldPath().equals(other.getFieldPath())) return false;
+      if (!getFieldPath()
+          .equals(other.getFieldPath())) return false;
       if (!getTransformTypeCase().equals(other.getTransformTypeCase())) return false;
       switch (transformTypeCase_) {
         case 2:
-          if (getSetToServerValueValue() != other.getSetToServerValueValue()) return false;
+          if (getSetToServerValueValue()
+              != other.getSetToServerValueValue()) return false;
           break;
         case 3:
-          if (!getIncrement().equals(other.getIncrement())) return false;
+          if (!getIncrement()
+              .equals(other.getIncrement())) return false;
           break;
         case 4:
-          if (!getMaximum().equals(other.getMaximum())) return false;
+          if (!getMaximum()
+              .equals(other.getMaximum())) return false;
           break;
         case 5:
-          if (!getMinimum().equals(other.getMinimum())) return false;
+          if (!getMinimum()
+              .equals(other.getMinimum())) return false;
           break;
         case 6:
-          if (!getAppendMissingElements().equals(other.getAppendMissingElements())) return false;
+          if (!getAppendMissingElements()
+              .equals(other.getAppendMissingElements())) return false;
           break;
         case 7:
-          if (!getRemoveAllFromArray().equals(other.getRemoveAllFromArray())) return false;
+          if (!getRemoveAllFromArray()
+              .equals(other.getRemoveAllFromArray())) return false;
           break;
         case 0:
         default:
@@ -1373,94 +1205,87 @@ public int hashCode() {
     }
 
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.firestore.v1.DocumentTransform.FieldTransform parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.firestore.v1.DocumentTransform.FieldTransform parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.firestore.v1.DocumentTransform.FieldTransform prototype) {
+    public static Builder newBuilder(com.google.firestore.v1.DocumentTransform.FieldTransform prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1470,41 +1295,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A transformation of a field of the document.
      * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform.FieldTransform} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentTransform.FieldTransform) com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DocumentTransform.FieldTransform.class, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); + com.google.firestore.v1.DocumentTransform.FieldTransform.class, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); } // Construct using com.google.firestore.v1.DocumentTransform.FieldTransform.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1531,9 +1354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; } @java.lang.Override @@ -1552,11 +1375,8 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform build() { @java.lang.Override public com.google.firestore.v1.DocumentTransform.FieldTransform buildPartial() { - com.google.firestore.v1.DocumentTransform.FieldTransform result = - new com.google.firestore.v1.DocumentTransform.FieldTransform(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.DocumentTransform.FieldTransform result = new com.google.firestore.v1.DocumentTransform.FieldTransform(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1569,23 +1389,27 @@ private void buildPartial0(com.google.firestore.v1.DocumentTransform.FieldTransf } } - private void buildPartialOneofs( - com.google.firestore.v1.DocumentTransform.FieldTransform result) { + private void buildPartialOneofs(com.google.firestore.v1.DocumentTransform.FieldTransform result) { result.transformTypeCase_ = transformTypeCase_; result.transformType_ = this.transformType_; - if (transformTypeCase_ == 3 && incrementBuilder_ != null) { + if (transformTypeCase_ == 3 && + incrementBuilder_ != null) { result.transformType_ = incrementBuilder_.build(); } - if (transformTypeCase_ == 4 && maximumBuilder_ != null) { + if (transformTypeCase_ == 4 && + maximumBuilder_ != null) { result.transformType_ = maximumBuilder_.build(); } - if (transformTypeCase_ == 5 && minimumBuilder_ != null) { + if (transformTypeCase_ == 5 && + minimumBuilder_ != null) { result.transformType_ = minimumBuilder_.build(); } - if (transformTypeCase_ == 6 && appendMissingElementsBuilder_ != null) { + if (transformTypeCase_ == 6 && + appendMissingElementsBuilder_ != null) { result.transformType_ = appendMissingElementsBuilder_.build(); } - if (transformTypeCase_ == 7 && removeAllFromArrayBuilder_ != null) { + if (transformTypeCase_ == 7 && + removeAllFromArrayBuilder_ != null) { result.transformType_ = removeAllFromArrayBuilder_.build(); } } @@ -1594,41 +1418,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.DocumentTransform.FieldTransform) { - return mergeFrom((com.google.firestore.v1.DocumentTransform.FieldTransform) other); + return mergeFrom((com.google.firestore.v1.DocumentTransform.FieldTransform)other); } else { super.mergeFrom(other); return this; @@ -1636,48 +1457,40 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.DocumentTransform.FieldTransform other) { - if (other == com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()) return this; if (!other.getFieldPath().isEmpty()) { fieldPath_ = other.fieldPath_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getTransformTypeCase()) { - case SET_TO_SERVER_VALUE: - { - setSetToServerValueValue(other.getSetToServerValueValue()); - break; - } - case INCREMENT: - { - mergeIncrement(other.getIncrement()); - break; - } - case MAXIMUM: - { - mergeMaximum(other.getMaximum()); - break; - } - case MINIMUM: - { - mergeMinimum(other.getMinimum()); - break; - } - case APPEND_MISSING_ELEMENTS: - { - mergeAppendMissingElements(other.getAppendMissingElements()); - break; - } - case REMOVE_ALL_FROM_ARRAY: - { - mergeRemoveAllFromArray(other.getRemoveAllFromArray()); - break; - } - case TRANSFORMTYPE_NOT_SET: - { - break; - } + case SET_TO_SERVER_VALUE: { + setSetToServerValueValue(other.getSetToServerValueValue()); + break; + } + case INCREMENT: { + mergeIncrement(other.getIncrement()); + break; + } + case MAXIMUM: { + mergeMaximum(other.getMaximum()); + break; + } + case MINIMUM: { + mergeMinimum(other.getMinimum()); + break; + } + case APPEND_MISSING_ELEMENTS: { + mergeAppendMissingElements(other.getAppendMissingElements()); + break; + } + case REMOVE_ALL_FROM_ARRAY: { + mergeRemoveAllFromArray(other.getRemoveAllFromArray()); + break; + } + case TRANSFORMTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1705,58 +1518,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - fieldPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - int rawValue = input.readEnum(); - transformTypeCase_ = 2; - transformType_ = rawValue; - break; - } // case 16 - case 26: - { - input.readMessage(getIncrementFieldBuilder().getBuilder(), extensionRegistry); - transformTypeCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getMaximumFieldBuilder().getBuilder(), extensionRegistry); - transformTypeCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage(getMinimumFieldBuilder().getBuilder(), extensionRegistry); - transformTypeCase_ = 5; - break; - } // case 42 - case 50: - { - input.readMessage( - getAppendMissingElementsFieldBuilder().getBuilder(), extensionRegistry); - transformTypeCase_ = 6; - break; - } // case 50 - case 58: - { - input.readMessage( - getRemoveAllFromArrayFieldBuilder().getBuilder(), extensionRegistry); - transformTypeCase_ = 7; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + fieldPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + int rawValue = input.readEnum(); + transformTypeCase_ = 2; + transformType_ = rawValue; + break; + } // case 16 + case 26: { + input.readMessage( + getIncrementFieldBuilder().getBuilder(), + extensionRegistry); + transformTypeCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getMaximumFieldBuilder().getBuilder(), + extensionRegistry); + transformTypeCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getMinimumFieldBuilder().getBuilder(), + extensionRegistry); + transformTypeCase_ = 5; + break; + } // case 42 + case 50: { + input.readMessage( + getAppendMissingElementsFieldBuilder().getBuilder(), + extensionRegistry); + transformTypeCase_ = 6; + break; + } // case 50 + case 58: { + input.readMessage( + getRemoveAllFromArrayFieldBuilder().getBuilder(), + extensionRegistry); + transformTypeCase_ = 7; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1766,12 +1579,12 @@ public Builder mergeFrom( } // finally return this; } - private int transformTypeCase_ = 0; private java.lang.Object transformType_; - - public TransformTypeCase getTransformTypeCase() { - return TransformTypeCase.forNumber(transformTypeCase_); + public TransformTypeCase + getTransformTypeCase() { + return TransformTypeCase.forNumber( + transformTypeCase_); } public Builder clearTransformType() { @@ -1785,8 +1598,6 @@ public Builder clearTransformType() { private java.lang.Object fieldPath_ = ""; /** - * - * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1794,13 +1605,13 @@ public Builder clearTransformType() {
        * 
* * string field_path = 1; - * * @return The fieldPath. */ public java.lang.String getFieldPath() { java.lang.Object ref = fieldPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; @@ -1809,8 +1620,6 @@ public java.lang.String getFieldPath() { } } /** - * - * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1818,14 +1627,15 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 1; - * * @return The bytes for fieldPath. */ - public com.google.protobuf.ByteString getFieldPathBytes() { + public com.google.protobuf.ByteString + getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -1833,8 +1643,6 @@ public com.google.protobuf.ByteString getFieldPathBytes() { } } /** - * - * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1842,22 +1650,18 @@ public com.google.protobuf.ByteString getFieldPathBytes() {
        * 
* * string field_path = 1; - * * @param value The fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fieldPath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1865,7 +1669,6 @@ public Builder setFieldPath(java.lang.String value) {
        * 
* * string field_path = 1; - * * @return This builder for chaining. */ public Builder clearFieldPath() { @@ -1875,8 +1678,6 @@ public Builder clearFieldPath() { return this; } /** - * - * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1884,14 +1685,12 @@ public Builder clearFieldPath() {
        * 
* * string field_path = 1; - * * @param value The bytes for fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fieldPath_ = value; bitField0_ |= 0x00000001; @@ -1900,16 +1699,11 @@ public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * Sets the field to the given server value.
        * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return Whether the setToServerValue field is set. */ @java.lang.Override @@ -1917,16 +1711,11 @@ public boolean hasSetToServerValue() { return transformTypeCase_ == 2; } /** - * - * *
        * Sets the field to the given server value.
        * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return The enum numeric value on the wire for setToServerValue. */ @java.lang.Override @@ -1937,16 +1726,11 @@ public int getSetToServerValueValue() { return 0; } /** - * - * *
        * Sets the field to the given server value.
        * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @param value The enum numeric value on the wire for setToServerValue to set. * @return This builder for chaining. */ @@ -1957,48 +1741,32 @@ public Builder setSetToServerValueValue(int value) { return this; } /** - * - * *
        * Sets the field to the given server value.
        * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return The setToServerValue. */ @java.lang.Override - public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue - getSetToServerValue() { + public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue getSetToServerValue() { if (transformTypeCase_ == 2) { - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.forNumber( - (java.lang.Integer) transformType_); - return result == null - ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED - : result; + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.forNumber( + (java.lang.Integer) transformType_); + return result == null ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED : result; } - return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue - .SERVER_VALUE_UNSPECIFIED; + return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.SERVER_VALUE_UNSPECIFIED; } /** - * - * *
        * Sets the field to the given server value.
        * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @param value The setToServerValue to set. * @return This builder for chaining. */ - public Builder setSetToServerValue( - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue value) { + public Builder setSetToServerValue(com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue value) { if (value == null) { throw new NullPointerException(); } @@ -2008,16 +1776,11 @@ public Builder setSetToServerValue( return this; } /** - * - * *
        * Sets the field to the given server value.
        * 
* - * - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; - * - * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; * @return This builder for chaining. */ public Builder clearSetToServerValue() { @@ -2030,13 +1793,8 @@ public Builder clearSetToServerValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder> - incrementBuilder_; + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> incrementBuilder_; /** - * - * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2050,7 +1808,6 @@ public Builder clearSetToServerValue() {
        * 
* * .google.firestore.v1.Value increment = 3; - * * @return Whether the increment field is set. */ @java.lang.Override @@ -2058,8 +1815,6 @@ public boolean hasIncrement() { return transformTypeCase_ == 3; } /** - * - * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2073,7 +1828,6 @@ public boolean hasIncrement() {
        * 
* * .google.firestore.v1.Value increment = 3; - * * @return The increment. */ @java.lang.Override @@ -2091,8 +1845,6 @@ public com.google.firestore.v1.Value getIncrement() { } } /** - * - * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2121,8 +1873,6 @@ public Builder setIncrement(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2137,7 +1887,8 @@ public Builder setIncrement(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value increment = 3;
        */
-      public Builder setIncrement(com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setIncrement(
+          com.google.firestore.v1.Value.Builder builderForValue) {
         if (incrementBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -2148,8 +1899,6 @@ public Builder setIncrement(com.google.firestore.v1.Value.Builder builderForValu
         return this;
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2166,13 +1915,10 @@ public Builder setIncrement(com.google.firestore.v1.Value.Builder builderForValu
        */
       public Builder mergeIncrement(com.google.firestore.v1.Value value) {
         if (incrementBuilder_ == null) {
-          if (transformTypeCase_ == 3
-              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ =
-                com.google.firestore.v1.Value.newBuilder(
-                        (com.google.firestore.v1.Value) transformType_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (transformTypeCase_ == 3 &&
+              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
+                .mergeFrom(value).buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2188,8 +1934,6 @@ public Builder mergeIncrement(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2221,8 +1965,6 @@ public Builder clearIncrement() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2241,8 +1983,6 @@ public com.google.firestore.v1.Value.Builder getIncrementBuilder() {
         return getIncrementFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2269,8 +2009,6 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2286,19 +2024,14 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
        * .google.firestore.v1.Value increment = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.Value,
-              com.google.firestore.v1.Value.Builder,
-              com.google.firestore.v1.ValueOrBuilder>
+          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
           getIncrementFieldBuilder() {
         if (incrementBuilder_ == null) {
           if (!(transformTypeCase_ == 3)) {
             transformType_ = com.google.firestore.v1.Value.getDefaultInstance();
           }
-          incrementBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.firestore.v1.Value,
-                  com.google.firestore.v1.Value.Builder,
-                  com.google.firestore.v1.ValueOrBuilder>(
+          incrementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
                   (com.google.firestore.v1.Value) transformType_,
                   getParentForChildren(),
                   isClean());
@@ -2310,13 +2043,8 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.Value,
-              com.google.firestore.v1.Value.Builder,
-              com.google.firestore.v1.ValueOrBuilder>
-          maximumBuilder_;
+          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> maximumBuilder_;
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2332,7 +2060,6 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
        * 
* * .google.firestore.v1.Value maximum = 4; - * * @return Whether the maximum field is set. */ @java.lang.Override @@ -2340,8 +2067,6 @@ public boolean hasMaximum() { return transformTypeCase_ == 4; } /** - * - * *
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2357,7 +2082,6 @@ public boolean hasMaximum() {
        * 
* * .google.firestore.v1.Value maximum = 4; - * * @return The maximum. */ @java.lang.Override @@ -2375,8 +2099,6 @@ public com.google.firestore.v1.Value getMaximum() { } } /** - * - * *
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2407,8 +2129,6 @@ public Builder setMaximum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2425,7 +2145,8 @@ public Builder setMaximum(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value maximum = 4;
        */
-      public Builder setMaximum(com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setMaximum(
+          com.google.firestore.v1.Value.Builder builderForValue) {
         if (maximumBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -2436,8 +2157,6 @@ public Builder setMaximum(com.google.firestore.v1.Value.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2456,13 +2175,10 @@ public Builder setMaximum(com.google.firestore.v1.Value.Builder builderForValue)
        */
       public Builder mergeMaximum(com.google.firestore.v1.Value value) {
         if (maximumBuilder_ == null) {
-          if (transformTypeCase_ == 4
-              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ =
-                com.google.firestore.v1.Value.newBuilder(
-                        (com.google.firestore.v1.Value) transformType_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (transformTypeCase_ == 4 &&
+              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
+                .mergeFrom(value).buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2478,8 +2194,6 @@ public Builder mergeMaximum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2513,8 +2227,6 @@ public Builder clearMaximum() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2535,8 +2247,6 @@ public com.google.firestore.v1.Value.Builder getMaximumBuilder() {
         return getMaximumFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2565,8 +2275,6 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2584,19 +2292,14 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
        * .google.firestore.v1.Value maximum = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.Value,
-              com.google.firestore.v1.Value.Builder,
-              com.google.firestore.v1.ValueOrBuilder>
+          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
           getMaximumFieldBuilder() {
         if (maximumBuilder_ == null) {
           if (!(transformTypeCase_ == 4)) {
             transformType_ = com.google.firestore.v1.Value.getDefaultInstance();
           }
-          maximumBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.firestore.v1.Value,
-                  com.google.firestore.v1.Value.Builder,
-                  com.google.firestore.v1.ValueOrBuilder>(
+          maximumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
                   (com.google.firestore.v1.Value) transformType_,
                   getParentForChildren(),
                   isClean());
@@ -2608,13 +2311,8 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.Value,
-              com.google.firestore.v1.Value.Builder,
-              com.google.firestore.v1.ValueOrBuilder>
-          minimumBuilder_;
+          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> minimumBuilder_;
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2630,7 +2328,6 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
        * 
* * .google.firestore.v1.Value minimum = 5; - * * @return Whether the minimum field is set. */ @java.lang.Override @@ -2638,8 +2335,6 @@ public boolean hasMinimum() { return transformTypeCase_ == 5; } /** - * - * *
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2655,7 +2350,6 @@ public boolean hasMinimum() {
        * 
* * .google.firestore.v1.Value minimum = 5; - * * @return The minimum. */ @java.lang.Override @@ -2673,8 +2367,6 @@ public com.google.firestore.v1.Value getMinimum() { } } /** - * - * *
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2705,8 +2397,6 @@ public Builder setMinimum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2723,7 +2413,8 @@ public Builder setMinimum(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value minimum = 5;
        */
-      public Builder setMinimum(com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setMinimum(
+          com.google.firestore.v1.Value.Builder builderForValue) {
         if (minimumBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -2734,8 +2425,6 @@ public Builder setMinimum(com.google.firestore.v1.Value.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2754,13 +2443,10 @@ public Builder setMinimum(com.google.firestore.v1.Value.Builder builderForValue)
        */
       public Builder mergeMinimum(com.google.firestore.v1.Value value) {
         if (minimumBuilder_ == null) {
-          if (transformTypeCase_ == 5
-              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ =
-                com.google.firestore.v1.Value.newBuilder(
-                        (com.google.firestore.v1.Value) transformType_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (transformTypeCase_ == 5 &&
+              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
+                .mergeFrom(value).buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2776,8 +2462,6 @@ public Builder mergeMinimum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2811,8 +2495,6 @@ public Builder clearMinimum() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2833,8 +2515,6 @@ public com.google.firestore.v1.Value.Builder getMinimumBuilder() {
         return getMinimumFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2863,8 +2543,6 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2882,19 +2560,14 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
        * .google.firestore.v1.Value minimum = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.Value,
-              com.google.firestore.v1.Value.Builder,
-              com.google.firestore.v1.ValueOrBuilder>
+          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
           getMinimumFieldBuilder() {
         if (minimumBuilder_ == null) {
           if (!(transformTypeCase_ == 5)) {
             transformType_ = com.google.firestore.v1.Value.getDefaultInstance();
           }
-          minimumBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.firestore.v1.Value,
-                  com.google.firestore.v1.Value.Builder,
-                  com.google.firestore.v1.ValueOrBuilder>(
+          minimumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
                   (com.google.firestore.v1.Value) transformType_,
                   getParentForChildren(),
                   isClean());
@@ -2906,13 +2579,8 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.ArrayValue,
-              com.google.firestore.v1.ArrayValue.Builder,
-              com.google.firestore.v1.ArrayValueOrBuilder>
-          appendMissingElementsBuilder_;
+          com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> appendMissingElementsBuilder_;
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2927,7 +2595,6 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
        * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return Whether the appendMissingElements field is set. */ @java.lang.Override @@ -2935,8 +2602,6 @@ public boolean hasAppendMissingElements() { return transformTypeCase_ == 6; } /** - * - * *
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2951,7 +2616,6 @@ public boolean hasAppendMissingElements() {
        * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; - * * @return The appendMissingElements. */ @java.lang.Override @@ -2969,8 +2633,6 @@ public com.google.firestore.v1.ArrayValue getAppendMissingElements() { } } /** - * - * *
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3000,8 +2662,6 @@ public Builder setAppendMissingElements(com.google.firestore.v1.ArrayValue value
         return this;
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3029,8 +2689,6 @@ public Builder setAppendMissingElements(
         return this;
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3048,13 +2706,10 @@ public Builder setAppendMissingElements(
        */
       public Builder mergeAppendMissingElements(com.google.firestore.v1.ArrayValue value) {
         if (appendMissingElementsBuilder_ == null) {
-          if (transformTypeCase_ == 6
-              && transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-            transformType_ =
-                com.google.firestore.v1.ArrayValue.newBuilder(
-                        (com.google.firestore.v1.ArrayValue) transformType_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (transformTypeCase_ == 6 &&
+              transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+            transformType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) transformType_)
+                .mergeFrom(value).buildPartial();
           } else {
             transformType_ = value;
           }
@@ -3070,8 +2725,6 @@ public Builder mergeAppendMissingElements(com.google.firestore.v1.ArrayValue val
         return this;
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3104,8 +2757,6 @@ public Builder clearAppendMissingElements() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3125,8 +2776,6 @@ public com.google.firestore.v1.ArrayValue.Builder getAppendMissingElementsBuilde
         return getAppendMissingElementsFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3154,8 +2803,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
         }
       }
       /**
-       *
-       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -3172,19 +2819,14 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
        * .google.firestore.v1.ArrayValue append_missing_elements = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.ArrayValue,
-              com.google.firestore.v1.ArrayValue.Builder,
-              com.google.firestore.v1.ArrayValueOrBuilder>
+          com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> 
           getAppendMissingElementsFieldBuilder() {
         if (appendMissingElementsBuilder_ == null) {
           if (!(transformTypeCase_ == 6)) {
             transformType_ = com.google.firestore.v1.ArrayValue.getDefaultInstance();
           }
-          appendMissingElementsBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.firestore.v1.ArrayValue,
-                  com.google.firestore.v1.ArrayValue.Builder,
-                  com.google.firestore.v1.ArrayValueOrBuilder>(
+          appendMissingElementsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder>(
                   (com.google.firestore.v1.ArrayValue) transformType_,
                   getParentForChildren(),
                   isClean());
@@ -3196,13 +2838,8 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.ArrayValue,
-              com.google.firestore.v1.ArrayValue.Builder,
-              com.google.firestore.v1.ArrayValueOrBuilder>
-          removeAllFromArrayBuilder_;
+          com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> removeAllFromArrayBuilder_;
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3215,7 +2852,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
        * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return Whether the removeAllFromArray field is set. */ @java.lang.Override @@ -3223,8 +2859,6 @@ public boolean hasRemoveAllFromArray() { return transformTypeCase_ == 7; } /** - * - * *
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3237,7 +2871,6 @@ public boolean hasRemoveAllFromArray() {
        * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; - * * @return The removeAllFromArray. */ @java.lang.Override @@ -3255,8 +2888,6 @@ public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() { } } /** - * - * *
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3284,8 +2915,6 @@ public Builder setRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3311,8 +2940,6 @@ public Builder setRemoveAllFromArray(
         return this;
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3328,13 +2955,10 @@ public Builder setRemoveAllFromArray(
        */
       public Builder mergeRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) {
         if (removeAllFromArrayBuilder_ == null) {
-          if (transformTypeCase_ == 7
-              && transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-            transformType_ =
-                com.google.firestore.v1.ArrayValue.newBuilder(
-                        (com.google.firestore.v1.ArrayValue) transformType_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (transformTypeCase_ == 7 &&
+              transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+            transformType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) transformType_)
+                .mergeFrom(value).buildPartial();
           } else {
             transformType_ = value;
           }
@@ -3350,8 +2974,6 @@ public Builder mergeRemoveAllFromArray(com.google.firestore.v1.ArrayValue value)
         return this;
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3382,8 +3004,6 @@ public Builder clearRemoveAllFromArray() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3401,8 +3021,6 @@ public com.google.firestore.v1.ArrayValue.Builder getRemoveAllFromArrayBuilder()
         return getRemoveAllFromArrayFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3428,8 +3046,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilde
         }
       }
       /**
-       *
-       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3444,19 +3060,14 @@ public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilde
        * .google.firestore.v1.ArrayValue remove_all_from_array = 7;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.ArrayValue,
-              com.google.firestore.v1.ArrayValue.Builder,
-              com.google.firestore.v1.ArrayValueOrBuilder>
+          com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> 
           getRemoveAllFromArrayFieldBuilder() {
         if (removeAllFromArrayBuilder_ == null) {
           if (!(transformTypeCase_ == 7)) {
             transformType_ = com.google.firestore.v1.ArrayValue.getDefaultInstance();
           }
-          removeAllFromArrayBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.firestore.v1.ArrayValue,
-                  com.google.firestore.v1.ArrayValue.Builder,
-                  com.google.firestore.v1.ArrayValueOrBuilder>(
+          removeAllFromArrayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder>(
                   (com.google.firestore.v1.ArrayValue) transformType_,
                   getParentForChildren(),
                   isClean());
@@ -3466,7 +3077,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilde
         onChanged();
         return removeAllFromArrayBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3479,12 +3089,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentTransform.FieldTransform)
     }
 
     // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentTransform.FieldTransform)
     private static final com.google.firestore.v1.DocumentTransform.FieldTransform DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentTransform.FieldTransform();
     }
@@ -3493,28 +3103,27 @@ public static com.google.firestore.v1.DocumentTransform.FieldTransform getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public FieldTransform parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public FieldTransform parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3529,21 +3138,18 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.DocumentTransform.FieldTransform getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object document_ = "";
   /**
-   *
-   *
    * 
    * The name of the document to transform.
    * 
* * string document = 1; - * * @return The document. */ @java.lang.Override @@ -3552,29 +3158,29 @@ public java.lang.String getDocument() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; } } /** - * - * *
    * The name of the document to transform.
    * 
* * string document = 1; - * * @return The bytes for document. */ @java.lang.Override - public com.google.protobuf.ByteString getDocumentBytes() { + public com.google.protobuf.ByteString + getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); document_ = b; return b; } else { @@ -3583,95 +3189,77 @@ public com.google.protobuf.ByteString getDocumentBytes() { } public static final int FIELD_TRANSFORMS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List fieldTransforms_; /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ @java.lang.Override - public java.util.List - getFieldTransformsList() { + public java.util.List getFieldTransformsList() { return fieldTransforms_; } /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ @java.lang.Override - public java.util.List + public java.util.List getFieldTransformsOrBuilderList() { return fieldTransforms_; } /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ @java.lang.Override public int getFieldTransformsCount() { return fieldTransforms_.size(); } /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ @java.lang.Override public com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index) { return fieldTransforms_.get(index); } /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ @java.lang.Override - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder - getFieldTransformsOrBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getFieldTransformsOrBuilder( + int index) { return fieldTransforms_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3683,7 +3271,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(document_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_); } @@ -3703,7 +3292,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, document_); } for (int i = 0; i < fieldTransforms_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fieldTransforms_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, fieldTransforms_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3713,16 +3303,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.DocumentTransform)) { return super.equals(obj); } - com.google.firestore.v1.DocumentTransform other = - (com.google.firestore.v1.DocumentTransform) obj; + com.google.firestore.v1.DocumentTransform other = (com.google.firestore.v1.DocumentTransform) obj; - if (!getDocument().equals(other.getDocument())) return false; - if (!getFieldTransformsList().equals(other.getFieldTransformsList())) return false; + if (!getDocument() + .equals(other.getDocument())) return false; + if (!getFieldTransformsList() + .equals(other.getFieldTransformsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3745,136 +3336,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.DocumentTransform parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.DocumentTransform parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentTransform parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentTransform parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentTransform parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentTransform parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.DocumentTransform parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentTransform parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentTransform parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.DocumentTransform parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.DocumentTransform parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentTransform parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.DocumentTransform parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.DocumentTransform parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.DocumentTransform prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A transformation of a document.
    * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentTransform) com.google.firestore.v1.DocumentTransformOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_DocumentTransform_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DocumentTransform.class, - com.google.firestore.v1.DocumentTransform.Builder.class); + com.google.firestore.v1.DocumentTransform.class, com.google.firestore.v1.DocumentTransform.Builder.class); } // Construct using com.google.firestore.v1.DocumentTransform.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3891,9 +3476,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_DocumentTransform_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_descriptor; } @java.lang.Override @@ -3912,12 +3497,9 @@ public com.google.firestore.v1.DocumentTransform build() { @java.lang.Override public com.google.firestore.v1.DocumentTransform buildPartial() { - com.google.firestore.v1.DocumentTransform result = - new com.google.firestore.v1.DocumentTransform(this); + com.google.firestore.v1.DocumentTransform result = new com.google.firestore.v1.DocumentTransform(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3945,39 +3527,38 @@ private void buildPartial0(com.google.firestore.v1.DocumentTransform result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.DocumentTransform) { - return mergeFrom((com.google.firestore.v1.DocumentTransform) other); + return mergeFrom((com.google.firestore.v1.DocumentTransform)other); } else { super.mergeFrom(other); return this; @@ -4009,10 +3590,9 @@ public Builder mergeFrom(com.google.firestore.v1.DocumentTransform other) { fieldTransformsBuilder_ = null; fieldTransforms_ = other.fieldTransforms_; bitField0_ = (bitField0_ & ~0x00000002); - fieldTransformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldTransformsFieldBuilder() - : null; + fieldTransformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldTransformsFieldBuilder() : null; } else { fieldTransformsBuilder_.addAllMessages(other.fieldTransforms_); } @@ -4044,33 +3624,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - document_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.firestore.v1.DocumentTransform.FieldTransform m = - input.readMessage( - com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), - extensionRegistry); - if (fieldTransformsBuilder_ == null) { - ensureFieldTransformsIsMutable(); - fieldTransforms_.add(m); - } else { - fieldTransformsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + document_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.firestore.v1.DocumentTransform.FieldTransform m = + input.readMessage( + com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), + extensionRegistry); + if (fieldTransformsBuilder_ == null) { + ensureFieldTransformsIsMutable(); + fieldTransforms_.add(m); + } else { + fieldTransformsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4080,25 +3657,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object document_ = ""; /** - * - * *
      * The name of the document to transform.
      * 
* * string document = 1; - * * @return The document. */ public java.lang.String getDocument() { java.lang.Object ref = document_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; @@ -4107,21 +3681,20 @@ public java.lang.String getDocument() { } } /** - * - * *
      * The name of the document to transform.
      * 
* * string document = 1; - * * @return The bytes for document. */ - public com.google.protobuf.ByteString getDocumentBytes() { + public com.google.protobuf.ByteString + getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); document_ = b; return b; } else { @@ -4129,35 +3702,28 @@ public com.google.protobuf.ByteString getDocumentBytes() { } } /** - * - * *
      * The name of the document to transform.
      * 
* * string document = 1; - * * @param value The document to set. * @return This builder for chaining. */ - public Builder setDocument(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDocument( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } document_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the document to transform.
      * 
* * string document = 1; - * * @return This builder for chaining. */ public Builder clearDocument() { @@ -4167,21 +3733,17 @@ public Builder clearDocument() { return this; } /** - * - * *
      * The name of the document to transform.
      * 
* * string document = 1; - * * @param value The bytes for document to set. * @return This builder for chaining. */ - public Builder setDocumentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDocumentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); document_ = value; bitField0_ |= 0x00000001; @@ -4189,38 +3751,28 @@ public Builder setDocumentBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List - fieldTransforms_ = java.util.Collections.emptyList(); - + private java.util.List fieldTransforms_ = + java.util.Collections.emptyList(); private void ensureFieldTransformsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - fieldTransforms_ = - new java.util.ArrayList( - fieldTransforms_); + fieldTransforms_ = new java.util.ArrayList(fieldTransforms_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, - com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> - fieldTransformsBuilder_; + com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> fieldTransformsBuilder_; /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public java.util.List - getFieldTransformsList() { + public java.util.List getFieldTransformsList() { if (fieldTransformsBuilder_ == null) { return java.util.Collections.unmodifiableList(fieldTransforms_); } else { @@ -4228,16 +3780,13 @@ private void ensureFieldTransformsIsMutable() { } } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public int getFieldTransformsCount() { if (fieldTransformsBuilder_ == null) { @@ -4247,16 +3796,13 @@ public int getFieldTransformsCount() { } } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index) { if (fieldTransformsBuilder_ == null) { @@ -4266,16 +3812,13 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransfor } } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder setFieldTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -4292,20 +3835,16 @@ public Builder setFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder setFieldTransforms( - int index, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (fieldTransformsBuilder_ == null) { ensureFieldTransformsIsMutable(); fieldTransforms_.set(index, builderForValue.build()); @@ -4316,19 +3855,15 @@ public Builder setFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public Builder addFieldTransforms( - com.google.firestore.v1.DocumentTransform.FieldTransform value) { + public Builder addFieldTransforms(com.google.firestore.v1.DocumentTransform.FieldTransform value) { if (fieldTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4342,16 +3877,13 @@ public Builder addFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder addFieldTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -4368,16 +3900,13 @@ public Builder addFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder addFieldTransforms( com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { @@ -4391,20 +3920,16 @@ public Builder addFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder addFieldTransforms( - int index, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (fieldTransformsBuilder_ == null) { ensureFieldTransformsIsMutable(); fieldTransforms_.add(index, builderForValue.build()); @@ -4415,23 +3940,20 @@ public Builder addFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder addAllFieldTransforms( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (fieldTransformsBuilder_ == null) { ensureFieldTransformsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldTransforms_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fieldTransforms_); onChanged(); } else { fieldTransformsBuilder_.addAllMessages(values); @@ -4439,16 +3961,13 @@ public Builder addAllFieldTransforms( return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder clearFieldTransforms() { if (fieldTransformsBuilder_ == null) { @@ -4461,16 +3980,13 @@ public Builder clearFieldTransforms() { return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ public Builder removeFieldTransforms(int index) { if (fieldTransformsBuilder_ == null) { @@ -4483,56 +3999,45 @@ public Builder removeFieldTransforms(int index) { return this; } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - getFieldTransformsBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder getFieldTransformsBuilder( + int index) { return getFieldTransformsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder - getFieldTransformsOrBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getFieldTransformsOrBuilder( + int index) { if (fieldTransformsBuilder_ == null) { - return fieldTransforms_.get(index); - } else { + return fieldTransforms_.get(index); } else { return fieldTransformsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public java.util.List< - ? extends com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> - getFieldTransformsOrBuilderList() { + public java.util.List + getFieldTransformsOrBuilderList() { if (fieldTransformsBuilder_ != null) { return fieldTransformsBuilder_.getMessageOrBuilderList(); } else { @@ -4540,69 +4045,51 @@ public Builder removeFieldTransforms(int index) { } } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - addFieldTransformsBuilder() { - return getFieldTransformsFieldBuilder() - .addBuilder( - com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addFieldTransformsBuilder() { + return getFieldTransformsFieldBuilder().addBuilder( + com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - addFieldTransformsBuilder(int index) { - return getFieldTransformsFieldBuilder() - .addBuilder( - index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addFieldTransformsBuilder( + int index) { + return getFieldTransformsFieldBuilder().addBuilder( + index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** - * - * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - public java.util.List - getFieldTransformsBuilderList() { + public java.util.List + getFieldTransformsBuilderList() { return getFieldTransformsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, - com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> getFieldTransformsFieldBuilder() { if (fieldTransformsBuilder_ == null) { - fieldTransformsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, - com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( + fieldTransformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( fieldTransforms_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4611,9 +4098,9 @@ public Builder removeFieldTransforms(int index) { } return fieldTransformsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4623,12 +4110,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentTransform) } // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentTransform) private static final com.google.firestore.v1.DocumentTransform DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentTransform(); } @@ -4637,27 +4124,27 @@ public static com.google.firestore.v1.DocumentTransform getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentTransform parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentTransform parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4672,4 +4159,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.DocumentTransform getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java similarity index 66% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java index 455bbc270..dffa93473 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java @@ -1,117 +1,82 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; -public interface DocumentTransformOrBuilder - extends +public interface DocumentTransformOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentTransform) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the document to transform.
    * 
* * string document = 1; - * * @return The document. */ java.lang.String getDocument(); /** - * - * *
    * The name of the document to transform.
    * 
* * string document = 1; - * * @return The bytes for document. */ - com.google.protobuf.ByteString getDocumentBytes(); + com.google.protobuf.ByteString + getDocumentBytes(); /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - java.util.List getFieldTransformsList(); + java.util.List + getFieldTransformsList(); /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index); /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ int getFieldTransformsCount(); /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ - java.util.List + java.util.List getFieldTransformsOrBuilderList(); /** - * - * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; */ com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getFieldTransformsOrBuilder( int index); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java similarity index 67% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java index 03f63e4a4..58a73761a 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** - * - * *
  * A digest of all the documents that match a given target.
  * 
* * Protobuf type {@code google.firestore.v1.ExistenceFilter} */ -public final class ExistenceFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExistenceFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ExistenceFilter) ExistenceFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExistenceFilter.newBuilder() to construct. private ExistenceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExistenceFilter() {} + private ExistenceFilter() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExistenceFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_ExistenceFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ExistenceFilter.class, - com.google.firestore.v1.ExistenceFilter.Builder.class); + com.google.firestore.v1.ExistenceFilter.class, com.google.firestore.v1.ExistenceFilter.Builder.class); } public static final int TARGET_ID_FIELD_NUMBER = 1; private int targetId_ = 0; /** - * - * *
    * The target ID to which this filter applies.
    * 
* * int32 target_id = 1; - * * @return The targetId. */ @java.lang.Override @@ -86,8 +65,6 @@ public int getTargetId() { public static final int COUNT_FIELD_NUMBER = 2; private int count_ = 0; /** - * - * *
    * The total count of documents that match
    * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -96,7 +73,6 @@ public int getTargetId() {
    * 
* * int32 count = 2; - * * @return The count. */ @java.lang.Override @@ -105,7 +81,6 @@ public int getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +92,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (targetId_ != 0) { output.writeInt32(1, targetId_); } @@ -134,10 +110,12 @@ public int getSerializedSize() { size = 0; if (targetId_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, targetId_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, targetId_); } if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, count_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +125,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ExistenceFilter)) { return super.equals(obj); } com.google.firestore.v1.ExistenceFilter other = (com.google.firestore.v1.ExistenceFilter) obj; - if (getTargetId() != other.getTargetId()) return false; - if (getCount() != other.getCount()) return false; + if (getTargetId() + != other.getTargetId()) return false; + if (getCount() + != other.getCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,136 +156,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ExistenceFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.ExistenceFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ExistenceFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ExistenceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ExistenceFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ExistenceFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ExistenceFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ExistenceFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ExistenceFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.ExistenceFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.ExistenceFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.ExistenceFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ExistenceFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ExistenceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.ExistenceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A digest of all the documents that match a given target.
    * 
* * Protobuf type {@code google.firestore.v1.ExistenceFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.ExistenceFilter) com.google.firestore.v1.ExistenceFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_ExistenceFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ExistenceFilter.class, - com.google.firestore.v1.ExistenceFilter.Builder.class); + com.google.firestore.v1.ExistenceFilter.class, com.google.firestore.v1.ExistenceFilter.Builder.class); } // Construct using com.google.firestore.v1.ExistenceFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,9 +290,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_ExistenceFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_descriptor; } @java.lang.Override @@ -337,11 +311,8 @@ public com.google.firestore.v1.ExistenceFilter build() { @java.lang.Override public com.google.firestore.v1.ExistenceFilter buildPartial() { - com.google.firestore.v1.ExistenceFilter result = - new com.google.firestore.v1.ExistenceFilter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.ExistenceFilter result = new com.google.firestore.v1.ExistenceFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -360,39 +331,38 @@ private void buildPartial0(com.google.firestore.v1.ExistenceFilter result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.ExistenceFilter) { - return mergeFrom((com.google.firestore.v1.ExistenceFilter) other); + return mergeFrom((com.google.firestore.v1.ExistenceFilter)other); } else { super.mergeFrom(other); return this; @@ -433,25 +403,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - targetId_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - count_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + targetId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + count_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -461,19 +428,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int targetId_; + private int targetId_ ; /** - * - * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; - * * @return The targetId. */ @java.lang.Override @@ -481,33 +444,27 @@ public int getTargetId() { return targetId_; } /** - * - * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; - * * @param value The targetId to set. * @return This builder for chaining. */ public Builder setTargetId(int value) { - + targetId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; - * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -517,10 +474,8 @@ public Builder clearTargetId() { return this; } - private int count_; + private int count_ ; /** - * - * *
      * The total count of documents that match
      * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -529,7 +484,6 @@ public Builder clearTargetId() {
      * 
* * int32 count = 2; - * * @return The count. */ @java.lang.Override @@ -537,8 +491,6 @@ public int getCount() { return count_; } /** - * - * *
      * The total count of documents that match
      * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -547,20 +499,17 @@ public int getCount() {
      * 
* * int32 count = 2; - * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { - + count_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The total count of documents that match
      * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -569,7 +518,6 @@ public Builder setCount(int value) {
      * 
* * int32 count = 2; - * * @return This builder for chaining. */ public Builder clearCount() { @@ -578,9 +526,9 @@ public Builder clearCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -590,12 +538,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ExistenceFilter) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ExistenceFilter) private static final com.google.firestore.v1.ExistenceFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.ExistenceFilter(); } @@ -604,27 +552,27 @@ public static com.google.firestore.v1.ExistenceFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExistenceFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExistenceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +587,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ExistenceFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java similarity index 55% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java index cb29e40fb..379ce5710 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; -public interface ExistenceFilterOrBuilder - extends +public interface ExistenceFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ExistenceFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The target ID to which this filter applies.
    * 
* * int32 target_id = 1; - * * @return The targetId. */ int getTargetId(); /** - * - * *
    * The total count of documents that match
    * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -47,7 +26,6 @@ public interface ExistenceFilterOrBuilder
    * 
* * int32 count = 2; - * * @return The count. */ int getCount(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java new file mode 100644 index 000000000..42f6692b2 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java @@ -0,0 +1,679 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public final class FirestoreProto { + private FirestoreProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CommitRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CommitResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RollbackRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunQueryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_PartitionQueryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_PartitionQueryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_TargetChange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_TargetChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n#google/firestore/v1/firestore.proto\022\023g" + + "oogle.firestore.v1\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032\037googl" + + "e/api/field_behavior.proto\032,google/fires" + + "tore/v1/aggregation_result.proto\032 google" + + "/firestore/v1/common.proto\032\"google/fires" + + "tore/v1/document.proto\032\037google/firestore" + + "/v1/query.proto\032\037google/firestore/v1/wri" + + "te.proto\032\033google/protobuf/empty.proto\032\037g" + + "oogle/protobuf/timestamp.proto\032\027google/r" + + "pc/status.proto\"\270\001\n\022GetDocumentRequest\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022/\n\004mask\030\002 \001(\0132!.google" + + ".firestore.v1.DocumentMask\022\025\n\013transactio" + + "n\030\003 \001(\014H\000\022/\n\tread_time\030\005 \001(\0132\032.google.pr" + + "otobuf.TimestampH\000B\026\n\024consistency_select" + + "or\"\273\002\n\024ListDocumentsRequest\022\023\n\006parent\030\001 " + + "\001(\tB\003\340A\002\022\032\n\rcollection_id\030\002 \001(\tB\003\340A\001\022\026\n\t" + + "page_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\t" + + "B\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\0224\n\004mask\030\007 \001" + + "(\0132!.google.firestore.v1.DocumentMaskB\003\340" + + "A\001\022\025\n\013transaction\030\010 \001(\014H\000\022/\n\tread_time\030\n" + + " \001(\0132\032.google.protobuf.TimestampH\000\022\024\n\014sh" + + "ow_missing\030\014 \001(\010B\026\n\024consistency_selector" + + "\"b\n\025ListDocumentsResponse\0220\n\tdocuments\030\001" + + " \003(\0132\035.google.firestore.v1.Document\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"\304\001\n\025CreateDocumentR" + + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rcollectio" + + "n_id\030\002 \001(\tB\003\340A\002\022\023\n\013document_id\030\003 \001(\t\0224\n\010" + + "document\030\004 \001(\0132\035.google.firestore.v1.Doc" + + "umentB\003\340A\002\022/\n\004mask\030\005 \001(\0132!.google.firest" + + "ore.v1.DocumentMask\"\363\001\n\025UpdateDocumentRe" + + "quest\0224\n\010document\030\001 \001(\0132\035.google.firesto" + + "re.v1.DocumentB\003\340A\002\0226\n\013update_mask\030\002 \001(\013" + + "2!.google.firestore.v1.DocumentMask\022/\n\004m" + + "ask\030\003 \001(\0132!.google.firestore.v1.Document" + + "Mask\022;\n\020current_document\030\004 \001(\0132!.google." + + "firestore.v1.Precondition\"g\n\025DeleteDocum" + + "entRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\020current" + + "_document\030\002 \001(\0132!.google.firestore.v1.Pr" + + "econdition\"\231\002\n\030BatchGetDocumentsRequest\022" + + "\025\n\010database\030\001 \001(\tB\003\340A\002\022\021\n\tdocuments\030\002 \003(" + + "\t\022/\n\004mask\030\003 \001(\0132!.google.firestore.v1.Do" + + "cumentMask\022\025\n\013transaction\030\004 \001(\014H\000\022B\n\017new" + + "_transaction\030\005 \001(\0132\'.google.firestore.v1" + + ".TransactionOptionsH\000\022/\n\tread_time\030\007 \001(\013" + + "2\032.google.protobuf.TimestampH\000B\026\n\024consis" + + "tency_selector\"\254\001\n\031BatchGetDocumentsResp" + + "onse\022.\n\005found\030\001 \001(\0132\035.google.firestore.v" + + "1.DocumentH\000\022\021\n\007missing\030\002 \001(\tH\000\022\023\n\013trans" + + "action\030\003 \001(\014\022-\n\tread_time\030\004 \001(\0132\032.google" + + ".protobuf.TimestampB\010\n\006result\"j\n\027BeginTr" + + "ansactionRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\022" + + "8\n\007options\030\002 \001(\0132\'.google.firestore.v1.T" + + "ransactionOptions\"/\n\030BeginTransactionRes" + + "ponse\022\023\n\013transaction\030\001 \001(\014\"g\n\rCommitRequ" + + "est\022\025\n\010database\030\001 \001(\tB\003\340A\002\022*\n\006writes\030\002 \003" + + "(\0132\032.google.firestore.v1.Write\022\023\n\013transa" + + "ction\030\003 \001(\014\"z\n\016CommitResponse\0227\n\rwrite_r" + + "esults\030\001 \003(\0132 .google.firestore.v1.Write" + + "Result\022/\n\013commit_time\030\002 \001(\0132\032.google.pro" + + "tobuf.Timestamp\"B\n\017RollbackRequest\022\025\n\010da" + + "tabase\030\001 \001(\tB\003\340A\002\022\030\n\013transaction\030\002 \001(\014B\003" + + "\340A\002\"\232\002\n\017RunQueryRequest\022\023\n\006parent\030\001 \001(\tB" + + "\003\340A\002\022@\n\020structured_query\030\002 \001(\0132$.google." + + "firestore.v1.StructuredQueryH\000\022\025\n\013transa" + + "ction\030\005 \001(\014H\001\022B\n\017new_transaction\030\006 \001(\0132\'" + + ".google.firestore.v1.TransactionOptionsH" + + "\001\022/\n\tread_time\030\007 \001(\0132\032.google.protobuf.T" + + "imestampH\001B\014\n\nquery_typeB\026\n\024consistency_" + + "selector\"\311\001\n\020RunQueryResponse\022\023\n\013transac" + + "tion\030\002 \001(\014\022/\n\010document\030\001 \001(\0132\035.google.fi" + + "restore.v1.Document\022-\n\tread_time\030\003 \001(\0132\032" + + ".google.protobuf.Timestamp\022\027\n\017skipped_re" + + "sults\030\004 \001(\005\022\016\n\004done\030\006 \001(\010H\000B\027\n\025continuat" + + "ion_selector\"\274\002\n\032RunAggregationQueryRequ" + + "est\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022W\n\034structured_a" + + "ggregation_query\030\002 \001(\0132/.google.firestor" + + "e.v1.StructuredAggregationQueryH\000\022\025\n\013tra" + + "nsaction\030\004 \001(\014H\001\022B\n\017new_transaction\030\005 \001(" + + "\0132\'.google.firestore.v1.TransactionOptio" + + "nsH\001\022/\n\tread_time\030\006 \001(\0132\032.google.protobu" + + "f.TimestampH\001B\014\n\nquery_typeB\026\n\024consisten" + + "cy_selector\"\231\001\n\033RunAggregationQueryRespo" + + "nse\0226\n\006result\030\001 \001(\0132&.google.firestore.v" + + "1.AggregationResult\022\023\n\013transaction\030\002 \001(\014" + + "\022-\n\tread_time\030\003 \001(\0132\032.google.protobuf.Ti" + + "mestamp\"\205\002\n\025PartitionQueryRequest\022\023\n\006par" + + "ent\030\001 \001(\tB\003\340A\002\022@\n\020structured_query\030\002 \001(\013" + + "2$.google.firestore.v1.StructuredQueryH\000" + + "\022\027\n\017partition_count\030\003 \001(\003\022\022\n\npage_token\030" + + "\004 \001(\t\022\021\n\tpage_size\030\005 \001(\005\022/\n\tread_time\030\006 " + + "\001(\0132\032.google.protobuf.TimestampH\001B\014\n\nque" + + "ry_typeB\026\n\024consistency_selector\"b\n\026Parti" + + "tionQueryResponse\022/\n\npartitions\030\001 \003(\0132\033." + + "google.firestore.v1.Cursor\022\027\n\017next_page_" + + "token\030\002 \001(\t\"\350\001\n\014WriteRequest\022\025\n\010database" + + "\030\001 \001(\tB\003\340A\002\022\021\n\tstream_id\030\002 \001(\t\022*\n\006writes" + + "\030\003 \003(\0132\032.google.firestore.v1.Write\022\024\n\014st" + + "ream_token\030\004 \001(\014\022=\n\006labels\030\005 \003(\0132-.googl" + + "e.firestore.v1.WriteRequest.LabelsEntry\032" + + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"\242\001\n\rWriteResponse\022\021\n\tstream_id\030\001 " + + "\001(\t\022\024\n\014stream_token\030\002 \001(\014\0227\n\rwrite_resul" + + "ts\030\003 \003(\0132 .google.firestore.v1.WriteResu" + + "lt\022/\n\013commit_time\030\004 \001(\0132\032.google.protobu" + + "f.Timestamp\"\362\001\n\rListenRequest\022\025\n\010databas" + + "e\030\001 \001(\tB\003\340A\002\0221\n\nadd_target\030\002 \001(\0132\033.googl" + + "e.firestore.v1.TargetH\000\022\027\n\rremove_target" + + "\030\003 \001(\005H\000\022>\n\006labels\030\004 \003(\0132..google.firest" + + "ore.v1.ListenRequest.LabelsEntry\032-\n\013Labe" + + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B" + + "\017\n\rtarget_change\"\325\002\n\016ListenResponse\022:\n\rt" + + "arget_change\030\002 \001(\0132!.google.firestore.v1" + + ".TargetChangeH\000\022>\n\017document_change\030\003 \001(\013" + + "2#.google.firestore.v1.DocumentChangeH\000\022" + + ">\n\017document_delete\030\004 \001(\0132#.google.firest" + + "ore.v1.DocumentDeleteH\000\022>\n\017document_remo" + + "ve\030\006 \001(\0132#.google.firestore.v1.DocumentR" + + "emoveH\000\0226\n\006filter\030\005 \001(\0132$.google.firesto" + + "re.v1.ExistenceFilterH\000B\017\n\rresponse_type" + + "\"\241\003\n\006Target\0228\n\005query\030\002 \001(\0132\'.google.fire" + + "store.v1.Target.QueryTargetH\000\022@\n\tdocumen" + + "ts\030\003 \001(\0132+.google.firestore.v1.Target.Do" + + "cumentsTargetH\000\022\026\n\014resume_token\030\004 \001(\014H\001\022" + + "/\n\tread_time\030\013 \001(\0132\032.google.protobuf.Tim" + + "estampH\001\022\021\n\ttarget_id\030\005 \001(\005\022\014\n\004once\030\006 \001(" + + "\010\032$\n\017DocumentsTarget\022\021\n\tdocuments\030\002 \003(\t\032" + + "m\n\013QueryTarget\022\016\n\006parent\030\001 \001(\t\022@\n\020struct" + + "ured_query\030\002 \001(\0132$.google.firestore.v1.S" + + "tructuredQueryH\000B\014\n\nquery_typeB\r\n\013target" + + "_typeB\r\n\013resume_type\"\252\002\n\014TargetChange\022N\n" + + "\022target_change_type\030\001 \001(\01622.google.fires" + + "tore.v1.TargetChange.TargetChangeType\022\022\n" + + "\ntarget_ids\030\002 \003(\005\022!\n\005cause\030\003 \001(\0132\022.googl" + + "e.rpc.Status\022\024\n\014resume_token\030\004 \001(\014\022-\n\tre" + + "ad_time\030\006 \001(\0132\032.google.protobuf.Timestam" + + "p\"N\n\020TargetChangeType\022\r\n\tNO_CHANGE\020\000\022\007\n\003" + + "ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n\007CURRENT\020\003\022\t\n\005RESET\020" + + "\004\"\237\001\n\030ListCollectionIdsRequest\022\023\n\006parent" + + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\022/\n\tread_time\030\004 \001(\0132\032.google.p" + + "rotobuf.TimestampH\000B\026\n\024consistency_selec" + + "tor\"L\n\031ListCollectionIdsResponse\022\026\n\016coll" + + "ection_ids\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\311\001\n\021BatchWriteRequest\022\025\n\010database\030\001 \001(" + + "\tB\003\340A\002\022*\n\006writes\030\002 \003(\0132\032.google.firestor" + + "e.v1.Write\022B\n\006labels\030\003 \003(\01322.google.fire" + + "store.v1.BatchWriteRequest.LabelsEntry\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"q\n\022BatchWriteResponse\0227\n\rwrite_res" + + "ults\030\001 \003(\0132 .google.firestore.v1.WriteRe" + + "sult\022\"\n\006status\030\002 \003(\0132\022.google.rpc.Status" + + "2\332\031\n\tFirestore\022\217\001\n\013GetDocument\022\'.google." + + "firestore.v1.GetDocumentRequest\032\035.google" + + ".firestore.v1.Document\"8\202\323\344\223\0022\0220/v1/{nam" + + "e=projects/*/databases/*/documents/*/**}" + + "\022\365\001\n\rListDocuments\022).google.firestore.v1" + + ".ListDocumentsRequest\032*.google.firestore" + + ".v1.ListDocumentsResponse\"\214\001\202\323\344\223\002\205\001\022B/v1" + + "/{parent=projects/*/databases/*/document" + + "s/*/**}/{collection_id}Z?\022=/v1/{parent=p" + + "rojects/*/databases/*/documents}/{collec" + + "tion_id}\022\277\001\n\016UpdateDocument\022*.google.fir" + + "estore.v1.UpdateDocumentRequest\032\035.google" + + ".firestore.v1.Document\"b\202\323\344\223\002E29/v1/{doc" + + "ument.name=projects/*/databases/*/docume" + + "nts/*/**}:\010document\332A\024document,update_ma" + + "sk\022\225\001\n\016DeleteDocument\022*.google.firestore" + + ".v1.DeleteDocumentRequest\032\026.google.proto" + + "buf.Empty\"?\202\323\344\223\0022*0/v1/{name=projects/*/" + + "databases/*/documents/*/**}\332A\004name\022\271\001\n\021B" + + "atchGetDocuments\022-.google.firestore.v1.B" + + "atchGetDocumentsRequest\032..google.firesto" + + "re.v1.BatchGetDocumentsResponse\"C\202\323\344\223\002=\"" + + "8/v1/{database=projects/*/databases/*}/d" + + "ocuments:batchGet:\001*0\001\022\307\001\n\020BeginTransact" + + "ion\022,.google.firestore.v1.BeginTransacti" + + "onRequest\032-.google.firestore.v1.BeginTra" + + "nsactionResponse\"V\202\323\344\223\002E\"@/v1/{database=" + + "projects/*/databases/*}/documents:beginT" + + "ransaction:\001*\332A\010database\022\246\001\n\006Commit\022\".go" + + "ogle.firestore.v1.CommitRequest\032#.google" + + ".firestore.v1.CommitResponse\"S\202\323\344\223\002;\"6/v" + + "1/{database=projects/*/databases/*}/docu" + + "ments:commit:\001*\332A\017database,writes\022\244\001\n\010Ro" + + "llback\022$.google.firestore.v1.RollbackReq" + + "uest\032\026.google.protobuf.Empty\"Z\202\323\344\223\002=\"8/v" + + "1/{database=projects/*/databases/*}/docu" + + "ments:rollback:\001*\332A\024database,transaction" + + "\022\337\001\n\010RunQuery\022$.google.firestore.v1.RunQ" + + "ueryRequest\032%.google.firestore.v1.RunQue" + + "ryResponse\"\203\001\202\323\344\223\002}\"6/v1/{parent=project" + + "s/*/databases/*/documents}:runQuery:\001*Z@" + + "\";/v1/{parent=projects/*/databases/*/doc" + + "uments/*/**}:runQuery:\001*0\001\022\227\002\n\023RunAggreg" + + "ationQuery\022/.google.firestore.v1.RunAggr" + + "egationQueryRequest\0320.google.firestore.v" + + "1.RunAggregationQueryResponse\"\232\001\202\323\344\223\002\223\001\"" + + "A/v1/{parent=projects/*/databases/*/docu" + + "ments}:runAggregationQuery:\001*ZK\"F/v1/{pa" + + "rent=projects/*/databases/*/documents/*/" + + "**}:runAggregationQuery:\001*0\001\022\374\001\n\016Partiti" + + "onQuery\022*.google.firestore.v1.PartitionQ" + + "ueryRequest\032+.google.firestore.v1.Partit" + + "ionQueryResponse\"\220\001\202\323\344\223\002\211\001\" * The request for * [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. @@ -28,58 +11,53 @@ * * Protobuf type {@code google.firestore.v1.GetDocumentRequest} */ -public final class GetDocumentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDocumentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.GetDocumentRequest) GetDocumentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDocumentRequest.newBuilder() to construct. private GetDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDocumentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDocumentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.GetDocumentRequest.class, - com.google.firestore.v1.GetDocumentRequest.Builder.class); + com.google.firestore.v1.GetDocumentRequest.class, com.google.firestore.v1.GetDocumentRequest.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(3), READ_TIME(5), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -95,40 +73,33 @@ public static ConsistencySelectorCase valueOf(int value) { public static ConsistencySelectorCase forNumber(int value) { switch (value) { - case 3: - return TRANSACTION; - case 5: - return READ_TIME; - case 0: - return CONSISTENCYSELECTOR_NOT_SET; - default: - return null; + case 3: return TRANSACTION; + case 5: return READ_TIME; + case 0: return CONSISTENCYSELECTOR_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConsistencySelectorCase getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + public ConsistencySelectorCase + getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber( + consistencySelectorCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -137,30 +108,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -171,8 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int MASK_FIELD_NUMBER = 2; private com.google.firestore.v1.DocumentMask mask_; /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -180,7 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return Whether the mask field is set. */ @java.lang.Override @@ -188,8 +156,6 @@ public boolean hasMask() { return mask_ != null; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -197,7 +163,6 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return The mask. */ @java.lang.Override @@ -205,8 +170,6 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -222,14 +185,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
   public static final int TRANSACTION_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -237,14 +197,11 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 3; } /** - * - * *
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; - * * @return The transaction. */ @java.lang.Override @@ -257,15 +214,12 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 5; /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -273,27 +227,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 5; } /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 5) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
@@ -304,13 +253,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 5) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -322,7 +270,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -330,7 +279,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(2, getMask());
     }
     if (consistencySelectorCase_ == 3) {
-      output.writeBytes(3, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(
+          3, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
       output.writeMessage(5, (com.google.protobuf.Timestamp) consistencySelector_);
@@ -348,17 +298,17 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (mask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getMask());
     }
     if (consistencySelectorCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeBytesSize(
-              3, (com.google.protobuf.ByteString) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(
+            3, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.protobuf.Timestamp) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -368,26 +318,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.GetDocumentRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.GetDocumentRequest other =
-        (com.google.firestore.v1.GetDocumentRequest) obj;
+    com.google.firestore.v1.GetDocumentRequest other = (com.google.firestore.v1.GetDocumentRequest) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasMask() != other.hasMask()) return false;
     if (hasMask()) {
-      if (!getMask().equals(other.getMask())) return false;
+      if (!getMask()
+          .equals(other.getMask())) return false;
     }
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 3:
-        if (!getTransaction().equals(other.getTransaction())) return false;
+        if (!getTransaction()
+            .equals(other.getTransaction())) return false;
         break;
       case 5:
-        if (!getReadTime().equals(other.getReadTime())) return false;
+        if (!getReadTime()
+            .equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -426,104 +379,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.GetDocumentRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.GetDocumentRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.GetDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.GetDocumentRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.GetDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.GetDocumentRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument].
@@ -531,32 +477,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.GetDocumentRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.GetDocumentRequest)
       com.google.firestore.v1.GetDocumentRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_GetDocumentRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.GetDocumentRequest.class,
-              com.google.firestore.v1.GetDocumentRequest.Builder.class);
+              com.google.firestore.v1.GetDocumentRequest.class, com.google.firestore.v1.GetDocumentRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.GetDocumentRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -576,9 +523,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_GetDocumentRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_descriptor;
     }
 
     @java.lang.Override
@@ -597,11 +544,8 @@ public com.google.firestore.v1.GetDocumentRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.GetDocumentRequest buildPartial() {
-      com.google.firestore.v1.GetDocumentRequest result =
-          new com.google.firestore.v1.GetDocumentRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.GetDocumentRequest result = new com.google.firestore.v1.GetDocumentRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -613,14 +557,17 @@ private void buildPartial0(com.google.firestore.v1.GetDocumentRequest result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
+        result.mask_ = maskBuilder_ == null
+            ? mask_
+            : maskBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.firestore.v1.GetDocumentRequest result) {
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 5 && readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 5 &&
+          readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -629,39 +576,38 @@ private void buildPartialOneofs(com.google.firestore.v1.GetDocumentRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.GetDocumentRequest) {
-        return mergeFrom((com.google.firestore.v1.GetDocumentRequest) other);
+        return mergeFrom((com.google.firestore.v1.GetDocumentRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -679,20 +625,17 @@ public Builder mergeFrom(com.google.firestore.v1.GetDocumentRequest other) {
         mergeMask(other.getMask());
       }
       switch (other.getConsistencySelectorCase()) {
-        case TRANSACTION:
-          {
-            setTransaction(other.getTransaction());
-            break;
-          }
-        case READ_TIME:
-          {
-            mergeReadTime(other.getReadTime());
-            break;
-          }
-        case CONSISTENCYSELECTOR_NOT_SET:
-          {
-            break;
-          }
+        case TRANSACTION: {
+          setTransaction(other.getTransaction());
+          break;
+        }
+        case READ_TIME: {
+          mergeReadTime(other.getReadTime());
+          break;
+        }
+        case CONSISTENCYSELECTOR_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -720,37 +663,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                consistencySelector_ = input.readBytes();
-                consistencySelectorCase_ = 3;
-                break;
-              } // case 26
-            case 42:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                consistencySelectorCase_ = 5;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              consistencySelector_ = input.readBytes();
+              consistencySelectorCase_ = 3;
+              break;
+            } // case 26
+            case 42: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              consistencySelectorCase_ = 5;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -760,12 +702,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-
-    public ConsistencySelectorCase getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+    public ConsistencySelectorCase
+        getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(
+          consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -779,21 +721,19 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -802,22 +742,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -825,37 +764,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -865,22 +797,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -890,13 +818,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - maskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -904,15 +827,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return Whether the mask field is set. */ public boolean hasMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -920,7 +840,6 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -931,8 +850,6 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -955,8 +872,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -965,7 +880,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 2;
      */
-    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
       } else {
@@ -976,8 +892,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -988,9 +902,9 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
      */
     public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && mask_ != null
-            && mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          mask_ != null &&
+          mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getMaskBuilder().mergeFrom(value);
         } else {
           mask_ = value;
@@ -1003,8 +917,6 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1024,8 +936,6 @@ public Builder clearMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1040,8 +950,6 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1054,12 +962,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1069,45 +976,36 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(), getParentForChildren(), isClean());
+        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(),
+                getParentForChildren(),
+                isClean());
         mask_ = null;
       }
       return maskBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * Reads the document in a transaction.
      * 
* * bytes transaction = 3; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 3; } /** - * - * *
      * Reads the document in a transaction.
      * 
* * bytes transaction = 3; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1117,35 +1015,27 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Reads the document in a transaction.
      * 
* * bytes transaction = 3; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } consistencySelectorCase_ = 3; consistencySelector_ = value; onChanged(); return this; } /** - * - * *
      * Reads the document in a transaction.
      * 
* * bytes transaction = 3; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1158,20 +1048,14 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1179,15 +1063,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 5; } /** - * - * *
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ @java.lang.Override @@ -1205,8 +1086,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1228,8 +1107,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1237,7 +1114,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 5;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1248,8 +1126,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1259,13 +1135,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 5
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 5 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1281,8 +1154,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1307,8 +1178,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1320,8 +1189,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1341,8 +1208,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1351,19 +1216,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 5)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1373,9 +1233,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1385,12 +1245,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.GetDocumentRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.GetDocumentRequest)
   private static final com.google.firestore.v1.GetDocumentRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.GetDocumentRequest();
   }
@@ -1399,27 +1259,27 @@ public static com.google.firestore.v1.GetDocumentRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GetDocumentRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public GetDocumentRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1434,4 +1294,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.GetDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
similarity index 78%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
index 83a820a3f..df242cec9 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
@@ -1,58 +1,35 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface GetDocumentRequestOrBuilder
-    extends
+public interface GetDocumentRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.GetDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -60,13 +37,10 @@ public interface GetDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return Whether the mask field is set. */ boolean hasMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -74,13 +48,10 @@ public interface GetDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 2; - * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -92,59 +63,45 @@ public interface GetDocumentRequestOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
@@ -154,6 +111,5 @@ public interface GetDocumentRequestOrBuilder
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
similarity index 72%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
index e25ff4a98..cfa514ccb 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for
  * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.v1.ListCollectionIdsRequest}
  */
-public final class ListCollectionIdsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListCollectionIdsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.ListCollectionIdsRequest)
     ListCollectionIdsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListCollectionIdsRequest.newBuilder() to construct.
   private ListCollectionIdsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListCollectionIdsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,41 +27,37 @@ private ListCollectionIdsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListCollectionIdsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.ListCollectionIdsRequest.class,
-            com.google.firestore.v1.ListCollectionIdsRequest.Builder.class);
+            com.google.firestore.v1.ListCollectionIdsRequest.class, com.google.firestore.v1.ListCollectionIdsRequest.Builder.class);
   }
 
   private int consistencySelectorCase_ = 0;
   private java.lang.Object consistencySelector_;
-
   public enum ConsistencySelectorCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     READ_TIME(4),
     CONSISTENCYSELECTOR_NOT_SET(0);
     private final int value;
-
     private ConsistencySelectorCase(int value) {
       this.value = value;
     }
@@ -95,31 +73,26 @@ public static ConsistencySelectorCase valueOf(int value) {
 
     public static ConsistencySelectorCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return READ_TIME;
-        case 0:
-          return CONSISTENCYSELECTOR_NOT_SET;
-        default:
-          return null;
+        case 4: return READ_TIME;
+        case 0: return CONSISTENCYSELECTOR_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConsistencySelectorCase getConsistencySelectorCase() {
-    return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+  public ConsistencySelectorCase
+  getConsistencySelectorCase() {
+    return ConsistencySelectorCase.forNumber(
+        consistencySelectorCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -128,7 +101,6 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -137,15 +109,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -154,15 +125,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -173,14 +145,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -189,19 +158,15 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -210,30 +175,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -243,15 +208,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int READ_TIME_FIELD_NUMBER = 4; /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -259,27 +221,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 4; } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 4) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -290,13 +247,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 4) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -308,7 +264,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -334,15 +291,15 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (pageSize_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(2, pageSize_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
     }
     if (consistencySelectorCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.protobuf.Timestamp) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -352,21 +309,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.ListCollectionIdsRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.ListCollectionIdsRequest other =
-        (com.google.firestore.v1.ListCollectionIdsRequest) obj;
+    com.google.firestore.v1.ListCollectionIdsRequest other = (com.google.firestore.v1.ListCollectionIdsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (getPageSize() != other.getPageSize()) return false;
-    if (!getPageToken().equals(other.getPageToken())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (getPageSize()
+        != other.getPageSize()) return false;
+    if (!getPageToken()
+        .equals(other.getPageToken())) return false;
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 4:
-        if (!getReadTime().equals(other.getReadTime())) return false;
+        if (!getReadTime()
+            .equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -401,104 +361,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.ListCollectionIdsRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.ListCollectionIdsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.ListCollectionIdsRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.ListCollectionIdsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
@@ -506,32 +459,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.ListCollectionIdsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListCollectionIdsRequest)
       com.google.firestore.v1.ListCollectionIdsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.ListCollectionIdsRequest.class,
-              com.google.firestore.v1.ListCollectionIdsRequest.Builder.class);
+              com.google.firestore.v1.ListCollectionIdsRequest.class, com.google.firestore.v1.ListCollectionIdsRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.ListCollectionIdsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -548,9 +502,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -569,11 +523,8 @@ public com.google.firestore.v1.ListCollectionIdsRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.ListCollectionIdsRequest buildPartial() {
-      com.google.firestore.v1.ListCollectionIdsRequest result =
-          new com.google.firestore.v1.ListCollectionIdsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.ListCollectionIdsRequest result = new com.google.firestore.v1.ListCollectionIdsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -595,7 +546,8 @@ private void buildPartial0(com.google.firestore.v1.ListCollectionIdsRequest resu
     private void buildPartialOneofs(com.google.firestore.v1.ListCollectionIdsRequest result) {
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 4 && readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 4 &&
+          readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -604,39 +556,38 @@ private void buildPartialOneofs(com.google.firestore.v1.ListCollectionIdsRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.ListCollectionIdsRequest) {
-        return mergeFrom((com.google.firestore.v1.ListCollectionIdsRequest) other);
+        return mergeFrom((com.google.firestore.v1.ListCollectionIdsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -644,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsRequest other) {
-      if (other == com.google.firestore.v1.ListCollectionIdsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.v1.ListCollectionIdsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -660,15 +610,13 @@ public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsRequest other)
         onChanged();
       }
       switch (other.getConsistencySelectorCase()) {
-        case READ_TIME:
-          {
-            mergeReadTime(other.getReadTime());
-            break;
-          }
-        case CONSISTENCYSELECTOR_NOT_SET:
-          {
-            break;
-          }
+        case READ_TIME: {
+          mergeReadTime(other.getReadTime());
+          break;
+        }
+        case CONSISTENCYSELECTOR_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -696,37 +644,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                consistencySelectorCase_ = 4;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              consistencySelectorCase_ = 4;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -736,12 +681,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-
-    public ConsistencySelectorCase getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+    public ConsistencySelectorCase
+        getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(
+          consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -755,8 +700,6 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -765,13 +708,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -780,8 +723,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -790,14 +731,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -805,8 +747,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -815,22 +755,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -839,7 +775,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -849,8 +784,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -859,14 +792,12 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -874,16 +805,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -891,33 +819,27 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -929,21 +851,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -952,22 +872,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -975,37 +894,30 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1015,22 +927,18 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1039,20 +947,14 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1060,15 +962,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 4; } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -1086,8 +985,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1109,8 +1006,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1118,7 +1013,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1129,8 +1025,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1140,13 +1034,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 4
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 4 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1162,8 +1053,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1188,8 +1077,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1201,8 +1088,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1222,8 +1107,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1232,19 +1115,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 4)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1254,9 +1132,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1266,12 +1144,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListCollectionIdsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.ListCollectionIdsRequest)
   private static final com.google.firestore.v1.ListCollectionIdsRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.ListCollectionIdsRequest();
   }
@@ -1280,27 +1158,27 @@ public static com.google.firestore.v1.ListCollectionIdsRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListCollectionIdsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListCollectionIdsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1315,4 +1193,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.ListCollectionIdsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
similarity index 73%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
index 7a09c0995..1262f1e47 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface ListCollectionIdsRequestOrBuilder
-    extends
+public interface ListCollectionIdsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListCollectionIdsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -34,13 +16,10 @@ public interface ListCollectionIdsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -49,80 +28,64 @@ public interface ListCollectionIdsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -132,6 +95,5 @@ public interface ListCollectionIdsRequestOrBuilder
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
similarity index 68%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
index 1a97a20de..677519c4f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The response from
  * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.v1.ListCollectionIdsResponse}
  */
-public final class ListCollectionIdsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListCollectionIdsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.ListCollectionIdsResponse)
     ListCollectionIdsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListCollectionIdsResponse.newBuilder() to construct.
   private ListCollectionIdsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListCollectionIdsResponse() {
     collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     nextPageToken_ = "";
@@ -45,71 +27,61 @@ private ListCollectionIdsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListCollectionIdsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.ListCollectionIdsResponse.class,
-            com.google.firestore.v1.ListCollectionIdsResponse.Builder.class);
+            com.google.firestore.v1.ListCollectionIdsResponse.class, com.google.firestore.v1.ListCollectionIdsResponse.Builder.class);
   }
 
   public static final int COLLECTION_IDS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList collectionIds_;
   /**
-   *
-   *
    * 
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_; } /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -117,34 +89,28 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString + getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A page token that may be used to continue the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -153,29 +119,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A page token that may be used to continue the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -184,7 +150,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < collectionIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, collectionIds_.getRaw(i)); } @@ -231,16 +197,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ListCollectionIdsResponse)) { return super.equals(obj); } - com.google.firestore.v1.ListCollectionIdsResponse other = - (com.google.firestore.v1.ListCollectionIdsResponse) obj; + com.google.firestore.v1.ListCollectionIdsResponse other = (com.google.firestore.v1.ListCollectionIdsResponse) obj; - if (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getCollectionIdsList() + .equals(other.getCollectionIdsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,103 +231,96 @@ public int hashCode() { } public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.ListCollectionIdsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.ListCollectionIdsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.ListCollectionIdsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response from
    * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
@@ -368,32 +328,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.ListCollectionIdsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListCollectionIdsResponse)
       com.google.firestore.v1.ListCollectionIdsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.ListCollectionIdsResponse.class,
-              com.google.firestore.v1.ListCollectionIdsResponse.Builder.class);
+              com.google.firestore.v1.ListCollectionIdsResponse.class, com.google.firestore.v1.ListCollectionIdsResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.ListCollectionIdsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -405,9 +366,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -426,18 +387,14 @@ public com.google.firestore.v1.ListCollectionIdsResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.ListCollectionIdsResponse buildPartial() {
-      com.google.firestore.v1.ListCollectionIdsResponse result =
-          new com.google.firestore.v1.ListCollectionIdsResponse(this);
+      com.google.firestore.v1.ListCollectionIdsResponse result = new com.google.firestore.v1.ListCollectionIdsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.firestore.v1.ListCollectionIdsResponse result) {
+    private void buildPartialRepeatedFields(com.google.firestore.v1.ListCollectionIdsResponse result) {
       if (((bitField0_ & 0x00000001) != 0)) {
         collectionIds_ = collectionIds_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
@@ -456,39 +413,38 @@ private void buildPartial0(com.google.firestore.v1.ListCollectionIdsResponse res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.ListCollectionIdsResponse) {
-        return mergeFrom((com.google.firestore.v1.ListCollectionIdsResponse) other);
+        return mergeFrom((com.google.firestore.v1.ListCollectionIdsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -496,8 +452,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsResponse other) {
-      if (other == com.google.firestore.v1.ListCollectionIdsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.v1.ListCollectionIdsResponse.getDefaultInstance()) return this;
       if (!other.collectionIds_.isEmpty()) {
         if (collectionIds_.isEmpty()) {
           collectionIds_ = other.collectionIds_;
@@ -539,26 +494,23 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureCollectionIdsIsMutable();
-                collectionIds_.add(s);
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureCollectionIdsIsMutable();
+              collectionIds_.add(s);
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -568,55 +520,44 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList collectionIds_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureCollectionIdsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList + getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -624,90 +565,76 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString + getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addCollectionIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds(java.lang.Iterable values) { + public Builder addAllCollectionIds( + java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, collectionIds_); onChanged(); return this; } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -717,21 +644,17 @@ public Builder clearCollectionIds() { return this; } /** - * - * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; - * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addCollectionIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); @@ -741,20 +664,18 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -763,21 +684,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -785,35 +705,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -823,30 +736,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -856,12 +765,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListCollectionIdsResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ListCollectionIdsResponse) private static final com.google.firestore.v1.ListCollectionIdsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.ListCollectionIdsResponse(); } @@ -870,27 +779,27 @@ public static com.google.firestore.v1.ListCollectionIdsResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCollectionIdsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCollectionIdsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,4 +814,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.firestore.v1.ListCollectionIdsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java similarity index 62% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java index 42dc74782..53f354b70 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java @@ -1,101 +1,70 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListCollectionIdsResponseOrBuilder - extends +public interface ListCollectionIdsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListCollectionIdsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @return A list containing the collectionIds. */ - java.util.List getCollectionIdsList(); + java.util.List + getCollectionIdsList(); /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** - * - * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString getCollectionIdsBytes(int index); + com.google.protobuf.ByteString + getCollectionIdsBytes(int index); /** - * - * *
    * A page token that may be used to continue the list.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A page token that may be used to continue the list.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java similarity index 76% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java index 9768e75bf..bc0b769b5 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for
  * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.v1.ListDocumentsRequest}
  */
-public final class ListDocumentsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListDocumentsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.ListDocumentsRequest)
     ListDocumentsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListDocumentsRequest.newBuilder() to construct.
   private ListDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListDocumentsRequest() {
     parent_ = "";
     collectionId_ = "";
@@ -47,42 +29,38 @@ private ListDocumentsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListDocumentsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.ListDocumentsRequest.class,
-            com.google.firestore.v1.ListDocumentsRequest.Builder.class);
+            com.google.firestore.v1.ListDocumentsRequest.class, com.google.firestore.v1.ListDocumentsRequest.Builder.class);
   }
 
   private int consistencySelectorCase_ = 0;
   private java.lang.Object consistencySelector_;
-
   public enum ConsistencySelectorCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TRANSACTION(8),
     READ_TIME(10),
     CONSISTENCYSELECTOR_NOT_SET(0);
     private final int value;
-
     private ConsistencySelectorCase(int value) {
       this.value = value;
     }
@@ -98,33 +76,27 @@ public static ConsistencySelectorCase valueOf(int value) {
 
     public static ConsistencySelectorCase forNumber(int value) {
       switch (value) {
-        case 8:
-          return TRANSACTION;
-        case 10:
-          return READ_TIME;
-        case 0:
-          return CONSISTENCYSELECTOR_NOT_SET;
-        default:
-          return null;
+        case 8: return TRANSACTION;
+        case 10: return READ_TIME;
+        case 0: return CONSISTENCYSELECTOR_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConsistencySelectorCase getConsistencySelectorCase() {
-    return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+  public ConsistencySelectorCase
+  getConsistencySelectorCase() {
+    return ConsistencySelectorCase.forNumber(
+        consistencySelectorCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -135,7 +107,6 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -144,15 +115,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -163,15 +133,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -180,12 +151,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int COLLECTION_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object collectionId_ = ""; /** - * - * *
    * Optional. The collection ID, relative to `parent`, to list.
    * For example: `chatrooms` or `messages`.
@@ -194,7 +162,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The collectionId. */ @java.lang.Override @@ -203,15 +170,14 @@ public java.lang.String getCollectionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; } } /** - * - * *
    * Optional. The collection ID, relative to `parent`, to list.
    * For example: `chatrooms` or `messages`.
@@ -220,15 +186,16 @@ public java.lang.String getCollectionId() {
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for collectionId. */ @java.lang.Override - public com.google.protobuf.ByteString getCollectionIdBytes() { + public com.google.protobuf.ByteString + getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collectionId_ = b; return b; } else { @@ -239,15 +206,12 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Optional. The maximum number of documents to return in a single response.
    * Firestore may return fewer than this value.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -256,12 +220,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. A page token, received from a previous `ListDocuments` response.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -270,7 +231,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -279,15 +239,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. A page token, received from a previous `ListDocuments` response.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -296,15 +255,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -313,12 +273,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. The optional ordering of the documents to return.
    * For example: `priority desc, __name__ desc`.
@@ -328,7 +285,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -337,15 +293,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. The optional ordering of the documents to return.
    * For example: `priority desc, __name__ desc`.
@@ -355,15 +310,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -374,17 +330,13 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int MASK_FIELD_NUMBER = 7; private com.google.firestore.v1.DocumentMask mask_; /** - * - * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the mask field is set. */ @java.lang.Override @@ -392,17 +344,13 @@ public boolean hasMask() { return mask_ != null; } /** - * - * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The mask. */ @java.lang.Override @@ -410,16 +358,13 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** - * - * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { @@ -428,14 +373,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { public static final int TRANSACTION_FIELD_NUMBER = 8; /** - * - * *
    * Perform the read as part of an already active transaction.
    * 
* * bytes transaction = 8; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -443,14 +385,11 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 8; } /** - * - * *
    * Perform the read as part of an already active transaction.
    * 
* * bytes transaction = 8; - * * @return The transaction. */ @java.lang.Override @@ -463,15 +402,12 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 10; /** - * - * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -479,27 +415,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 10; } /** - * - * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 10) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
@@ -510,7 +441,7 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 10) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
@@ -518,8 +449,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int SHOW_MISSING_FIELD_NUMBER = 12;
   private boolean showMissing_ = false;
   /**
-   *
-   *
    * 
    * If the list should show missing documents.
    * A document is missing if it does not exist, but there are sub-documents
@@ -531,7 +460,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * bool show_missing = 12; - * * @return The showMissing. */ @java.lang.Override @@ -540,7 +468,6 @@ public boolean getShowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -552,7 +479,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -572,7 +500,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(7, getMask()); } if (consistencySelectorCase_ == 8) { - output.writeBytes(8, (com.google.protobuf.ByteString) consistencySelector_); + output.writeBytes( + 8, (com.google.protobuf.ByteString) consistencySelector_); } if (consistencySelectorCase_ == 10) { output.writeMessage(10, (com.google.protobuf.Timestamp) consistencySelector_); @@ -596,7 +525,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collectionId_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -605,20 +535,21 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); } if (mask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getMask()); } if (consistencySelectorCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 8, (com.google.protobuf.ByteString) consistencySelector_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 8, (com.google.protobuf.ByteString) consistencySelector_); } if (consistencySelectorCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.protobuf.Timestamp) consistencySelector_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.protobuf.Timestamp) consistencySelector_); } if (showMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, showMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, showMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -628,31 +559,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ListDocumentsRequest)) { return super.equals(obj); } - com.google.firestore.v1.ListDocumentsRequest other = - (com.google.firestore.v1.ListDocumentsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getCollectionId().equals(other.getCollectionId())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.firestore.v1.ListDocumentsRequest other = (com.google.firestore.v1.ListDocumentsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getCollectionId() + .equals(other.getCollectionId())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (hasMask() != other.hasMask()) return false; if (hasMask()) { - if (!getMask().equals(other.getMask())) return false; + if (!getMask() + .equals(other.getMask())) return false; } - if (getShowMissing() != other.getShowMissing()) return false; + if (getShowMissing() + != other.getShowMissing()) return false; if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false; switch (consistencySelectorCase_) { case 8: - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; break; case 10: - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; break; case 0: default: @@ -683,7 +622,8 @@ public int hashCode() { hash = (53 * hash) + getMask().hashCode(); } hash = (37 * hash) + SHOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowMissing()); switch (consistencySelectorCase_) { case 8: hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; @@ -701,104 +641,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.ListDocumentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.ListDocumentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListDocumentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.ListDocumentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
@@ -806,32 +739,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.ListDocumentsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListDocumentsRequest)
       com.google.firestore.v1.ListDocumentsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.ListDocumentsRequest.class,
-              com.google.firestore.v1.ListDocumentsRequest.Builder.class);
+              com.google.firestore.v1.ListDocumentsRequest.class, com.google.firestore.v1.ListDocumentsRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.ListDocumentsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -856,9 +790,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -877,11 +811,8 @@ public com.google.firestore.v1.ListDocumentsRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.ListDocumentsRequest buildPartial() {
-      com.google.firestore.v1.ListDocumentsRequest result =
-          new com.google.firestore.v1.ListDocumentsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.ListDocumentsRequest result = new com.google.firestore.v1.ListDocumentsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -905,7 +836,9 @@ private void buildPartial0(com.google.firestore.v1.ListDocumentsRequest result)
         result.orderBy_ = orderBy_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
+        result.mask_ = maskBuilder_ == null
+            ? mask_
+            : maskBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.showMissing_ = showMissing_;
@@ -915,7 +848,8 @@ private void buildPartial0(com.google.firestore.v1.ListDocumentsRequest result)
     private void buildPartialOneofs(com.google.firestore.v1.ListDocumentsRequest result) {
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 10 && readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 10 &&
+          readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -924,39 +858,38 @@ private void buildPartialOneofs(com.google.firestore.v1.ListDocumentsRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.ListDocumentsRequest) {
-        return mergeFrom((com.google.firestore.v1.ListDocumentsRequest) other);
+        return mergeFrom((com.google.firestore.v1.ListDocumentsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -995,20 +928,17 @@ public Builder mergeFrom(com.google.firestore.v1.ListDocumentsRequest other) {
         setShowMissing(other.getShowMissing());
       }
       switch (other.getConsistencySelectorCase()) {
-        case TRANSACTION:
-          {
-            setTransaction(other.getTransaction());
-            break;
-          }
-        case READ_TIME:
-          {
-            mergeReadTime(other.getReadTime());
-            break;
-          }
-        case CONSISTENCYSELECTOR_NOT_SET:
-          {
-            break;
-          }
+        case TRANSACTION: {
+          setTransaction(other.getTransaction());
+          break;
+        }
+        case READ_TIME: {
+          mergeReadTime(other.getReadTime());
+          break;
+        }
+        case CONSISTENCYSELECTOR_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1036,67 +966,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                collectionId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 50:
-              {
-                orderBy_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 58
-            case 66:
-              {
-                consistencySelector_ = input.readBytes();
-                consistencySelectorCase_ = 8;
-                break;
-              } // case 66
-            case 82:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                consistencySelectorCase_ = 10;
-                break;
-              } // case 82
-            case 96:
-              {
-                showMissing_ = input.readBool();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 96
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              collectionId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 50: {
+              orderBy_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 58
+            case 66: {
+              consistencySelector_ = input.readBytes();
+              consistencySelectorCase_ = 8;
+              break;
+            } // case 66
+            case 82: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              consistencySelectorCase_ = 10;
+              break;
+            } // case 82
+            case 96: {
+              showMissing_ = input.readBool();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 96
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1106,12 +1030,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-
-    public ConsistencySelectorCase getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+    public ConsistencySelectorCase
+        getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(
+          consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -1125,8 +1049,6 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1137,13 +1059,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1152,8 +1074,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1164,14 +1084,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1179,8 +1100,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1191,22 +1110,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1217,7 +1132,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1227,8 +1141,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1239,14 +1151,12 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1256,8 +1166,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object collectionId_ = ""; /** - * - * *
      * Optional. The collection ID, relative to `parent`, to list.
      * For example: `chatrooms` or `messages`.
@@ -1266,13 +1174,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The collectionId. */ public java.lang.String getCollectionId() { java.lang.Object ref = collectionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; @@ -1281,8 +1189,6 @@ public java.lang.String getCollectionId() { } } /** - * - * *
      * Optional. The collection ID, relative to `parent`, to list.
      * For example: `chatrooms` or `messages`.
@@ -1291,14 +1197,15 @@ public java.lang.String getCollectionId() {
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for collectionId. */ - public com.google.protobuf.ByteString getCollectionIdBytes() { + public com.google.protobuf.ByteString + getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collectionId_ = b; return b; } else { @@ -1306,8 +1213,6 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { } } /** - * - * *
      * Optional. The collection ID, relative to `parent`, to list.
      * For example: `chatrooms` or `messages`.
@@ -1316,22 +1221,18 @@ public com.google.protobuf.ByteString getCollectionIdBytes() {
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } collectionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The collection ID, relative to `parent`, to list.
      * For example: `chatrooms` or `messages`.
@@ -1340,7 +1241,6 @@ public Builder setCollectionId(java.lang.String value) {
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCollectionId() { @@ -1350,8 +1250,6 @@ public Builder clearCollectionId() { return this; } /** - * - * *
      * Optional. The collection ID, relative to `parent`, to list.
      * For example: `chatrooms` or `messages`.
@@ -1360,14 +1258,12 @@ public Builder clearCollectionId() {
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collectionId_ = value; bitField0_ |= 0x00000002; @@ -1375,17 +1271,14 @@ public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. The maximum number of documents to return in a single response.
      * Firestore may return fewer than this value.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -1393,35 +1286,29 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. The maximum number of documents to return in a single response.
      * Firestore may return fewer than this value.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The maximum number of documents to return in a single response.
      * Firestore may return fewer than this value.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1433,8 +1320,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1443,13 +1328,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1458,8 +1343,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1468,14 +1351,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1483,8 +1367,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1493,22 +1375,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1517,7 +1395,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1527,8 +1404,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1537,14 +1412,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; @@ -1554,8 +1427,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. The optional ordering of the documents to return.
      * For example: `priority desc, __name__ desc`.
@@ -1565,13 +1436,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1580,8 +1451,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. The optional ordering of the documents to return.
      * For example: `priority desc, __name__ desc`.
@@ -1591,14 +1460,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1606,8 +1476,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. The optional ordering of the documents to return.
      * For example: `priority desc, __name__ desc`.
@@ -1617,22 +1485,18 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. The optional ordering of the documents to return.
      * For example: `priority desc, __name__ desc`.
@@ -1642,7 +1506,6 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1652,8 +1515,6 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. The optional ordering of the documents to return.
      * For example: `priority desc, __name__ desc`.
@@ -1663,14 +1524,12 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; @@ -1680,39 +1539,28 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - maskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; /** - * - * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the mask field is set. */ public boolean hasMask() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1723,16 +1571,13 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** - * - * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setMask(com.google.firestore.v1.DocumentMask value) { if (maskBuilder_ == null) { @@ -1748,18 +1593,16 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) { return this; } /** - * - * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) { + public Builder setMask( + com.google.firestore.v1.DocumentMask.Builder builderForValue) { if (maskBuilder_ == null) { mask_ = builderForValue.build(); } else { @@ -1770,22 +1613,19 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa return this; } /** - * - * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) { if (maskBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && mask_ != null - && mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + mask_ != null && + mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) { getMaskBuilder().mergeFrom(value); } else { mask_ = value; @@ -1798,16 +1638,13 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) { return this; } /** - * - * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearMask() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1820,16 +1657,13 @@ public Builder clearMask() { return this; } /** - * - * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() { bitField0_ |= 0x00000020; @@ -1837,76 +1671,62 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() { return getMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { if (maskBuilder_ != null) { return maskBuilder_.getMessageOrBuilder(); } else { - return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + return mask_ == null ? + com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } } /** - * - * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> getMaskFieldBuilder() { if (maskBuilder_ == null) { - maskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder>( - getMask(), getParentForChildren(), isClean()); + maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>( + getMask(), + getParentForChildren(), + isClean()); mask_ = null; } return maskBuilder_; } /** - * - * *
      * Perform the read as part of an already active transaction.
      * 
* * bytes transaction = 8; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 8; } /** - * - * *
      * Perform the read as part of an already active transaction.
      * 
* * bytes transaction = 8; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1916,35 +1736,27 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Perform the read as part of an already active transaction.
      * 
* * bytes transaction = 8; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } consistencySelectorCase_ = 8; consistencySelector_ = value; onChanged(); return this; } /** - * - * *
      * Perform the read as part of an already active transaction.
      * 
* * bytes transaction = 8; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1957,20 +1769,14 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 10; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1978,15 +1784,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 10; } /** - * - * *
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 10; - * * @return The readTime. */ @java.lang.Override @@ -2004,8 +1807,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -2027,8 +1828,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -2036,7 +1835,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 10;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -2047,8 +1847,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -2058,13 +1856,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 10
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 10 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -2080,8 +1875,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -2106,8 +1899,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -2119,8 +1910,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -2140,8 +1929,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -2150,19 +1937,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 10)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -2173,10 +1955,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       return readTimeBuilder_;
     }
 
-    private boolean showMissing_;
+    private boolean showMissing_ ;
     /**
-     *
-     *
      * 
      * If the list should show missing documents.
      * A document is missing if it does not exist, but there are sub-documents
@@ -2188,7 +1968,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * 
* * bool show_missing = 12; - * * @return The showMissing. */ @java.lang.Override @@ -2196,8 +1975,6 @@ public boolean getShowMissing() { return showMissing_; } /** - * - * *
      * If the list should show missing documents.
      * A document is missing if it does not exist, but there are sub-documents
@@ -2209,20 +1986,17 @@ public boolean getShowMissing() {
      * 
* * bool show_missing = 12; - * * @param value The showMissing to set. * @return This builder for chaining. */ public Builder setShowMissing(boolean value) { - + showMissing_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * If the list should show missing documents.
      * A document is missing if it does not exist, but there are sub-documents
@@ -2234,7 +2008,6 @@ public Builder setShowMissing(boolean value) {
      * 
* * bool show_missing = 12; - * * @return This builder for chaining. */ public Builder clearShowMissing() { @@ -2243,9 +2016,9 @@ public Builder clearShowMissing() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2255,12 +2028,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListDocumentsRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ListDocumentsRequest) private static final com.google.firestore.v1.ListDocumentsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.ListDocumentsRequest(); } @@ -2269,27 +2042,27 @@ public static com.google.firestore.v1.ListDocumentsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDocumentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDocumentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2304,4 +2077,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ListDocumentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java similarity index 84% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java index ff4a1bb7b..b62cf96f0 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListDocumentsRequestOrBuilder - extends +public interface ListDocumentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListDocumentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -36,13 +18,10 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -53,14 +32,12 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. The collection ID, relative to `parent`, to list.
    * For example: `chatrooms` or `messages`.
@@ -69,13 +46,10 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The collectionId. */ java.lang.String getCollectionId(); /** - * - * *
    * Optional. The collection ID, relative to `parent`, to list.
    * For example: `chatrooms` or `messages`.
@@ -84,28 +58,23 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for collectionId. */ - com.google.protobuf.ByteString getCollectionIdBytes(); + com.google.protobuf.ByteString + getCollectionIdBytes(); /** - * - * *
    * Optional. The maximum number of documents to return in a single response.
    * Firestore may return fewer than this value.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A page token, received from a previous `ListDocuments` response.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -114,13 +83,10 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A page token, received from a previous `ListDocuments` response.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -129,14 +95,12 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. The optional ordering of the documents to return.
    * For example: `priority desc, __name__ desc`.
@@ -146,13 +110,10 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. The optional ordering of the documents to return.
    * For example: `priority desc, __name__ desc`.
@@ -162,109 +123,84 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the mask field is set. */ boolean hasMask(); /** - * - * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** - * - * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder(); /** - * - * *
    * Perform the read as part of an already active transaction.
    * 
* * bytes transaction = 8; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Perform the read as part of an already active transaction.
    * 
* * bytes transaction = 8; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
@@ -275,8 +211,6 @@ public interface ListDocumentsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * If the list should show missing documents.
    * A document is missing if it does not exist, but there are sub-documents
@@ -288,11 +222,9 @@ public interface ListDocumentsRequestOrBuilder
    * 
* * bool show_missing = 12; - * * @return The showMissing. */ boolean getShowMissing(); - public com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase - getConsistencySelectorCase(); + public com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java similarity index 72% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java index ea4999b1b..6c837b2d5 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The response for
  * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.v1.ListDocumentsResponse}
  */
-public final class ListDocumentsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListDocumentsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.ListDocumentsResponse)
     ListDocumentsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListDocumentsResponse.newBuilder() to construct.
   private ListDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListDocumentsResponse() {
     documents_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,37 +27,33 @@ private ListDocumentsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListDocumentsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.ListDocumentsResponse.class,
-            com.google.firestore.v1.ListDocumentsResponse.Builder.class);
+            com.google.firestore.v1.ListDocumentsResponse.class, com.google.firestore.v1.ListDocumentsResponse.Builder.class);
   }
 
   public static final int DOCUMENTS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List documents_;
   /**
-   *
-   *
    * 
    * The Documents found.
    * 
@@ -87,8 +65,6 @@ public java.util.List getDocumentsList() { return documents_; } /** - * - * *
    * The Documents found.
    * 
@@ -96,13 +72,11 @@ public java.util.List getDocumentsList() { * repeated .google.firestore.v1.Document documents = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDocumentsOrBuilderList() { return documents_; } /** - * - * *
    * The Documents found.
    * 
@@ -114,8 +88,6 @@ public int getDocumentsCount() { return documents_.size(); } /** - * - * *
    * The Documents found.
    * 
@@ -127,8 +99,6 @@ public com.google.firestore.v1.Document getDocuments(int index) { return documents_.get(index); } /** - * - * *
    * The Documents found.
    * 
@@ -136,24 +106,21 @@ public com.google.firestore.v1.Document getDocuments(int index) { * repeated .google.firestore.v1.Document documents = 1; */ @java.lang.Override - public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index) { + public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( + int index) { return documents_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token to retrieve the next page of documents.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -162,30 +129,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of documents.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +161,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < documents_.size(); i++) { output.writeMessage(1, documents_.get(i)); } @@ -223,7 +190,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < documents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, documents_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, documents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +204,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ListDocumentsResponse)) { return super.equals(obj); } - com.google.firestore.v1.ListDocumentsResponse other = - (com.google.firestore.v1.ListDocumentsResponse) obj; + com.google.firestore.v1.ListDocumentsResponse other = (com.google.firestore.v1.ListDocumentsResponse) obj; - if (!getDocumentsList().equals(other.getDocumentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDocumentsList() + .equals(other.getDocumentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,104 +237,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.ListDocumentsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.ListDocumentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListDocumentsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.ListDocumentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
@@ -373,32 +335,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.ListDocumentsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListDocumentsResponse)
       com.google.firestore.v1.ListDocumentsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.ListDocumentsResponse.class,
-              com.google.firestore.v1.ListDocumentsResponse.Builder.class);
+              com.google.firestore.v1.ListDocumentsResponse.class, com.google.firestore.v1.ListDocumentsResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.ListDocumentsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -415,9 +378,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -436,12 +399,9 @@ public com.google.firestore.v1.ListDocumentsResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.ListDocumentsResponse buildPartial() {
-      com.google.firestore.v1.ListDocumentsResponse result =
-          new com.google.firestore.v1.ListDocumentsResponse(this);
+      com.google.firestore.v1.ListDocumentsResponse result = new com.google.firestore.v1.ListDocumentsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -469,39 +429,38 @@ private void buildPartial0(com.google.firestore.v1.ListDocumentsResponse result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.ListDocumentsResponse) {
-        return mergeFrom((com.google.firestore.v1.ListDocumentsResponse) other);
+        return mergeFrom((com.google.firestore.v1.ListDocumentsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -528,10 +487,9 @@ public Builder mergeFrom(com.google.firestore.v1.ListDocumentsResponse other) {
             documentsBuilder_ = null;
             documents_ = other.documents_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            documentsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getDocumentsFieldBuilder()
-                    : null;
+            documentsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getDocumentsFieldBuilder() : null;
           } else {
             documentsBuilder_.addAllMessages(other.documents_);
           }
@@ -568,31 +526,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.firestore.v1.Document m =
-                    input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry);
-                if (documentsBuilder_ == null) {
-                  ensureDocumentsIsMutable();
-                  documents_.add(m);
-                } else {
-                  documentsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.firestore.v1.Document m =
+                  input.readMessage(
+                      com.google.firestore.v1.Document.parser(),
+                      extensionRegistry);
+              if (documentsBuilder_ == null) {
+                ensureDocumentsIsMutable();
+                documents_.add(m);
+              } else {
+                documentsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -602,28 +559,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List documents_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureDocumentsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         documents_ = new java.util.ArrayList(documents_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Document,
-            com.google.firestore.v1.Document.Builder,
-            com.google.firestore.v1.DocumentOrBuilder>
-        documentsBuilder_;
+        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentsBuilder_;
 
     /**
-     *
-     *
      * 
      * The Documents found.
      * 
@@ -638,8 +588,6 @@ public java.util.List getDocumentsList() { } } /** - * - * *
      * The Documents found.
      * 
@@ -654,8 +602,6 @@ public int getDocumentsCount() { } } /** - * - * *
      * The Documents found.
      * 
@@ -670,15 +616,14 @@ public com.google.firestore.v1.Document getDocuments(int index) { } } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public Builder setDocuments(int index, com.google.firestore.v1.Document value) { + public Builder setDocuments( + int index, com.google.firestore.v1.Document value) { if (documentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,8 +637,6 @@ public Builder setDocuments(int index, com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * The Documents found.
      * 
@@ -712,8 +655,6 @@ public Builder setDocuments( return this; } /** - * - * *
      * The Documents found.
      * 
@@ -734,15 +675,14 @@ public Builder addDocuments(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public Builder addDocuments(int index, com.google.firestore.v1.Document value) { + public Builder addDocuments( + int index, com.google.firestore.v1.Document value) { if (documentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -756,15 +696,14 @@ public Builder addDocuments(int index, com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public Builder addDocuments(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder addDocuments( + com.google.firestore.v1.Document.Builder builderForValue) { if (documentsBuilder_ == null) { ensureDocumentsIsMutable(); documents_.add(builderForValue.build()); @@ -775,8 +714,6 @@ public Builder addDocuments(com.google.firestore.v1.Document.Builder builderForV return this; } /** - * - * *
      * The Documents found.
      * 
@@ -795,8 +732,6 @@ public Builder addDocuments( return this; } /** - * - * *
      * The Documents found.
      * 
@@ -807,7 +742,8 @@ public Builder addAllDocuments( java.lang.Iterable values) { if (documentsBuilder_ == null) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, documents_); onChanged(); } else { documentsBuilder_.addAllMessages(values); @@ -815,8 +751,6 @@ public Builder addAllDocuments( return this; } /** - * - * *
      * The Documents found.
      * 
@@ -834,8 +768,6 @@ public Builder clearDocuments() { return this; } /** - * - * *
      * The Documents found.
      * 
@@ -853,44 +785,39 @@ public Builder removeDocuments(int index) { return this; } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public com.google.firestore.v1.Document.Builder getDocumentsBuilder(int index) { + public com.google.firestore.v1.Document.Builder getDocumentsBuilder( + int index) { return getDocumentsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index) { + public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( + int index) { if (documentsBuilder_ == null) { - return documents_.get(index); - } else { + return documents_.get(index); } else { return documentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public java.util.List - getDocumentsOrBuilderList() { + public java.util.List + getDocumentsOrBuilderList() { if (documentsBuilder_ != null) { return documentsBuilder_.getMessageOrBuilderList(); } else { @@ -898,8 +825,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index } } /** - * - * *
      * The Documents found.
      * 
@@ -907,47 +832,42 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index * repeated .google.firestore.v1.Document documents = 1; */ public com.google.firestore.v1.Document.Builder addDocumentsBuilder() { - return getDocumentsFieldBuilder() - .addBuilder(com.google.firestore.v1.Document.getDefaultInstance()); + return getDocumentsFieldBuilder().addBuilder( + com.google.firestore.v1.Document.getDefaultInstance()); } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public com.google.firestore.v1.Document.Builder addDocumentsBuilder(int index) { - return getDocumentsFieldBuilder() - .addBuilder(index, com.google.firestore.v1.Document.getDefaultInstance()); + public com.google.firestore.v1.Document.Builder addDocumentsBuilder( + int index) { + return getDocumentsFieldBuilder().addBuilder( + index, com.google.firestore.v1.Document.getDefaultInstance()); } /** - * - * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public java.util.List getDocumentsBuilderList() { + public java.util.List + getDocumentsBuilderList() { return getDocumentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> getDocumentsFieldBuilder() { if (documentsBuilder_ == null) { - documentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder>( - documents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + documentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( + documents_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); documents_ = null; } return documentsBuilder_; @@ -955,21 +875,19 @@ public java.util.List getDocumentsBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of documents.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -978,22 +896,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of documents.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1001,37 +918,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of documents.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of documents.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1041,31 +951,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token to retrieve the next page of documents.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +981,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListDocumentsResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ListDocumentsResponse) private static final com.google.firestore.v1.ListDocumentsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.ListDocumentsResponse(); } @@ -1089,27 +995,27 @@ public static com.google.firestore.v1.ListDocumentsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDocumentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDocumentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1124,4 +1030,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ListDocumentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java index 289989569..71a4527eb 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListDocumentsResponseOrBuilder - extends +public interface ListDocumentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListDocumentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Documents found.
    * 
* * repeated .google.firestore.v1.Document documents = 1; */ - java.util.List getDocumentsList(); + java.util.List + getDocumentsList(); /** - * - * *
    * The Documents found.
    * 
@@ -44,8 +25,6 @@ public interface ListDocumentsResponseOrBuilder */ com.google.firestore.v1.Document getDocuments(int index); /** - * - * *
    * The Documents found.
    * 
@@ -54,50 +33,43 @@ public interface ListDocumentsResponseOrBuilder */ int getDocumentsCount(); /** - * - * *
    * The Documents found.
    * 
* * repeated .google.firestore.v1.Document documents = 1; */ - java.util.List getDocumentsOrBuilderList(); + java.util.List + getDocumentsOrBuilderList(); /** - * - * *
    * The Documents found.
    * 
* * repeated .google.firestore.v1.Document documents = 1; */ - com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index); + com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of documents.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of documents.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java similarity index 65% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java index e357da823..d0a44e479 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java @@ -1,95 +1,74 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
  * 
* * Protobuf type {@code google.firestore.v1.ListenRequest} */ -public final class ListenRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListenRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ListenRequest) ListenRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListenRequest.newBuilder() to construct. private ListenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListenRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListenRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenRequest.class, - com.google.firestore.v1.ListenRequest.Builder.class); + com.google.firestore.v1.ListenRequest.class, com.google.firestore.v1.ListenRequest.Builder.class); } private int targetChangeCase_ = 0; private java.lang.Object targetChange_; - public enum TargetChangeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ADD_TARGET(2), REMOVE_TARGET(3), TARGETCHANGE_NOT_SET(0); private final int value; - private TargetChangeCase(int value) { this.value = value; } @@ -105,40 +84,33 @@ public static TargetChangeCase valueOf(int value) { public static TargetChangeCase forNumber(int value) { switch (value) { - case 2: - return ADD_TARGET; - case 3: - return REMOVE_TARGET; - case 0: - return TARGETCHANGE_NOT_SET; - default: - return null; + case 2: return ADD_TARGET; + case 3: return REMOVE_TARGET; + case 0: return TARGETCHANGE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TargetChangeCase getTargetChangeCase() { - return TargetChangeCase.forNumber(targetChangeCase_); + public TargetChangeCase + getTargetChangeCase() { + return TargetChangeCase.forNumber( + targetChangeCase_); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ @java.lang.Override @@ -147,30 +119,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -180,14 +152,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int ADD_TARGET_FIELD_NUMBER = 2; /** - * - * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; - * * @return Whether the addTarget field is set. */ @java.lang.Override @@ -195,26 +164,21 @@ public boolean hasAddTarget() { return targetChangeCase_ == 2; } /** - * - * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; - * * @return The addTarget. */ @java.lang.Override public com.google.firestore.v1.Target getAddTarget() { if (targetChangeCase_ == 2) { - return (com.google.firestore.v1.Target) targetChange_; + return (com.google.firestore.v1.Target) targetChange_; } return com.google.firestore.v1.Target.getDefaultInstance(); } /** - * - * *
    * A target to add to this stream.
    * 
@@ -224,21 +188,18 @@ public com.google.firestore.v1.Target getAddTarget() { @java.lang.Override public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { if (targetChangeCase_ == 2) { - return (com.google.firestore.v1.Target) targetChange_; + return (com.google.firestore.v1.Target) targetChange_; } return com.google.firestore.v1.Target.getDefaultInstance(); } public static final int REMOVE_TARGET_FIELD_NUMBER = 3; /** - * - * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; - * * @return Whether the removeTarget field is set. */ @java.lang.Override @@ -246,14 +207,11 @@ public boolean hasRemoveTarget() { return targetChangeCase_ == 3; } /** - * - * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; - * * @return The removeTarget. */ @java.lang.Override @@ -265,34 +223,32 @@ public int getRemoveTarget() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels associated with this target change.
    * 
@@ -300,21 +256,20 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels associated with this target change.
    * 
@@ -326,8 +281,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels associated with this target change.
    * 
@@ -335,19 +288,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels associated with this target change.
    * 
@@ -355,11 +306,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -367,7 +318,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -379,7 +329,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -387,10 +338,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, (com.google.firestore.v1.Target) targetChange_); } if (targetChangeCase_ == 3) { - output.writeInt32(3, (int) ((java.lang.Integer) targetChange_)); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + output.writeInt32( + 3, (int)((java.lang.Integer) targetChange_)); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); getUnknownFields().writeTo(output); } @@ -404,24 +360,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (targetChangeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.firestore.v1.Target) targetChange_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.firestore.v1.Target) targetChange_); } if (targetChangeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 3, (int) ((java.lang.Integer) targetChange_)); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 3, (int)((java.lang.Integer) targetChange_)); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -431,22 +386,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ListenRequest)) { return super.equals(obj); } com.google.firestore.v1.ListenRequest other = (com.google.firestore.v1.ListenRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getTargetChangeCase().equals(other.getTargetChangeCase())) return false; switch (targetChangeCase_) { case 2: - if (!getAddTarget().equals(other.getAddTarget())) return false; + if (!getAddTarget() + .equals(other.getAddTarget())) return false; break; case 3: - if (getRemoveTarget() != other.getRemoveTarget()) return false; + if (getRemoveTarget() + != other.getRemoveTarget()) return false; break; case 0: default: @@ -485,155 +444,152 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ListenRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.ListenRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListenRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.ListenRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.firestore.v1.ListenRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListenRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.ListenRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListenRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListenRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ListenRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListenRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ListenRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.ListenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.ListenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
    * 
* * Protobuf type {@code google.firestore.v1.ListenRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListenRequest) com.google.firestore.v1.ListenRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenRequest.class, - com.google.firestore.v1.ListenRequest.Builder.class); + com.google.firestore.v1.ListenRequest.class, com.google.firestore.v1.ListenRequest.Builder.class); } // Construct using com.google.firestore.v1.ListenRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -649,9 +605,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_descriptor; } @java.lang.Override @@ -670,11 +626,8 @@ public com.google.firestore.v1.ListenRequest build() { @java.lang.Override public com.google.firestore.v1.ListenRequest buildPartial() { - com.google.firestore.v1.ListenRequest result = - new com.google.firestore.v1.ListenRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.ListenRequest result = new com.google.firestore.v1.ListenRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -694,7 +647,8 @@ private void buildPartial0(com.google.firestore.v1.ListenRequest result) { private void buildPartialOneofs(com.google.firestore.v1.ListenRequest result) { result.targetChangeCase_ = targetChangeCase_; result.targetChange_ = this.targetChange_; - if (targetChangeCase_ == 2 && addTargetBuilder_ != null) { + if (targetChangeCase_ == 2 && + addTargetBuilder_ != null) { result.targetChange_ = addTargetBuilder_.build(); } } @@ -703,39 +657,38 @@ private void buildPartialOneofs(com.google.firestore.v1.ListenRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.ListenRequest) { - return mergeFrom((com.google.firestore.v1.ListenRequest) other); + return mergeFrom((com.google.firestore.v1.ListenRequest)other); } else { super.mergeFrom(other); return this; @@ -749,23 +702,21 @@ public Builder mergeFrom(com.google.firestore.v1.ListenRequest other) { bitField0_ |= 0x00000001; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000008; switch (other.getTargetChangeCase()) { - case ADD_TARGET: - { - mergeAddTarget(other.getAddTarget()); - break; - } - case REMOVE_TARGET: - { - setRemoveTarget(other.getRemoveTarget()); - break; - } - case TARGETCHANGE_NOT_SET: - { - break; - } + case ADD_TARGET: { + mergeAddTarget(other.getAddTarget()); + break; + } + case REMOVE_TARGET: { + setRemoveTarget(other.getRemoveTarget()); + break; + } + case TARGETCHANGE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -793,43 +744,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAddTargetFieldBuilder().getBuilder(), extensionRegistry); - targetChangeCase_ = 2; - break; - } // case 18 - case 24: - { - targetChange_ = input.readInt32(); - targetChangeCase_ = 3; - break; - } // case 24 - case 34: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAddTargetFieldBuilder().getBuilder(), + extensionRegistry); + targetChangeCase_ = 2; + break; + } // case 18 + case 24: { + targetChange_ = input.readInt32(); + targetChangeCase_ = 3; + break; + } // case 24 + case 34: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -839,12 +785,12 @@ public Builder mergeFrom( } // finally return this; } - private int targetChangeCase_ = 0; private java.lang.Object targetChange_; - - public TargetChangeCase getTargetChangeCase() { - return TargetChangeCase.forNumber(targetChangeCase_); + public TargetChangeCase + getTargetChangeCase() { + return TargetChangeCase.forNumber( + targetChangeCase_); } public Builder clearTargetChange() { @@ -858,21 +804,19 @@ public Builder clearTargetChange() { private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -881,22 +825,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -904,37 +847,30 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -944,22 +880,18 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -968,19 +900,13 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target, - com.google.firestore.v1.Target.Builder, - com.google.firestore.v1.TargetOrBuilder> - addTargetBuilder_; + com.google.firestore.v1.Target, com.google.firestore.v1.Target.Builder, com.google.firestore.v1.TargetOrBuilder> addTargetBuilder_; /** - * - * *
      * A target to add to this stream.
      * 
* * .google.firestore.v1.Target add_target = 2; - * * @return Whether the addTarget field is set. */ @java.lang.Override @@ -988,14 +914,11 @@ public boolean hasAddTarget() { return targetChangeCase_ == 2; } /** - * - * *
      * A target to add to this stream.
      * 
* * .google.firestore.v1.Target add_target = 2; - * * @return The addTarget. */ @java.lang.Override @@ -1013,8 +936,6 @@ public com.google.firestore.v1.Target getAddTarget() { } } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1035,15 +956,14 @@ public Builder setAddTarget(com.google.firestore.v1.Target value) { return this; } /** - * - * *
      * A target to add to this stream.
      * 
* * .google.firestore.v1.Target add_target = 2; */ - public Builder setAddTarget(com.google.firestore.v1.Target.Builder builderForValue) { + public Builder setAddTarget( + com.google.firestore.v1.Target.Builder builderForValue) { if (addTargetBuilder_ == null) { targetChange_ = builderForValue.build(); onChanged(); @@ -1054,8 +974,6 @@ public Builder setAddTarget(com.google.firestore.v1.Target.Builder builderForVal return this; } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1064,13 +982,10 @@ public Builder setAddTarget(com.google.firestore.v1.Target.Builder builderForVal */ public Builder mergeAddTarget(com.google.firestore.v1.Target value) { if (addTargetBuilder_ == null) { - if (targetChangeCase_ == 2 - && targetChange_ != com.google.firestore.v1.Target.getDefaultInstance()) { - targetChange_ = - com.google.firestore.v1.Target.newBuilder( - (com.google.firestore.v1.Target) targetChange_) - .mergeFrom(value) - .buildPartial(); + if (targetChangeCase_ == 2 && + targetChange_ != com.google.firestore.v1.Target.getDefaultInstance()) { + targetChange_ = com.google.firestore.v1.Target.newBuilder((com.google.firestore.v1.Target) targetChange_) + .mergeFrom(value).buildPartial(); } else { targetChange_ = value; } @@ -1086,8 +1001,6 @@ public Builder mergeAddTarget(com.google.firestore.v1.Target value) { return this; } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1111,8 +1024,6 @@ public Builder clearAddTarget() { return this; } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1123,8 +1034,6 @@ public com.google.firestore.v1.Target.Builder getAddTargetBuilder() { return getAddTargetFieldBuilder().getBuilder(); } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1143,8 +1052,6 @@ public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { } } /** - * - * *
      * A target to add to this stream.
      * 
@@ -1152,20 +1059,17 @@ public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { * .google.firestore.v1.Target add_target = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target, - com.google.firestore.v1.Target.Builder, - com.google.firestore.v1.TargetOrBuilder> + com.google.firestore.v1.Target, com.google.firestore.v1.Target.Builder, com.google.firestore.v1.TargetOrBuilder> getAddTargetFieldBuilder() { if (addTargetBuilder_ == null) { if (!(targetChangeCase_ == 2)) { targetChange_ = com.google.firestore.v1.Target.getDefaultInstance(); } - addTargetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target, - com.google.firestore.v1.Target.Builder, - com.google.firestore.v1.TargetOrBuilder>( - (com.google.firestore.v1.Target) targetChange_, getParentForChildren(), isClean()); + addTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target, com.google.firestore.v1.Target.Builder, com.google.firestore.v1.TargetOrBuilder>( + (com.google.firestore.v1.Target) targetChange_, + getParentForChildren(), + isClean()); targetChange_ = null; } targetChangeCase_ = 2; @@ -1174,28 +1078,22 @@ public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { } /** - * - * *
      * The ID of a target to remove from this stream.
      * 
* * int32 remove_target = 3; - * * @return Whether the removeTarget field is set. */ public boolean hasRemoveTarget() { return targetChangeCase_ == 3; } /** - * - * *
      * The ID of a target to remove from this stream.
      * 
* * int32 remove_target = 3; - * * @return The removeTarget. */ public int getRemoveTarget() { @@ -1205,33 +1103,27 @@ public int getRemoveTarget() { return 0; } /** - * - * *
      * The ID of a target to remove from this stream.
      * 
* * int32 remove_target = 3; - * * @param value The removeTarget to set. * @return This builder for chaining. */ public Builder setRemoveTarget(int value) { - + targetChangeCase_ = 3; targetChange_ = value; onChanged(); return this; } /** - * - * *
      * The ID of a target to remove from this stream.
      * 
* * int32 remove_target = 3; - * * @return This builder for chaining. */ public Builder clearRemoveTarget() { @@ -1243,19 +1135,21 @@ public Builder clearRemoveTarget() { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1264,13 +1158,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels associated with this target change.
      * 
@@ -1278,21 +1169,20 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels associated with this target change.
      * 
@@ -1304,8 +1194,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels associated with this target change.
      * 
@@ -1313,19 +1201,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels associated with this target change.
      * 
@@ -1333,81 +1219,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels associated with this target change.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000008; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels associated with this target change.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * Labels associated with this target change.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1417,12 +1301,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListenRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ListenRequest) private static final com.google.firestore.v1.ListenRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.ListenRequest(); } @@ -1431,27 +1315,27 @@ public static com.google.firestore.v1.ListenRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1466,4 +1350,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ListenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java index 555d3eb34..01d650e67 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java @@ -1,82 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListenRequestOrBuilder - extends +public interface ListenRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListenRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; - * * @return Whether the addTarget field is set. */ boolean hasAddTarget(); /** - * - * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; - * * @return The addTarget. */ com.google.firestore.v1.Target getAddTarget(); /** - * - * *
    * A target to add to this stream.
    * 
@@ -86,33 +57,25 @@ public interface ListenRequestOrBuilder com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder(); /** - * - * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; - * * @return Whether the removeTarget field is set. */ boolean hasRemoveTarget(); /** - * - * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; - * * @return The removeTarget. */ int getRemoveTarget(); /** - * - * *
    * Labels associated with this target change.
    * 
@@ -121,31 +84,30 @@ public interface ListenRequestOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels associated with this target change.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels associated with this target change.
    * 
* * map<string, string> labels = 4; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels associated with this target change.
    * 
@@ -153,20 +115,19 @@ public interface ListenRequestOrBuilder * map<string, string> labels = 4; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels associated with this target change.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); public com.google.firestore.v1.ListenRequest.TargetChangeCase getTargetChangeCase(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java similarity index 74% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java index aa66f38a1..d7c285003 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java @@ -1,76 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
  * 
* * Protobuf type {@code google.firestore.v1.ListenResponse} */ -public final class ListenResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListenResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ListenResponse) ListenResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListenResponse.newBuilder() to construct. private ListenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ListenResponse() {} + private ListenResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListenResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenResponse.class, - com.google.firestore.v1.ListenResponse.Builder.class); + com.google.firestore.v1.ListenResponse.class, com.google.firestore.v1.ListenResponse.Builder.class); } private int responseTypeCase_ = 0; private java.lang.Object responseType_; - public enum ResponseTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TARGET_CHANGE(2), DOCUMENT_CHANGE(3), @@ -79,7 +59,6 @@ public enum ResponseTypeCase FILTER(5), RESPONSETYPE_NOT_SET(0); private final int value; - private ResponseTypeCase(int value) { this.value = value; } @@ -95,42 +74,33 @@ public static ResponseTypeCase valueOf(int value) { public static ResponseTypeCase forNumber(int value) { switch (value) { - case 2: - return TARGET_CHANGE; - case 3: - return DOCUMENT_CHANGE; - case 4: - return DOCUMENT_DELETE; - case 6: - return DOCUMENT_REMOVE; - case 5: - return FILTER; - case 0: - return RESPONSETYPE_NOT_SET; - default: - return null; + case 2: return TARGET_CHANGE; + case 3: return DOCUMENT_CHANGE; + case 4: return DOCUMENT_DELETE; + case 6: return DOCUMENT_REMOVE; + case 5: return FILTER; + case 0: return RESPONSETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResponseTypeCase getResponseTypeCase() { - return ResponseTypeCase.forNumber(responseTypeCase_); + public ResponseTypeCase + getResponseTypeCase() { + return ResponseTypeCase.forNumber( + responseTypeCase_); } public static final int TARGET_CHANGE_FIELD_NUMBER = 2; /** - * - * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return Whether the targetChange field is set. */ @java.lang.Override @@ -138,26 +108,21 @@ public boolean hasTargetChange() { return responseTypeCase_ == 2; } /** - * - * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return The targetChange. */ @java.lang.Override public com.google.firestore.v1.TargetChange getTargetChange() { if (responseTypeCase_ == 2) { - return (com.google.firestore.v1.TargetChange) responseType_; + return (com.google.firestore.v1.TargetChange) responseType_; } return com.google.firestore.v1.TargetChange.getDefaultInstance(); } /** - * - * *
    * Targets have changed.
    * 
@@ -167,21 +132,18 @@ public com.google.firestore.v1.TargetChange getTargetChange() { @java.lang.Override public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() { if (responseTypeCase_ == 2) { - return (com.google.firestore.v1.TargetChange) responseType_; + return (com.google.firestore.v1.TargetChange) responseType_; } return com.google.firestore.v1.TargetChange.getDefaultInstance(); } public static final int DOCUMENT_CHANGE_FIELD_NUMBER = 3; /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return Whether the documentChange field is set. */ @java.lang.Override @@ -189,26 +151,21 @@ public boolean hasDocumentChange() { return responseTypeCase_ == 3; } /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return The documentChange. */ @java.lang.Override public com.google.firestore.v1.DocumentChange getDocumentChange() { if (responseTypeCase_ == 3) { - return (com.google.firestore.v1.DocumentChange) responseType_; + return (com.google.firestore.v1.DocumentChange) responseType_; } return com.google.firestore.v1.DocumentChange.getDefaultInstance(); } /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
@@ -218,21 +175,18 @@ public com.google.firestore.v1.DocumentChange getDocumentChange() { @java.lang.Override public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder() { if (responseTypeCase_ == 3) { - return (com.google.firestore.v1.DocumentChange) responseType_; + return (com.google.firestore.v1.DocumentChange) responseType_; } return com.google.firestore.v1.DocumentChange.getDefaultInstance(); } public static final int DOCUMENT_DELETE_FIELD_NUMBER = 4; /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return Whether the documentDelete field is set. */ @java.lang.Override @@ -240,26 +194,21 @@ public boolean hasDocumentDelete() { return responseTypeCase_ == 4; } /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return The documentDelete. */ @java.lang.Override public com.google.firestore.v1.DocumentDelete getDocumentDelete() { if (responseTypeCase_ == 4) { - return (com.google.firestore.v1.DocumentDelete) responseType_; + return (com.google.firestore.v1.DocumentDelete) responseType_; } return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); } /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
@@ -269,22 +218,19 @@ public com.google.firestore.v1.DocumentDelete getDocumentDelete() { @java.lang.Override public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder() { if (responseTypeCase_ == 4) { - return (com.google.firestore.v1.DocumentDelete) responseType_; + return (com.google.firestore.v1.DocumentDelete) responseType_; } return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); } public static final int DOCUMENT_REMOVE_FIELD_NUMBER = 6; /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return Whether the documentRemove field is set. */ @java.lang.Override @@ -292,27 +238,22 @@ public boolean hasDocumentRemove() { return responseTypeCase_ == 6; } /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return The documentRemove. */ @java.lang.Override public com.google.firestore.v1.DocumentRemove getDocumentRemove() { if (responseTypeCase_ == 6) { - return (com.google.firestore.v1.DocumentRemove) responseType_; + return (com.google.firestore.v1.DocumentRemove) responseType_; } return com.google.firestore.v1.DocumentRemove.getDefaultInstance(); } /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
@@ -323,15 +264,13 @@ public com.google.firestore.v1.DocumentRemove getDocumentRemove() {
   @java.lang.Override
   public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder() {
     if (responseTypeCase_ == 6) {
-      return (com.google.firestore.v1.DocumentRemove) responseType_;
+       return (com.google.firestore.v1.DocumentRemove) responseType_;
     }
     return com.google.firestore.v1.DocumentRemove.getDefaultInstance();
   }
 
   public static final int FILTER_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -340,7 +279,6 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -348,8 +286,6 @@ public boolean hasFilter() { return responseTypeCase_ == 5; } /** - * - * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -358,19 +294,16 @@ public boolean hasFilter() {
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return The filter. */ @java.lang.Override public com.google.firestore.v1.ExistenceFilter getFilter() { if (responseTypeCase_ == 5) { - return (com.google.firestore.v1.ExistenceFilter) responseType_; + return (com.google.firestore.v1.ExistenceFilter) responseType_; } return com.google.firestore.v1.ExistenceFilter.getDefaultInstance(); } /** - * - * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -383,13 +316,12 @@ public com.google.firestore.v1.ExistenceFilter getFilter() {
   @java.lang.Override
   public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
     if (responseTypeCase_ == 5) {
-      return (com.google.firestore.v1.ExistenceFilter) responseType_;
+       return (com.google.firestore.v1.ExistenceFilter) responseType_;
     }
     return com.google.firestore.v1.ExistenceFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -401,7 +333,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (responseTypeCase_ == 2) {
       output.writeMessage(2, (com.google.firestore.v1.TargetChange) responseType_);
     }
@@ -427,29 +360,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (responseTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.firestore.v1.TargetChange) responseType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.firestore.v1.TargetChange) responseType_);
     }
     if (responseTypeCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.firestore.v1.DocumentChange) responseType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.firestore.v1.DocumentChange) responseType_);
     }
     if (responseTypeCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.firestore.v1.DocumentDelete) responseType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.firestore.v1.DocumentDelete) responseType_);
     }
     if (responseTypeCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.firestore.v1.ExistenceFilter) responseType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.firestore.v1.ExistenceFilter) responseType_);
     }
     if (responseTypeCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.firestore.v1.DocumentRemove) responseType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.firestore.v1.DocumentRemove) responseType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -459,7 +387,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.ListenResponse)) {
       return super.equals(obj);
@@ -469,19 +397,24 @@ public boolean equals(final java.lang.Object obj) {
     if (!getResponseTypeCase().equals(other.getResponseTypeCase())) return false;
     switch (responseTypeCase_) {
       case 2:
-        if (!getTargetChange().equals(other.getTargetChange())) return false;
+        if (!getTargetChange()
+            .equals(other.getTargetChange())) return false;
         break;
       case 3:
-        if (!getDocumentChange().equals(other.getDocumentChange())) return false;
+        if (!getDocumentChange()
+            .equals(other.getDocumentChange())) return false;
         break;
       case 4:
-        if (!getDocumentDelete().equals(other.getDocumentDelete())) return false;
+        if (!getDocumentDelete()
+            .equals(other.getDocumentDelete())) return false;
         break;
       case 6:
-        if (!getDocumentRemove().equals(other.getDocumentRemove())) return false;
+        if (!getDocumentRemove()
+            .equals(other.getDocumentRemove())) return false;
         break;
       case 5:
-        if (!getFilter().equals(other.getFilter())) return false;
+        if (!getFilter()
+            .equals(other.getFilter())) return false;
         break;
       case 0:
       default:
@@ -526,136 +459,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.ListenResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.ListenResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.ListenResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.ListenResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.ListenResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.ListenResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.ListenResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.ListenResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.ListenResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.ListenResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
    * 
* * Protobuf type {@code google.firestore.v1.ListenResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListenResponse) com.google.firestore.v1.ListenResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenResponse.class, - com.google.firestore.v1.ListenResponse.Builder.class); + com.google.firestore.v1.ListenResponse.class, com.google.firestore.v1.ListenResponse.Builder.class); } // Construct using com.google.firestore.v1.ListenResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -681,9 +608,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_ListenResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_descriptor; } @java.lang.Override @@ -702,11 +629,8 @@ public com.google.firestore.v1.ListenResponse build() { @java.lang.Override public com.google.firestore.v1.ListenResponse buildPartial() { - com.google.firestore.v1.ListenResponse result = - new com.google.firestore.v1.ListenResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.ListenResponse result = new com.google.firestore.v1.ListenResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -719,19 +643,24 @@ private void buildPartial0(com.google.firestore.v1.ListenResponse result) { private void buildPartialOneofs(com.google.firestore.v1.ListenResponse result) { result.responseTypeCase_ = responseTypeCase_; result.responseType_ = this.responseType_; - if (responseTypeCase_ == 2 && targetChangeBuilder_ != null) { + if (responseTypeCase_ == 2 && + targetChangeBuilder_ != null) { result.responseType_ = targetChangeBuilder_.build(); } - if (responseTypeCase_ == 3 && documentChangeBuilder_ != null) { + if (responseTypeCase_ == 3 && + documentChangeBuilder_ != null) { result.responseType_ = documentChangeBuilder_.build(); } - if (responseTypeCase_ == 4 && documentDeleteBuilder_ != null) { + if (responseTypeCase_ == 4 && + documentDeleteBuilder_ != null) { result.responseType_ = documentDeleteBuilder_.build(); } - if (responseTypeCase_ == 6 && documentRemoveBuilder_ != null) { + if (responseTypeCase_ == 6 && + documentRemoveBuilder_ != null) { result.responseType_ = documentRemoveBuilder_.build(); } - if (responseTypeCase_ == 5 && filterBuilder_ != null) { + if (responseTypeCase_ == 5 && + filterBuilder_ != null) { result.responseType_ = filterBuilder_.build(); } } @@ -740,39 +669,38 @@ private void buildPartialOneofs(com.google.firestore.v1.ListenResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.ListenResponse) { - return mergeFrom((com.google.firestore.v1.ListenResponse) other); + return mergeFrom((com.google.firestore.v1.ListenResponse)other); } else { super.mergeFrom(other); return this; @@ -782,35 +710,29 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.v1.ListenResponse other) { if (other == com.google.firestore.v1.ListenResponse.getDefaultInstance()) return this; switch (other.getResponseTypeCase()) { - case TARGET_CHANGE: - { - mergeTargetChange(other.getTargetChange()); - break; - } - case DOCUMENT_CHANGE: - { - mergeDocumentChange(other.getDocumentChange()); - break; - } - case DOCUMENT_DELETE: - { - mergeDocumentDelete(other.getDocumentDelete()); - break; - } - case DOCUMENT_REMOVE: - { - mergeDocumentRemove(other.getDocumentRemove()); - break; - } - case FILTER: - { - mergeFilter(other.getFilter()); - break; - } - case RESPONSETYPE_NOT_SET: - { - break; - } + case TARGET_CHANGE: { + mergeTargetChange(other.getTargetChange()); + break; + } + case DOCUMENT_CHANGE: { + mergeDocumentChange(other.getDocumentChange()); + break; + } + case DOCUMENT_DELETE: { + mergeDocumentDelete(other.getDocumentDelete()); + break; + } + case DOCUMENT_REMOVE: { + mergeDocumentRemove(other.getDocumentRemove()); + break; + } + case FILTER: { + mergeFilter(other.getFilter()); + break; + } + case RESPONSETYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -838,43 +760,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage(getTargetChangeFieldBuilder().getBuilder(), extensionRegistry); - responseTypeCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getDocumentChangeFieldBuilder().getBuilder(), extensionRegistry); - responseTypeCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getDocumentDeleteFieldBuilder().getBuilder(), extensionRegistry); - responseTypeCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); - responseTypeCase_ = 5; - break; - } // case 42 - case 50: - { - input.readMessage(getDocumentRemoveFieldBuilder().getBuilder(), extensionRegistry); - responseTypeCase_ = 6; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getTargetChangeFieldBuilder().getBuilder(), + extensionRegistry); + responseTypeCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getDocumentChangeFieldBuilder().getBuilder(), + extensionRegistry); + responseTypeCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getDocumentDeleteFieldBuilder().getBuilder(), + extensionRegistry); + responseTypeCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getFilterFieldBuilder().getBuilder(), + extensionRegistry); + responseTypeCase_ = 5; + break; + } // case 42 + case 50: { + input.readMessage( + getDocumentRemoveFieldBuilder().getBuilder(), + extensionRegistry); + responseTypeCase_ = 6; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -884,12 +810,12 @@ public Builder mergeFrom( } // finally return this; } - private int responseTypeCase_ = 0; private java.lang.Object responseType_; - - public ResponseTypeCase getResponseTypeCase() { - return ResponseTypeCase.forNumber(responseTypeCase_); + public ResponseTypeCase + getResponseTypeCase() { + return ResponseTypeCase.forNumber( + responseTypeCase_); } public Builder clearResponseType() { @@ -902,19 +828,13 @@ public Builder clearResponseType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TargetChange, - com.google.firestore.v1.TargetChange.Builder, - com.google.firestore.v1.TargetChangeOrBuilder> - targetChangeBuilder_; + com.google.firestore.v1.TargetChange, com.google.firestore.v1.TargetChange.Builder, com.google.firestore.v1.TargetChangeOrBuilder> targetChangeBuilder_; /** - * - * *
      * Targets have changed.
      * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return Whether the targetChange field is set. */ @java.lang.Override @@ -922,14 +842,11 @@ public boolean hasTargetChange() { return responseTypeCase_ == 2; } /** - * - * *
      * Targets have changed.
      * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return The targetChange. */ @java.lang.Override @@ -947,8 +864,6 @@ public com.google.firestore.v1.TargetChange getTargetChange() { } } /** - * - * *
      * Targets have changed.
      * 
@@ -969,15 +884,14 @@ public Builder setTargetChange(com.google.firestore.v1.TargetChange value) { return this; } /** - * - * *
      * Targets have changed.
      * 
* * .google.firestore.v1.TargetChange target_change = 2; */ - public Builder setTargetChange(com.google.firestore.v1.TargetChange.Builder builderForValue) { + public Builder setTargetChange( + com.google.firestore.v1.TargetChange.Builder builderForValue) { if (targetChangeBuilder_ == null) { responseType_ = builderForValue.build(); onChanged(); @@ -988,8 +902,6 @@ public Builder setTargetChange(com.google.firestore.v1.TargetChange.Builder buil return this; } /** - * - * *
      * Targets have changed.
      * 
@@ -998,13 +910,10 @@ public Builder setTargetChange(com.google.firestore.v1.TargetChange.Builder buil */ public Builder mergeTargetChange(com.google.firestore.v1.TargetChange value) { if (targetChangeBuilder_ == null) { - if (responseTypeCase_ == 2 - && responseType_ != com.google.firestore.v1.TargetChange.getDefaultInstance()) { - responseType_ = - com.google.firestore.v1.TargetChange.newBuilder( - (com.google.firestore.v1.TargetChange) responseType_) - .mergeFrom(value) - .buildPartial(); + if (responseTypeCase_ == 2 && + responseType_ != com.google.firestore.v1.TargetChange.getDefaultInstance()) { + responseType_ = com.google.firestore.v1.TargetChange.newBuilder((com.google.firestore.v1.TargetChange) responseType_) + .mergeFrom(value).buildPartial(); } else { responseType_ = value; } @@ -1020,8 +929,6 @@ public Builder mergeTargetChange(com.google.firestore.v1.TargetChange value) { return this; } /** - * - * *
      * Targets have changed.
      * 
@@ -1045,8 +952,6 @@ public Builder clearTargetChange() { return this; } /** - * - * *
      * Targets have changed.
      * 
@@ -1057,8 +962,6 @@ public com.google.firestore.v1.TargetChange.Builder getTargetChangeBuilder() { return getTargetChangeFieldBuilder().getBuilder(); } /** - * - * *
      * Targets have changed.
      * 
@@ -1077,8 +980,6 @@ public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() } } /** - * - * *
      * Targets have changed.
      * 
@@ -1086,19 +987,14 @@ public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() * .google.firestore.v1.TargetChange target_change = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TargetChange, - com.google.firestore.v1.TargetChange.Builder, - com.google.firestore.v1.TargetChangeOrBuilder> + com.google.firestore.v1.TargetChange, com.google.firestore.v1.TargetChange.Builder, com.google.firestore.v1.TargetChangeOrBuilder> getTargetChangeFieldBuilder() { if (targetChangeBuilder_ == null) { if (!(responseTypeCase_ == 2)) { responseType_ = com.google.firestore.v1.TargetChange.getDefaultInstance(); } - targetChangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TargetChange, - com.google.firestore.v1.TargetChange.Builder, - com.google.firestore.v1.TargetChangeOrBuilder>( + targetChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TargetChange, com.google.firestore.v1.TargetChange.Builder, com.google.firestore.v1.TargetChangeOrBuilder>( (com.google.firestore.v1.TargetChange) responseType_, getParentForChildren(), isClean()); @@ -1110,19 +1006,13 @@ public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentChange, - com.google.firestore.v1.DocumentChange.Builder, - com.google.firestore.v1.DocumentChangeOrBuilder> - documentChangeBuilder_; + com.google.firestore.v1.DocumentChange, com.google.firestore.v1.DocumentChange.Builder, com.google.firestore.v1.DocumentChangeOrBuilder> documentChangeBuilder_; /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return Whether the documentChange field is set. */ @java.lang.Override @@ -1130,14 +1020,11 @@ public boolean hasDocumentChange() { return responseTypeCase_ == 3; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return The documentChange. */ @java.lang.Override @@ -1155,8 +1042,6 @@ public com.google.firestore.v1.DocumentChange getDocumentChange() { } } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1177,8 +1062,6 @@ public Builder setDocumentChange(com.google.firestore.v1.DocumentChange value) { return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1197,8 +1080,6 @@ public Builder setDocumentChange( return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1207,13 +1088,10 @@ public Builder setDocumentChange( */ public Builder mergeDocumentChange(com.google.firestore.v1.DocumentChange value) { if (documentChangeBuilder_ == null) { - if (responseTypeCase_ == 3 - && responseType_ != com.google.firestore.v1.DocumentChange.getDefaultInstance()) { - responseType_ = - com.google.firestore.v1.DocumentChange.newBuilder( - (com.google.firestore.v1.DocumentChange) responseType_) - .mergeFrom(value) - .buildPartial(); + if (responseTypeCase_ == 3 && + responseType_ != com.google.firestore.v1.DocumentChange.getDefaultInstance()) { + responseType_ = com.google.firestore.v1.DocumentChange.newBuilder((com.google.firestore.v1.DocumentChange) responseType_) + .mergeFrom(value).buildPartial(); } else { responseType_ = value; } @@ -1229,8 +1107,6 @@ public Builder mergeDocumentChange(com.google.firestore.v1.DocumentChange value) return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1254,8 +1130,6 @@ public Builder clearDocumentChange() { return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1266,8 +1140,6 @@ public com.google.firestore.v1.DocumentChange.Builder getDocumentChangeBuilder() return getDocumentChangeFieldBuilder().getBuilder(); } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1286,8 +1158,6 @@ public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilde } } /** - * - * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1295,19 +1165,14 @@ public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilde * .google.firestore.v1.DocumentChange document_change = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentChange, - com.google.firestore.v1.DocumentChange.Builder, - com.google.firestore.v1.DocumentChangeOrBuilder> + com.google.firestore.v1.DocumentChange, com.google.firestore.v1.DocumentChange.Builder, com.google.firestore.v1.DocumentChangeOrBuilder> getDocumentChangeFieldBuilder() { if (documentChangeBuilder_ == null) { if (!(responseTypeCase_ == 3)) { responseType_ = com.google.firestore.v1.DocumentChange.getDefaultInstance(); } - documentChangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentChange, - com.google.firestore.v1.DocumentChange.Builder, - com.google.firestore.v1.DocumentChangeOrBuilder>( + documentChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentChange, com.google.firestore.v1.DocumentChange.Builder, com.google.firestore.v1.DocumentChangeOrBuilder>( (com.google.firestore.v1.DocumentChange) responseType_, getParentForChildren(), isClean()); @@ -1319,19 +1184,13 @@ public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentDelete, - com.google.firestore.v1.DocumentDelete.Builder, - com.google.firestore.v1.DocumentDeleteOrBuilder> - documentDeleteBuilder_; + com.google.firestore.v1.DocumentDelete, com.google.firestore.v1.DocumentDelete.Builder, com.google.firestore.v1.DocumentDeleteOrBuilder> documentDeleteBuilder_; /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return Whether the documentDelete field is set. */ @java.lang.Override @@ -1339,14 +1198,11 @@ public boolean hasDocumentDelete() { return responseTypeCase_ == 4; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return The documentDelete. */ @java.lang.Override @@ -1364,8 +1220,6 @@ public com.google.firestore.v1.DocumentDelete getDocumentDelete() { } } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1386,8 +1240,6 @@ public Builder setDocumentDelete(com.google.firestore.v1.DocumentDelete value) { return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1406,8 +1258,6 @@ public Builder setDocumentDelete( return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1416,13 +1266,10 @@ public Builder setDocumentDelete( */ public Builder mergeDocumentDelete(com.google.firestore.v1.DocumentDelete value) { if (documentDeleteBuilder_ == null) { - if (responseTypeCase_ == 4 - && responseType_ != com.google.firestore.v1.DocumentDelete.getDefaultInstance()) { - responseType_ = - com.google.firestore.v1.DocumentDelete.newBuilder( - (com.google.firestore.v1.DocumentDelete) responseType_) - .mergeFrom(value) - .buildPartial(); + if (responseTypeCase_ == 4 && + responseType_ != com.google.firestore.v1.DocumentDelete.getDefaultInstance()) { + responseType_ = com.google.firestore.v1.DocumentDelete.newBuilder((com.google.firestore.v1.DocumentDelete) responseType_) + .mergeFrom(value).buildPartial(); } else { responseType_ = value; } @@ -1438,8 +1285,6 @@ public Builder mergeDocumentDelete(com.google.firestore.v1.DocumentDelete value) return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1463,8 +1308,6 @@ public Builder clearDocumentDelete() { return this; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1475,8 +1318,6 @@ public com.google.firestore.v1.DocumentDelete.Builder getDocumentDeleteBuilder() return getDocumentDeleteFieldBuilder().getBuilder(); } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1495,8 +1336,6 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde } } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1504,19 +1343,14 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde * .google.firestore.v1.DocumentDelete document_delete = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentDelete, - com.google.firestore.v1.DocumentDelete.Builder, - com.google.firestore.v1.DocumentDeleteOrBuilder> + com.google.firestore.v1.DocumentDelete, com.google.firestore.v1.DocumentDelete.Builder, com.google.firestore.v1.DocumentDeleteOrBuilder> getDocumentDeleteFieldBuilder() { if (documentDeleteBuilder_ == null) { if (!(responseTypeCase_ == 4)) { responseType_ = com.google.firestore.v1.DocumentDelete.getDefaultInstance(); } - documentDeleteBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentDelete, - com.google.firestore.v1.DocumentDelete.Builder, - com.google.firestore.v1.DocumentDeleteOrBuilder>( + documentDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentDelete, com.google.firestore.v1.DocumentDelete.Builder, com.google.firestore.v1.DocumentDeleteOrBuilder>( (com.google.firestore.v1.DocumentDelete) responseType_, getParentForChildren(), isClean()); @@ -1528,20 +1362,14 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentRemove, - com.google.firestore.v1.DocumentRemove.Builder, - com.google.firestore.v1.DocumentRemoveOrBuilder> - documentRemoveBuilder_; + com.google.firestore.v1.DocumentRemove, com.google.firestore.v1.DocumentRemove.Builder, com.google.firestore.v1.DocumentRemoveOrBuilder> documentRemoveBuilder_; /** - * - * *
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
      * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return Whether the documentRemove field is set. */ @java.lang.Override @@ -1549,15 +1377,12 @@ public boolean hasDocumentRemove() { return responseTypeCase_ == 6; } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
      * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return The documentRemove. */ @java.lang.Override @@ -1575,8 +1400,6 @@ public com.google.firestore.v1.DocumentRemove getDocumentRemove() { } } /** - * - * *
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1598,8 +1421,6 @@ public Builder setDocumentRemove(com.google.firestore.v1.DocumentRemove value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1619,8 +1440,6 @@ public Builder setDocumentRemove(
       return this;
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1630,13 +1449,10 @@ public Builder setDocumentRemove(
      */
     public Builder mergeDocumentRemove(com.google.firestore.v1.DocumentRemove value) {
       if (documentRemoveBuilder_ == null) {
-        if (responseTypeCase_ == 6
-            && responseType_ != com.google.firestore.v1.DocumentRemove.getDefaultInstance()) {
-          responseType_ =
-              com.google.firestore.v1.DocumentRemove.newBuilder(
-                      (com.google.firestore.v1.DocumentRemove) responseType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (responseTypeCase_ == 6 &&
+            responseType_ != com.google.firestore.v1.DocumentRemove.getDefaultInstance()) {
+          responseType_ = com.google.firestore.v1.DocumentRemove.newBuilder((com.google.firestore.v1.DocumentRemove) responseType_)
+              .mergeFrom(value).buildPartial();
         } else {
           responseType_ = value;
         }
@@ -1652,8 +1468,6 @@ public Builder mergeDocumentRemove(com.google.firestore.v1.DocumentRemove value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1678,8 +1492,6 @@ public Builder clearDocumentRemove() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1691,8 +1503,6 @@ public com.google.firestore.v1.DocumentRemove.Builder getDocumentRemoveBuilder()
       return getDocumentRemoveFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1712,8 +1522,6 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1722,19 +1530,14 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
      * .google.firestore.v1.DocumentRemove document_remove = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentRemove,
-            com.google.firestore.v1.DocumentRemove.Builder,
-            com.google.firestore.v1.DocumentRemoveOrBuilder>
+        com.google.firestore.v1.DocumentRemove, com.google.firestore.v1.DocumentRemove.Builder, com.google.firestore.v1.DocumentRemoveOrBuilder> 
         getDocumentRemoveFieldBuilder() {
       if (documentRemoveBuilder_ == null) {
         if (!(responseTypeCase_ == 6)) {
           responseType_ = com.google.firestore.v1.DocumentRemove.getDefaultInstance();
         }
-        documentRemoveBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentRemove,
-                com.google.firestore.v1.DocumentRemove.Builder,
-                com.google.firestore.v1.DocumentRemoveOrBuilder>(
+        documentRemoveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentRemove, com.google.firestore.v1.DocumentRemove.Builder, com.google.firestore.v1.DocumentRemoveOrBuilder>(
                 (com.google.firestore.v1.DocumentRemove) responseType_,
                 getParentForChildren(),
                 isClean());
@@ -1746,13 +1549,8 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.ExistenceFilter,
-            com.google.firestore.v1.ExistenceFilter.Builder,
-            com.google.firestore.v1.ExistenceFilterOrBuilder>
-        filterBuilder_;
+        com.google.firestore.v1.ExistenceFilter, com.google.firestore.v1.ExistenceFilter.Builder, com.google.firestore.v1.ExistenceFilterOrBuilder> filterBuilder_;
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1761,7 +1559,6 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
      * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -1769,8 +1566,6 @@ public boolean hasFilter() { return responseTypeCase_ == 5; } /** - * - * *
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1779,7 +1574,6 @@ public boolean hasFilter() {
      * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return The filter. */ @java.lang.Override @@ -1797,8 +1591,6 @@ public com.google.firestore.v1.ExistenceFilter getFilter() { } } /** - * - * *
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1822,8 +1614,6 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1833,7 +1623,8 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter value) {
      *
      * .google.firestore.v1.ExistenceFilter filter = 5;
      */
-    public Builder setFilter(com.google.firestore.v1.ExistenceFilter.Builder builderForValue) {
+    public Builder setFilter(
+        com.google.firestore.v1.ExistenceFilter.Builder builderForValue) {
       if (filterBuilder_ == null) {
         responseType_ = builderForValue.build();
         onChanged();
@@ -1844,8 +1635,6 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1857,13 +1646,10 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter.Builder builder
      */
     public Builder mergeFilter(com.google.firestore.v1.ExistenceFilter value) {
       if (filterBuilder_ == null) {
-        if (responseTypeCase_ == 5
-            && responseType_ != com.google.firestore.v1.ExistenceFilter.getDefaultInstance()) {
-          responseType_ =
-              com.google.firestore.v1.ExistenceFilter.newBuilder(
-                      (com.google.firestore.v1.ExistenceFilter) responseType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (responseTypeCase_ == 5 &&
+            responseType_ != com.google.firestore.v1.ExistenceFilter.getDefaultInstance()) {
+          responseType_ = com.google.firestore.v1.ExistenceFilter.newBuilder((com.google.firestore.v1.ExistenceFilter) responseType_)
+              .mergeFrom(value).buildPartial();
         } else {
           responseType_ = value;
         }
@@ -1879,8 +1665,6 @@ public Builder mergeFilter(com.google.firestore.v1.ExistenceFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1907,8 +1691,6 @@ public Builder clearFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1922,8 +1704,6 @@ public com.google.firestore.v1.ExistenceFilter.Builder getFilterBuilder() {
       return getFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1945,8 +1725,6 @@ public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1957,19 +1735,14 @@ public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
      * .google.firestore.v1.ExistenceFilter filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.ExistenceFilter,
-            com.google.firestore.v1.ExistenceFilter.Builder,
-            com.google.firestore.v1.ExistenceFilterOrBuilder>
+        com.google.firestore.v1.ExistenceFilter, com.google.firestore.v1.ExistenceFilter.Builder, com.google.firestore.v1.ExistenceFilterOrBuilder> 
         getFilterFieldBuilder() {
       if (filterBuilder_ == null) {
         if (!(responseTypeCase_ == 5)) {
           responseType_ = com.google.firestore.v1.ExistenceFilter.getDefaultInstance();
         }
-        filterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.ExistenceFilter,
-                com.google.firestore.v1.ExistenceFilter.Builder,
-                com.google.firestore.v1.ExistenceFilterOrBuilder>(
+        filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.ExistenceFilter, com.google.firestore.v1.ExistenceFilter.Builder, com.google.firestore.v1.ExistenceFilterOrBuilder>(
                 (com.google.firestore.v1.ExistenceFilter) responseType_,
                 getParentForChildren(),
                 isClean());
@@ -1979,9 +1752,9 @@ public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
       onChanged();
       return filterBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1991,12 +1764,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListenResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.ListenResponse)
   private static final com.google.firestore.v1.ListenResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.ListenResponse();
   }
@@ -2005,27 +1778,27 @@ public static com.google.firestore.v1.ListenResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListenResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListenResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2040,4 +1813,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.ListenResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
similarity index 84%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
index c2c47e0d2..54c35ddc5 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface ListenResponseOrBuilder
-    extends
+public interface ListenResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListenResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return Whether the targetChange field is set. */ boolean hasTargetChange(); /** - * - * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; - * * @return The targetChange. */ com.google.firestore.v1.TargetChange getTargetChange(); /** - * - * *
    * Targets have changed.
    * 
@@ -59,32 +35,24 @@ public interface ListenResponseOrBuilder com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return Whether the documentChange field is set. */ boolean hasDocumentChange(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; - * * @return The documentChange. */ com.google.firestore.v1.DocumentChange getDocumentChange(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
@@ -94,32 +62,24 @@ public interface ListenResponseOrBuilder com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return Whether the documentDelete field is set. */ boolean hasDocumentDelete(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; - * * @return The documentDelete. */ com.google.firestore.v1.DocumentDelete getDocumentDelete(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
@@ -129,34 +89,26 @@ public interface ListenResponseOrBuilder com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return Whether the documentRemove field is set. */ boolean hasDocumentRemove(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; - * * @return The documentRemove. */ com.google.firestore.v1.DocumentRemove getDocumentRemove(); /** - * - * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
@@ -167,8 +119,6 @@ public interface ListenResponseOrBuilder
   com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder();
 
   /**
-   *
-   *
    * 
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -177,13 +127,10 @@ public interface ListenResponseOrBuilder
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -192,13 +139,10 @@ public interface ListenResponseOrBuilder
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; - * * @return The filter. */ com.google.firestore.v1.ExistenceFilter getFilter(); /** - * - * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
similarity index 64%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
index 54c5c461c..a703bd3e7 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
@@ -1,112 +1,91 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A map value.
  * 
* * Protobuf type {@code google.firestore.v1.MapValue} */ -public final class MapValue extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MapValue extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.MapValue) MapValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MapValue.newBuilder() to construct. private MapValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MapValue() {} + private MapValue() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MapValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_MapValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetFields(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_MapValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.MapValue.class, com.google.firestore.v1.MapValue.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; - private static final class FieldsDefaultEntryHolder { - static final com.google.protobuf.MapEntry - defaultEntry = + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.firestore.v1.Value> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.firestore.v1.Value.getDefaultInstance()); + .newDefaultInstance( + com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.firestore.v1.Value.getDefaultInstance()); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField fields_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.firestore.v1.Value> fields_; private com.google.protobuf.MapField - internalGetFields() { + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -118,21 +97,20 @@ public int getFieldsCount() {
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   @java.lang.Override
-  public boolean containsFields(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsFields(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetFields().getMap().containsKey(key);
   }
-  /** Use {@link #getFieldsMap()} instead. */
+  /**
+   * Use {@link #getFieldsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getFields() {
     return getFieldsMap();
   }
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -148,8 +126,6 @@ public java.util.Map getFieldsM
     return internalGetFields().getMap();
   }
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -161,20 +137,17 @@ public java.util.Map getFieldsM
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   @java.lang.Override
-  public /* nullable */ com.google.firestore.v1.Value getFieldsOrDefault(
+  public /* nullable */
+com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.firestore.v1.Value defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.firestore.v1.Value defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -186,10 +159,9 @@ public java.util.Map getFieldsM
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.firestore.v1.Value getFieldsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetFields().getMap();
     if (!map.containsKey(key)) {
@@ -199,7 +171,6 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -211,9 +182,14 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 1);
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetFields(),
+        FieldsDefaultEntryHolder.defaultEntry,
+        1);
     getUnknownFields().writeTo(output);
   }
 
@@ -223,15 +199,15 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    for (java.util.Map.Entry entry :
-        internalGetFields().getMap().entrySet()) {
-      com.google.protobuf.MapEntry fields__ =
-          FieldsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields__);
+    for (java.util.Map.Entry entry
+         : internalGetFields().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, fields__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -241,14 +217,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.MapValue)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.MapValue other = (com.google.firestore.v1.MapValue) obj;
 
-    if (!internalGetFields().equals(other.internalGetFields())) return false;
+    if (!internalGetFields().equals(
+        other.internalGetFields())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -269,155 +246,152 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.MapValue parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.MapValue parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.MapValue parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.MapValue parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.firestore.v1.MapValue parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.MapValue parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.MapValue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.MapValue parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.MapValue parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.MapValue parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.MapValue parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.MapValue parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.MapValue parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.MapValue parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.MapValue prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A map value.
    * 
* * Protobuf type {@code google.firestore.v1.MapValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.MapValue) com.google.firestore.v1.MapValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_MapValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetFields(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 1: return internalGetMutableFields(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_MapValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.MapValue.class, - com.google.firestore.v1.MapValue.Builder.class); + com.google.firestore.v1.MapValue.class, com.google.firestore.v1.MapValue.Builder.class); } // Construct using com.google.firestore.v1.MapValue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -427,9 +401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_MapValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_descriptor; } @java.lang.Override @@ -449,9 +423,7 @@ public com.google.firestore.v1.MapValue build() { @java.lang.Override public com.google.firestore.v1.MapValue buildPartial() { com.google.firestore.v1.MapValue result = new com.google.firestore.v1.MapValue(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -468,39 +440,38 @@ private void buildPartial0(com.google.firestore.v1.MapValue result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.MapValue) { - return mergeFrom((com.google.firestore.v1.MapValue) other); + return mergeFrom((com.google.firestore.v1.MapValue)other); } else { super.mergeFrom(other); return this; @@ -509,7 +480,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.v1.MapValue other) { if (other == com.google.firestore.v1.MapValue.getDefaultInstance()) return this; - internalGetMutableFields().mergeFrom(other.internalGetFields()); + internalGetMutableFields().mergeFrom( + other.internalGetFields()); bitField0_ |= 0x00000001; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -537,26 +509,21 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.MapEntry - fields__ = - input.readMessage( - FieldsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableFields() - .getMutableMap() - .put(fields__.getKey(), fields__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.MapEntry + fields__ = input.readMessage( + FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableFields().getMutableMap().put( + fields__.getKey(), fields__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -566,23 +533,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.MapField fields_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.firestore.v1.Value> fields_; private com.google.protobuf.MapField internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + FieldsDefaultEntryHolder.defaultEntry); } return fields_; } - private com.google.protobuf.MapField internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField( + FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -591,13 +558,10 @@ public Builder mergeFrom( onChanged(); return fields_; } - public int getFieldsCount() { return internalGetFields().getMap().size(); } /** - * - * *
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -609,21 +573,20 @@ public int getFieldsCount() {
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
     @java.lang.Override
-    public boolean containsFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetFields().getMap().containsKey(key);
     }
-    /** Use {@link #getFieldsMap()} instead. */
+    /**
+     * Use {@link #getFieldsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getFields() {
       return getFieldsMap();
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -639,8 +602,6 @@ public java.util.Map getFieldsM
       return internalGetFields().getMap();
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -652,20 +613,17 @@ public java.util.Map getFieldsM
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
     @java.lang.Override
-    public /* nullable */ com.google.firestore.v1.Value getFieldsOrDefault(
+    public /* nullable */
+com.google.firestore.v1.Value getFieldsOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.firestore.v1.Value defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+com.google.firestore.v1.Value defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -677,10 +635,9 @@ public java.util.Map getFieldsM
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
     @java.lang.Override
-    public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public com.google.firestore.v1.Value getFieldsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetFields().getMap();
       if (!map.containsKey(key)) {
@@ -688,15 +645,13 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
       }
       return map.get(key);
     }
-
     public Builder clearFields() {
       bitField0_ = (bitField0_ & ~0x00000001);
-      internalGetMutableFields().getMutableMap().clear();
+      internalGetMutableFields().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -707,22 +662,23 @@ public Builder clearFields() {
      *
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
-    public Builder removeFields(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableFields().getMutableMap().remove(key);
+    public Builder removeFields(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableFields().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableFields() {
+    public java.util.Map
+        getMutableFields() {
       bitField0_ |= 0x00000001;
       return internalGetMutableFields().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -733,20 +689,17 @@ public java.util.Map getMutable
      *
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
-    public Builder putFields(java.lang.String key, com.google.firestore.v1.Value value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableFields().getMutableMap().put(key, value);
+    public Builder putFields(
+        java.lang.String key,
+        com.google.firestore.v1.Value value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableFields().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000001;
       return this;
     }
     /**
-     *
-     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -759,13 +712,14 @@ public Builder putFields(java.lang.String key, com.google.firestore.v1.Value val
      */
     public Builder putAllFields(
         java.util.Map values) {
-      internalGetMutableFields().getMutableMap().putAll(values);
+      internalGetMutableFields().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000001;
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -775,12 +729,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.MapValue)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.MapValue)
   private static final com.google.firestore.v1.MapValue DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.MapValue();
   }
@@ -789,27 +743,27 @@ public static com.google.firestore.v1.MapValue getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MapValue parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MapValue parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -824,4 +778,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.MapValue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
similarity index 72%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
index 27cc2155e..7d25fb0e4 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
-public interface MapValueOrBuilder
-    extends
+public interface MapValueOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.MapValue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -38,8 +20,6 @@ public interface MapValueOrBuilder
    */
   int getFieldsCount();
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -50,13 +30,15 @@ public interface MapValueOrBuilder
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  boolean containsFields(java.lang.String key);
-  /** Use {@link #getFieldsMap()} instead. */
+  boolean containsFields(
+      java.lang.String key);
+  /**
+   * Use {@link #getFieldsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getFields();
+  java.util.Map
+  getFields();
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -67,10 +49,9 @@ public interface MapValueOrBuilder
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  java.util.Map getFieldsMap();
+  java.util.Map
+  getFieldsMap();
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -82,13 +63,11 @@ public interface MapValueOrBuilder
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   /* nullable */
-  com.google.firestore.v1.Value getFieldsOrDefault(
+com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.firestore.v1.Value defaultValue);
+com.google.firestore.v1.Value defaultValue);
   /**
-   *
-   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -99,5 +78,6 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key);
+  com.google.firestore.v1.Value getFieldsOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
similarity index 77%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
index fa0c620cb..8e7d4317e 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for
  * [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.v1.PartitionQueryRequest}
  */
-public final class PartitionQueryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartitionQueryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.PartitionQueryRequest)
     PartitionQueryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartitionQueryRequest.newBuilder() to construct.
   private PartitionQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PartitionQueryRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -45,41 +27,37 @@ private PartitionQueryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PartitionQueryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.PartitionQueryRequest.class,
-            com.google.firestore.v1.PartitionQueryRequest.Builder.class);
+            com.google.firestore.v1.PartitionQueryRequest.class, com.google.firestore.v1.PartitionQueryRequest.Builder.class);
   }
 
   private int queryTypeCase_ = 0;
   private java.lang.Object queryType_;
-
   public enum QueryTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STRUCTURED_QUERY(2),
     QUERYTYPE_NOT_SET(0);
     private final int value;
-
     private QueryTypeCase(int value) {
       this.value = value;
     }
@@ -95,35 +73,30 @@ public static QueryTypeCase valueOf(int value) {
 
     public static QueryTypeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return STRUCTURED_QUERY;
-        case 0:
-          return QUERYTYPE_NOT_SET;
-        default:
-          return null;
+        case 2: return STRUCTURED_QUERY;
+        case 0: return QUERYTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public QueryTypeCase getQueryTypeCase() {
-    return QueryTypeCase.forNumber(queryTypeCase_);
+  public QueryTypeCase
+  getQueryTypeCase() {
+    return QueryTypeCase.forNumber(
+        queryTypeCase_);
   }
 
   private int consistencySelectorCase_ = 0;
   private java.lang.Object consistencySelector_;
-
   public enum ConsistencySelectorCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     READ_TIME(6),
     CONSISTENCYSELECTOR_NOT_SET(0);
     private final int value;
-
     private ConsistencySelectorCase(int value) {
       this.value = value;
     }
@@ -139,31 +112,26 @@ public static ConsistencySelectorCase valueOf(int value) {
 
     public static ConsistencySelectorCase forNumber(int value) {
       switch (value) {
-        case 6:
-          return READ_TIME;
-        case 0:
-          return CONSISTENCYSELECTOR_NOT_SET;
-        default:
-          return null;
+        case 6: return READ_TIME;
+        case 0: return CONSISTENCYSELECTOR_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConsistencySelectorCase getConsistencySelectorCase() {
-    return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+  public ConsistencySelectorCase
+  getConsistencySelectorCase() {
+    return ConsistencySelectorCase.forNumber(
+        consistencySelectorCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -172,7 +140,6 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -181,15 +148,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -198,15 +164,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -216,8 +183,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -226,7 +191,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -234,8 +198,6 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -244,19 +206,16 @@ public boolean hasStructuredQuery() {
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -269,7 +228,7 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() {
   @java.lang.Override
   public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() {
     if (queryTypeCase_ == 2) {
-      return (com.google.firestore.v1.StructuredQuery) queryType_;
+       return (com.google.firestore.v1.StructuredQuery) queryType_;
     }
     return com.google.firestore.v1.StructuredQuery.getDefaultInstance();
   }
@@ -277,8 +236,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
   public static final int PARTITION_COUNT_FIELD_NUMBER = 3;
   private long partitionCount_ = 0L;
   /**
-   *
-   *
    * 
    * The desired maximum number of partition points.
    * The partitions may be returned across multiple pages of results.
@@ -290,7 +247,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
    * 
* * int64 partition_count = 3; - * * @return The partitionCount. */ @java.lang.Override @@ -299,12 +255,9 @@ public long getPartitionCount() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -319,7 +272,6 @@ public long getPartitionCount() {
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -328,15 +280,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -351,15 +302,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -370,8 +322,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_ = 0; /** - * - * *
    * The maximum number of partitions to return in this call, subject to
    * `partition_count`.
@@ -382,7 +332,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -392,15 +341,12 @@ public int getPageSize() { public static final int READ_TIME_FIELD_NUMBER = 6; /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -408,27 +354,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 6) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -439,13 +380,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 6) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -457,7 +397,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -489,23 +430,23 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queryTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.firestore.v1.StructuredQuery) queryType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery) queryType_);
     }
     if (partitionCount_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, partitionCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(3, partitionCount_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_);
     }
     if (pageSize_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(5, pageSize_);
     }
     if (consistencySelectorCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.protobuf.Timestamp) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -515,22 +456,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.PartitionQueryRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.PartitionQueryRequest other =
-        (com.google.firestore.v1.PartitionQueryRequest) obj;
+    com.google.firestore.v1.PartitionQueryRequest other = (com.google.firestore.v1.PartitionQueryRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (getPartitionCount() != other.getPartitionCount()) return false;
-    if (!getPageToken().equals(other.getPageToken())) return false;
-    if (getPageSize() != other.getPageSize()) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (getPartitionCount()
+        != other.getPartitionCount()) return false;
+    if (!getPageToken()
+        .equals(other.getPageToken())) return false;
+    if (getPageSize()
+        != other.getPageSize()) return false;
     if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false;
     switch (queryTypeCase_) {
       case 2:
-        if (!getStructuredQuery().equals(other.getStructuredQuery())) return false;
+        if (!getStructuredQuery()
+            .equals(other.getStructuredQuery())) return false;
         break;
       case 0:
       default:
@@ -538,7 +483,8 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 6:
-        if (!getReadTime().equals(other.getReadTime())) return false;
+        if (!getReadTime()
+            .equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -557,7 +503,8 @@ public int hashCode() {
     hash = (37 * hash) + PARENT_FIELD_NUMBER;
     hash = (53 * hash) + getParent().hashCode();
     hash = (37 * hash) + PARTITION_COUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPartitionCount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getPartitionCount());
     hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
     hash = (53 * hash) + getPageToken().hashCode();
     hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
@@ -583,104 +530,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.PartitionQueryRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.PartitionQueryRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.PartitionQueryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.PartitionQueryRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.PartitionQueryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
@@ -688,32 +628,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.PartitionQueryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.PartitionQueryRequest)
       com.google.firestore.v1.PartitionQueryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.PartitionQueryRequest.class,
-              com.google.firestore.v1.PartitionQueryRequest.Builder.class);
+              com.google.firestore.v1.PartitionQueryRequest.class, com.google.firestore.v1.PartitionQueryRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.PartitionQueryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -736,9 +677,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -757,11 +698,8 @@ public com.google.firestore.v1.PartitionQueryRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.PartitionQueryRequest buildPartial() {
-      com.google.firestore.v1.PartitionQueryRequest result =
-          new com.google.firestore.v1.PartitionQueryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.PartitionQueryRequest result = new com.google.firestore.v1.PartitionQueryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -786,12 +724,14 @@ private void buildPartial0(com.google.firestore.v1.PartitionQueryRequest result)
     private void buildPartialOneofs(com.google.firestore.v1.PartitionQueryRequest result) {
       result.queryTypeCase_ = queryTypeCase_;
       result.queryType_ = this.queryType_;
-      if (queryTypeCase_ == 2 && structuredQueryBuilder_ != null) {
+      if (queryTypeCase_ == 2 &&
+          structuredQueryBuilder_ != null) {
         result.queryType_ = structuredQueryBuilder_.build();
       }
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 6 && readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 6 &&
+          readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -800,39 +740,38 @@ private void buildPartialOneofs(com.google.firestore.v1.PartitionQueryRequest re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.PartitionQueryRequest) {
-        return mergeFrom((com.google.firestore.v1.PartitionQueryRequest) other);
+        return mergeFrom((com.google.firestore.v1.PartitionQueryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -858,26 +797,22 @@ public Builder mergeFrom(com.google.firestore.v1.PartitionQueryRequest other) {
         setPageSize(other.getPageSize());
       }
       switch (other.getQueryTypeCase()) {
-        case STRUCTURED_QUERY:
-          {
-            mergeStructuredQuery(other.getStructuredQuery());
-            break;
-          }
-        case QUERYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case STRUCTURED_QUERY: {
+          mergeStructuredQuery(other.getStructuredQuery());
+          break;
+        }
+        case QUERYTYPE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getConsistencySelectorCase()) {
-        case READ_TIME:
-          {
-            mergeReadTime(other.getReadTime());
-            break;
-          }
-        case CONSISTENCYSELECTOR_NOT_SET:
-          {
-            break;
-          }
+        case READ_TIME: {
+          mergeReadTime(other.getReadTime());
+          break;
+        }
+        case CONSISTENCYSELECTOR_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -905,49 +840,46 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry);
-                queryTypeCase_ = 2;
-                break;
-              } // case 18
-            case 24:
-              {
-                partitionCount_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 40:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-            case 50:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                consistencySelectorCase_ = 6;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStructuredQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              queryTypeCase_ = 2;
+              break;
+            } // case 18
+            case 24: {
+              partitionCount_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 40: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              consistencySelectorCase_ = 6;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -957,12 +889,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int queryTypeCase_ = 0;
     private java.lang.Object queryType_;
-
-    public QueryTypeCase getQueryTypeCase() {
-      return QueryTypeCase.forNumber(queryTypeCase_);
+    public QueryTypeCase
+        getQueryTypeCase() {
+      return QueryTypeCase.forNumber(
+          queryTypeCase_);
     }
 
     public Builder clearQueryType() {
@@ -974,9 +906,10 @@ public Builder clearQueryType() {
 
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-
-    public ConsistencySelectorCase getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+    public ConsistencySelectorCase
+        getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(
+          consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -990,8 +923,6 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1000,13 +931,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1015,8 +946,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1025,14 +954,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1040,8 +970,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1050,22 +978,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1074,7 +998,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1084,8 +1007,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1094,14 +1015,12 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1110,13 +1029,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder> - structuredQueryBuilder_; + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_; /** - * - * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1125,7 +1039,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1133,8 +1046,6 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1143,7 +1054,6 @@ public boolean hasStructuredQuery() {
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override @@ -1161,8 +1071,6 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** - * - * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1186,8 +1094,6 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1209,8 +1115,6 @@ public Builder setStructuredQuery(
       return this;
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1222,13 +1126,10 @@ public Builder setStructuredQuery(
      */
     public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) {
       if (structuredQueryBuilder_ == null) {
-        if (queryTypeCase_ == 2
-            && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) {
-          queryType_ =
-              com.google.firestore.v1.StructuredQuery.newBuilder(
-                      (com.google.firestore.v1.StructuredQuery) queryType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (queryTypeCase_ == 2 &&
+            queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) {
+          queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_)
+              .mergeFrom(value).buildPartial();
         } else {
           queryType_ = value;
         }
@@ -1244,8 +1145,6 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu
       return this;
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1272,8 +1171,6 @@ public Builder clearStructuredQuery() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1287,8 +1184,6 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder
       return getStructuredQueryFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1310,8 +1205,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1322,19 +1215,14 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
      * .google.firestore.v1.StructuredQuery structured_query = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.StructuredQuery,
-            com.google.firestore.v1.StructuredQuery.Builder,
-            com.google.firestore.v1.StructuredQueryOrBuilder>
+        com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> 
         getStructuredQueryFieldBuilder() {
       if (structuredQueryBuilder_ == null) {
         if (!(queryTypeCase_ == 2)) {
           queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance();
         }
-        structuredQueryBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.StructuredQuery,
-                com.google.firestore.v1.StructuredQuery.Builder,
-                com.google.firestore.v1.StructuredQueryOrBuilder>(
+        structuredQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder>(
                 (com.google.firestore.v1.StructuredQuery) queryType_,
                 getParentForChildren(),
                 isClean());
@@ -1345,10 +1233,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
       return structuredQueryBuilder_;
     }
 
-    private long partitionCount_;
+    private long partitionCount_ ;
     /**
-     *
-     *
      * 
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1360,7 +1246,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
      * 
* * int64 partition_count = 3; - * * @return The partitionCount. */ @java.lang.Override @@ -1368,8 +1253,6 @@ public long getPartitionCount() { return partitionCount_; } /** - * - * *
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1381,20 +1264,17 @@ public long getPartitionCount() {
      * 
* * int64 partition_count = 3; - * * @param value The partitionCount to set. * @return This builder for chaining. */ public Builder setPartitionCount(long value) { - + partitionCount_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1406,7 +1286,6 @@ public Builder setPartitionCount(long value) {
      * 
* * int64 partition_count = 3; - * * @return This builder for chaining. */ public Builder clearPartitionCount() { @@ -1418,8 +1297,6 @@ public Builder clearPartitionCount() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1434,13 +1311,13 @@ public Builder clearPartitionCount() {
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1449,8 +1326,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1465,14 +1340,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1480,8 +1356,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1496,22 +1370,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1526,7 +1396,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1536,8 +1405,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1552,14 +1419,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; @@ -1567,10 +1432,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1581,7 +1444,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -1589,8 +1451,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1601,20 +1461,17 @@ public int getPageSize() {
      * 
* * int32 page_size = 5; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1625,7 +1482,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 5; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1636,20 +1492,14 @@ public Builder clearPageSize() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1657,15 +1507,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ @java.lang.Override @@ -1683,8 +1530,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1706,8 +1551,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1715,7 +1558,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 6;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1726,8 +1570,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1737,13 +1579,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 6
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 6 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1759,8 +1598,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1785,8 +1622,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1798,8 +1633,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1819,8 +1652,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1829,19 +1660,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 6)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1851,9 +1677,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1863,12 +1689,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.PartitionQueryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.PartitionQueryRequest)
   private static final com.google.firestore.v1.PartitionQueryRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.PartitionQueryRequest();
   }
@@ -1877,27 +1703,27 @@ public static com.google.firestore.v1.PartitionQueryRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PartitionQueryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public PartitionQueryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1912,4 +1738,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.PartitionQueryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
similarity index 85%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
index bbd49e9ae..b9a154e11 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface PartitionQueryRequestOrBuilder
-    extends
+public interface PartitionQueryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.PartitionQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -34,13 +16,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -49,14 +28,12 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -65,13 +42,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -80,13 +54,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** - * - * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -99,8 +70,6 @@ public interface PartitionQueryRequestOrBuilder
   com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder();
 
   /**
-   *
-   *
    * 
    * The desired maximum number of partition points.
    * The partitions may be returned across multiple pages of results.
@@ -112,14 +81,11 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * int64 partition_count = 3; - * * @return The partitionCount. */ long getPartitionCount(); /** - * - * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -134,13 +100,10 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -155,14 +118,12 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of partitions to return in this call, subject to
    * `partition_count`.
@@ -173,40 +134,31 @@ public interface PartitionQueryRequestOrBuilder
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -218,6 +170,5 @@ public interface PartitionQueryRequestOrBuilder
 
   public com.google.firestore.v1.PartitionQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.PartitionQueryRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.PartitionQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
similarity index 81%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
index 511aaa941..49ad358d9 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The response for
  * [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.firestore.v1.PartitionQueryResponse}
  */
-public final class PartitionQueryResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartitionQueryResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.PartitionQueryResponse)
     PartitionQueryResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartitionQueryResponse.newBuilder() to construct.
   private PartitionQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PartitionQueryResponse() {
     partitions_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,37 +27,33 @@ private PartitionQueryResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PartitionQueryResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.PartitionQueryResponse.class,
-            com.google.firestore.v1.PartitionQueryResponse.Builder.class);
+            com.google.firestore.v1.PartitionQueryResponse.class, com.google.firestore.v1.PartitionQueryResponse.Builder.class);
   }
 
   public static final int PARTITIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List partitions_;
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -100,8 +78,6 @@ public java.util.List getPartitionsList() {
     return partitions_;
   }
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -122,13 +98,11 @@ public java.util.List getPartitionsList() {
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPartitionsOrBuilderList() {
     return partitions_;
   }
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -153,8 +127,6 @@ public int getPartitionsCount() {
     return partitions_.size();
   }
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -179,8 +151,6 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
     return partitions_.get(index);
   }
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -201,17 +171,15 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index) {
+  public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
+      int index) {
     return partitions_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -219,7 +187,6 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -228,15 +195,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -244,15 +210,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -261,7 +228,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,7 +239,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < partitions_.size(); i++) { output.writeMessage(1, partitions_.get(i)); } @@ -290,7 +257,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < partitions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, partitions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, partitions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -303,16 +271,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.PartitionQueryResponse)) { return super.equals(obj); } - com.google.firestore.v1.PartitionQueryResponse other = - (com.google.firestore.v1.PartitionQueryResponse) obj; + com.google.firestore.v1.PartitionQueryResponse other = (com.google.firestore.v1.PartitionQueryResponse) obj; - if (!getPartitionsList().equals(other.getPartitionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPartitionsList() + .equals(other.getPartitionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -335,104 +304,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.PartitionQueryResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.PartitionQueryResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.PartitionQueryResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.PartitionQueryResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.PartitionQueryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
@@ -440,32 +402,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.PartitionQueryResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.PartitionQueryResponse)
       com.google.firestore.v1.PartitionQueryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.PartitionQueryResponse.class,
-              com.google.firestore.v1.PartitionQueryResponse.Builder.class);
+              com.google.firestore.v1.PartitionQueryResponse.class, com.google.firestore.v1.PartitionQueryResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.PartitionQueryResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -482,9 +445,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -503,12 +466,9 @@ public com.google.firestore.v1.PartitionQueryResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.PartitionQueryResponse buildPartial() {
-      com.google.firestore.v1.PartitionQueryResponse result =
-          new com.google.firestore.v1.PartitionQueryResponse(this);
+      com.google.firestore.v1.PartitionQueryResponse result = new com.google.firestore.v1.PartitionQueryResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -536,39 +496,38 @@ private void buildPartial0(com.google.firestore.v1.PartitionQueryResponse result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.PartitionQueryResponse) {
-        return mergeFrom((com.google.firestore.v1.PartitionQueryResponse) other);
+        return mergeFrom((com.google.firestore.v1.PartitionQueryResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -595,10 +554,9 @@ public Builder mergeFrom(com.google.firestore.v1.PartitionQueryResponse other) {
             partitionsBuilder_ = null;
             partitions_ = other.partitions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            partitionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPartitionsFieldBuilder()
-                    : null;
+            partitionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPartitionsFieldBuilder() : null;
           } else {
             partitionsBuilder_.addAllMessages(other.partitions_);
           }
@@ -635,31 +593,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.firestore.v1.Cursor m =
-                    input.readMessage(com.google.firestore.v1.Cursor.parser(), extensionRegistry);
-                if (partitionsBuilder_ == null) {
-                  ensurePartitionsIsMutable();
-                  partitions_.add(m);
-                } else {
-                  partitionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.firestore.v1.Cursor m =
+                  input.readMessage(
+                      com.google.firestore.v1.Cursor.parser(),
+                      extensionRegistry);
+              if (partitionsBuilder_ == null) {
+                ensurePartitionsIsMutable();
+                partitions_.add(m);
+              } else {
+                partitionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -669,28 +626,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List partitions_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePartitionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         partitions_ = new java.util.ArrayList(partitions_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
-        partitionsBuilder_;
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> partitionsBuilder_;
 
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -718,8 +668,6 @@ public java.util.List getPartitionsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -747,8 +695,6 @@ public int getPartitionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -776,8 +722,6 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -797,7 +741,8 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public Builder setPartitions(int index, com.google.firestore.v1.Cursor value) {
+    public Builder setPartitions(
+        int index, com.google.firestore.v1.Cursor value) {
       if (partitionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -811,8 +756,6 @@ public Builder setPartitions(int index, com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -844,8 +787,6 @@ public Builder setPartitions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -879,8 +820,6 @@ public Builder addPartitions(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -900,7 +839,8 @@ public Builder addPartitions(com.google.firestore.v1.Cursor value) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public Builder addPartitions(int index, com.google.firestore.v1.Cursor value) {
+    public Builder addPartitions(
+        int index, com.google.firestore.v1.Cursor value) {
       if (partitionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -914,8 +854,6 @@ public Builder addPartitions(int index, com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -935,7 +873,8 @@ public Builder addPartitions(int index, com.google.firestore.v1.Cursor value) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public Builder addPartitions(com.google.firestore.v1.Cursor.Builder builderForValue) {
+    public Builder addPartitions(
+        com.google.firestore.v1.Cursor.Builder builderForValue) {
       if (partitionsBuilder_ == null) {
         ensurePartitionsIsMutable();
         partitions_.add(builderForValue.build());
@@ -946,8 +885,6 @@ public Builder addPartitions(com.google.firestore.v1.Cursor.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -979,8 +916,6 @@ public Builder addPartitions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1004,7 +939,8 @@ public Builder addAllPartitions(
         java.lang.Iterable values) {
       if (partitionsBuilder_ == null) {
         ensurePartitionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partitions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, partitions_);
         onChanged();
       } else {
         partitionsBuilder_.addAllMessages(values);
@@ -1012,8 +948,6 @@ public Builder addAllPartitions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1044,8 +978,6 @@ public Builder clearPartitions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1076,8 +1008,6 @@ public Builder removePartitions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1097,12 +1027,11 @@ public Builder removePartitions(int index) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public com.google.firestore.v1.Cursor.Builder getPartitionsBuilder(int index) {
+    public com.google.firestore.v1.Cursor.Builder getPartitionsBuilder(
+        int index) {
       return getPartitionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1122,16 +1051,14 @@ public com.google.firestore.v1.Cursor.Builder getPartitionsBuilder(int index) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index) {
+    public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
+        int index) {
       if (partitionsBuilder_ == null) {
-        return partitions_.get(index);
-      } else {
+        return partitions_.get(index);  } else {
         return partitionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1151,8 +1078,8 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index)
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public java.util.List
-        getPartitionsOrBuilderList() {
+    public java.util.List 
+         getPartitionsOrBuilderList() {
       if (partitionsBuilder_ != null) {
         return partitionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1160,8 +1087,6 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1182,12 +1107,10 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index)
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
     public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder() {
-      return getPartitionsFieldBuilder()
-          .addBuilder(com.google.firestore.v1.Cursor.getDefaultInstance());
+      return getPartitionsFieldBuilder().addBuilder(
+          com.google.firestore.v1.Cursor.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1207,13 +1130,12 @@ public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder() {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(int index) {
-      return getPartitionsFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Cursor.getDefaultInstance());
+    public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(
+        int index) {
+      return getPartitionsFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Cursor.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1233,22 +1155,20 @@ public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(int index) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public java.util.List getPartitionsBuilderList() {
+    public java.util.List 
+         getPartitionsBuilderList() {
       return getPartitionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> 
         getPartitionsFieldBuilder() {
       if (partitionsBuilder_ == null) {
-        partitionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Cursor,
-                com.google.firestore.v1.Cursor.Builder,
-                com.google.firestore.v1.CursorOrBuilder>(
-                partitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder>(
+                partitions_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         partitions_ = null;
       }
       return partitionsBuilder_;
@@ -1256,8 +1176,6 @@ public java.util.List getPartitionsBuild
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1265,13 +1183,13 @@ public java.util.List getPartitionsBuild
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1280,8 +1198,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1289,14 +1205,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1304,8 +1221,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1313,22 +1228,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1336,7 +1247,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1346,8 +1256,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1355,23 +1263,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1381,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.PartitionQueryResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.PartitionQueryResponse) private static final com.google.firestore.v1.PartitionQueryResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.PartitionQueryResponse(); } @@ -1395,27 +1301,27 @@ public static com.google.firestore.v1.PartitionQueryResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionQueryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionQueryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1430,4 +1336,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.PartitionQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java similarity index 85% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java index f92ce225a..640fc2041 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface PartitionQueryResponseOrBuilder - extends +public interface PartitionQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.PartitionQueryResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -45,10 +27,9 @@ public interface PartitionQueryResponseOrBuilder
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  java.util.List getPartitionsList();
+  java.util.List 
+      getPartitionsList();
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -70,8 +51,6 @@ public interface PartitionQueryResponseOrBuilder
    */
   com.google.firestore.v1.Cursor getPartitions(int index);
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -93,8 +72,6 @@ public interface PartitionQueryResponseOrBuilder
    */
   int getPartitionsCount();
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -114,10 +91,9 @@ public interface PartitionQueryResponseOrBuilder
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  java.util.List getPartitionsOrBuilderList();
+  java.util.List 
+      getPartitionsOrBuilderList();
   /**
-   *
-   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -137,11 +113,10 @@ public interface PartitionQueryResponseOrBuilder
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index);
+  com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -149,13 +124,10 @@ public interface PartitionQueryResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -163,8 +135,8 @@ public interface PartitionQueryResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java similarity index 69% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java index 97696807b..24c00fb21 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java @@ -1,82 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; /** - * - * *
  * A precondition on a document, used for conditional operations.
  * 
* * Protobuf type {@code google.firestore.v1.Precondition} */ -public final class Precondition extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Precondition extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Precondition) PreconditionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Precondition.newBuilder() to construct. private Precondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Precondition() {} + private Precondition() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Precondition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_Precondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_Precondition_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Precondition.class, - com.google.firestore.v1.Precondition.Builder.class); + com.google.firestore.v1.Precondition.class, com.google.firestore.v1.Precondition.Builder.class); } private int conditionTypeCase_ = 0; private java.lang.Object conditionType_; - public enum ConditionTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXISTS(1), UPDATE_TIME(2), CONDITIONTYPE_NOT_SET(0); private final int value; - private ConditionTypeCase(int value) { this.value = value; } @@ -92,37 +71,31 @@ public static ConditionTypeCase valueOf(int value) { public static ConditionTypeCase forNumber(int value) { switch (value) { - case 1: - return EXISTS; - case 2: - return UPDATE_TIME; - case 0: - return CONDITIONTYPE_NOT_SET; - default: - return null; + case 1: return EXISTS; + case 2: return UPDATE_TIME; + case 0: return CONDITIONTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConditionTypeCase getConditionTypeCase() { - return ConditionTypeCase.forNumber(conditionTypeCase_); + public ConditionTypeCase + getConditionTypeCase() { + return ConditionTypeCase.forNumber( + conditionTypeCase_); } public static final int EXISTS_FIELD_NUMBER = 1; /** - * - * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; - * * @return Whether the exists field is set. */ @java.lang.Override @@ -130,15 +103,12 @@ public boolean hasExists() { return conditionTypeCase_ == 1; } /** - * - * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; - * * @return The exists. */ @java.lang.Override @@ -151,15 +121,12 @@ public boolean getExists() { public static final int UPDATE_TIME_FIELD_NUMBER = 2; /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -167,27 +134,22 @@ public boolean hasUpdateTime() { return conditionTypeCase_ == 2; } /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdateTime() { if (conditionTypeCase_ == 2) { - return (com.google.protobuf.Timestamp) conditionType_; + return (com.google.protobuf.Timestamp) conditionType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
@@ -198,13 +160,12 @@ public com.google.protobuf.Timestamp getUpdateTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
     if (conditionTypeCase_ == 2) {
-      return (com.google.protobuf.Timestamp) conditionType_;
+       return (com.google.protobuf.Timestamp) conditionType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -216,9 +177,11 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (conditionTypeCase_ == 1) {
-      output.writeBool(1, (boolean) ((java.lang.Boolean) conditionType_));
+      output.writeBool(
+          1, (boolean)((java.lang.Boolean) conditionType_));
     }
     if (conditionTypeCase_ == 2) {
       output.writeMessage(2, (com.google.protobuf.Timestamp) conditionType_);
@@ -233,14 +196,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (conditionTypeCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeBoolSize(
-              1, (boolean) ((java.lang.Boolean) conditionType_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(
+            1, (boolean)((java.lang.Boolean) conditionType_));
     }
     if (conditionTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.protobuf.Timestamp) conditionType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.protobuf.Timestamp) conditionType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -250,7 +212,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.Precondition)) {
       return super.equals(obj);
@@ -260,10 +222,12 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConditionTypeCase().equals(other.getConditionTypeCase())) return false;
     switch (conditionTypeCase_) {
       case 1:
-        if (getExists() != other.getExists()) return false;
+        if (getExists()
+            != other.getExists()) return false;
         break;
       case 2:
-        if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+        if (!getUpdateTime()
+            .equals(other.getUpdateTime())) return false;
         break;
       case 0:
       default:
@@ -282,7 +246,8 @@ public int hashCode() {
     switch (conditionTypeCase_) {
       case 1:
         hash = (37 * hash) + EXISTS_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExists());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+            getExists());
         break;
       case 2:
         hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
@@ -296,135 +261,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.Precondition parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.Precondition parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Precondition parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.Precondition parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.firestore.v1.Precondition parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Precondition parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Precondition parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Precondition parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Precondition parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Precondition parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Precondition parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Precondition parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Precondition parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Precondition parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.Precondition prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A precondition on a document, used for conditional operations.
    * 
* * Protobuf type {@code google.firestore.v1.Precondition} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Precondition) com.google.firestore.v1.PreconditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_Precondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_Precondition_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Precondition.class, - com.google.firestore.v1.Precondition.Builder.class); + com.google.firestore.v1.Precondition.class, com.google.firestore.v1.Precondition.Builder.class); } // Construct using com.google.firestore.v1.Precondition.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -438,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_Precondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_descriptor; } @java.lang.Override @@ -460,9 +420,7 @@ public com.google.firestore.v1.Precondition build() { @java.lang.Override public com.google.firestore.v1.Precondition buildPartial() { com.google.firestore.v1.Precondition result = new com.google.firestore.v1.Precondition(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -475,7 +433,8 @@ private void buildPartial0(com.google.firestore.v1.Precondition result) { private void buildPartialOneofs(com.google.firestore.v1.Precondition result) { result.conditionTypeCase_ = conditionTypeCase_; result.conditionType_ = this.conditionType_; - if (conditionTypeCase_ == 2 && updateTimeBuilder_ != null) { + if (conditionTypeCase_ == 2 && + updateTimeBuilder_ != null) { result.conditionType_ = updateTimeBuilder_.build(); } } @@ -484,39 +443,38 @@ private void buildPartialOneofs(com.google.firestore.v1.Precondition result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Precondition) { - return mergeFrom((com.google.firestore.v1.Precondition) other); + return mergeFrom((com.google.firestore.v1.Precondition)other); } else { super.mergeFrom(other); return this; @@ -526,20 +484,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.v1.Precondition other) { if (other == com.google.firestore.v1.Precondition.getDefaultInstance()) return this; switch (other.getConditionTypeCase()) { - case EXISTS: - { - setExists(other.getExists()); - break; - } - case UPDATE_TIME: - { - mergeUpdateTime(other.getUpdateTime()); - break; - } - case CONDITIONTYPE_NOT_SET: - { - break; - } + case EXISTS: { + setExists(other.getExists()); + break; + } + case UPDATE_TIME: { + mergeUpdateTime(other.getUpdateTime()); + break; + } + case CONDITIONTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -567,25 +522,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - conditionType_ = input.readBool(); - conditionTypeCase_ = 1; - break; - } // case 8 - case 18: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - conditionTypeCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + conditionType_ = input.readBool(); + conditionTypeCase_ = 1; + break; + } // case 8 + case 18: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + conditionTypeCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -595,12 +549,12 @@ public Builder mergeFrom( } // finally return this; } - private int conditionTypeCase_ = 0; private java.lang.Object conditionType_; - - public ConditionTypeCase getConditionTypeCase() { - return ConditionTypeCase.forNumber(conditionTypeCase_); + public ConditionTypeCase + getConditionTypeCase() { + return ConditionTypeCase.forNumber( + conditionTypeCase_); } public Builder clearConditionType() { @@ -613,30 +567,24 @@ public Builder clearConditionType() { private int bitField0_; /** - * - * *
      * When set to `true`, the target document must exist.
      * When set to `false`, the target document must not exist.
      * 
* * bool exists = 1; - * * @return Whether the exists field is set. */ public boolean hasExists() { return conditionTypeCase_ == 1; } /** - * - * *
      * When set to `true`, the target document must exist.
      * When set to `false`, the target document must not exist.
      * 
* * bool exists = 1; - * * @return The exists. */ public boolean getExists() { @@ -646,35 +594,29 @@ public boolean getExists() { return false; } /** - * - * *
      * When set to `true`, the target document must exist.
      * When set to `false`, the target document must not exist.
      * 
* * bool exists = 1; - * * @param value The exists to set. * @return This builder for chaining. */ public Builder setExists(boolean value) { - + conditionTypeCase_ = 1; conditionType_ = value; onChanged(); return this; } /** - * - * *
      * When set to `true`, the target document must exist.
      * When set to `false`, the target document must not exist.
      * 
* * bool exists = 1; - * * @return This builder for chaining. */ public Builder clearExists() { @@ -687,20 +629,14 @@ public Builder clearExists() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
      * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -708,15 +644,12 @@ public boolean hasUpdateTime() { return conditionTypeCase_ == 2; } /** - * - * *
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
      * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ @java.lang.Override @@ -734,8 +667,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { } } /** - * - * *
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -757,8 +688,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -766,7 +695,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 2;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         conditionType_ = builderForValue.build();
         onChanged();
@@ -777,8 +707,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -788,13 +716,10 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (conditionTypeCase_ == 2
-            && conditionType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          conditionType_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) conditionType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (conditionTypeCase_ == 2 &&
+            conditionType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          conditionType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) conditionType_)
+              .mergeFrom(value).buildPartial();
         } else {
           conditionType_ = value;
         }
@@ -810,8 +735,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -836,8 +759,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -849,8 +770,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -870,8 +789,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -880,29 +797,26 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
         if (!(conditionTypeCase_ == 2)) {
           conditionType_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) conditionType_, getParentForChildren(), isClean());
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) conditionType_,
+                getParentForChildren(),
+                isClean());
         conditionType_ = null;
       }
       conditionTypeCase_ = 2;
       onChanged();
       return updateTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -912,12 +826,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.Precondition)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.Precondition)
   private static final com.google.firestore.v1.Precondition DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.Precondition();
   }
@@ -926,27 +840,27 @@ public static com.google.firestore.v1.Precondition getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Precondition parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Precondition parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -961,4 +875,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.Precondition getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
similarity index 71%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
index 7926afa17..af3014ef1 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
@@ -1,84 +1,54 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/common.proto
 
 package com.google.firestore.v1;
 
-public interface PreconditionOrBuilder
-    extends
+public interface PreconditionOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.Precondition)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; - * * @return Whether the exists field is set. */ boolean hasExists(); /** - * - * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; - * * @return The exists. */ boolean getExists(); /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java
new file mode 100644
index 000000000..18a7d827a
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java
@@ -0,0 +1,259 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/query.proto
+
+package com.google.firestore.v1;
+
+public final class QueryProto {
+  private QueryProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredQuery_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredQuery_Order_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Cursor_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Cursor_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\037google/firestore/v1/query.proto\022\023googl" +
+      "e.firestore.v1\032\037google/api/field_behavio" +
+      "r.proto\032\"google/firestore/v1/document.pr" +
+      "oto\032\036google/protobuf/wrappers.proto\"\276\017\n\017" +
+      "StructuredQuery\022?\n\006select\030\001 \001(\0132/.google" +
+      ".firestore.v1.StructuredQuery.Projection" +
+      "\022E\n\004from\030\002 \003(\01327.google.firestore.v1.Str" +
+      "ucturedQuery.CollectionSelector\022:\n\005where" +
+      "\030\003 \001(\0132+.google.firestore.v1.StructuredQ" +
+      "uery.Filter\022<\n\010order_by\030\004 \003(\0132*.google.f" +
+      "irestore.v1.StructuredQuery.Order\022-\n\010sta" +
+      "rt_at\030\007 \001(\0132\033.google.firestore.v1.Cursor" +
+      "\022+\n\006end_at\030\010 \001(\0132\033.google.firestore.v1.C" +
+      "ursor\022\016\n\006offset\030\006 \001(\005\022*\n\005limit\030\005 \001(\0132\033.g" +
+      "oogle.protobuf.Int32Value\032D\n\022CollectionS" +
+      "elector\022\025\n\rcollection_id\030\002 \001(\t\022\027\n\017all_de" +
+      "scendants\030\003 \001(\010\032\375\001\n\006Filter\022P\n\020composite_" +
+      "filter\030\001 \001(\01324.google.firestore.v1.Struc" +
+      "turedQuery.CompositeFilterH\000\022H\n\014field_fi" +
+      "lter\030\002 \001(\01320.google.firestore.v1.Structu" +
+      "redQuery.FieldFilterH\000\022H\n\014unary_filter\030\003" +
+      " \001(\01320.google.firestore.v1.StructuredQue" +
+      "ry.UnaryFilterH\000B\r\n\013filter_type\032\321\001\n\017Comp" +
+      "ositeFilter\022I\n\002op\030\001 \001(\0162=.google.firesto" +
+      "re.v1.StructuredQuery.CompositeFilter.Op" +
+      "erator\022<\n\007filters\030\002 \003(\0132+.google.firesto" +
+      "re.v1.StructuredQuery.Filter\"5\n\010Operator" +
+      "\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001\022\006\n\002O" +
+      "R\020\002\032\230\003\n\013FieldFilter\022B\n\005field\030\001 \001(\01323.goo" +
+      "gle.firestore.v1.StructuredQuery.FieldRe" +
+      "ference\022E\n\002op\030\002 \001(\01629.google.firestore.v" +
+      "1.StructuredQuery.FieldFilter.Operator\022)" +
+      "\n\005value\030\003 \001(\0132\032.google.firestore.v1.Valu" +
+      "e\"\322\001\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000" +
+      "\022\r\n\tLESS_THAN\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020\002\022" +
+      "\020\n\014GREATER_THAN\020\003\022\031\n\025GREATER_THAN_OR_EQU" +
+      "AL\020\004\022\t\n\005EQUAL\020\005\022\r\n\tNOT_EQUAL\020\006\022\022\n\016ARRAY_" +
+      "CONTAINS\020\007\022\006\n\002IN\020\010\022\026\n\022ARRAY_CONTAINS_ANY" +
+      "\020\t\022\n\n\006NOT_IN\020\n\032\212\002\n\013UnaryFilter\022E\n\002op\030\001 \001" +
+      "(\01629.google.firestore.v1.StructuredQuery" +
+      ".UnaryFilter.Operator\022D\n\005field\030\002 \001(\01323.g" +
+      "oogle.firestore.v1.StructuredQuery.Field" +
+      "ReferenceH\000\"^\n\010Operator\022\030\n\024OPERATOR_UNSP" +
+      "ECIFIED\020\000\022\n\n\006IS_NAN\020\002\022\013\n\007IS_NULL\020\003\022\016\n\nIS" +
+      "_NOT_NAN\020\004\022\017\n\013IS_NOT_NULL\020\005B\016\n\014operand_t" +
+      "ype\032\216\001\n\005Order\022B\n\005field\030\001 \001(\01323.google.fi" +
+      "restore.v1.StructuredQuery.FieldReferenc" +
+      "e\022A\n\tdirection\030\002 \001(\0162..google.firestore." +
+      "v1.StructuredQuery.Direction\032$\n\016FieldRef" +
+      "erence\022\022\n\nfield_path\030\002 \001(\t\032Q\n\nProjection" +
+      "\022C\n\006fields\030\002 \003(\01323.google.firestore.v1.S" +
+      "tructuredQuery.FieldReference\"E\n\tDirecti" +
+      "on\022\031\n\025DIRECTION_UNSPECIFIED\020\000\022\r\n\tASCENDI" +
+      "NG\020\001\022\016\n\nDESCENDING\020\002\"\202\003\n\032StructuredAggre" +
+      "gationQuery\022@\n\020structured_query\030\001 \001(\0132$." +
+      "google.firestore.v1.StructuredQueryH\000\022V\n" +
+      "\014aggregations\030\003 \003(\0132;.google.firestore.v" +
+      "1.StructuredAggregationQuery.Aggregation" +
+      "B\003\340A\001\032\273\001\n\013Aggregation\022R\n\005count\030\001 \001(\0132A.g" +
+      "oogle.firestore.v1.StructuredAggregation" +
+      "Query.Aggregation.CountH\000\022\022\n\005alias\030\007 \001(\t" +
+      "B\003\340A\001\0328\n\005Count\022/\n\005up_to\030\001 \001(\0132\033.google.p" +
+      "rotobuf.Int64ValueB\003\340A\001B\n\n\010operatorB\014\n\nq" +
+      "uery_type\"D\n\006Cursor\022*\n\006values\030\001 \003(\0132\032.go" +
+      "ogle.firestore.v1.Value\022\016\n\006before\030\002 \001(\010B" +
+      "\302\001\n\027com.google.firestore.v1B\nQueryProtoP" +
+      "\001Z;cloud.google.com/go/firestore/apiv1/f" +
+      "irestorepb;firestorepb\242\002\004GCFS\252\002\031Google.C" +
+      "loud.Firestore.V1\312\002\031Google\\Cloud\\Firesto" +
+      "re\\V1\352\002\034Google::Cloud::Firestore::V1b\006pr" +
+      "oto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.firestore.v1.DocumentProto.getDescriptor(),
+          com.google.protobuf.WrappersProto.getDescriptor(),
+        });
+    internal_static_google_firestore_v1_StructuredQuery_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredQuery_descriptor,
+        new java.lang.String[] { "Select", "From", "Where", "OrderBy", "StartAt", "EndAt", "Offset", "Limit", });
+    internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor =
+      internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor,
+        new java.lang.String[] { "CollectionId", "AllDescendants", });
+    internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor =
+      internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(1);
+    internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor,
+        new java.lang.String[] { "CompositeFilter", "FieldFilter", "UnaryFilter", "FilterType", });
+    internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor =
+      internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(2);
+    internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor,
+        new java.lang.String[] { "Op", "Filters", });
+    internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor =
+      internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(3);
+    internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor,
+        new java.lang.String[] { "Field", "Op", "Value", });
+    internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor =
+      internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(4);
+    internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor,
+        new java.lang.String[] { "Op", "Field", "OperandType", });
+    internal_static_google_firestore_v1_StructuredQuery_Order_descriptor =
+      internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(5);
+    internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredQuery_Order_descriptor,
+        new java.lang.String[] { "Field", "Direction", });
+    internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor =
+      internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(6);
+    internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor,
+        new java.lang.String[] { "FieldPath", });
+    internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor =
+      internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(7);
+    internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor,
+        new java.lang.String[] { "Fields", });
+    internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor,
+        new java.lang.String[] { "StructuredQuery", "Aggregations", "QueryType", });
+    internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor =
+      internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor,
+        new java.lang.String[] { "Count", "Alias", "Operator", });
+    internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor =
+      internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor,
+        new java.lang.String[] { "UpTo", });
+    internal_static_google_firestore_v1_Cursor_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_v1_Cursor_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_Cursor_descriptor,
+        new java.lang.String[] { "Values", "Before", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.firestore.v1.DocumentProto.getDescriptor();
+    com.google.protobuf.WrappersProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java
similarity index 68%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java
index 5f001914d..fdc448c73 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback].
  * 
* * Protobuf type {@code google.firestore.v1.RollbackRequest} */ -public final class RollbackRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RollbackRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RollbackRequest) RollbackRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RollbackRequest.newBuilder() to construct. private RollbackRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RollbackRequest() { database_ = ""; transaction_ = com.google.protobuf.ByteString.EMPTY; @@ -44,44 +26,39 @@ private RollbackRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RollbackRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RollbackRequest.class, - com.google.firestore.v1.RollbackRequest.Builder.class); + com.google.firestore.v1.RollbackRequest.class, com.google.firestore.v1.RollbackRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ @java.lang.Override @@ -90,30 +67,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -124,14 +101,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transaction. */ @java.lang.Override @@ -140,7 +114,6 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,7 +125,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -172,7 +146,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, transaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -182,15 +157,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.RollbackRequest)) { return super.equals(obj); } com.google.firestore.v1.RollbackRequest other = (com.google.firestore.v1.RollbackRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -211,136 +188,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.RollbackRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.RollbackRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.RollbackRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.RollbackRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.RollbackRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.RollbackRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.RollbackRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.RollbackRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.RollbackRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.RollbackRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.RollbackRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.RollbackRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.RollbackRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback].
    * 
* * Protobuf type {@code google.firestore.v1.RollbackRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.RollbackRequest) com.google.firestore.v1.RollbackRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RollbackRequest.class, - com.google.firestore.v1.RollbackRequest.Builder.class); + com.google.firestore.v1.RollbackRequest.class, com.google.firestore.v1.RollbackRequest.Builder.class); } // Construct using com.google.firestore.v1.RollbackRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RollbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_descriptor; } @java.lang.Override @@ -372,11 +343,8 @@ public com.google.firestore.v1.RollbackRequest build() { @java.lang.Override public com.google.firestore.v1.RollbackRequest buildPartial() { - com.google.firestore.v1.RollbackRequest result = - new com.google.firestore.v1.RollbackRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.RollbackRequest result = new com.google.firestore.v1.RollbackRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -395,39 +363,38 @@ private void buildPartial0(com.google.firestore.v1.RollbackRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.RollbackRequest) { - return mergeFrom((com.google.firestore.v1.RollbackRequest) other); + return mergeFrom((com.google.firestore.v1.RollbackRequest)other); } else { super.mergeFrom(other); return this; @@ -470,25 +437,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - transaction_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + transaction_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -498,26 +462,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object database_ = ""; /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -526,22 +487,21 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -549,37 +509,30 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -589,22 +542,18 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -614,14 +563,11 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transaction. */ @java.lang.Override @@ -629,35 +575,27 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -666,9 +604,9 @@ public Builder clearTransaction() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -678,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.RollbackRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.RollbackRequest) private static final com.google.firestore.v1.RollbackRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.RollbackRequest(); } @@ -692,27 +630,27 @@ public static com.google.firestore.v1.RollbackRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -727,4 +665,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.RollbackRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java index 5dae3e0b7..30c7378ee 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java @@ -1,64 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface RollbackRequestOrBuilder - extends +public interface RollbackRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.RollbackRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java similarity index 73% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java index 9f8f96534..a9829b0c9 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for
  * [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
@@ -28,57 +11,52 @@
  *
  * Protobuf type {@code google.firestore.v1.RunAggregationQueryRequest}
  */
-public final class RunAggregationQueryRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunAggregationQueryRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.RunAggregationQueryRequest)
     RunAggregationQueryRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunAggregationQueryRequest.newBuilder() to construct.
   private RunAggregationQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunAggregationQueryRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunAggregationQueryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.RunAggregationQueryRequest.class,
-            com.google.firestore.v1.RunAggregationQueryRequest.Builder.class);
+            com.google.firestore.v1.RunAggregationQueryRequest.class, com.google.firestore.v1.RunAggregationQueryRequest.Builder.class);
   }
 
   private int queryTypeCase_ = 0;
   private java.lang.Object queryType_;
-
   public enum QueryTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STRUCTURED_AGGREGATION_QUERY(2),
     QUERYTYPE_NOT_SET(0);
     private final int value;
-
     private QueryTypeCase(int value) {
       this.value = value;
     }
@@ -94,37 +72,32 @@ public static QueryTypeCase valueOf(int value) {
 
     public static QueryTypeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return STRUCTURED_AGGREGATION_QUERY;
-        case 0:
-          return QUERYTYPE_NOT_SET;
-        default:
-          return null;
+        case 2: return STRUCTURED_AGGREGATION_QUERY;
+        case 0: return QUERYTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public QueryTypeCase getQueryTypeCase() {
-    return QueryTypeCase.forNumber(queryTypeCase_);
+  public QueryTypeCase
+  getQueryTypeCase() {
+    return QueryTypeCase.forNumber(
+        queryTypeCase_);
   }
 
   private int consistencySelectorCase_ = 0;
   private java.lang.Object consistencySelector_;
-
   public enum ConsistencySelectorCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TRANSACTION(4),
     NEW_TRANSACTION(5),
     READ_TIME(6),
     CONSISTENCYSELECTOR_NOT_SET(0);
     private final int value;
-
     private ConsistencySelectorCase(int value) {
       this.value = value;
     }
@@ -140,35 +113,28 @@ public static ConsistencySelectorCase valueOf(int value) {
 
     public static ConsistencySelectorCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return TRANSACTION;
-        case 5:
-          return NEW_TRANSACTION;
-        case 6:
-          return READ_TIME;
-        case 0:
-          return CONSISTENCYSELECTOR_NOT_SET;
-        default:
-          return null;
+        case 4: return TRANSACTION;
+        case 5: return NEW_TRANSACTION;
+        case 6: return READ_TIME;
+        case 0: return CONSISTENCYSELECTOR_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConsistencySelectorCase getConsistencySelectorCase() {
-    return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+  public ConsistencySelectorCase
+  getConsistencySelectorCase() {
+    return ConsistencySelectorCase.forNumber(
+        consistencySelectorCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -179,7 +145,6 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -188,15 +153,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -207,15 +171,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -225,14 +190,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STRUCTURED_AGGREGATION_QUERY_FIELD_NUMBER = 2; /** - * - * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * * @return Whether the structuredAggregationQuery field is set. */ @java.lang.Override @@ -240,26 +202,21 @@ public boolean hasStructuredAggregationQuery() { return queryTypeCase_ == 2; } /** - * - * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * * @return The structuredAggregationQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregationQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; + return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; } return com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance(); } /** - * - * *
    * An aggregation query.
    * 
@@ -267,25 +224,21 @@ public com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregati * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQueryOrBuilder - getStructuredAggregationQueryOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; + return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; } return com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance(); } public static final int TRANSACTION_FIELD_NUMBER = 4; /** - * - * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -293,15 +246,12 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** - * - * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; - * * @return The transaction. */ @java.lang.Override @@ -314,8 +264,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 5; /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -323,7 +271,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -331,8 +278,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -340,19 +285,16 @@ public boolean hasNewTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getNewTransaction() { if (consistencySelectorCase_ == 5) { - return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; } return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -364,15 +306,13 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencySelectorCase_ == 5) {
-      return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+       return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
     }
     return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * Executes the query at the given timestamp.
    * Requires:
@@ -380,7 +320,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -388,8 +327,6 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** - * - * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -397,19 +334,16 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 6) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -421,13 +355,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 6) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -439,7 +372,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -447,7 +381,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(2, (com.google.firestore.v1.StructuredAggregationQuery) queryType_);
     }
     if (consistencySelectorCase_ == 4) {
-      output.writeBytes(4, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(
+          4, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
       output.writeMessage(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
@@ -468,24 +403,21 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queryTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.firestore.v1.StructuredAggregationQuery) queryType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.firestore.v1.StructuredAggregationQuery) queryType_);
     }
     if (consistencySelectorCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeBytesSize(
-              4, (com.google.protobuf.ByteString) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(
+            4, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
     }
     if (consistencySelectorCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.protobuf.Timestamp) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -495,20 +427,20 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.RunAggregationQueryRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.RunAggregationQueryRequest other =
-        (com.google.firestore.v1.RunAggregationQueryRequest) obj;
+    com.google.firestore.v1.RunAggregationQueryRequest other = (com.google.firestore.v1.RunAggregationQueryRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false;
     switch (queryTypeCase_) {
       case 2:
-        if (!getStructuredAggregationQuery().equals(other.getStructuredAggregationQuery()))
-          return false;
+        if (!getStructuredAggregationQuery()
+            .equals(other.getStructuredAggregationQuery())) return false;
         break;
       case 0:
       default:
@@ -516,13 +448,16 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 4:
-        if (!getTransaction().equals(other.getTransaction())) return false;
+        if (!getTransaction()
+            .equals(other.getTransaction())) return false;
         break;
       case 5:
-        if (!getNewTransaction().equals(other.getNewTransaction())) return false;
+        if (!getNewTransaction()
+            .equals(other.getNewTransaction())) return false;
         break;
       case 6:
-        if (!getReadTime().equals(other.getReadTime())) return false;
+        if (!getReadTime()
+            .equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -570,103 +505,96 @@ public int hashCode() {
   }
 
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.RunAggregationQueryRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.RunAggregationQueryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.RunAggregationQueryRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.RunAggregationQueryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
@@ -674,32 +602,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.RunAggregationQueryRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunAggregationQueryRequest)
       com.google.firestore.v1.RunAggregationQueryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.RunAggregationQueryRequest.class,
-              com.google.firestore.v1.RunAggregationQueryRequest.Builder.class);
+              com.google.firestore.v1.RunAggregationQueryRequest.class, com.google.firestore.v1.RunAggregationQueryRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.RunAggregationQueryRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -722,9 +651,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -743,11 +672,8 @@ public com.google.firestore.v1.RunAggregationQueryRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.RunAggregationQueryRequest buildPartial() {
-      com.google.firestore.v1.RunAggregationQueryRequest result =
-          new com.google.firestore.v1.RunAggregationQueryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.RunAggregationQueryRequest result = new com.google.firestore.v1.RunAggregationQueryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -763,15 +689,18 @@ private void buildPartial0(com.google.firestore.v1.RunAggregationQueryRequest re
     private void buildPartialOneofs(com.google.firestore.v1.RunAggregationQueryRequest result) {
       result.queryTypeCase_ = queryTypeCase_;
       result.queryType_ = this.queryType_;
-      if (queryTypeCase_ == 2 && structuredAggregationQueryBuilder_ != null) {
+      if (queryTypeCase_ == 2 &&
+          structuredAggregationQueryBuilder_ != null) {
         result.queryType_ = structuredAggregationQueryBuilder_.build();
       }
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 5 && newTransactionBuilder_ != null) {
+      if (consistencySelectorCase_ == 5 &&
+          newTransactionBuilder_ != null) {
         result.consistencySelector_ = newTransactionBuilder_.build();
       }
-      if (consistencySelectorCase_ == 6 && readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 6 &&
+          readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -780,39 +709,38 @@ private void buildPartialOneofs(com.google.firestore.v1.RunAggregationQueryReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.RunAggregationQueryRequest) {
-        return mergeFrom((com.google.firestore.v1.RunAggregationQueryRequest) other);
+        return mergeFrom((com.google.firestore.v1.RunAggregationQueryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -820,44 +748,37 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.RunAggregationQueryRequest other) {
-      if (other == com.google.firestore.v1.RunAggregationQueryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.v1.RunAggregationQueryRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       switch (other.getQueryTypeCase()) {
-        case STRUCTURED_AGGREGATION_QUERY:
-          {
-            mergeStructuredAggregationQuery(other.getStructuredAggregationQuery());
-            break;
-          }
-        case QUERYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case STRUCTURED_AGGREGATION_QUERY: {
+          mergeStructuredAggregationQuery(other.getStructuredAggregationQuery());
+          break;
+        }
+        case QUERYTYPE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getConsistencySelectorCase()) {
-        case TRANSACTION:
-          {
-            setTransaction(other.getTransaction());
-            break;
-          }
-        case NEW_TRANSACTION:
-          {
-            mergeNewTransaction(other.getNewTransaction());
-            break;
-          }
-        case READ_TIME:
-          {
-            mergeReadTime(other.getReadTime());
-            break;
-          }
-        case CONSISTENCYSELECTOR_NOT_SET:
-          {
-            break;
-          }
+        case TRANSACTION: {
+          setTransaction(other.getTransaction());
+          break;
+        }
+        case NEW_TRANSACTION: {
+          mergeNewTransaction(other.getNewTransaction());
+          break;
+        }
+        case READ_TIME: {
+          mergeReadTime(other.getReadTime());
+          break;
+        }
+        case CONSISTENCYSELECTOR_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -885,44 +806,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getStructuredAggregationQueryFieldBuilder().getBuilder(), extensionRegistry);
-                queryTypeCase_ = 2;
-                break;
-              } // case 18
-            case 34:
-              {
-                consistencySelector_ = input.readBytes();
-                consistencySelectorCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getNewTransactionFieldBuilder().getBuilder(), extensionRegistry);
-                consistencySelectorCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                consistencySelectorCase_ = 6;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStructuredAggregationQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              queryTypeCase_ = 2;
+              break;
+            } // case 18
+            case 34: {
+              consistencySelector_ = input.readBytes();
+              consistencySelectorCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getNewTransactionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              consistencySelectorCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              consistencySelectorCase_ = 6;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -932,12 +852,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int queryTypeCase_ = 0;
     private java.lang.Object queryType_;
-
-    public QueryTypeCase getQueryTypeCase() {
-      return QueryTypeCase.forNumber(queryTypeCase_);
+    public QueryTypeCase
+        getQueryTypeCase() {
+      return QueryTypeCase.forNumber(
+          queryTypeCase_);
     }
 
     public Builder clearQueryType() {
@@ -949,9 +869,10 @@ public Builder clearQueryType() {
 
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-
-    public ConsistencySelectorCase getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
+    public ConsistencySelectorCase
+        getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(
+          consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -965,8 +886,6 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -977,13 +896,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -992,8 +911,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1004,14 +921,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1019,8 +937,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1031,22 +947,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1057,7 +969,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1067,8 +978,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1079,14 +988,12 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1095,20 +1002,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery, - com.google.firestore.v1.StructuredAggregationQuery.Builder, - com.google.firestore.v1.StructuredAggregationQueryOrBuilder> - structuredAggregationQueryBuilder_; + com.google.firestore.v1.StructuredAggregationQuery, com.google.firestore.v1.StructuredAggregationQuery.Builder, com.google.firestore.v1.StructuredAggregationQueryOrBuilder> structuredAggregationQueryBuilder_; /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; * @return Whether the structuredAggregationQuery field is set. */ @java.lang.Override @@ -1116,15 +1016,11 @@ public boolean hasStructuredAggregationQuery() { return queryTypeCase_ == 2; } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; * @return The structuredAggregationQuery. */ @java.lang.Override @@ -1142,17 +1038,13 @@ public com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregati } } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ - public Builder setStructuredAggregationQuery( - com.google.firestore.v1.StructuredAggregationQuery value) { + public Builder setStructuredAggregationQuery(com.google.firestore.v1.StructuredAggregationQuery value) { if (structuredAggregationQueryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1166,14 +1058,11 @@ public Builder setStructuredAggregationQuery( return this; } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ public Builder setStructuredAggregationQuery( com.google.firestore.v1.StructuredAggregationQuery.Builder builderForValue) { @@ -1187,26 +1076,18 @@ public Builder setStructuredAggregationQuery( return this; } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ - public Builder mergeStructuredAggregationQuery( - com.google.firestore.v1.StructuredAggregationQuery value) { + public Builder mergeStructuredAggregationQuery(com.google.firestore.v1.StructuredAggregationQuery value) { if (structuredAggregationQueryBuilder_ == null) { - if (queryTypeCase_ == 2 - && queryType_ - != com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance()) { - queryType_ = - com.google.firestore.v1.StructuredAggregationQuery.newBuilder( - (com.google.firestore.v1.StructuredAggregationQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 2 && + queryType_ != com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance()) { + queryType_ = com.google.firestore.v1.StructuredAggregationQuery.newBuilder((com.google.firestore.v1.StructuredAggregationQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -1222,14 +1103,11 @@ public Builder mergeStructuredAggregationQuery( return this; } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ public Builder clearStructuredAggregationQuery() { if (structuredAggregationQueryBuilder_ == null) { @@ -1248,32 +1126,24 @@ public Builder clearStructuredAggregationQuery() { return this; } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ - public com.google.firestore.v1.StructuredAggregationQuery.Builder - getStructuredAggregationQueryBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Builder getStructuredAggregationQueryBuilder() { return getStructuredAggregationQueryFieldBuilder().getBuilder(); } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQueryOrBuilder - getStructuredAggregationQueryOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder() { if ((queryTypeCase_ == 2) && (structuredAggregationQueryBuilder_ != null)) { return structuredAggregationQueryBuilder_.getMessageOrBuilder(); } else { @@ -1284,29 +1154,21 @@ public Builder clearStructuredAggregationQuery() { } } /** - * - * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery, - com.google.firestore.v1.StructuredAggregationQuery.Builder, - com.google.firestore.v1.StructuredAggregationQueryOrBuilder> + com.google.firestore.v1.StructuredAggregationQuery, com.google.firestore.v1.StructuredAggregationQuery.Builder, com.google.firestore.v1.StructuredAggregationQueryOrBuilder> getStructuredAggregationQueryFieldBuilder() { if (structuredAggregationQueryBuilder_ == null) { if (!(queryTypeCase_ == 2)) { queryType_ = com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance(); } - structuredAggregationQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery, - com.google.firestore.v1.StructuredAggregationQuery.Builder, - com.google.firestore.v1.StructuredAggregationQueryOrBuilder>( + structuredAggregationQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredAggregationQuery, com.google.firestore.v1.StructuredAggregationQuery.Builder, com.google.firestore.v1.StructuredAggregationQueryOrBuilder>( (com.google.firestore.v1.StructuredAggregationQuery) queryType_, getParentForChildren(), isClean()); @@ -1318,30 +1180,24 @@ public Builder clearStructuredAggregationQuery() { } /** - * - * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** - * - * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1351,37 +1207,29 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } consistencySelectorCase_ = 4; consistencySelector_ = value; onChanged(); return this; } /** - * - * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1394,13 +1242,8 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, - com.google.firestore.v1.TransactionOptions.Builder, - com.google.firestore.v1.TransactionOptionsOrBuilder> - newTransactionBuilder_; + com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; /** - * - * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1408,7 +1251,6 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1416,8 +1258,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1425,7 +1265,6 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ @java.lang.Override @@ -1443,8 +1282,6 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** - * - * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1467,8 +1304,6 @@ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1489,8 +1324,6 @@ public Builder setNewTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1501,14 +1334,10 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencySelectorCase_ == 5
-            && consistencySelector_
-                != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.firestore.v1.TransactionOptions.newBuilder(
-                      (com.google.firestore.v1.TransactionOptions) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 5 &&
+            consistencySelector_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencySelector_ = com.google.firestore.v1.TransactionOptions.newBuilder((com.google.firestore.v1.TransactionOptions) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1524,8 +1353,6 @@ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions va
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1551,8 +1378,6 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1565,8 +1390,6 @@ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1587,8 +1410,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1598,19 +1419,14 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * .google.firestore.v1.TransactionOptions new_transaction = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.TransactionOptions,
-            com.google.firestore.v1.TransactionOptions.Builder,
-            com.google.firestore.v1.TransactionOptionsOrBuilder>
+        com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> 
         getNewTransactionFieldBuilder() {
       if (newTransactionBuilder_ == null) {
         if (!(consistencySelectorCase_ == 5)) {
           consistencySelector_ = com.google.firestore.v1.TransactionOptions.getDefaultInstance();
         }
-        newTransactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.TransactionOptions,
-                com.google.firestore.v1.TransactionOptions.Builder,
-                com.google.firestore.v1.TransactionOptionsOrBuilder>(
+        newTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder>(
                 (com.google.firestore.v1.TransactionOptions) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1622,13 +1438,8 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        readTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1636,7 +1447,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1644,8 +1454,6 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** - * - * *
      * Executes the query at the given timestamp.
      * Requires:
@@ -1653,7 +1461,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ @java.lang.Override @@ -1671,8 +1478,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Executes the query at the given timestamp.
      * Requires:
@@ -1695,8 +1500,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1705,7 +1508,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 6;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1716,8 +1520,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1728,13 +1530,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 6
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 6 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1750,8 +1549,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1777,8 +1574,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1791,8 +1586,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1813,8 +1606,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1824,19 +1615,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 6)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1846,9 +1632,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1858,12 +1644,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunAggregationQueryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.RunAggregationQueryRequest)
   private static final com.google.firestore.v1.RunAggregationQueryRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.RunAggregationQueryRequest();
   }
@@ -1872,27 +1658,27 @@ public static com.google.firestore.v1.RunAggregationQueryRequest getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RunAggregationQueryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RunAggregationQueryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1907,4 +1693,6 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.firestore.v1.RunAggregationQueryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
similarity index 82%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
index ff91dc2fa..e5f0943a8 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface RunAggregationQueryRequestOrBuilder
-    extends
+public interface RunAggregationQueryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunAggregationQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -36,13 +18,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -53,77 +32,60 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * * @return Whether the structuredAggregationQuery field is set. */ boolean hasStructuredAggregationQuery(); /** - * - * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; - * * @return The structuredAggregationQuery. */ com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregationQuery(); /** - * - * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ - com.google.firestore.v1.StructuredAggregationQueryOrBuilder - getStructuredAggregationQueryOrBuilder(); + com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder(); /** - * - * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -131,13 +93,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -145,13 +104,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; - * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** - * - * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -163,8 +119,6 @@ public interface RunAggregationQueryRequestOrBuilder
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Executes the query at the given timestamp.
    * Requires:
@@ -172,13 +126,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -186,13 +137,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -205,6 +153,5 @@ public interface RunAggregationQueryRequestOrBuilder
 
   public com.google.firestore.v1.RunAggregationQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.RunAggregationQueryRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.RunAggregationQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
similarity index 62%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
index accc87995..50586baad 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The response for
  * [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
@@ -28,58 +11,53 @@
  *
  * Protobuf type {@code google.firestore.v1.RunAggregationQueryResponse}
  */
-public final class RunAggregationQueryResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunAggregationQueryResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.RunAggregationQueryResponse)
     RunAggregationQueryResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunAggregationQueryResponse.newBuilder() to construct.
   private RunAggregationQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunAggregationQueryResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunAggregationQueryResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.RunAggregationQueryResponse.class,
-            com.google.firestore.v1.RunAggregationQueryResponse.Builder.class);
+            com.google.firestore.v1.RunAggregationQueryResponse.class, com.google.firestore.v1.RunAggregationQueryResponse.Builder.class);
   }
 
   public static final int RESULT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.AggregationResult result_;
   /**
-   *
-   *
    * 
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return Whether the result field is set. */ @java.lang.Override @@ -87,26 +65,19 @@ public boolean hasResult() { return result_ != null; } /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return The result. */ @java.lang.Override public com.google.firestore.v1.AggregationResult getResult() { - return result_ == null - ? com.google.firestore.v1.AggregationResult.getDefaultInstance() - : result_; + return result_ == null ? com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_; } /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
@@ -116,16 +87,12 @@ public com.google.firestore.v1.AggregationResult getResult() {
    */
   @java.lang.Override
   public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
-    return result_ == null
-        ? com.google.firestore.v1.AggregationResult.getDefaultInstance()
-        : result_;
+    return result_ == null ? com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_;
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 2;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The transaction that was started as part of this request.
    * Only present on the first response when the request requested to start
@@ -133,7 +100,6 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
    * 
* * bytes transaction = 2; - * * @return The transaction. */ @java.lang.Override @@ -144,14 +110,17 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** - * - * *
-   * The time at which the aggregate value is valid for.
+   * The time at which the aggregate result was computed. This is always
+   * monotonically increasing; in this case, the previous AggregationResult in
+   * the result stream are guaranteed not to have changed between their
+   * `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `result` will be sent, and this represents the time at which the query
+   * was run.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -159,14 +128,17 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
-   * The time at which the aggregate value is valid for.
+   * The time at which the aggregate result was computed. This is always
+   * monotonically increasing; in this case, the previous AggregationResult in
+   * the result stream are guaranteed not to have changed between their
+   * `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `result` will be sent, and this represents the time at which the query
+   * was run.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ @java.lang.Override @@ -174,10 +146,14 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
-   * The time at which the aggregate value is valid for.
+   * The time at which the aggregate result was computed. This is always
+   * monotonically increasing; in this case, the previous AggregationResult in
+   * the result stream are guaranteed not to have changed between their
+   * `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `result` will be sent, and this represents the time at which the query
+   * was run.
    * 
* * .google.protobuf.Timestamp read_time = 3; @@ -188,7 +164,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (result_ != null) { output.writeMessage(1, getResult()); } @@ -220,13 +196,16 @@ public int getSerializedSize() { size = 0; if (result_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getResult()); } if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, transaction_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getReadTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -236,22 +215,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.RunAggregationQueryResponse)) { return super.equals(obj); } - com.google.firestore.v1.RunAggregationQueryResponse other = - (com.google.firestore.v1.RunAggregationQueryResponse) obj; + com.google.firestore.v1.RunAggregationQueryResponse other = (com.google.firestore.v1.RunAggregationQueryResponse) obj; if (hasResult() != other.hasResult()) return false; if (hasResult()) { - if (!getResult().equals(other.getResult())) return false; + if (!getResult() + .equals(other.getResult())) return false; } - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -280,103 +261,96 @@ public int hashCode() { } public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.RunAggregationQueryResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.RunAggregationQueryResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.RunAggregationQueryResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.RunAggregationQueryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
@@ -384,32 +358,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.RunAggregationQueryResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunAggregationQueryResponse)
       com.google.firestore.v1.RunAggregationQueryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.RunAggregationQueryResponse.class,
-              com.google.firestore.v1.RunAggregationQueryResponse.Builder.class);
+              com.google.firestore.v1.RunAggregationQueryResponse.class, com.google.firestore.v1.RunAggregationQueryResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.RunAggregationQueryResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -429,9 +404,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -450,11 +425,8 @@ public com.google.firestore.v1.RunAggregationQueryResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.RunAggregationQueryResponse buildPartial() {
-      com.google.firestore.v1.RunAggregationQueryResponse result =
-          new com.google.firestore.v1.RunAggregationQueryResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.RunAggregationQueryResponse result = new com.google.firestore.v1.RunAggregationQueryResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -462,13 +434,17 @@ public com.google.firestore.v1.RunAggregationQueryResponse buildPartial() {
     private void buildPartial0(com.google.firestore.v1.RunAggregationQueryResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.result_ = resultBuilder_ == null ? result_ : resultBuilder_.build();
+        result.result_ = resultBuilder_ == null
+            ? result_
+            : resultBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.transaction_ = transaction_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null
+            ? readTime_
+            : readTimeBuilder_.build();
       }
     }
 
@@ -476,39 +452,38 @@ private void buildPartial0(com.google.firestore.v1.RunAggregationQueryResponse r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.RunAggregationQueryResponse) {
-        return mergeFrom((com.google.firestore.v1.RunAggregationQueryResponse) other);
+        return mergeFrom((com.google.firestore.v1.RunAggregationQueryResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -516,8 +491,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.RunAggregationQueryResponse other) {
-      if (other == com.google.firestore.v1.RunAggregationQueryResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.v1.RunAggregationQueryResponse.getDefaultInstance()) return this;
       if (other.hasResult()) {
         mergeResult(other.getResult());
       }
@@ -553,31 +527,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getResultFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                transaction_ = input.readBytes();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getResultFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              transaction_ = input.readBytes();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -587,54 +561,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.firestore.v1.AggregationResult result_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.AggregationResult,
-            com.google.firestore.v1.AggregationResult.Builder,
-            com.google.firestore.v1.AggregationResultOrBuilder>
-        resultBuilder_;
+        com.google.firestore.v1.AggregationResult, com.google.firestore.v1.AggregationResult.Builder, com.google.firestore.v1.AggregationResultOrBuilder> resultBuilder_;
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
      * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * A single aggregation result.
      * Not present when reporting partial progress.
      * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return The result. */ public com.google.firestore.v1.AggregationResult getResult() { if (resultBuilder_ == null) { - return result_ == null - ? com.google.firestore.v1.AggregationResult.getDefaultInstance() - : result_; + return result_ == null ? com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_; } else { return resultBuilder_.getMessage(); } } /** - * - * *
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -656,8 +616,6 @@ public Builder setResult(com.google.firestore.v1.AggregationResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -665,7 +623,8 @@ public Builder setResult(com.google.firestore.v1.AggregationResult value) {
      *
      * .google.firestore.v1.AggregationResult result = 1;
      */
-    public Builder setResult(com.google.firestore.v1.AggregationResult.Builder builderForValue) {
+    public Builder setResult(
+        com.google.firestore.v1.AggregationResult.Builder builderForValue) {
       if (resultBuilder_ == null) {
         result_ = builderForValue.build();
       } else {
@@ -676,8 +635,6 @@ public Builder setResult(com.google.firestore.v1.AggregationResult.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -687,9 +644,9 @@ public Builder setResult(com.google.firestore.v1.AggregationResult.Builder build
      */
     public Builder mergeResult(com.google.firestore.v1.AggregationResult value) {
       if (resultBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && result_ != null
-            && result_ != com.google.firestore.v1.AggregationResult.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          result_ != null &&
+          result_ != com.google.firestore.v1.AggregationResult.getDefaultInstance()) {
           getResultBuilder().mergeFrom(value);
         } else {
           result_ = value;
@@ -702,8 +659,6 @@ public Builder mergeResult(com.google.firestore.v1.AggregationResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -722,8 +677,6 @@ public Builder clearResult() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -737,8 +690,6 @@ public com.google.firestore.v1.AggregationResult.Builder getResultBuilder() {
       return getResultFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -750,14 +701,11 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
       if (resultBuilder_ != null) {
         return resultBuilder_.getMessageOrBuilder();
       } else {
-        return result_ == null
-            ? com.google.firestore.v1.AggregationResult.getDefaultInstance()
-            : result_;
+        return result_ == null ?
+            com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_;
       }
     }
     /**
-     *
-     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -766,17 +714,14 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
      * .google.firestore.v1.AggregationResult result = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.AggregationResult,
-            com.google.firestore.v1.AggregationResult.Builder,
-            com.google.firestore.v1.AggregationResultOrBuilder>
+        com.google.firestore.v1.AggregationResult, com.google.firestore.v1.AggregationResult.Builder, com.google.firestore.v1.AggregationResultOrBuilder> 
         getResultFieldBuilder() {
       if (resultBuilder_ == null) {
-        resultBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.AggregationResult,
-                com.google.firestore.v1.AggregationResult.Builder,
-                com.google.firestore.v1.AggregationResultOrBuilder>(
-                getResult(), getParentForChildren(), isClean());
+        resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.AggregationResult, com.google.firestore.v1.AggregationResult.Builder, com.google.firestore.v1.AggregationResultOrBuilder>(
+                getResult(),
+                getParentForChildren(),
+                isClean());
         result_ = null;
       }
       return resultBuilder_;
@@ -784,8 +729,6 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -793,7 +736,6 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
      * 
* * bytes transaction = 2; - * * @return The transaction. */ @java.lang.Override @@ -801,8 +743,6 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -810,22 +750,17 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 2; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -833,7 +768,6 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -845,33 +779,36 @@ public Builder clearTransaction() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
-     * The time at which the aggregate value is valid for.
+     * The time at which the aggregate result was computed. This is always
+     * monotonically increasing; in this case, the previous AggregationResult in
+     * the result stream are guaranteed not to have changed between their
+     * `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `result` will be sent, and this represents the time at which the query
+     * was run.
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
-     * The time at which the aggregate value is valid for.
+     * The time at which the aggregate result was computed. This is always
+     * monotonically increasing; in this case, the previous AggregationResult in
+     * the result stream are guaranteed not to have changed between their
+     * `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `result` will be sent, and this represents the time at which the query
+     * was run.
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -882,10 +819,14 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
-     * The time at which the aggregate value is valid for.
+     * The time at which the aggregate result was computed. This is always
+     * monotonically increasing; in this case, the previous AggregationResult in
+     * the result stream are guaranteed not to have changed between their
+     * `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `result` will be sent, and this represents the time at which the query
+     * was run.
      * 
* * .google.protobuf.Timestamp read_time = 3; @@ -904,15 +845,20 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * The time at which the aggregate value is valid for.
+     * The time at which the aggregate result was computed. This is always
+     * monotonically increasing; in this case, the previous AggregationResult in
+     * the result stream are guaranteed not to have changed between their
+     * `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `result` will be sent, and this represents the time at which the query
+     * was run.
      * 
* * .google.protobuf.Timestamp read_time = 3; */ - public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setReadTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (readTimeBuilder_ == null) { readTime_ = builderForValue.build(); } else { @@ -923,19 +869,23 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
-     * The time at which the aggregate value is valid for.
+     * The time at which the aggregate result was computed. This is always
+     * monotonically increasing; in this case, the previous AggregationResult in
+     * the result stream are guaranteed not to have changed between their
+     * `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `result` will be sent, and this represents the time at which the query
+     * was run.
      * 
* * .google.protobuf.Timestamp read_time = 3; */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && readTime_ != null - && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + readTime_ != null && + readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -948,10 +898,14 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * The time at which the aggregate value is valid for.
+     * The time at which the aggregate result was computed. This is always
+     * monotonically increasing; in this case, the previous AggregationResult in
+     * the result stream are guaranteed not to have changed between their
+     * `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `result` will be sent, and this represents the time at which the query
+     * was run.
      * 
* * .google.protobuf.Timestamp read_time = 3; @@ -967,10 +921,14 @@ public Builder clearReadTime() { return this; } /** - * - * *
-     * The time at which the aggregate value is valid for.
+     * The time at which the aggregate result was computed. This is always
+     * monotonically increasing; in this case, the previous AggregationResult in
+     * the result stream are guaranteed not to have changed between their
+     * `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `result` will be sent, and this represents the time at which the query
+     * was run.
      * 
* * .google.protobuf.Timestamp read_time = 3; @@ -981,10 +939,14 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * The time at which the aggregate value is valid for.
+     * The time at which the aggregate result was computed. This is always
+     * monotonically increasing; in this case, the previous AggregationResult in
+     * the result stream are guaranteed not to have changed between their
+     * `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `result` will be sent, and this represents the time at which the query
+     * was run.
      * 
* * .google.protobuf.Timestamp read_time = 3; @@ -993,37 +955,39 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { if (readTimeBuilder_ != null) { return readTimeBuilder_.getMessageOrBuilder(); } else { - return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + return readTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } } /** - * - * *
-     * The time at which the aggregate value is valid for.
+     * The time at which the aggregate result was computed. This is always
+     * monotonically increasing; in this case, the previous AggregationResult in
+     * the result stream are guaranteed not to have changed between their
+     * `read_time` and this one.
+     * If the query returns no results, a response with `read_time` and no
+     * `result` will be sent, and this represents the time at which the query
+     * was run.
      * 
* * .google.protobuf.Timestamp read_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getReadTimeFieldBuilder() { if (readTimeBuilder_ == null) { - readTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getReadTime(), getParentForChildren(), isClean()); + readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getReadTime(), + getParentForChildren(), + isClean()); readTime_ = null; } return readTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1033,12 +997,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunAggregationQueryResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.RunAggregationQueryResponse) private static final com.google.firestore.v1.RunAggregationQueryResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.RunAggregationQueryResponse(); } @@ -1047,27 +1011,27 @@ public static com.google.firestore.v1.RunAggregationQueryResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunAggregationQueryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunAggregationQueryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1082,4 +1046,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.firestore.v1.RunAggregationQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java index 8a7025bbd..b9a87d25f 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface RunAggregationQueryResponseOrBuilder - extends +public interface RunAggregationQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunAggregationQueryResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return Whether the result field is set. */ boolean hasResult(); /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; - * * @return The result. */ com.google.firestore.v1.AggregationResult getResult(); /** - * - * *
    * A single aggregation result.
    * Not present when reporting partial progress.
@@ -62,8 +38,6 @@ public interface RunAggregationQueryResponseOrBuilder
   com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder();
 
   /**
-   *
-   *
    * 
    * The transaction that was started as part of this request.
    * Only present on the first response when the request requested to start
@@ -71,40 +45,49 @@ public interface RunAggregationQueryResponseOrBuilder
    * 
* * bytes transaction = 2; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
-   * The time at which the aggregate value is valid for.
+   * The time at which the aggregate result was computed. This is always
+   * monotonically increasing; in this case, the previous AggregationResult in
+   * the result stream are guaranteed not to have changed between their
+   * `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `result` will be sent, and this represents the time at which the query
+   * was run.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
-   * The time at which the aggregate value is valid for.
+   * The time at which the aggregate result was computed. This is always
+   * monotonically increasing; in this case, the previous AggregationResult in
+   * the result stream are guaranteed not to have changed between their
+   * `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `result` will be sent, and this represents the time at which the query
+   * was run.
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
-   * The time at which the aggregate value is valid for.
+   * The time at which the aggregate result was computed. This is always
+   * monotonically increasing; in this case, the previous AggregationResult in
+   * the result stream are guaranteed not to have changed between their
+   * `read_time` and this one.
+   * If the query returns no results, a response with `read_time` and no
+   * `result` will be sent, and this represents the time at which the query
+   * was run.
    * 
* * .google.protobuf.Timestamp read_time = 3; diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java similarity index 74% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java index 18b627e12..bb67385a4 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
  * 
* * Protobuf type {@code google.firestore.v1.RunQueryRequest} */ -public final class RunQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RunQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RunQueryRequest) RunQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RunQueryRequest.newBuilder() to construct. private RunQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RunQueryRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunQueryRequest.class, - com.google.firestore.v1.RunQueryRequest.Builder.class); + com.google.firestore.v1.RunQueryRequest.class, com.google.firestore.v1.RunQueryRequest.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public enum QueryTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; - private QueryTypeCase(int value) { this.value = value; } @@ -93,37 +71,32 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 2: - return STRUCTURED_QUERY; - case 0: - return QUERYTYPE_NOT_SET; - default: - return null; + case 2: return STRUCTURED_QUERY; + case 0: return QUERYTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueryTypeCase getQueryTypeCase() { - return QueryTypeCase.forNumber(queryTypeCase_); + public QueryTypeCase + getQueryTypeCase() { + return QueryTypeCase.forNumber( + queryTypeCase_); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(5), NEW_TRANSACTION(6), READ_TIME(7), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -139,35 +112,28 @@ public static ConsistencySelectorCase valueOf(int value) { public static ConsistencySelectorCase forNumber(int value) { switch (value) { - case 5: - return TRANSACTION; - case 6: - return NEW_TRANSACTION; - case 7: - return READ_TIME; - case 0: - return CONSISTENCYSELECTOR_NOT_SET; - default: - return null; + case 5: return TRANSACTION; + case 6: return NEW_TRANSACTION; + case 7: return READ_TIME; + case 0: return CONSISTENCYSELECTOR_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConsistencySelectorCase getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + public ConsistencySelectorCase + getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber( + consistencySelectorCase_); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -178,7 +144,6 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -187,15 +152,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -206,15 +170,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -224,14 +189,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -239,26 +201,21 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** - * - * *
    * A structured query.
    * 
@@ -268,22 +225,19 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } public static final int TRANSACTION_FIELD_NUMBER = 5; /** - * - * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -291,15 +245,12 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; - * * @return The transaction. */ @java.lang.Override @@ -312,8 +263,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 6; /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -322,7 +271,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -330,8 +278,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 6; } /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -340,19 +286,16 @@ public boolean hasNewTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return The newTransaction. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getNewTransaction() { if (consistencySelectorCase_ == 6) { - return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; } return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -365,22 +308,19 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencySelectorCase_ == 6) {
-      return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+       return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
     }
     return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -388,27 +328,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 7) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -419,13 +354,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 7) {
-      return (com.google.protobuf.Timestamp) consistencySelector_;
+       return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -437,7 +371,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -445,7 +380,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(2, (com.google.firestore.v1.StructuredQuery) queryType_);
     }
     if (consistencySelectorCase_ == 5) {
-      output.writeBytes(5, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(
+          5, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 6) {
       output.writeMessage(6, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
@@ -466,24 +402,21 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queryTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.firestore.v1.StructuredQuery) queryType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery) queryType_);
     }
     if (consistencySelectorCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeBytesSize(
-              5, (com.google.protobuf.ByteString) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(
+            5, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
     }
     if (consistencySelectorCase_ == 7) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              7, (com.google.protobuf.Timestamp) consistencySelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -493,18 +426,20 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.RunQueryRequest)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.RunQueryRequest other = (com.google.firestore.v1.RunQueryRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false;
     switch (queryTypeCase_) {
       case 2:
-        if (!getStructuredQuery().equals(other.getStructuredQuery())) return false;
+        if (!getStructuredQuery()
+            .equals(other.getStructuredQuery())) return false;
         break;
       case 0:
       default:
@@ -512,13 +447,16 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 5:
-        if (!getTransaction().equals(other.getTransaction())) return false;
+        if (!getTransaction()
+            .equals(other.getTransaction())) return false;
         break;
       case 6:
-        if (!getNewTransaction().equals(other.getNewTransaction())) return false;
+        if (!getNewTransaction()
+            .equals(other.getNewTransaction())) return false;
         break;
       case 7:
-        if (!getReadTime().equals(other.getReadTime())) return false;
+        if (!getReadTime()
+            .equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -565,136 +503,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.RunQueryRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.RunQueryRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.RunQueryRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.RunQueryRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.RunQueryRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.RunQueryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.RunQueryRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.RunQueryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
    * 
* * Protobuf type {@code google.firestore.v1.RunQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunQueryRequest) com.google.firestore.v1.RunQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunQueryRequest.class, - com.google.firestore.v1.RunQueryRequest.Builder.class); + com.google.firestore.v1.RunQueryRequest.class, com.google.firestore.v1.RunQueryRequest.Builder.class); } // Construct using com.google.firestore.v1.RunQueryRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -717,9 +649,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_RunQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_descriptor; } @java.lang.Override @@ -738,11 +670,8 @@ public com.google.firestore.v1.RunQueryRequest build() { @java.lang.Override public com.google.firestore.v1.RunQueryRequest buildPartial() { - com.google.firestore.v1.RunQueryRequest result = - new com.google.firestore.v1.RunQueryRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.RunQueryRequest result = new com.google.firestore.v1.RunQueryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -758,15 +687,18 @@ private void buildPartial0(com.google.firestore.v1.RunQueryRequest result) { private void buildPartialOneofs(com.google.firestore.v1.RunQueryRequest result) { result.queryTypeCase_ = queryTypeCase_; result.queryType_ = this.queryType_; - if (queryTypeCase_ == 2 && structuredQueryBuilder_ != null) { + if (queryTypeCase_ == 2 && + structuredQueryBuilder_ != null) { result.queryType_ = structuredQueryBuilder_.build(); } result.consistencySelectorCase_ = consistencySelectorCase_; result.consistencySelector_ = this.consistencySelector_; - if (consistencySelectorCase_ == 6 && newTransactionBuilder_ != null) { + if (consistencySelectorCase_ == 6 && + newTransactionBuilder_ != null) { result.consistencySelector_ = newTransactionBuilder_.build(); } - if (consistencySelectorCase_ == 7 && readTimeBuilder_ != null) { + if (consistencySelectorCase_ == 7 && + readTimeBuilder_ != null) { result.consistencySelector_ = readTimeBuilder_.build(); } } @@ -775,39 +707,38 @@ private void buildPartialOneofs(com.google.firestore.v1.RunQueryRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.RunQueryRequest) { - return mergeFrom((com.google.firestore.v1.RunQueryRequest) other); + return mergeFrom((com.google.firestore.v1.RunQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -822,36 +753,30 @@ public Builder mergeFrom(com.google.firestore.v1.RunQueryRequest other) { onChanged(); } switch (other.getQueryTypeCase()) { - case STRUCTURED_QUERY: - { - mergeStructuredQuery(other.getStructuredQuery()); - break; - } - case QUERYTYPE_NOT_SET: - { - break; - } + case STRUCTURED_QUERY: { + mergeStructuredQuery(other.getStructuredQuery()); + break; + } + case QUERYTYPE_NOT_SET: { + break; + } } switch (other.getConsistencySelectorCase()) { - case TRANSACTION: - { - setTransaction(other.getTransaction()); - break; - } - case NEW_TRANSACTION: - { - mergeNewTransaction(other.getNewTransaction()); - break; - } - case READ_TIME: - { - mergeReadTime(other.getReadTime()); - break; - } - case CONSISTENCYSELECTOR_NOT_SET: - { - break; - } + case TRANSACTION: { + setTransaction(other.getTransaction()); + break; + } + case NEW_TRANSACTION: { + mergeNewTransaction(other.getNewTransaction()); + break; + } + case READ_TIME: { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYSELECTOR_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -879,43 +804,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry); - queryTypeCase_ = 2; - break; - } // case 18 - case 42: - { - consistencySelector_ = input.readBytes(); - consistencySelectorCase_ = 5; - break; - } // case 42 - case 50: - { - input.readMessage(getNewTransactionFieldBuilder().getBuilder(), extensionRegistry); - consistencySelectorCase_ = 6; - break; - } // case 50 - case 58: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - consistencySelectorCase_ = 7; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStructuredQueryFieldBuilder().getBuilder(), + extensionRegistry); + queryTypeCase_ = 2; + break; + } // case 18 + case 42: { + consistencySelector_ = input.readBytes(); + consistencySelectorCase_ = 5; + break; + } // case 42 + case 50: { + input.readMessage( + getNewTransactionFieldBuilder().getBuilder(), + extensionRegistry); + consistencySelectorCase_ = 6; + break; + } // case 50 + case 58: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + consistencySelectorCase_ = 7; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -925,12 +850,12 @@ public Builder mergeFrom( } // finally return this; } - private int queryTypeCase_ = 0; private java.lang.Object queryType_; - - public QueryTypeCase getQueryTypeCase() { - return QueryTypeCase.forNumber(queryTypeCase_); + public QueryTypeCase + getQueryTypeCase() { + return QueryTypeCase.forNumber( + queryTypeCase_); } public Builder clearQueryType() { @@ -942,9 +867,10 @@ public Builder clearQueryType() { private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - - public ConsistencySelectorCase getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + public ConsistencySelectorCase + getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber( + consistencySelectorCase_); } public Builder clearConsistencySelector() { @@ -958,8 +884,6 @@ public Builder clearConsistencySelector() { private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -970,13 +894,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -985,8 +909,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -997,14 +919,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1012,8 +935,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1024,22 +945,18 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1050,7 +967,6 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1060,8 +976,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1072,14 +986,12 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1088,19 +1000,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder> - structuredQueryBuilder_; + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_; /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1108,14 +1014,11 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override @@ -1133,8 +1036,6 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** - * - * *
      * A structured query.
      * 
@@ -1155,8 +1056,6 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** - * - * *
      * A structured query.
      * 
@@ -1175,8 +1074,6 @@ public Builder setStructuredQuery( return this; } /** - * - * *
      * A structured query.
      * 
@@ -1185,13 +1082,10 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 2 - && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = - com.google.firestore.v1.StructuredQuery.newBuilder( - (com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 2 && + queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -1207,8 +1101,6 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** - * - * *
      * A structured query.
      * 
@@ -1232,8 +1124,6 @@ public Builder clearStructuredQuery() { return this; } /** - * - * *
      * A structured query.
      * 
@@ -1244,8 +1134,6 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** - * - * *
      * A structured query.
      * 
@@ -1264,8 +1152,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** - * - * *
      * A structured query.
      * 
@@ -1273,19 +1159,14 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil * .google.firestore.v1.StructuredQuery structured_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder> + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> getStructuredQueryFieldBuilder() { if (structuredQueryBuilder_ == null) { if (!(queryTypeCase_ == 2)) { queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } - structuredQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder>( + structuredQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder>( (com.google.firestore.v1.StructuredQuery) queryType_, getParentForChildren(), isClean()); @@ -1297,30 +1178,24 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } /** - * - * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 5; } /** - * - * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1330,37 +1205,29 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } consistencySelectorCase_ = 5; consistencySelector_ = value; onChanged(); return this; } /** - * - * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1373,13 +1240,8 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, - com.google.firestore.v1.TransactionOptions.Builder, - com.google.firestore.v1.TransactionOptionsOrBuilder> - newTransactionBuilder_; + com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1388,7 +1250,6 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1396,8 +1257,6 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 6; } /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1406,7 +1265,6 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return The newTransaction. */ @java.lang.Override @@ -1424,8 +1282,6 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** - * - * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1449,8 +1305,6 @@ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1472,8 +1326,6 @@ public Builder setNewTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1485,14 +1337,10 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencySelectorCase_ == 6
-            && consistencySelector_
-                != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.firestore.v1.TransactionOptions.newBuilder(
-                      (com.google.firestore.v1.TransactionOptions) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 6 &&
+            consistencySelector_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencySelector_ = com.google.firestore.v1.TransactionOptions.newBuilder((com.google.firestore.v1.TransactionOptions) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1508,8 +1356,6 @@ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions va
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1536,8 +1382,6 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1551,8 +1395,6 @@ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1574,8 +1416,6 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1586,19 +1426,14 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * .google.firestore.v1.TransactionOptions new_transaction = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.TransactionOptions,
-            com.google.firestore.v1.TransactionOptions.Builder,
-            com.google.firestore.v1.TransactionOptionsOrBuilder>
+        com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> 
         getNewTransactionFieldBuilder() {
       if (newTransactionBuilder_ == null) {
         if (!(consistencySelectorCase_ == 6)) {
           consistencySelector_ = com.google.firestore.v1.TransactionOptions.getDefaultInstance();
         }
-        newTransactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.TransactionOptions,
-                com.google.firestore.v1.TransactionOptions.Builder,
-                com.google.firestore.v1.TransactionOptionsOrBuilder>(
+        newTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder>(
                 (com.google.firestore.v1.TransactionOptions) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1610,20 +1445,14 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        readTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1631,15 +1460,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ @java.lang.Override @@ -1657,8 +1483,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1680,8 +1504,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1689,7 +1511,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 7;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1700,8 +1523,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1711,13 +1532,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 7
-            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencySelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencySelectorCase_ == 7 &&
+            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1733,8 +1551,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1759,8 +1575,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1772,8 +1586,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1793,8 +1605,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1803,19 +1613,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 7)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1825,9 +1630,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1837,12 +1642,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunQueryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.RunQueryRequest)
   private static final com.google.firestore.v1.RunQueryRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.RunQueryRequest();
   }
@@ -1851,27 +1656,27 @@ public static com.google.firestore.v1.RunQueryRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RunQueryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RunQueryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1886,4 +1691,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.RunQueryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
similarity index 83%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
index b6c813a6b..62a4acba0 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface RunQueryRequestOrBuilder
-    extends
+public interface RunQueryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -36,13 +18,10 @@ public interface RunQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -53,38 +32,30 @@ public interface RunQueryRequestOrBuilder
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** - * - * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** - * - * *
    * A structured query.
    * 
@@ -94,35 +65,27 @@ public interface RunQueryRequestOrBuilder com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); /** - * - * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -131,13 +94,10 @@ public interface RunQueryRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -146,13 +106,10 @@ public interface RunQueryRequestOrBuilder
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; - * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** - * - * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -165,34 +122,26 @@ public interface RunQueryRequestOrBuilder
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -204,6 +153,5 @@ public interface RunQueryRequestOrBuilder
 
   public com.google.firestore.v1.RunQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.RunQueryRequest.ConsistencySelectorCase
-      getConsistencySelectorCase();
+  public com.google.firestore.v1.RunQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
similarity index 75%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
index edff7d0c5..9ad5bc4d7 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The response for
  * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
@@ -28,57 +11,52 @@
  *
  * Protobuf type {@code google.firestore.v1.RunQueryResponse}
  */
-public final class RunQueryResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunQueryResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.RunQueryResponse)
     RunQueryResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunQueryResponse.newBuilder() to construct.
   private RunQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunQueryResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunQueryResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_RunQueryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.RunQueryResponse.class,
-            com.google.firestore.v1.RunQueryResponse.Builder.class);
+            com.google.firestore.v1.RunQueryResponse.class, com.google.firestore.v1.RunQueryResponse.Builder.class);
   }
 
   private int continuationSelectorCase_ = 0;
   private java.lang.Object continuationSelector_;
-
   public enum ContinuationSelectorCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DONE(6),
     CONTINUATIONSELECTOR_NOT_SET(0);
     private final int value;
-
     private ContinuationSelectorCase(int value) {
       this.value = value;
     }
@@ -94,29 +72,25 @@ public static ContinuationSelectorCase valueOf(int value) {
 
     public static ContinuationSelectorCase forNumber(int value) {
       switch (value) {
-        case 6:
-          return DONE;
-        case 0:
-          return CONTINUATIONSELECTOR_NOT_SET;
-        default:
-          return null;
+        case 6: return DONE;
+        case 0: return CONTINUATIONSELECTOR_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ContinuationSelectorCase getContinuationSelectorCase() {
-    return ContinuationSelectorCase.forNumber(continuationSelectorCase_);
+  public ContinuationSelectorCase
+  getContinuationSelectorCase() {
+    return ContinuationSelectorCase.forNumber(
+        continuationSelectorCase_);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 2;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The transaction that was started as part of this request.
    * Can only be set in the first response, and only if
@@ -126,7 +100,6 @@ public ContinuationSelectorCase getContinuationSelectorCase() {
    * 
* * bytes transaction = 2; - * * @return The transaction. */ @java.lang.Override @@ -137,14 +110,11 @@ public com.google.protobuf.ByteString getTransaction() { public static final int DOCUMENT_FIELD_NUMBER = 1; private com.google.firestore.v1.Document document_; /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ @java.lang.Override @@ -152,14 +122,11 @@ public boolean hasDocument() { return document_ != null; } /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ @java.lang.Override @@ -167,8 +134,6 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
@@ -183,8 +148,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -195,7 +158,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -203,8 +165,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -215,7 +175,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ @java.lang.Override @@ -223,8 +182,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -244,15 +201,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int SKIPPED_RESULTS_FIELD_NUMBER = 4;
   private int skippedResults_ = 0;
   /**
-   *
-   *
    * 
    * The number of results that have been skipped due to an offset between
    * the last response and the current response.
    * 
* * int32 skipped_results = 4; - * * @return The skippedResults. */ @java.lang.Override @@ -262,15 +216,12 @@ public int getSkippedResults() { public static final int DONE_FIELD_NUMBER = 6; /** - * - * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; - * * @return Whether the done field is set. */ @java.lang.Override @@ -278,15 +229,12 @@ public boolean hasDone() { return continuationSelectorCase_ == 6; } /** - * - * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; - * * @return The done. */ @java.lang.Override @@ -298,7 +246,6 @@ public boolean getDone() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (document_ != null) { output.writeMessage(1, getDocument()); } @@ -324,7 +272,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeInt32(4, skippedResults_); } if (continuationSelectorCase_ == 6) { - output.writeBool(6, (boolean) ((java.lang.Boolean) continuationSelector_)); + output.writeBool( + 6, (boolean)((java.lang.Boolean) continuationSelector_)); } getUnknownFields().writeTo(output); } @@ -336,21 +285,25 @@ public int getSerializedSize() { size = 0; if (document_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDocument()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDocument()); } if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, transaction_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getReadTime()); } if (skippedResults_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, skippedResults_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, skippedResults_); } if (continuationSelectorCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 6, (boolean) ((java.lang.Boolean) continuationSelector_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 6, (boolean)((java.lang.Boolean) continuationSelector_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -360,27 +313,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.RunQueryResponse)) { return super.equals(obj); } com.google.firestore.v1.RunQueryResponse other = (com.google.firestore.v1.RunQueryResponse) obj; - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; if (hasDocument() != other.hasDocument()) return false; if (hasDocument()) { - if (!getDocument().equals(other.getDocument())) return false; + if (!getDocument() + .equals(other.getDocument())) return false; } if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; } - if (getSkippedResults() != other.getSkippedResults()) return false; + if (getSkippedResults() + != other.getSkippedResults()) return false; if (!getContinuationSelectorCase().equals(other.getContinuationSelectorCase())) return false; switch (continuationSelectorCase_) { case 6: - if (getDone() != other.getDone()) return false; + if (getDone() + != other.getDone()) return false; break; case 0: default: @@ -411,7 +369,8 @@ public int hashCode() { switch (continuationSelectorCase_) { case 6: hash = (37 * hash) + DONE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDone()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDone()); break; case 0: default: @@ -421,104 +380,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.RunQueryResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.RunQueryResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.RunQueryResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.RunQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.RunQueryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.RunQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.RunQueryResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.RunQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.RunQueryResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.RunQueryResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.RunQueryResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.RunQueryResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.RunQueryResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.RunQueryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.RunQueryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
@@ -526,32 +478,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.RunQueryResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunQueryResponse)
       com.google.firestore.v1.RunQueryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_RunQueryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.RunQueryResponse.class,
-              com.google.firestore.v1.RunQueryResponse.Builder.class);
+              com.google.firestore.v1.RunQueryResponse.class, com.google.firestore.v1.RunQueryResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.RunQueryResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -574,9 +527,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_RunQueryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -595,11 +548,8 @@ public com.google.firestore.v1.RunQueryResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.RunQueryResponse buildPartial() {
-      com.google.firestore.v1.RunQueryResponse result =
-          new com.google.firestore.v1.RunQueryResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.RunQueryResponse result = new com.google.firestore.v1.RunQueryResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -611,10 +561,14 @@ private void buildPartial0(com.google.firestore.v1.RunQueryResponse result) {
         result.transaction_ = transaction_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.document_ = documentBuilder_ == null ? document_ : documentBuilder_.build();
+        result.document_ = documentBuilder_ == null
+            ? document_
+            : documentBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null
+            ? readTime_
+            : readTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.skippedResults_ = skippedResults_;
@@ -630,39 +584,38 @@ private void buildPartialOneofs(com.google.firestore.v1.RunQueryResponse result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.RunQueryResponse) {
-        return mergeFrom((com.google.firestore.v1.RunQueryResponse) other);
+        return mergeFrom((com.google.firestore.v1.RunQueryResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -684,15 +637,13 @@ public Builder mergeFrom(com.google.firestore.v1.RunQueryResponse other) {
         setSkippedResults(other.getSkippedResults());
       }
       switch (other.getContinuationSelectorCase()) {
-        case DONE:
-          {
-            setDone(other.getDone());
-            break;
-          }
-        case CONTINUATIONSELECTOR_NOT_SET:
-          {
-            break;
-          }
+        case DONE: {
+          setDone(other.getDone());
+          break;
+        }
+        case CONTINUATIONSELECTOR_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -720,43 +671,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 10
-            case 18:
-              {
-                transaction_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                skippedResults_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 48:
-              {
-                continuationSelector_ = input.readBool();
-                continuationSelectorCase_ = 6;
-                break;
-              } // case 48
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getDocumentFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 10
+            case 18: {
+              transaction_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getReadTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              skippedResults_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 48: {
+              continuationSelector_ = input.readBool();
+              continuationSelectorCase_ = 6;
+              break;
+            } // case 48
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -766,12 +715,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int continuationSelectorCase_ = 0;
     private java.lang.Object continuationSelector_;
-
-    public ContinuationSelectorCase getContinuationSelectorCase() {
-      return ContinuationSelectorCase.forNumber(continuationSelectorCase_);
+    public ContinuationSelectorCase
+        getContinuationSelectorCase() {
+      return ContinuationSelectorCase.forNumber(
+          continuationSelectorCase_);
     }
 
     public Builder clearContinuationSelector() {
@@ -785,8 +734,6 @@ public Builder clearContinuationSelector() {
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The transaction that was started as part of this request.
      * Can only be set in the first response, and only if
@@ -796,7 +743,6 @@ public Builder clearContinuationSelector() {
      * 
* * bytes transaction = 2; - * * @return The transaction. */ @java.lang.Override @@ -804,8 +750,6 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The transaction that was started as part of this request.
      * Can only be set in the first response, and only if
@@ -815,22 +759,17 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 2; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The transaction that was started as part of this request.
      * Can only be set in the first response, and only if
@@ -840,7 +779,6 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -852,47 +790,34 @@ public Builder clearTransaction() { private com.google.firestore.v1.Document document_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> - documentBuilder_; + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_; /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ public boolean hasDocument() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ public com.google.firestore.v1.Document getDocument() { if (documentBuilder_ == null) { - return document_ == null - ? com.google.firestore.v1.Document.getDefaultInstance() - : document_; + return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } else { return documentBuilder_.getMessage(); } } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -913,15 +838,14 @@ public Builder setDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
* * .google.firestore.v1.Document document = 1; */ - public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setDocument( + com.google.firestore.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { document_ = builderForValue.build(); } else { @@ -932,8 +856,6 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa return this; } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -942,9 +864,9 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa */ public Builder mergeDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && document_ != null - && document_ != com.google.firestore.v1.Document.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + document_ != null && + document_ != com.google.firestore.v1.Document.getDefaultInstance()) { getDocumentBuilder().mergeFrom(value); } else { document_ = value; @@ -957,8 +879,6 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -976,8 +896,6 @@ public Builder clearDocument() { return this; } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -990,8 +908,6 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { return getDocumentFieldBuilder().getBuilder(); } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -1002,14 +918,11 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { return documentBuilder_.getMessageOrBuilder(); } else { - return document_ == null - ? com.google.firestore.v1.Document.getDefaultInstance() - : document_; + return document_ == null ? + com.google.firestore.v1.Document.getDefaultInstance() : document_; } } /** - * - * *
      * A query result, not set when reporting partial progress.
      * 
@@ -1017,17 +930,14 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { * .google.firestore.v1.Document document = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> getDocumentFieldBuilder() { if (documentBuilder_ == null) { - documentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder>( - getDocument(), getParentForChildren(), isClean()); + documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), + getParentForChildren(), + isClean()); document_ = null; } return documentBuilder_; @@ -1035,13 +945,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1052,15 +957,12 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1071,7 +973,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1082,8 +983,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1109,8 +1008,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1122,7 +1019,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 3;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -1133,8 +1031,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1148,9 +1044,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1163,8 +1059,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1187,8 +1081,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1206,8 +1098,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1223,12 +1113,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1241,33 +1130,27 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
 
-    private int skippedResults_;
+    private int skippedResults_ ;
     /**
-     *
-     *
      * 
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; - * * @return The skippedResults. */ @java.lang.Override @@ -1275,35 +1158,29 @@ public int getSkippedResults() { return skippedResults_; } /** - * - * *
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; - * * @param value The skippedResults to set. * @return This builder for chaining. */ public Builder setSkippedResults(int value) { - + skippedResults_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; - * * @return This builder for chaining. */ public Builder clearSkippedResults() { @@ -1314,30 +1191,24 @@ public Builder clearSkippedResults() { } /** - * - * *
      * If present, Firestore has completely finished the request and no more
      * documents will be returned.
      * 
* * bool done = 6; - * * @return Whether the done field is set. */ public boolean hasDone() { return continuationSelectorCase_ == 6; } /** - * - * *
      * If present, Firestore has completely finished the request and no more
      * documents will be returned.
      * 
* * bool done = 6; - * * @return The done. */ public boolean getDone() { @@ -1347,35 +1218,29 @@ public boolean getDone() { return false; } /** - * - * *
      * If present, Firestore has completely finished the request and no more
      * documents will be returned.
      * 
* * bool done = 6; - * * @param value The done to set. * @return This builder for chaining. */ public Builder setDone(boolean value) { - + continuationSelectorCase_ = 6; continuationSelector_ = value; onChanged(); return this; } /** - * - * *
      * If present, Firestore has completely finished the request and no more
      * documents will be returned.
      * 
* * bool done = 6; - * * @return This builder for chaining. */ public Builder clearDone() { @@ -1386,9 +1251,9 @@ public Builder clearDone() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1398,12 +1263,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunQueryResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.RunQueryResponse) private static final com.google.firestore.v1.RunQueryResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.RunQueryResponse(); } @@ -1412,27 +1277,27 @@ public static com.google.firestore.v1.RunQueryResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunQueryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunQueryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1447,4 +1312,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.RunQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java similarity index 82% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java index 01dcbd7e6..319faa8f4 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface RunQueryResponseOrBuilder - extends +public interface RunQueryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunQueryResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The transaction that was started as part of this request.
    * Can only be set in the first response, and only if
@@ -35,38 +17,29 @@ public interface RunQueryResponseOrBuilder
    * 
* * bytes transaction = 2; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return Whether the document field is set. */ boolean hasDocument(); /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; - * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** - * - * *
    * A query result, not set when reporting partial progress.
    * 
@@ -76,8 +49,6 @@ public interface RunQueryResponseOrBuilder com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -88,13 +59,10 @@ public interface RunQueryResponseOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -105,13 +73,10 @@ public interface RunQueryResponseOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -126,46 +91,36 @@ public interface RunQueryResponseOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The number of results that have been skipped due to an offset between
    * the last response and the current response.
    * 
* * int32 skipped_results = 4; - * * @return The skippedResults. */ int getSkippedResults(); /** - * - * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; - * * @return Whether the done field is set. */ boolean hasDone(); /** - * - * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; - * * @return The done. */ boolean getDone(); - public com.google.firestore.v1.RunQueryResponse.ContinuationSelectorCase - getContinuationSelectorCase(); + public com.google.firestore.v1.RunQueryResponse.ContinuationSelectorCase getContinuationSelectorCase(); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java similarity index 69% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java index cbdc7e795..737c61365 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; /** - * - * *
  * Firestore query for running an aggregation over a
  * [StructuredQuery][google.firestore.v1.StructuredQuery].
@@ -28,90 +11,76 @@
  *
  * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery}
  */
-public final class StructuredAggregationQuery extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StructuredAggregationQuery extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery)
     StructuredAggregationQueryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StructuredAggregationQuery.newBuilder() to construct.
   private StructuredAggregationQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StructuredAggregationQuery() {
     aggregations_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StructuredAggregationQuery();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.QueryProto
-        .internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.QueryProto
-        .internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable
+    return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.StructuredAggregationQuery.class,
-            com.google.firestore.v1.StructuredAggregationQuery.Builder.class);
+            com.google.firestore.v1.StructuredAggregationQuery.class, com.google.firestore.v1.StructuredAggregationQuery.Builder.class);
   }
 
-  public interface AggregationOrBuilder
-      extends
+  public interface AggregationOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredAggregationQuery.Aggregation)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; - * * @return Whether the count field is set. */ boolean hasCount(); /** - * - * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; - * * @return The count. */ com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getCount(); /** - * - * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder - getCountOrBuilder(); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder(); /** - * - * *
      * Optional. Optional name of the field to store the result of the
      * aggregation into.
@@ -122,7 +91,7 @@ public interface AggregationOrBuilder
      *   COUNT_UP_TO(1) AS count_up_to_1,
      *   COUNT_UP_TO(2),
      *   COUNT_UP_TO(3) AS count_up_to_3,
-     *   COUNT_UP_TO(4)
+     *   COUNT(*)
      * OVER (
      *   ...
      * );
@@ -133,7 +102,7 @@ public interface AggregationOrBuilder
      *   COUNT_UP_TO(1) AS count_up_to_1,
      *   COUNT_UP_TO(2) AS field_1,
      *   COUNT_UP_TO(3) AS count_up_to_3,
-     *   COUNT_UP_TO(4) AS field_2
+     *   COUNT(*) AS field_2
      * OVER (
      *   ...
      * );
@@ -145,13 +114,10 @@ public interface AggregationOrBuilder
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The alias. */ java.lang.String getAlias(); /** - * - * *
      * Optional. Optional name of the field to store the result of the
      * aggregation into.
@@ -162,7 +128,7 @@ public interface AggregationOrBuilder
      *   COUNT_UP_TO(1) AS count_up_to_1,
      *   COUNT_UP_TO(2),
      *   COUNT_UP_TO(3) AS count_up_to_3,
-     *   COUNT_UP_TO(4)
+     *   COUNT(*)
      * OVER (
      *   ...
      * );
@@ -173,7 +139,7 @@ public interface AggregationOrBuilder
      *   COUNT_UP_TO(1) AS count_up_to_1,
      *   COUNT_UP_TO(2) AS field_1,
      *   COUNT_UP_TO(3) AS count_up_to_3,
-     *   COUNT_UP_TO(4) AS field_2
+     *   COUNT(*) AS field_2
      * OVER (
      *   ...
      * );
@@ -185,76 +151,68 @@ public interface AggregationOrBuilder
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for alias. */ - com.google.protobuf.ByteString getAliasBytes(); + com.google.protobuf.ByteString + getAliasBytes(); - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.OperatorCase - getOperatorCase(); + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.OperatorCase getOperatorCase(); } /** - * - * *
-   * Defines a aggregation that produces a single result.
+   * Defines an aggregation that produces a single result.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation} */ - public static final class Aggregation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Aggregation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation) AggregationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Aggregation.newBuilder() to construct. private Aggregation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Aggregation() { alias_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Aggregation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); } - public interface CountOrBuilder - extends + public interface CountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
        * This provides a way to set an upper bound on the number of documents
-       * to scan, limiting latency and cost.
+       * to scan, limiting latency, and cost.
        * Unspecified is interpreted as no bound.
        * High-Level Example:
        * ```
@@ -264,20 +222,16 @@ public interface CountOrBuilder
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the upTo field is set. */ boolean hasUpTo(); /** - * - * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
        * This provides a way to set an upper bound on the number of documents
-       * to scan, limiting latency and cost.
+       * to scan, limiting latency, and cost.
        * Unspecified is interpreted as no bound.
        * High-Level Example:
        * ```
@@ -287,20 +241,16 @@ public interface CountOrBuilder
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The upTo. */ com.google.protobuf.Int64Value getUpTo(); /** - * - * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
        * This provides a way to set an upper bound on the number of documents
-       * to scan, limiting latency and cost.
+       * to scan, limiting latency, and cost.
        * Unspecified is interpreted as no bound.
        * High-Level Example:
        * ```
@@ -310,14 +260,11 @@ public interface CountOrBuilder
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder(); } /** - * - * *
      * Count of documents that match the query.
      * The `COUNT(*)` aggregation function operates on the entire document
@@ -326,54 +273,51 @@ public interface CountOrBuilder
      *
      * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation.Count}
      */
-    public static final class Count extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class Count extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)
         CountOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Count.newBuilder() to construct.
       private Count(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private Count() {}
+      private Count() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Count();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet
+      getUnknownFields() {
         return this.unknownFields;
       }
-
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.firestore.v1.QueryProto
-            .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.firestore.v1.QueryProto
-            .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
+        return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class,
-                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
+                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
       }
 
       public static final int UP_TO_FIELD_NUMBER = 1;
       private com.google.protobuf.Int64Value upTo_;
       /**
-       *
-       *
        * 
        * Optional. Optional constraint on the maximum number of documents to
        * count.
        * This provides a way to set an upper bound on the number of documents
-       * to scan, limiting latency and cost.
+       * to scan, limiting latency, and cost.
        * Unspecified is interpreted as no bound.
        * High-Level Example:
        * ```
@@ -383,9 +327,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the upTo field is set. */ @java.lang.Override @@ -393,13 +335,11 @@ public boolean hasUpTo() { return upTo_ != null; } /** - * - * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
        * This provides a way to set an upper bound on the number of documents
-       * to scan, limiting latency and cost.
+       * to scan, limiting latency, and cost.
        * Unspecified is interpreted as no bound.
        * High-Level Example:
        * ```
@@ -409,9 +349,7 @@ public boolean hasUpTo() {
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The upTo. */ @java.lang.Override @@ -419,13 +357,11 @@ public com.google.protobuf.Int64Value getUpTo() { return upTo_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; } /** - * - * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
        * This provides a way to set an upper bound on the number of documents
-       * to scan, limiting latency and cost.
+       * to scan, limiting latency, and cost.
        * Unspecified is interpreted as no bound.
        * High-Level Example:
        * ```
@@ -435,8 +371,7 @@ public com.google.protobuf.Int64Value getUpTo() {
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { @@ -444,7 +379,6 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -456,7 +390,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (upTo_ != null) { output.writeMessage(1, getUpTo()); } @@ -470,7 +405,8 @@ public int getSerializedSize() { size = 0; if (upTo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpTo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpTo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -480,18 +416,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)) { + if (!(obj instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)) { return super.equals(obj); } - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count other = - (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) obj; + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count other = (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) obj; if (hasUpTo() != other.hasUpTo()) return false; if (hasUpTo()) { - if (!getUpTo().equals(other.getUpTo())) return false; + if (!getUpTo() + .equals(other.getUpTo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -514,96 +449,87 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count prototype) { + public static Builder newBuilder(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -613,8 +539,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Count of documents that match the query.
        * The `COUNT(*)` aggregation function operates on the entire document
@@ -623,35 +547,33 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation.Count}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)
           com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.firestore.v1.QueryProto
-              .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.firestore.v1.QueryProto
-              .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
+          return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class,
-                  com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder
-                      .class);
+                  com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
         }
 
-        // Construct using
-        // com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder()
-        private Builder() {}
+        // Construct using com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder()
+        private Builder() {
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-          super(parent);
         }
 
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          super(parent);
+
+        }
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -665,22 +587,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.firestore.v1.QueryProto
-              .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
         }
 
         @java.lang.Override
-        public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count
-            getDefaultInstanceForType() {
-          return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count
-              .getDefaultInstance();
+        public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getDefaultInstanceForType() {
+          return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count build() {
-          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result =
-              buildPartial();
+          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -689,20 +608,18 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count buil
 
         @java.lang.Override
         public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count buildPartial() {
-          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result =
-              new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(this);
-          if (bitField0_ != 0) {
-            buildPartial0(result);
-          }
+          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(
-            com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result) {
+        private void buildPartial0(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result) {
           int from_bitField0_ = bitField0_;
           if (((from_bitField0_ & 0x00000001) != 0)) {
-            result.upTo_ = upToBuilder_ == null ? upTo_ : upToBuilder_.build();
+            result.upTo_ = upToBuilder_ == null
+                ? upTo_
+                : upToBuilder_.build();
           }
         }
 
@@ -710,54 +627,46 @@ private void buildPartial0(
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other
-              instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) {
-            return mergeFrom(
-                (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) other);
+          if (other instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) {
+            return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count other) {
-          if (other
-              == com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count other) {
+          if (other == com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance()) return this;
           if (other.hasUpTo()) {
             mergeUpTo(other.getUpTo());
           }
@@ -787,19 +696,19 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 10:
-                  {
-                    input.readMessage(getUpToFieldBuilder().getBuilder(), extensionRegistry);
-                    bitField0_ |= 0x00000001;
-                    break;
-                  } // case 10
-                default:
-                  {
-                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                      done = true; // was an endgroup tag
-                    }
-                    break;
-                  } // default:
+                case 10: {
+                  input.readMessage(
+                      getUpToFieldBuilder().getBuilder(),
+                      extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+                default: {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -809,23 +718,17 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
-
         private int bitField0_;
 
         private com.google.protobuf.Int64Value upTo_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Int64Value,
-                com.google.protobuf.Int64Value.Builder,
-                com.google.protobuf.Int64ValueOrBuilder>
-            upToBuilder_;
+            com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> upToBuilder_;
         /**
-         *
-         *
          * 
          * Optional. Optional constraint on the maximum number of documents to
          * count.
          * This provides a way to set an upper bound on the number of documents
-         * to scan, limiting latency and cost.
+         * to scan, limiting latency, and cost.
          * Unspecified is interpreted as no bound.
          * High-Level Example:
          * ```
@@ -835,22 +738,18 @@ public Builder mergeFrom(
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the upTo field is set. */ public boolean hasUpTo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
          * This provides a way to set an upper bound on the number of documents
-         * to scan, limiting latency and cost.
+         * to scan, limiting latency, and cost.
          * Unspecified is interpreted as no bound.
          * High-Level Example:
          * ```
@@ -860,9 +759,7 @@ public boolean hasUpTo() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The upTo. */ public com.google.protobuf.Int64Value getUpTo() { @@ -873,13 +770,11 @@ public com.google.protobuf.Int64Value getUpTo() { } } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
          * This provides a way to set an upper bound on the number of documents
-         * to scan, limiting latency and cost.
+         * to scan, limiting latency, and cost.
          * Unspecified is interpreted as no bound.
          * High-Level Example:
          * ```
@@ -889,8 +784,7 @@ public com.google.protobuf.Int64Value getUpTo() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpTo(com.google.protobuf.Int64Value value) { if (upToBuilder_ == null) { @@ -906,13 +800,11 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
          * This provides a way to set an upper bound on the number of documents
-         * to scan, limiting latency and cost.
+         * to scan, limiting latency, and cost.
          * Unspecified is interpreted as no bound.
          * High-Level Example:
          * ```
@@ -922,10 +814,10 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpTo(com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setUpTo( + com.google.protobuf.Int64Value.Builder builderForValue) { if (upToBuilder_ == null) { upTo_ = builderForValue.build(); } else { @@ -936,13 +828,11 @@ public Builder setUpTo(com.google.protobuf.Int64Value.Builder builderForValue) { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
          * This provides a way to set an upper bound on the number of documents
-         * to scan, limiting latency and cost.
+         * to scan, limiting latency, and cost.
          * Unspecified is interpreted as no bound.
          * High-Level Example:
          * ```
@@ -952,14 +842,13 @@ public Builder setUpTo(com.google.protobuf.Int64Value.Builder builderForValue) {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { if (upToBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && upTo_ != null - && upTo_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + upTo_ != null && + upTo_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getUpToBuilder().mergeFrom(value); } else { upTo_ = value; @@ -972,13 +861,11 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
          * This provides a way to set an upper bound on the number of documents
-         * to scan, limiting latency and cost.
+         * to scan, limiting latency, and cost.
          * Unspecified is interpreted as no bound.
          * High-Level Example:
          * ```
@@ -988,8 +875,7 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpTo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1002,13 +888,11 @@ public Builder clearUpTo() { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
          * This provides a way to set an upper bound on the number of documents
-         * to scan, limiting latency and cost.
+         * to scan, limiting latency, and cost.
          * Unspecified is interpreted as no bound.
          * High-Level Example:
          * ```
@@ -1018,8 +902,7 @@ public Builder clearUpTo() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Int64Value.Builder getUpToBuilder() { bitField0_ |= 0x00000001; @@ -1027,13 +910,11 @@ public com.google.protobuf.Int64Value.Builder getUpToBuilder() { return getUpToFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
          * This provides a way to set an upper bound on the number of documents
-         * to scan, limiting latency and cost.
+         * to scan, limiting latency, and cost.
          * Unspecified is interpreted as no bound.
          * High-Level Example:
          * ```
@@ -1043,24 +924,22 @@ public com.google.protobuf.Int64Value.Builder getUpToBuilder() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { if (upToBuilder_ != null) { return upToBuilder_.getMessageOrBuilder(); } else { - return upTo_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; + return upTo_ == null ? + com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; } } /** - * - * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
          * This provides a way to set an upper bound on the number of documents
-         * to scan, limiting latency and cost.
+         * to scan, limiting latency, and cost.
          * Unspecified is interpreted as no bound.
          * High-Level Example:
          * ```
@@ -1070,26 +949,21 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getUpToFieldBuilder() { if (upToBuilder_ == null) { - upToBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder>( - getUpTo(), getParentForChildren(), isClean()); + upToBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( + getUpTo(), + getParentForChildren(), + isClean()); upTo_ = null; } return upToBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1102,45 +976,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) - private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - DEFAULT_INSTANCE; - + private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(); + DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - getDefaultInstance() { + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Count parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Count parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,23 +1022,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int operatorCase_ = 0; private java.lang.Object operator_; - public enum OperatorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COUNT(1), OPERATOR_NOT_SET(0); private final int value; - private OperatorCase(int value) { this.value = value; } @@ -1184,34 +1051,29 @@ public static OperatorCase valueOf(int value) { public static OperatorCase forNumber(int value) { switch (value) { - case 1: - return COUNT; - case 0: - return OPERATOR_NOT_SET; - default: - return null; + case 1: return COUNT; + case 0: return OPERATOR_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OperatorCase getOperatorCase() { - return OperatorCase.forNumber(operatorCase_); + public OperatorCase + getOperatorCase() { + return OperatorCase.forNumber( + operatorCase_); } public static final int COUNT_FIELD_NUMBER = 1; /** - * - * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; - * * @return Whether the count field is set. */ @java.lang.Override @@ -1219,27 +1081,21 @@ public boolean hasCount() { return operatorCase_ == 1; } /** - * - * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; - * * @return The count. */ @java.lang.Override public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getCount() { if (operatorCase_ == 1) { - return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; + return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } /** - * - * *
      * Count aggregator.
      * 
@@ -1247,22 +1103,17 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getC * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder - getCountOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder() { if (operatorCase_ == 1) { - return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; + return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } public static final int ALIAS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object alias_ = ""; /** - * - * *
      * Optional. Optional name of the field to store the result of the
      * aggregation into.
@@ -1273,7 +1124,7 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getC
      *   COUNT_UP_TO(1) AS count_up_to_1,
      *   COUNT_UP_TO(2),
      *   COUNT_UP_TO(3) AS count_up_to_3,
-     *   COUNT_UP_TO(4)
+     *   COUNT(*)
      * OVER (
      *   ...
      * );
@@ -1284,7 +1135,7 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getC
      *   COUNT_UP_TO(1) AS count_up_to_1,
      *   COUNT_UP_TO(2) AS field_1,
      *   COUNT_UP_TO(3) AS count_up_to_3,
-     *   COUNT_UP_TO(4) AS field_2
+     *   COUNT(*) AS field_2
      * OVER (
      *   ...
      * );
@@ -1296,7 +1147,6 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getC
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The alias. */ @java.lang.Override @@ -1305,15 +1155,14 @@ public java.lang.String getAlias() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alias_ = s; return s; } } /** - * - * *
      * Optional. Optional name of the field to store the result of the
      * aggregation into.
@@ -1324,7 +1173,7 @@ public java.lang.String getAlias() {
      *   COUNT_UP_TO(1) AS count_up_to_1,
      *   COUNT_UP_TO(2),
      *   COUNT_UP_TO(3) AS count_up_to_3,
-     *   COUNT_UP_TO(4)
+     *   COUNT(*)
      * OVER (
      *   ...
      * );
@@ -1335,7 +1184,7 @@ public java.lang.String getAlias() {
      *   COUNT_UP_TO(1) AS count_up_to_1,
      *   COUNT_UP_TO(2) AS field_1,
      *   COUNT_UP_TO(3) AS count_up_to_3,
-     *   COUNT_UP_TO(4) AS field_2
+     *   COUNT(*) AS field_2
      * OVER (
      *   ...
      * );
@@ -1347,15 +1196,16 @@ public java.lang.String getAlias() {
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for alias. */ @java.lang.Override - public com.google.protobuf.ByteString getAliasBytes() { + public com.google.protobuf.ByteString + getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alias_ = b; return b; } else { @@ -1364,7 +1214,6 @@ public com.google.protobuf.ByteString getAliasBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1376,10 +1225,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (operatorCase_ == 1) { - output.writeMessage( - 1, (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_); + output.writeMessage(1, (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alias_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, alias_); @@ -1394,10 +1243,8 @@ public int getSerializedSize() { size = 0; if (operatorCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alias_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, alias_); @@ -1410,19 +1257,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation)) { return super.equals(obj); } - com.google.firestore.v1.StructuredAggregationQuery.Aggregation other = - (com.google.firestore.v1.StructuredAggregationQuery.Aggregation) obj; + com.google.firestore.v1.StructuredAggregationQuery.Aggregation other = (com.google.firestore.v1.StructuredAggregationQuery.Aggregation) obj; - if (!getAlias().equals(other.getAlias())) return false; + if (!getAlias() + .equals(other.getAlias())) return false; if (!getOperatorCase().equals(other.getOperatorCase())) return false; switch (operatorCase_) { case 1: - if (!getCount().equals(other.getCount())) return false; + if (!getCount() + .equals(other.getCount())) return false; break; case 0: default: @@ -1454,94 +1302,87 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation prototype) { + public static Builder newBuilder(com.google.firestore.v1.StructuredAggregationQuery.Aggregation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1551,41 +1392,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
-     * Defines a aggregation that produces a single result.
+     * Defines an aggregation that produces a single result.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation) com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); } // Construct using com.google.firestore.v1.StructuredAggregationQuery.Aggregation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1600,14 +1439,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation - getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getDefaultInstanceForType() { return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance(); } @@ -1622,29 +1460,25 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation build() { @java.lang.Override public com.google.firestore.v1.StructuredAggregationQuery.Aggregation buildPartial() { - com.google.firestore.v1.StructuredAggregationQuery.Aggregation result = - new com.google.firestore.v1.StructuredAggregationQuery.Aggregation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.StructuredAggregationQuery.Aggregation result = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation result) { + private void buildPartial0(com.google.firestore.v1.StructuredAggregationQuery.Aggregation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.alias_ = alias_; } } - private void buildPartialOneofs( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation result) { + private void buildPartialOneofs(com.google.firestore.v1.StructuredAggregationQuery.Aggregation result) { result.operatorCase_ = operatorCase_; result.operator_ = this.operator_; - if (operatorCase_ == 1 && countBuilder_ != null) { + if (operatorCase_ == 1 && + countBuilder_ != null) { result.operator_ = countBuilder_.build(); } } @@ -1653,67 +1487,59 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation) { - return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery.Aggregation) other); + return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery.Aggregation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation other) { - if (other - == com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery.Aggregation other) { + if (other == com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()) return this; if (!other.getAlias().isEmpty()) { alias_ = other.alias_; bitField0_ |= 0x00000002; onChanged(); } switch (other.getOperatorCase()) { - case COUNT: - { - mergeCount(other.getCount()); - break; - } - case OPERATOR_NOT_SET: - { - break; - } + case COUNT: { + mergeCount(other.getCount()); + break; + } + case OPERATOR_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1741,25 +1567,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCountFieldBuilder().getBuilder(), extensionRegistry); - operatorCase_ = 1; - break; - } // case 10 - case 58: - { - alias_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCountFieldBuilder().getBuilder(), + extensionRegistry); + operatorCase_ = 1; + break; + } // case 10 + case 58: { + alias_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1769,12 +1594,12 @@ public Builder mergeFrom( } // finally return this; } - private int operatorCase_ = 0; private java.lang.Object operator_; - - public OperatorCase getOperatorCase() { - return OperatorCase.forNumber(operatorCase_); + public OperatorCase + getOperatorCase() { + return OperatorCase.forNumber( + operatorCase_); } public Builder clearOperator() { @@ -1787,19 +1612,13 @@ public Builder clearOperator() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder> - countBuilder_; + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder> countBuilder_; /** - * - * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; - * * @return Whether the count field is set. */ @java.lang.Override @@ -1807,14 +1626,11 @@ public boolean hasCount() { return operatorCase_ == 1; } /** - * - * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; - * * @return The count. */ @java.lang.Override @@ -1823,27 +1639,22 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getC if (operatorCase_ == 1) { return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } else { if (operatorCase_ == 1) { return countBuilder_.getMessage(); } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } } /** - * - * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - public Builder setCount( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { + public Builder setCount(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { if (countBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1857,8 +1668,6 @@ public Builder setCount( return this; } /** - * - * *
        * Count aggregator.
        * 
@@ -1866,8 +1675,7 @@ public Builder setCount( * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ public Builder setCount( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder - builderForValue) { + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder builderForValue) { if (countBuilder_ == null) { operator_ = builderForValue.build(); onChanged(); @@ -1878,27 +1686,18 @@ public Builder setCount( return this; } /** - * - * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - public Builder mergeCount( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { + public Builder mergeCount(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { if (countBuilder_ == null) { - if (operatorCase_ == 1 - && operator_ - != com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance()) { - operator_ = - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder( - (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) - operator_) - .mergeFrom(value) - .buildPartial(); + if (operatorCase_ == 1 && + operator_ != com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance()) { + operator_ = com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder((com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_) + .mergeFrom(value).buildPartial(); } else { operator_ = value; } @@ -1914,8 +1713,6 @@ public Builder mergeCount( return this; } /** - * - * *
        * Count aggregator.
        * 
@@ -1939,21 +1736,16 @@ public Builder clearCount() { return this; } /** - * - * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder - getCountBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder getCountBuilder() { return getCountFieldBuilder().getBuilder(); } /** - * - * *
        * Count aggregator.
        * 
@@ -1961,21 +1753,17 @@ public Builder clearCount() { * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder - getCountOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder() { if ((operatorCase_ == 1) && (countBuilder_ != null)) { return countBuilder_.getMessageOrBuilder(); } else { if (operatorCase_ == 1) { return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } } /** - * - * *
        * Count aggregator.
        * 
@@ -1983,21 +1771,14 @@ public Builder clearCount() { * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder> + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder> getCountFieldBuilder() { if (countBuilder_ == null) { if (!(operatorCase_ == 1)) { - operator_ = - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count - .getDefaultInstance(); + operator_ = com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); } - countBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder>( + countBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder>( (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_, getParentForChildren(), isClean()); @@ -2010,8 +1791,6 @@ public Builder clearCount() { private java.lang.Object alias_ = ""; /** - * - * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -2022,7 +1801,7 @@ public Builder clearCount() {
        *   COUNT_UP_TO(1) AS count_up_to_1,
        *   COUNT_UP_TO(2),
        *   COUNT_UP_TO(3) AS count_up_to_3,
-       *   COUNT_UP_TO(4)
+       *   COUNT(*)
        * OVER (
        *   ...
        * );
@@ -2033,7 +1812,7 @@ public Builder clearCount() {
        *   COUNT_UP_TO(1) AS count_up_to_1,
        *   COUNT_UP_TO(2) AS field_1,
        *   COUNT_UP_TO(3) AS count_up_to_3,
-       *   COUNT_UP_TO(4) AS field_2
+       *   COUNT(*) AS field_2
        * OVER (
        *   ...
        * );
@@ -2045,13 +1824,13 @@ public Builder clearCount() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The alias. */ public java.lang.String getAlias() { java.lang.Object ref = alias_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alias_ = s; return s; @@ -2060,8 +1839,6 @@ public java.lang.String getAlias() { } } /** - * - * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -2072,7 +1849,7 @@ public java.lang.String getAlias() {
        *   COUNT_UP_TO(1) AS count_up_to_1,
        *   COUNT_UP_TO(2),
        *   COUNT_UP_TO(3) AS count_up_to_3,
-       *   COUNT_UP_TO(4)
+       *   COUNT(*)
        * OVER (
        *   ...
        * );
@@ -2083,7 +1860,7 @@ public java.lang.String getAlias() {
        *   COUNT_UP_TO(1) AS count_up_to_1,
        *   COUNT_UP_TO(2) AS field_1,
        *   COUNT_UP_TO(3) AS count_up_to_3,
-       *   COUNT_UP_TO(4) AS field_2
+       *   COUNT(*) AS field_2
        * OVER (
        *   ...
        * );
@@ -2095,14 +1872,15 @@ public java.lang.String getAlias() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for alias. */ - public com.google.protobuf.ByteString getAliasBytes() { + public com.google.protobuf.ByteString + getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alias_ = b; return b; } else { @@ -2110,8 +1888,6 @@ public com.google.protobuf.ByteString getAliasBytes() { } } /** - * - * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -2122,7 +1898,7 @@ public com.google.protobuf.ByteString getAliasBytes() {
        *   COUNT_UP_TO(1) AS count_up_to_1,
        *   COUNT_UP_TO(2),
        *   COUNT_UP_TO(3) AS count_up_to_3,
-       *   COUNT_UP_TO(4)
+       *   COUNT(*)
        * OVER (
        *   ...
        * );
@@ -2133,7 +1909,7 @@ public com.google.protobuf.ByteString getAliasBytes() {
        *   COUNT_UP_TO(1) AS count_up_to_1,
        *   COUNT_UP_TO(2) AS field_1,
        *   COUNT_UP_TO(3) AS count_up_to_3,
-       *   COUNT_UP_TO(4) AS field_2
+       *   COUNT(*) AS field_2
        * OVER (
        *   ...
        * );
@@ -2145,22 +1921,18 @@ public com.google.protobuf.ByteString getAliasBytes() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The alias to set. * @return This builder for chaining. */ - public Builder setAlias(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAlias( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } alias_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -2171,7 +1943,7 @@ public Builder setAlias(java.lang.String value) {
        *   COUNT_UP_TO(1) AS count_up_to_1,
        *   COUNT_UP_TO(2),
        *   COUNT_UP_TO(3) AS count_up_to_3,
-       *   COUNT_UP_TO(4)
+       *   COUNT(*)
        * OVER (
        *   ...
        * );
@@ -2182,7 +1954,7 @@ public Builder setAlias(java.lang.String value) {
        *   COUNT_UP_TO(1) AS count_up_to_1,
        *   COUNT_UP_TO(2) AS field_1,
        *   COUNT_UP_TO(3) AS count_up_to_3,
-       *   COUNT_UP_TO(4) AS field_2
+       *   COUNT(*) AS field_2
        * OVER (
        *   ...
        * );
@@ -2194,7 +1966,6 @@ public Builder setAlias(java.lang.String value) {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAlias() { @@ -2204,8 +1975,6 @@ public Builder clearAlias() { return this; } /** - * - * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -2216,7 +1985,7 @@ public Builder clearAlias() {
        *   COUNT_UP_TO(1) AS count_up_to_1,
        *   COUNT_UP_TO(2),
        *   COUNT_UP_TO(3) AS count_up_to_3,
-       *   COUNT_UP_TO(4)
+       *   COUNT(*)
        * OVER (
        *   ...
        * );
@@ -2227,7 +1996,7 @@ public Builder clearAlias() {
        *   COUNT_UP_TO(1) AS count_up_to_1,
        *   COUNT_UP_TO(2) AS field_1,
        *   COUNT_UP_TO(3) AS count_up_to_3,
-       *   COUNT_UP_TO(4) AS field_2
+       *   COUNT(*) AS field_2
        * OVER (
        *   ...
        * );
@@ -2239,21 +2008,18 @@ public Builder clearAlias() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for alias to set. * @return This builder for chaining. */ - public Builder setAliasBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAliasBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); alias_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2266,44 +2032,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation) - private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation - DEFAULT_INSTANCE; - + private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation(); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation - getDefaultInstance() { + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Aggregation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Aggregation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2315,23 +2078,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation - getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public enum QueryTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(1), QUERYTYPE_NOT_SET(0); private final int value; - private QueryTypeCase(int value) { this.value = value; } @@ -2347,34 +2107,29 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 1: - return STRUCTURED_QUERY; - case 0: - return QUERYTYPE_NOT_SET; - default: - return null; + case 1: return STRUCTURED_QUERY; + case 0: return QUERYTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueryTypeCase getQueryTypeCase() { - return QueryTypeCase.forNumber(queryTypeCase_); + public QueryTypeCase + getQueryTypeCase() { + return QueryTypeCase.forNumber( + queryTypeCase_); } public static final int STRUCTURED_QUERY_FIELD_NUMBER = 1; /** - * - * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -2382,26 +2137,21 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 1; } /** - * - * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** - * - * *
    * Nested structured query.
    * 
@@ -2411,19 +2161,15 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } public static final int AGGREGATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") - private java.util.List - aggregations_; + private java.util.List aggregations_; /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -2431,18 +2177,13 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getAggregationsList() { + public java.util.List getAggregationsList() { return aggregations_; } /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -2450,19 +2191,14 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> + public java.util.List getAggregationsOrBuilderList() { return aggregations_; } /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -2470,17 +2206,13 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getAggregationsCount() { return aggregations_.size(); } /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -2488,17 +2220,13 @@ public int getAggregationsCount() {
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggregations(int index) { return aggregations_.get(index); } /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -2506,18 +2234,15 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggrega
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder - getAggregationsOrBuilder(int index) { + public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( + int index) { return aggregations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2529,7 +2254,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (queryTypeCase_ == 1) { output.writeMessage(1, (com.google.firestore.v1.StructuredQuery) queryType_); } @@ -2546,12 +2272,12 @@ public int getSerializedSize() { size = 0; if (queryTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.firestore.v1.StructuredQuery) queryType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.firestore.v1.StructuredQuery) queryType_); } for (int i = 0; i < aggregations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, aggregations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, aggregations_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2561,19 +2287,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredAggregationQuery)) { return super.equals(obj); } - com.google.firestore.v1.StructuredAggregationQuery other = - (com.google.firestore.v1.StructuredAggregationQuery) obj; + com.google.firestore.v1.StructuredAggregationQuery other = (com.google.firestore.v1.StructuredAggregationQuery) obj; - if (!getAggregationsList().equals(other.getAggregationsList())) return false; + if (!getAggregationsList() + .equals(other.getAggregationsList())) return false; if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 1: - if (!getStructuredQuery().equals(other.getStructuredQuery())) return false; + if (!getStructuredQuery() + .equals(other.getStructuredQuery())) return false; break; case 0: default: @@ -2607,103 +2334,96 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredAggregationQuery parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.StructuredAggregationQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredAggregationQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredAggregationQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.StructuredAggregationQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Firestore query for running an aggregation over a
    * [StructuredQuery][google.firestore.v1.StructuredQuery].
@@ -2711,32 +2431,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredAggregationQuery)
       com.google.firestore.v1.StructuredAggregationQueryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.QueryProto
-          .internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.QueryProto
-          .internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable
+      return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.StructuredAggregationQuery.class,
-              com.google.firestore.v1.StructuredAggregationQuery.Builder.class);
+              com.google.firestore.v1.StructuredAggregationQuery.class, com.google.firestore.v1.StructuredAggregationQuery.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.StructuredAggregationQuery.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2757,9 +2478,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.QueryProto
-          .internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
     }
 
     @java.lang.Override
@@ -2778,19 +2499,15 @@ public com.google.firestore.v1.StructuredAggregationQuery build() {
 
     @java.lang.Override
     public com.google.firestore.v1.StructuredAggregationQuery buildPartial() {
-      com.google.firestore.v1.StructuredAggregationQuery result =
-          new com.google.firestore.v1.StructuredAggregationQuery(this);
+      com.google.firestore.v1.StructuredAggregationQuery result = new com.google.firestore.v1.StructuredAggregationQuery(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.firestore.v1.StructuredAggregationQuery result) {
+    private void buildPartialRepeatedFields(com.google.firestore.v1.StructuredAggregationQuery result) {
       if (aggregationsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           aggregations_ = java.util.Collections.unmodifiableList(aggregations_);
@@ -2809,7 +2526,8 @@ private void buildPartial0(com.google.firestore.v1.StructuredAggregationQuery re
     private void buildPartialOneofs(com.google.firestore.v1.StructuredAggregationQuery result) {
       result.queryTypeCase_ = queryTypeCase_;
       result.queryType_ = this.queryType_;
-      if (queryTypeCase_ == 1 && structuredQueryBuilder_ != null) {
+      if (queryTypeCase_ == 1 &&
+          structuredQueryBuilder_ != null) {
         result.queryType_ = structuredQueryBuilder_.build();
       }
     }
@@ -2818,39 +2536,38 @@ private void buildPartialOneofs(com.google.firestore.v1.StructuredAggregationQue
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.StructuredAggregationQuery) {
-        return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery) other);
+        return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2858,8 +2575,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery other) {
-      if (other == com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance())
-        return this;
+      if (other == com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance()) return this;
       if (aggregationsBuilder_ == null) {
         if (!other.aggregations_.isEmpty()) {
           if (aggregations_.isEmpty()) {
@@ -2878,25 +2594,22 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery othe
             aggregationsBuilder_ = null;
             aggregations_ = other.aggregations_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            aggregationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAggregationsFieldBuilder()
-                    : null;
+            aggregationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAggregationsFieldBuilder() : null;
           } else {
             aggregationsBuilder_.addAllMessages(other.aggregations_);
           }
         }
       }
       switch (other.getQueryTypeCase()) {
-        case STRUCTURED_QUERY:
-          {
-            mergeStructuredQuery(other.getStructuredQuery());
-            break;
-          }
-        case QUERYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case STRUCTURED_QUERY: {
+          mergeStructuredQuery(other.getStructuredQuery());
+          break;
+        }
+        case QUERYTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2924,33 +2637,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry);
-                queryTypeCase_ = 1;
-                break;
-              } // case 10
-            case 26:
-              {
-                com.google.firestore.v1.StructuredAggregationQuery.Aggregation m =
-                    input.readMessage(
-                        com.google.firestore.v1.StructuredAggregationQuery.Aggregation.parser(),
-                        extensionRegistry);
-                if (aggregationsBuilder_ == null) {
-                  ensureAggregationsIsMutable();
-                  aggregations_.add(m);
-                } else {
-                  aggregationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getStructuredQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              queryTypeCase_ = 1;
+              break;
+            } // case 10
+            case 26: {
+              com.google.firestore.v1.StructuredAggregationQuery.Aggregation m =
+                  input.readMessage(
+                      com.google.firestore.v1.StructuredAggregationQuery.Aggregation.parser(),
+                      extensionRegistry);
+              if (aggregationsBuilder_ == null) {
+                ensureAggregationsIsMutable();
+                aggregations_.add(m);
+              } else {
+                aggregationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2960,12 +2672,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int queryTypeCase_ = 0;
     private java.lang.Object queryType_;
-
-    public QueryTypeCase getQueryTypeCase() {
-      return QueryTypeCase.forNumber(queryTypeCase_);
+    public QueryTypeCase
+        getQueryTypeCase() {
+      return QueryTypeCase.forNumber(
+          queryTypeCase_);
     }
 
     public Builder clearQueryType() {
@@ -2978,19 +2690,13 @@ public Builder clearQueryType() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.StructuredQuery,
-            com.google.firestore.v1.StructuredQuery.Builder,
-            com.google.firestore.v1.StructuredQueryOrBuilder>
-        structuredQueryBuilder_;
+        com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_;
     /**
-     *
-     *
      * 
      * Nested structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -2998,14 +2704,11 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 1; } /** - * - * *
      * Nested structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return The structuredQuery. */ @java.lang.Override @@ -3023,8 +2726,6 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** - * - * *
      * Nested structured query.
      * 
@@ -3045,8 +2746,6 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** - * - * *
      * Nested structured query.
      * 
@@ -3065,8 +2764,6 @@ public Builder setStructuredQuery( return this; } /** - * - * *
      * Nested structured query.
      * 
@@ -3075,13 +2772,10 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 1 - && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = - com.google.firestore.v1.StructuredQuery.newBuilder( - (com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 1 && + queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -3097,8 +2791,6 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** - * - * *
      * Nested structured query.
      * 
@@ -3122,8 +2814,6 @@ public Builder clearStructuredQuery() { return this; } /** - * - * *
      * Nested structured query.
      * 
@@ -3134,8 +2824,6 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Nested structured query.
      * 
@@ -3154,8 +2842,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** - * - * *
      * Nested structured query.
      * 
@@ -3163,19 +2849,14 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil * .google.firestore.v1.StructuredQuery structured_query = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder> + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> getStructuredQueryFieldBuilder() { if (structuredQueryBuilder_ == null) { if (!(queryTypeCase_ == 1)) { queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } - structuredQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder>( + structuredQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder>( (com.google.firestore.v1.StructuredQuery) queryType_, getParentForChildren(), isClean()); @@ -3186,27 +2867,19 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil return structuredQueryBuilder_; } - private java.util.List - aggregations_ = java.util.Collections.emptyList(); - + private java.util.List aggregations_ = + java.util.Collections.emptyList(); private void ensureAggregationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - aggregations_ = - new java.util.ArrayList( - aggregations_); + aggregations_ = new java.util.ArrayList(aggregations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, - com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> - aggregationsBuilder_; + com.google.firestore.v1.StructuredAggregationQuery.Aggregation, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> aggregationsBuilder_; /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3214,12 +2887,9 @@ private void ensureAggregationsIsMutable() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAggregationsList() { + public java.util.List getAggregationsList() { if (aggregationsBuilder_ == null) { return java.util.Collections.unmodifiableList(aggregations_); } else { @@ -3227,8 +2897,6 @@ private void ensureAggregationsIsMutable() { } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3236,9 +2904,7 @@ private void ensureAggregationsIsMutable() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getAggregationsCount() { if (aggregationsBuilder_ == null) { @@ -3248,8 +2914,6 @@ public int getAggregationsCount() { } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3257,12 +2921,9 @@ public int getAggregationsCount() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggregations( - int index) { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggregations(int index) { if (aggregationsBuilder_ == null) { return aggregations_.get(index); } else { @@ -3270,8 +2931,6 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggrega } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3279,9 +2938,7 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggrega
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAggregations( int index, com.google.firestore.v1.StructuredAggregationQuery.Aggregation value) { @@ -3298,8 +2955,6 @@ public Builder setAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3307,13 +2962,10 @@ public Builder setAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAggregations( - int index, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder builderForValue) { + int index, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder builderForValue) { if (aggregationsBuilder_ == null) { ensureAggregationsIsMutable(); aggregations_.set(index, builderForValue.build()); @@ -3324,8 +2976,6 @@ public Builder setAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3333,12 +2983,9 @@ public Builder setAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addAggregations( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation value) { + public Builder addAggregations(com.google.firestore.v1.StructuredAggregationQuery.Aggregation value) { if (aggregationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3352,8 +2999,6 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3361,9 +3006,7 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAggregations( int index, com.google.firestore.v1.StructuredAggregationQuery.Aggregation value) { @@ -3380,8 +3023,6 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3389,9 +3030,7 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAggregations( com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder builderForValue) { @@ -3405,8 +3044,6 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3414,13 +3051,10 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAggregations( - int index, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder builderForValue) { + int index, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder builderForValue) { if (aggregationsBuilder_ == null) { ensureAggregationsIsMutable(); aggregations_.add(index, builderForValue.build()); @@ -3431,8 +3065,6 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3440,16 +3072,14 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllAggregations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (aggregationsBuilder_ == null) { ensureAggregationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, aggregations_); onChanged(); } else { aggregationsBuilder_.addAllMessages(values); @@ -3457,8 +3087,6 @@ public Builder addAllAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3466,9 +3094,7 @@ public Builder addAllAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAggregations() { if (aggregationsBuilder_ == null) { @@ -3481,8 +3107,6 @@ public Builder clearAggregations() { return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3490,9 +3114,7 @@ public Builder clearAggregations() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeAggregations(int index) { if (aggregationsBuilder_ == null) { @@ -3505,8 +3127,6 @@ public Builder removeAggregations(int index) { return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3514,17 +3134,13 @@ public Builder removeAggregations(int index) {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder - getAggregationsBuilder(int index) { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder getAggregationsBuilder( + int index) { return getAggregationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3532,21 +3148,16 @@ public Builder removeAggregations(int index) {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder - getAggregationsOrBuilder(int index) { + public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( + int index) { if (aggregationsBuilder_ == null) { - return aggregations_.get(index); - } else { + return aggregations_.get(index); } else { return aggregationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3554,13 +3165,10 @@ public Builder removeAggregations(int index) {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> - getAggregationsOrBuilderList() { + public java.util.List + getAggregationsOrBuilderList() { if (aggregationsBuilder_ != null) { return aggregationsBuilder_.getMessageOrBuilderList(); } else { @@ -3568,8 +3176,6 @@ public Builder removeAggregations(int index) { } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3577,19 +3183,13 @@ public Builder removeAggregations(int index) {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder - addAggregationsBuilder() { - return getAggregationsFieldBuilder() - .addBuilder( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()); + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder addAggregationsBuilder() { + return getAggregationsFieldBuilder().addBuilder( + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()); } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3597,20 +3197,14 @@ public Builder removeAggregations(int index) {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder - addAggregationsBuilder(int index) { - return getAggregationsFieldBuilder() - .addBuilder( - index, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()); + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder addAggregationsBuilder( + int index) { + return getAggregationsFieldBuilder().addBuilder( + index, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()); } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3618,34 +3212,29 @@ public Builder removeAggregations(int index) {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAggregationsBuilderList() { + public java.util.List + getAggregationsBuilderList() { return getAggregationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, - com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> + com.google.firestore.v1.StructuredAggregationQuery.Aggregation, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> getAggregationsFieldBuilder() { if (aggregationsBuilder_ == null) { - aggregationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation, - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, - com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder>( - aggregations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + aggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredAggregationQuery.Aggregation, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder>( + aggregations_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); aggregations_ = null; } return aggregationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3655,12 +3244,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredAggregationQuery) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery) private static final com.google.firestore.v1.StructuredAggregationQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredAggregationQuery(); } @@ -3669,27 +3258,27 @@ public static com.google.firestore.v1.StructuredAggregationQuery getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StructuredAggregationQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StructuredAggregationQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3704,4 +3293,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.firestore.v1.StructuredAggregationQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java similarity index 62% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java index c57d69e11..c0973d87b 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; -public interface StructuredAggregationQueryOrBuilder - extends +public interface StructuredAggregationQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredAggregationQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** - * - * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; - * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** - * - * *
    * Nested structured query.
    * 
@@ -59,8 +35,6 @@ public interface StructuredAggregationQueryOrBuilder com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -68,15 +42,11 @@ public interface StructuredAggregationQueryOrBuilder
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getAggregationsList(); /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -84,14 +54,10 @@ public interface StructuredAggregationQueryOrBuilder
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggregations(int index); /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -99,14 +65,10 @@ public interface StructuredAggregationQueryOrBuilder
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getAggregationsCount(); /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -114,15 +76,11 @@ public interface StructuredAggregationQueryOrBuilder
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getAggregationsOrBuilderList(); /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -130,9 +88,7 @@ public interface StructuredAggregationQueryOrBuilder
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( int index); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java similarity index 76% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java index 85c551829..b6d838fd9 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; /** - * - * *
  * A Firestore query.
  * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery} */ -public final class StructuredQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StructuredQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery) StructuredQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StructuredQuery.newBuilder() to construct. private StructuredQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StructuredQuery() { from_ = java.util.Collections.emptyList(); orderBy_ = java.util.Collections.emptyList(); @@ -44,43 +26,39 @@ private StructuredQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StructuredQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.class, - com.google.firestore.v1.StructuredQuery.Builder.class); + com.google.firestore.v1.StructuredQuery.class, com.google.firestore.v1.StructuredQuery.Builder.class); } /** - * - * *
    * A sort direction.
    * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.Direction} */ - public enum Direction implements com.google.protobuf.ProtocolMessageEnum { + public enum Direction + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -89,8 +67,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ DIRECTION_UNSPECIFIED(0), /** - * - * *
      * Ascending.
      * 
@@ -99,8 +75,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ ASCENDING(1), /** - * - * *
      * Descending.
      * 
@@ -112,8 +86,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -122,8 +94,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIRECTION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Ascending.
      * 
@@ -132,8 +102,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ASCENDING_VALUE = 1; /** - * - * *
      * Descending.
      * 
@@ -142,6 +110,7 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DESCENDING_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -166,49 +135,49 @@ public static Direction valueOf(int value) { */ public static Direction forNumber(int value) { switch (value) { - case 0: - return DIRECTION_UNSPECIFIED; - case 1: - return ASCENDING; - case 2: - return DESCENDING; - default: - return null; + case 0: return DIRECTION_UNSPECIFIED; + case 1: return ASCENDING; + case 2: return DESCENDING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Direction> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Direction findValueByNumber(int number) { + return Direction.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Direction findValueByNumber(int number) { - return Direction.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.firestore.v1.StructuredQuery.getDescriptor().getEnumTypes().get(0); } private static final Direction[] VALUES = values(); - public static Direction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Direction valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -225,41 +194,33 @@ private Direction(int value) { // @@protoc_insertion_point(enum_scope:google.firestore.v1.StructuredQuery.Direction) } - public interface CollectionSelectorOrBuilder - extends + public interface CollectionSelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.CollectionSelector) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; - * * @return The collectionId. */ java.lang.String getCollectionId(); /** - * - * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; - * * @return The bytes for collectionId. */ - com.google.protobuf.ByteString getCollectionIdBytes(); + com.google.protobuf.ByteString + getCollectionIdBytes(); /** - * - * *
      * When false, selects only collections that are immediate children of
      * the `parent` specified in the containing `RunQueryRequest`.
@@ -267,74 +228,65 @@ public interface CollectionSelectorOrBuilder
      * 
* * bool all_descendants = 3; - * * @return The allDescendants. */ boolean getAllDescendants(); } /** - * - * *
    * A selection of a collection, such as `messages as m1`.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CollectionSelector} */ - public static final class CollectionSelector extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CollectionSelector extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.CollectionSelector) CollectionSelectorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CollectionSelector.newBuilder() to construct. private CollectionSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CollectionSelector() { collectionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CollectionSelector(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CollectionSelector.class, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); + com.google.firestore.v1.StructuredQuery.CollectionSelector.class, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); } public static final int COLLECTION_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object collectionId_ = ""; /** - * - * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; - * * @return The collectionId. */ @java.lang.Override @@ -343,30 +295,30 @@ public java.lang.String getCollectionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; } } /** - * - * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; - * * @return The bytes for collectionId. */ @java.lang.Override - public com.google.protobuf.ByteString getCollectionIdBytes() { + public com.google.protobuf.ByteString + getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collectionId_ = b; return b; } else { @@ -377,8 +329,6 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { public static final int ALL_DESCENDANTS_FIELD_NUMBER = 3; private boolean allDescendants_ = false; /** - * - * *
      * When false, selects only collections that are immediate children of
      * the `parent` specified in the containing `RunQueryRequest`.
@@ -386,7 +336,6 @@ public com.google.protobuf.ByteString getCollectionIdBytes() {
      * 
* * bool all_descendants = 3; - * * @return The allDescendants. */ @java.lang.Override @@ -395,7 +344,6 @@ public boolean getAllDescendants() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -407,7 +355,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collectionId_); } @@ -427,7 +376,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collectionId_); } if (allDescendants_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allDescendants_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, allDescendants_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -437,16 +387,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.CollectionSelector)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.CollectionSelector other = - (com.google.firestore.v1.StructuredQuery.CollectionSelector) obj; + com.google.firestore.v1.StructuredQuery.CollectionSelector other = (com.google.firestore.v1.StructuredQuery.CollectionSelector) obj; - if (!getCollectionId().equals(other.getCollectionId())) return false; - if (getAllDescendants() != other.getAllDescendants()) return false; + if (!getCollectionId() + .equals(other.getCollectionId())) return false; + if (getAllDescendants() + != other.getAllDescendants()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -461,101 +412,95 @@ public int hashCode() { hash = (37 * hash) + COLLECTION_ID_FIELD_NUMBER; hash = (53 * hash) + getCollectionId().hashCode(); hash = (37 * hash) + ALL_DESCENDANTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllDescendants()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllDescendants()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.v1.StructuredQuery.CollectionSelector prototype) { + public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.CollectionSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -565,41 +510,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A selection of a collection, such as `messages as m1`.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CollectionSelector} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.CollectionSelector) com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CollectionSelector.class, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); + com.google.firestore.v1.StructuredQuery.CollectionSelector.class, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.CollectionSelector.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -610,14 +553,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CollectionSelector - getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredQuery.CollectionSelector getDefaultInstanceForType() { return com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance(); } @@ -632,17 +574,13 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.CollectionSelector buildPartial() { - com.google.firestore.v1.StructuredQuery.CollectionSelector result = - new com.google.firestore.v1.StructuredQuery.CollectionSelector(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.StructuredQuery.CollectionSelector result = new com.google.firestore.v1.StructuredQuery.CollectionSelector(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.firestore.v1.StructuredQuery.CollectionSelector result) { + private void buildPartial0(com.google.firestore.v1.StructuredQuery.CollectionSelector result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.collectionId_ = collectionId_; @@ -656,41 +594,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.CollectionSelector) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.CollectionSelector) other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.CollectionSelector)other); } else { super.mergeFrom(other); return this; @@ -698,9 +633,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CollectionSelector other) { - if (other - == com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()) return this; if (!other.getCollectionId().isEmpty()) { collectionId_ = other.collectionId_; bitField0_ |= 0x00000001; @@ -735,25 +668,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - collectionId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - case 24: - { - allDescendants_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + collectionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + case 24: { + allDescendants_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -763,26 +693,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object collectionId_ = ""; /** - * - * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; - * * @return The collectionId. */ public java.lang.String getCollectionId() { java.lang.Object ref = collectionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; @@ -791,22 +718,21 @@ public java.lang.String getCollectionId() { } } /** - * - * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; - * * @return The bytes for collectionId. */ - public com.google.protobuf.ByteString getCollectionIdBytes() { + public com.google.protobuf.ByteString + getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); collectionId_ = b; return b; } else { @@ -814,37 +740,30 @@ public com.google.protobuf.ByteString getCollectionIdBytes() { } } /** - * - * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; - * * @param value The collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } collectionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; - * * @return This builder for chaining. */ public Builder clearCollectionId() { @@ -854,22 +773,18 @@ public Builder clearCollectionId() { return this; } /** - * - * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; - * * @param value The bytes for collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCollectionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collectionId_ = value; bitField0_ |= 0x00000001; @@ -877,10 +792,8 @@ public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean allDescendants_; + private boolean allDescendants_ ; /** - * - * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -888,7 +801,6 @@ public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) {
        * 
* * bool all_descendants = 3; - * * @return The allDescendants. */ @java.lang.Override @@ -896,8 +808,6 @@ public boolean getAllDescendants() { return allDescendants_; } /** - * - * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -905,20 +815,17 @@ public boolean getAllDescendants() {
        * 
* * bool all_descendants = 3; - * * @param value The allDescendants to set. * @return This builder for chaining. */ public Builder setAllDescendants(boolean value) { - + allDescendants_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -926,7 +833,6 @@ public Builder setAllDescendants(boolean value) {
        * 
* * bool all_descendants = 3; - * * @return This builder for chaining. */ public Builder clearAllDescendants() { @@ -935,7 +841,6 @@ public Builder clearAllDescendants() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -948,13 +853,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.CollectionSelector) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.CollectionSelector) - private static final com.google.firestore.v1.StructuredQuery.CollectionSelector - DEFAULT_INSTANCE; - + private static final com.google.firestore.v1.StructuredQuery.CollectionSelector DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.CollectionSelector(); } @@ -963,28 +867,27 @@ public static com.google.firestore.v1.StructuredQuery.CollectionSelector getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CollectionSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CollectionSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -999,40 +902,32 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.CollectionSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface FilterOrBuilder - extends + public interface FilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Filter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return Whether the compositeFilter field is set. */ boolean hasCompositeFilter(); /** - * - * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return The compositeFilter. */ com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilter(); /** - * - * *
      * A composite filter.
      * 
@@ -1042,32 +937,24 @@ public interface FilterOrBuilder com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder(); /** - * - * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return Whether the fieldFilter field is set. */ boolean hasFieldFilter(); /** - * - * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return The fieldFilter. */ com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter(); /** - * - * *
      * A filter on a document field.
      * 
@@ -1077,32 +964,24 @@ public interface FilterOrBuilder com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder(); /** - * - * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return Whether the unaryFilter field is set. */ boolean hasUnaryFilter(); /** - * - * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return The unaryFilter. */ com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter(); /** - * - * *
      * A filter that takes exactly one argument.
      * 
@@ -1114,65 +993,59 @@ public interface FilterOrBuilder public com.google.firestore.v1.StructuredQuery.Filter.FilterTypeCase getFilterTypeCase(); } /** - * - * *
    * A filter.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Filter} */ - public static final class Filter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Filter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Filter) FilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Filter() {} + private Filter() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Filter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Filter.class, - com.google.firestore.v1.StructuredQuery.Filter.Builder.class); + com.google.firestore.v1.StructuredQuery.Filter.class, com.google.firestore.v1.StructuredQuery.Filter.Builder.class); } private int filterTypeCase_ = 0; private java.lang.Object filterType_; - public enum FilterTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPOSITE_FILTER(1), FIELD_FILTER(2), UNARY_FILTER(3), FILTERTYPE_NOT_SET(0); private final int value; - private FilterTypeCase(int value) { this.value = value; } @@ -1188,38 +1061,31 @@ public static FilterTypeCase valueOf(int value) { public static FilterTypeCase forNumber(int value) { switch (value) { - case 1: - return COMPOSITE_FILTER; - case 2: - return FIELD_FILTER; - case 3: - return UNARY_FILTER; - case 0: - return FILTERTYPE_NOT_SET; - default: - return null; + case 1: return COMPOSITE_FILTER; + case 2: return FIELD_FILTER; + case 3: return UNARY_FILTER; + case 0: return FILTERTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FilterTypeCase getFilterTypeCase() { - return FilterTypeCase.forNumber(filterTypeCase_); + public FilterTypeCase + getFilterTypeCase() { + return FilterTypeCase.forNumber( + filterTypeCase_); } public static final int COMPOSITE_FILTER_FIELD_NUMBER = 1; /** - * - * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return Whether the compositeFilter field is set. */ @java.lang.Override @@ -1227,26 +1093,21 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** - * - * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return The compositeFilter. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilter() { if (filterTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); } /** - * - * *
      * A composite filter.
      * 
@@ -1254,24 +1115,20 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilte * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder - getCompositeFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder() { if (filterTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); } public static final int FIELD_FILTER_FIELD_NUMBER = 2; /** - * - * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return Whether the fieldFilter field is set. */ @java.lang.Override @@ -1279,26 +1136,21 @@ public boolean hasFieldFilter() { return filterTypeCase_ == 2; } /** - * - * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return The fieldFilter. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { if (filterTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); } /** - * - * *
      * A filter on a document field.
      * 
@@ -1308,21 +1160,18 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder() { if (filterTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); } public static final int UNARY_FILTER_FIELD_NUMBER = 3; /** - * - * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return Whether the unaryFilter field is set. */ @java.lang.Override @@ -1330,26 +1179,21 @@ public boolean hasUnaryFilter() { return filterTypeCase_ == 3; } /** - * - * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return The unaryFilter. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { if (filterTypeCase_ == 3) { - return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); } /** - * - * *
      * A filter that takes exactly one argument.
      * 
@@ -1359,13 +1203,12 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilterOrBuilder() { if (filterTypeCase_ == 3) { - return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1377,10 +1220,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (filterTypeCase_ == 1) { - output.writeMessage( - 1, (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); + output.writeMessage(1, (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); } if (filterTypeCase_ == 2) { output.writeMessage(2, (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_); @@ -1398,19 +1241,16 @@ public int getSerializedSize() { size = 0; if (filterTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); } if (filterTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_); } if (filterTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1420,24 +1260,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.Filter)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.Filter other = - (com.google.firestore.v1.StructuredQuery.Filter) obj; + com.google.firestore.v1.StructuredQuery.Filter other = (com.google.firestore.v1.StructuredQuery.Filter) obj; if (!getFilterTypeCase().equals(other.getFilterTypeCase())) return false; switch (filterTypeCase_) { case 1: - if (!getCompositeFilter().equals(other.getCompositeFilter())) return false; + if (!getCompositeFilter() + .equals(other.getCompositeFilter())) return false; break; case 2: - if (!getFieldFilter().equals(other.getFieldFilter())) return false; + if (!getFieldFilter() + .equals(other.getFieldFilter())) return false; break; case 3: - if (!getUnaryFilter().equals(other.getUnaryFilter())) return false; + if (!getUnaryFilter() + .equals(other.getUnaryFilter())) return false; break; case 0: default: @@ -1474,94 +1316,88 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.Filter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.Filter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.Filter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.Filter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1571,41 +1407,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A filter.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Filter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.Filter) com.google.firestore.v1.StructuredQuery.FilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Filter.class, - com.google.firestore.v1.StructuredQuery.Filter.Builder.class); + com.google.firestore.v1.StructuredQuery.Filter.class, com.google.firestore.v1.StructuredQuery.Filter.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.Filter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1625,9 +1459,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; } @java.lang.Override @@ -1646,11 +1480,8 @@ public com.google.firestore.v1.StructuredQuery.Filter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.Filter buildPartial() { - com.google.firestore.v1.StructuredQuery.Filter result = - new com.google.firestore.v1.StructuredQuery.Filter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.StructuredQuery.Filter result = new com.google.firestore.v1.StructuredQuery.Filter(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1663,13 +1494,16 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.Filter result private void buildPartialOneofs(com.google.firestore.v1.StructuredQuery.Filter result) { result.filterTypeCase_ = filterTypeCase_; result.filterType_ = this.filterType_; - if (filterTypeCase_ == 1 && compositeFilterBuilder_ != null) { + if (filterTypeCase_ == 1 && + compositeFilterBuilder_ != null) { result.filterType_ = compositeFilterBuilder_.build(); } - if (filterTypeCase_ == 2 && fieldFilterBuilder_ != null) { + if (filterTypeCase_ == 2 && + fieldFilterBuilder_ != null) { result.filterType_ = fieldFilterBuilder_.build(); } - if (filterTypeCase_ == 3 && unaryFilterBuilder_ != null) { + if (filterTypeCase_ == 3 && + unaryFilterBuilder_ != null) { result.filterType_ = unaryFilterBuilder_.build(); } } @@ -1678,41 +1512,38 @@ private void buildPartialOneofs(com.google.firestore.v1.StructuredQuery.Filter r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.Filter) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.Filter) other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.Filter)other); } else { super.mergeFrom(other); return this; @@ -1720,28 +1551,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Filter other) { - if (other == com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()) return this; switch (other.getFilterTypeCase()) { - case COMPOSITE_FILTER: - { - mergeCompositeFilter(other.getCompositeFilter()); - break; - } - case FIELD_FILTER: - { - mergeFieldFilter(other.getFieldFilter()); - break; - } - case UNARY_FILTER: - { - mergeUnaryFilter(other.getUnaryFilter()); - break; - } - case FILTERTYPE_NOT_SET: - { - break; - } + case COMPOSITE_FILTER: { + mergeCompositeFilter(other.getCompositeFilter()); + break; + } + case FIELD_FILTER: { + mergeFieldFilter(other.getFieldFilter()); + break; + } + case UNARY_FILTER: { + mergeUnaryFilter(other.getUnaryFilter()); + break; + } + case FILTERTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1769,32 +1595,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getCompositeFilterFieldBuilder().getBuilder(), extensionRegistry); - filterTypeCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage(getFieldFilterFieldBuilder().getBuilder(), extensionRegistry); - filterTypeCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getUnaryFilterFieldBuilder().getBuilder(), extensionRegistry); - filterTypeCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCompositeFilterFieldBuilder().getBuilder(), + extensionRegistry); + filterTypeCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getFieldFilterFieldBuilder().getBuilder(), + extensionRegistry); + filterTypeCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getUnaryFilterFieldBuilder().getBuilder(), + extensionRegistry); + filterTypeCase_ = 3; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1804,12 +1631,12 @@ public Builder mergeFrom( } // finally return this; } - private int filterTypeCase_ = 0; private java.lang.Object filterType_; - - public FilterTypeCase getFilterTypeCase() { - return FilterTypeCase.forNumber(filterTypeCase_); + public FilterTypeCase + getFilterTypeCase() { + return FilterTypeCase.forNumber( + filterTypeCase_); } public Builder clearFilterType() { @@ -1822,19 +1649,13 @@ public Builder clearFilterType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CompositeFilter, - com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, - com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> - compositeFilterBuilder_; + com.google.firestore.v1.StructuredQuery.CompositeFilter, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> compositeFilterBuilder_; /** - * - * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return Whether the compositeFilter field is set. */ @java.lang.Override @@ -1842,14 +1663,11 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** - * - * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; - * * @return The compositeFilter. */ @java.lang.Override @@ -1867,16 +1685,13 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilte } } /** - * - * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ - public Builder setCompositeFilter( - com.google.firestore.v1.StructuredQuery.CompositeFilter value) { + public Builder setCompositeFilter(com.google.firestore.v1.StructuredQuery.CompositeFilter value) { if (compositeFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1890,8 +1705,6 @@ public Builder setCompositeFilter( return this; } /** - * - * *
        * A composite filter.
        * 
@@ -1910,25 +1723,18 @@ public Builder setCompositeFilter( return this; } /** - * - * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ - public Builder mergeCompositeFilter( - com.google.firestore.v1.StructuredQuery.CompositeFilter value) { + public Builder mergeCompositeFilter(com.google.firestore.v1.StructuredQuery.CompositeFilter value) { if (compositeFilterBuilder_ == null) { - if (filterTypeCase_ == 1 - && filterType_ - != com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) { - filterType_ = - com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder( - (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_) - .mergeFrom(value) - .buildPartial(); + if (filterTypeCase_ == 1 && + filterType_ != com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) { + filterType_ = com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder((com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_) + .mergeFrom(value).buildPartial(); } else { filterType_ = value; } @@ -1944,8 +1750,6 @@ public Builder mergeCompositeFilter( return this; } /** - * - * *
        * A composite filter.
        * 
@@ -1969,21 +1773,16 @@ public Builder clearCompositeFilter() { return this; } /** - * - * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ - public com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder - getCompositeFilterBuilder() { + public com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder getCompositeFilterBuilder() { return getCompositeFilterFieldBuilder().getBuilder(); } /** - * - * *
        * A composite filter.
        * 
@@ -1991,8 +1790,7 @@ public Builder clearCompositeFilter() { * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder - getCompositeFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder() { if ((filterTypeCase_ == 1) && (compositeFilterBuilder_ != null)) { return compositeFilterBuilder_.getMessageOrBuilder(); } else { @@ -2003,8 +1801,6 @@ public Builder clearCompositeFilter() { } } /** - * - * *
        * A composite filter.
        * 
@@ -2012,20 +1808,14 @@ public Builder clearCompositeFilter() { * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CompositeFilter, - com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, - com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> + com.google.firestore.v1.StructuredQuery.CompositeFilter, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> getCompositeFilterFieldBuilder() { if (compositeFilterBuilder_ == null) { if (!(filterTypeCase_ == 1)) { - filterType_ = - com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); + filterType_ = com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); } - compositeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CompositeFilter, - com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, - com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder>( + compositeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CompositeFilter, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder>( (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_, getParentForChildren(), isClean()); @@ -2037,19 +1827,13 @@ public Builder clearCompositeFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldFilter, - com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, - com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> - fieldFilterBuilder_; + com.google.firestore.v1.StructuredQuery.FieldFilter, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> fieldFilterBuilder_; /** - * - * *
        * A filter on a document field.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return Whether the fieldFilter field is set. */ @java.lang.Override @@ -2057,14 +1841,11 @@ public boolean hasFieldFilter() { return filterTypeCase_ == 2; } /** - * - * *
        * A filter on a document field.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; - * * @return The fieldFilter. */ @java.lang.Override @@ -2082,8 +1863,6 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { } } /** - * - * *
        * A filter on a document field.
        * 
@@ -2104,8 +1883,6 @@ public Builder setFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFilte return this; } /** - * - * *
        * A filter on a document field.
        * 
@@ -2124,8 +1901,6 @@ public Builder setFieldFilter( return this; } /** - * - * *
        * A filter on a document field.
        * 
@@ -2134,14 +1909,10 @@ public Builder setFieldFilter( */ public Builder mergeFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFilter value) { if (fieldFilterBuilder_ == null) { - if (filterTypeCase_ == 2 - && filterType_ - != com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) { - filterType_ = - com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder( - (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_) - .mergeFrom(value) - .buildPartial(); + if (filterTypeCase_ == 2 && + filterType_ != com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) { + filterType_ = com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder((com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_) + .mergeFrom(value).buildPartial(); } else { filterType_ = value; } @@ -2157,8 +1928,6 @@ public Builder mergeFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFil return this; } /** - * - * *
        * A filter on a document field.
        * 
@@ -2182,8 +1951,6 @@ public Builder clearFieldFilter() { return this; } /** - * - * *
        * A filter on a document field.
        * 
@@ -2194,8 +1961,6 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte return getFieldFilterFieldBuilder().getBuilder(); } /** - * - * *
        * A filter on a document field.
        * 
@@ -2203,8 +1968,7 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder - getFieldFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder() { if ((filterTypeCase_ == 2) && (fieldFilterBuilder_ != null)) { return fieldFilterBuilder_.getMessageOrBuilder(); } else { @@ -2215,8 +1979,6 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte } } /** - * - * *
        * A filter on a document field.
        * 
@@ -2224,19 +1986,14 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldFilter, - com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, - com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldFilter, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> getFieldFilterFieldBuilder() { if (fieldFilterBuilder_ == null) { if (!(filterTypeCase_ == 2)) { filterType_ = com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); } - fieldFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldFilter, - com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, - com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder>( + fieldFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldFilter, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder>( (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_, getParentForChildren(), isClean()); @@ -2248,19 +2005,13 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.UnaryFilter, - com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, - com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> - unaryFilterBuilder_; + com.google.firestore.v1.StructuredQuery.UnaryFilter, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> unaryFilterBuilder_; /** - * - * *
        * A filter that takes exactly one argument.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return Whether the unaryFilter field is set. */ @java.lang.Override @@ -2268,14 +2019,11 @@ public boolean hasUnaryFilter() { return filterTypeCase_ == 3; } /** - * - * *
        * A filter that takes exactly one argument.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; - * * @return The unaryFilter. */ @java.lang.Override @@ -2293,8 +2041,6 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { } } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2315,8 +2061,6 @@ public Builder setUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFilte return this; } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2335,8 +2079,6 @@ public Builder setUnaryFilter( return this; } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2345,14 +2087,10 @@ public Builder setUnaryFilter( */ public Builder mergeUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFilter value) { if (unaryFilterBuilder_ == null) { - if (filterTypeCase_ == 3 - && filterType_ - != com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) { - filterType_ = - com.google.firestore.v1.StructuredQuery.UnaryFilter.newBuilder( - (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_) - .mergeFrom(value) - .buildPartial(); + if (filterTypeCase_ == 3 && + filterType_ != com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) { + filterType_ = com.google.firestore.v1.StructuredQuery.UnaryFilter.newBuilder((com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_) + .mergeFrom(value).buildPartial(); } else { filterType_ = value; } @@ -2368,8 +2106,6 @@ public Builder mergeUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFil return this; } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2393,8 +2129,6 @@ public Builder clearUnaryFilter() { return this; } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2405,8 +2139,6 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte return getUnaryFilterFieldBuilder().getBuilder(); } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2414,8 +2146,7 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder - getUnaryFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilterOrBuilder() { if ((filterTypeCase_ == 3) && (unaryFilterBuilder_ != null)) { return unaryFilterBuilder_.getMessageOrBuilder(); } else { @@ -2426,8 +2157,6 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte } } /** - * - * *
        * A filter that takes exactly one argument.
        * 
@@ -2435,19 +2164,14 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.UnaryFilter, - com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, - com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> + com.google.firestore.v1.StructuredQuery.UnaryFilter, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> getUnaryFilterFieldBuilder() { if (unaryFilterBuilder_ == null) { if (!(filterTypeCase_ == 3)) { filterType_ = com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); } - unaryFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.UnaryFilter, - com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, - com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder>( + unaryFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.UnaryFilter, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder>( (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_, getParentForChildren(), isClean()); @@ -2457,7 +2181,6 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte onChanged(); return unaryFilterBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2470,12 +2193,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Filter) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Filter) private static final com.google.firestore.v1.StructuredQuery.Filter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Filter(); } @@ -2484,28 +2207,27 @@ public static com.google.firestore.v1.StructuredQuery.Filter getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Filter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2520,41 +2242,33 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CompositeFilterOrBuilder - extends + public interface CompositeFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.CompositeFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** - * - * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @return The op. */ com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp(); /** - * - * *
      * The list of filters to combine.
      * Requires:
@@ -2563,10 +2277,9 @@ public interface CompositeFilterOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    java.util.List getFiltersList();
+    java.util.List 
+        getFiltersList();
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2577,8 +2290,6 @@ public interface CompositeFilterOrBuilder
      */
     com.google.firestore.v1.StructuredQuery.Filter getFilters(int index);
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2589,8 +2300,6 @@ public interface CompositeFilterOrBuilder
      */
     int getFiltersCount();
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2599,11 +2308,9 @@ public interface CompositeFilterOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    java.util.List
+    java.util.List 
         getFiltersOrBuilderList();
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2612,27 +2319,25 @@ public interface CompositeFilterOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(int index);
+    com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A filter that merges multiple other filters using the given operator.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CompositeFilter} */ - public static final class CompositeFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompositeFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.CompositeFilter) CompositeFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompositeFilter.newBuilder() to construct. private CompositeFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompositeFilter() { op_ = 0; filters_ = java.util.Collections.emptyList(); @@ -2640,43 +2345,39 @@ private CompositeFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompositeFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CompositeFilter.class, - com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.CompositeFilter.class, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); } /** - * - * *
      * A composite filter operator.
      * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.CompositeFilter.Operator} */ - public enum Operator implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified. This value must not be used.
        * 
@@ -2685,8 +2386,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ OPERATOR_UNSPECIFIED(0), /** - * - * *
        * Documents are required to satisfy all of the combined filters.
        * 
@@ -2695,8 +2394,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ AND(1), /** - * - * *
        * Documents are required to satisfy at least one of the combined filters.
        * 
@@ -2708,8 +2405,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified. This value must not be used.
        * 
@@ -2718,8 +2413,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Documents are required to satisfy all of the combined filters.
        * 
@@ -2728,8 +2421,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AND_VALUE = 1; /** - * - * *
        * Documents are required to satisfy at least one of the combined filters.
        * 
@@ -2738,6 +2429,7 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OR_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2762,51 +2454,49 @@ public static Operator valueOf(int value) { */ public static Operator forNumber(int value) { switch (value) { - case 0: - return OPERATOR_UNSPECIFIED; - case 1: - return AND; - case 2: - return OR; - default: - return null; + case 0: return OPERATOR_UNSPECIFIED; + case 1: return AND; + case 2: return OR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Operator> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operator findValueByNumber(int number) { + return Operator.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operator findValueByNumber(int number) { - return Operator.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDescriptor().getEnumTypes().get(0); } private static final Operator[] VALUES = values(); - public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operator valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2826,47 +2516,33 @@ private Operator(int value) { public static final int OP_FIELD_NUMBER = 1; private int op_ = 0; /** - * - * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @return The enum numeric value on the wire for op. */ - @java.lang.Override - public int getOpValue() { + @java.lang.Override public int getOpValue() { return op_; } /** - * - * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @return The op. */ - @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.forNumber(op_); - return result == null - ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp() { + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.forNumber(op_); + return result == null ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED : result; } public static final int FILTERS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List filters_; /** - * - * *
      * The list of filters to combine.
      * Requires:
@@ -2880,8 +2556,6 @@ public java.util.List getFilters
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2891,13 +2565,11 @@ public java.util.List getFilters
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFiltersOrBuilderList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2911,8 +2583,6 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2926,8 +2596,6 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
       return filters_.get(index);
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2937,12 +2605,12 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
     @java.lang.Override
-    public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(int index) {
+    public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(
+        int index) {
       return filters_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2954,10 +2622,9 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (op_
-          != com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.OPERATOR_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (op_ != com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, op_);
       }
       for (int i = 0; i < filters_.size(); i++) {
@@ -2972,13 +2639,13 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (op_
-          != com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.OPERATOR_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, op_);
+      if (op_ != com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, op_);
       }
       for (int i = 0; i < filters_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, filters_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, filters_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2988,16 +2655,16 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.firestore.v1.StructuredQuery.CompositeFilter)) {
         return super.equals(obj);
       }
-      com.google.firestore.v1.StructuredQuery.CompositeFilter other =
-          (com.google.firestore.v1.StructuredQuery.CompositeFilter) obj;
+      com.google.firestore.v1.StructuredQuery.CompositeFilter other = (com.google.firestore.v1.StructuredQuery.CompositeFilter) obj;
 
       if (op_ != other.op_) return false;
-      if (!getFiltersList().equals(other.getFiltersList())) return false;
+      if (!getFiltersList()
+          .equals(other.getFiltersList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -3021,94 +2688,87 @@ public int hashCode() {
     }
 
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.firestore.v1.StructuredQuery.CompositeFilter prototype) {
+    public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.CompositeFilter prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3118,41 +2778,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A filter that merges multiple other filters using the given operator.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CompositeFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.CompositeFilter) com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CompositeFilter.class, - com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.CompositeFilter.class, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3169,9 +2827,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; } @java.lang.Override @@ -3190,18 +2848,14 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.CompositeFilter buildPartial() { - com.google.firestore.v1.StructuredQuery.CompositeFilter result = - new com.google.firestore.v1.StructuredQuery.CompositeFilter(this); + com.google.firestore.v1.StructuredQuery.CompositeFilter result = new com.google.firestore.v1.StructuredQuery.CompositeFilter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.firestore.v1.StructuredQuery.CompositeFilter result) { + private void buildPartialRepeatedFields(com.google.firestore.v1.StructuredQuery.CompositeFilter result) { if (filtersBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { filters_ = java.util.Collections.unmodifiableList(filters_); @@ -3224,41 +2878,38 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.CompositeFilt public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.CompositeFilter) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.CompositeFilter) other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.CompositeFilter)other); } else { super.mergeFrom(other); return this; @@ -3266,8 +2917,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CompositeFilter other) { - if (other == com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) return this; if (other.op_ != 0) { setOpValue(other.getOpValue()); } @@ -3289,10 +2939,9 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CompositeFilter filtersBuilder_ = null; filters_ = other.filters_; bitField0_ = (bitField0_ & ~0x00000002); - filtersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFiltersFieldBuilder() - : null; + filtersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFiltersFieldBuilder() : null; } else { filtersBuilder_.addAllMessages(other.filters_); } @@ -3324,33 +2973,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - op_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - com.google.firestore.v1.StructuredQuery.Filter m = - input.readMessage( - com.google.firestore.v1.StructuredQuery.Filter.parser(), - extensionRegistry); - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.add(m); - } else { - filtersBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + op_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + com.google.firestore.v1.StructuredQuery.Filter m = + input.readMessage( + com.google.firestore.v1.StructuredQuery.Filter.parser(), + extensionRegistry); + if (filtersBuilder_ == null) { + ensureFiltersIsMutable(); + filters_.add(m); + } else { + filtersBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3360,34 +3006,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int op_ = 0; /** - * - * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @return The enum numeric value on the wire for op. */ - @java.lang.Override - public int getOpValue() { + @java.lang.Override public int getOpValue() { return op_; } /** - * - * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @param value The enum numeric value on the wire for op to set. * @return This builder for chaining. */ @@ -3398,33 +3036,24 @@ public Builder setOpValue(int value) { return this; } /** - * - * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @return The op. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.forNumber(op_); - return result == null - ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED - : result; + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.forNumber(op_); + return result == null ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED : result; } /** - * - * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @param value The op to set. * @return This builder for chaining. */ @@ -3438,14 +3067,11 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.CompositeFilter.Ope return this; } /** - * - * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; - * * @return This builder for chaining. */ public Builder clearOp() { @@ -3456,25 +3082,18 @@ public Builder clearOp() { } private java.util.List filters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - filters_ = - new java.util.ArrayList(filters_); + filters_ = new java.util.ArrayList(filters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, - com.google.firestore.v1.StructuredQuery.Filter.Builder, - com.google.firestore.v1.StructuredQuery.FilterOrBuilder> - filtersBuilder_; + com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> filtersBuilder_; /** - * - * *
        * The list of filters to combine.
        * Requires:
@@ -3491,8 +3110,6 @@ public java.util.List getFilters
         }
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3509,8 +3126,6 @@ public int getFiltersCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3527,8 +3142,6 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3537,7 +3150,8 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public Builder setFilters(int index, com.google.firestore.v1.StructuredQuery.Filter value) {
+      public Builder setFilters(
+          int index, com.google.firestore.v1.StructuredQuery.Filter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -3551,8 +3165,6 @@ public Builder setFilters(int index, com.google.firestore.v1.StructuredQuery.Fil
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3573,8 +3185,6 @@ public Builder setFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3597,8 +3207,6 @@ public Builder addFilters(com.google.firestore.v1.StructuredQuery.Filter value)
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3607,7 +3215,8 @@ public Builder addFilters(com.google.firestore.v1.StructuredQuery.Filter value)
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public Builder addFilters(int index, com.google.firestore.v1.StructuredQuery.Filter value) {
+      public Builder addFilters(
+          int index, com.google.firestore.v1.StructuredQuery.Filter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -3621,8 +3230,6 @@ public Builder addFilters(int index, com.google.firestore.v1.StructuredQuery.Fil
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3643,8 +3250,6 @@ public Builder addFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3665,8 +3270,6 @@ public Builder addFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3679,7 +3282,8 @@ public Builder addAllFilters(
           java.lang.Iterable values) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filters_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, filters_);
           onChanged();
         } else {
           filtersBuilder_.addAllMessages(values);
@@ -3687,8 +3291,6 @@ public Builder addAllFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3708,8 +3310,6 @@ public Builder clearFilters() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3729,8 +3329,6 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3739,12 +3337,11 @@ public Builder removeFilters(int index) {
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(int index) {
+      public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(
+          int index) {
         return getFiltersFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3756,14 +3353,11 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(
       public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(
           int index) {
         if (filtersBuilder_ == null) {
-          return filters_.get(index);
-        } else {
+          return filters_.get(index);  } else {
           return filtersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3772,8 +3366,8 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public java.util.List
-          getFiltersOrBuilderList() {
+      public java.util.List 
+           getFiltersOrBuilderList() {
         if (filtersBuilder_ != null) {
           return filtersBuilder_.getMessageOrBuilderList();
         } else {
@@ -3781,8 +3375,6 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
         }
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3792,12 +3384,10 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
       public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder() {
-        return getFiltersFieldBuilder()
-            .addBuilder(com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
+        return getFiltersFieldBuilder().addBuilder(
+            com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3806,13 +3396,12 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(int index) {
-        return getFiltersFieldBuilder()
-            .addBuilder(index, com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
+      public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
+          int index) {
+        return getFiltersFieldBuilder().addBuilder(
+            index, com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3821,28 +3410,24 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public java.util.List
-          getFiltersBuilderList() {
+      public java.util.List 
+           getFiltersBuilderList() {
         return getFiltersFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.firestore.v1.StructuredQuery.Filter,
-              com.google.firestore.v1.StructuredQuery.Filter.Builder,
-              com.google.firestore.v1.StructuredQuery.FilterOrBuilder>
+          com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> 
           getFiltersFieldBuilder() {
         if (filtersBuilder_ == null) {
-          filtersBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.firestore.v1.StructuredQuery.Filter,
-                  com.google.firestore.v1.StructuredQuery.Filter.Builder,
-                  com.google.firestore.v1.StructuredQuery.FilterOrBuilder>(
-                  filters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+          filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder>(
+                  filters_,
+                  ((bitField0_ & 0x00000002) != 0),
+                  getParentForChildren(),
+                  isClean());
           filters_ = null;
         }
         return filtersBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3855,12 +3440,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.CompositeFilter)
     }
 
     // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.CompositeFilter)
     private static final com.google.firestore.v1.StructuredQuery.CompositeFilter DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.CompositeFilter();
     }
@@ -3869,28 +3454,27 @@ public static com.google.firestore.v1.StructuredQuery.CompositeFilter getDefault
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CompositeFilter parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CompositeFilter parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3905,40 +3489,32 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.StructuredQuery.CompositeFilter getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface FieldFilterOrBuilder
-      extends
+  public interface FieldFilterOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.FieldFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return The field. */ com.google.firestore.v1.StructuredQuery.FieldReference getField(); /** - * - * *
      * The field to filter by.
      * 
@@ -3948,57 +3524,43 @@ public interface FieldFilterOrBuilder com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); /** - * - * *
      * The operator to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** - * - * *
      * The operator to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @return The op. */ com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp(); /** - * - * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; - * * @return The value. */ com.google.firestore.v1.Value getValue(); /** - * - * *
      * The value to compare to.
      * 
@@ -4008,67 +3570,60 @@ public interface FieldFilterOrBuilder com.google.firestore.v1.ValueOrBuilder getValueOrBuilder(); } /** - * - * *
    * A filter on a specific field.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldFilter} */ - public static final class FieldFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FieldFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldFilter) FieldFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldFilter.newBuilder() to construct. private FieldFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FieldFilter() { op_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FieldFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldFilter.class, - com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldFilter.class, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); } /** - * - * *
      * A field filter operator.
      * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.FieldFilter.Operator} */ - public enum Operator implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified. This value must not be used.
        * 
@@ -4077,8 +3632,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ OPERATOR_UNSPECIFIED(0), /** - * - * *
        * The given `field` is less than the given `value`.
        * Requires:
@@ -4089,8 +3642,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       LESS_THAN(1),
       /**
-       *
-       *
        * 
        * The given `field` is less than or equal to the given `value`.
        * Requires:
@@ -4101,8 +3652,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       LESS_THAN_OR_EQUAL(2),
       /**
-       *
-       *
        * 
        * The given `field` is greater than the given `value`.
        * Requires:
@@ -4113,8 +3662,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       GREATER_THAN(3),
       /**
-       *
-       *
        * 
        * The given `field` is greater than or equal to the given `value`.
        * Requires:
@@ -4125,8 +3672,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       GREATER_THAN_OR_EQUAL(4),
       /**
-       *
-       *
        * 
        * The given `field` is equal to the given `value`.
        * 
@@ -4135,8 +3680,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ EQUAL(5), /** - * - * *
        * The given `field` is not equal to the given `value`.
        * Requires:
@@ -4148,8 +3691,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       NOT_EQUAL(6),
       /**
-       *
-       *
        * 
        * The given `field` is an array that contains the given `value`.
        * 
@@ -4158,40 +3699,37 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ ARRAY_CONTAINS(7), /** - * - * *
        * The given `field` is equal to at least one value in the given array.
        * Requires:
-       * * That `value` is a non-empty `ArrayValue` with at most 10 values.
-       * * No other `IN` or `ARRAY_CONTAINS_ANY` or `NOT_IN`.
+       * * That `value` is a non-empty `ArrayValue`, subject to disjunction
+       *   limits.
+       * * No `NOT_IN` filters in the same query.
        * 
* * IN = 8; */ IN(8), /** - * - * *
        * The given `field` is an array that contains any of the values in the
        * given array.
        * Requires:
-       * * That `value` is a non-empty `ArrayValue` with at most 10 values.
-       * * No other `IN` or `ARRAY_CONTAINS_ANY` or `NOT_IN`.
+       * * That `value` is a non-empty `ArrayValue`, subject to disjunction
+       *   limits.
+       * * No other `ARRAY_CONTAINS_ANY` filters within the same disjunction.
+       * * No `NOT_IN` filters in the same query.
        * 
* * ARRAY_CONTAINS_ANY = 9; */ ARRAY_CONTAINS_ANY(9), /** - * - * *
        * The value of the `field` is not in the given array.
        * Requires:
        * * That `value` is a non-empty `ArrayValue` with at most 10 values.
-       * * No other `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`,
+       * * No other `OR`, `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`,
        *   `IS_NOT_NULL`, or `IS_NOT_NAN`.
        * * That `field` comes first in the `order_by`.
        * 
@@ -4203,8 +3741,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified. This value must not be used.
        * 
@@ -4213,8 +3749,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The given `field` is less than the given `value`.
        * Requires:
@@ -4225,8 +3759,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int LESS_THAN_VALUE = 1;
       /**
-       *
-       *
        * 
        * The given `field` is less than or equal to the given `value`.
        * Requires:
@@ -4237,8 +3769,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int LESS_THAN_OR_EQUAL_VALUE = 2;
       /**
-       *
-       *
        * 
        * The given `field` is greater than the given `value`.
        * Requires:
@@ -4249,8 +3779,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int GREATER_THAN_VALUE = 3;
       /**
-       *
-       *
        * 
        * The given `field` is greater than or equal to the given `value`.
        * Requires:
@@ -4261,8 +3789,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int GREATER_THAN_OR_EQUAL_VALUE = 4;
       /**
-       *
-       *
        * 
        * The given `field` is equal to the given `value`.
        * 
@@ -4271,8 +3797,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EQUAL_VALUE = 5; /** - * - * *
        * The given `field` is not equal to the given `value`.
        * Requires:
@@ -4284,8 +3808,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NOT_EQUAL_VALUE = 6;
       /**
-       *
-       *
        * 
        * The given `field` is an array that contains the given `value`.
        * 
@@ -4294,40 +3816,37 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARRAY_CONTAINS_VALUE = 7; /** - * - * *
        * The given `field` is equal to at least one value in the given array.
        * Requires:
-       * * That `value` is a non-empty `ArrayValue` with at most 10 values.
-       * * No other `IN` or `ARRAY_CONTAINS_ANY` or `NOT_IN`.
+       * * That `value` is a non-empty `ArrayValue`, subject to disjunction
+       *   limits.
+       * * No `NOT_IN` filters in the same query.
        * 
* * IN = 8; */ public static final int IN_VALUE = 8; /** - * - * *
        * The given `field` is an array that contains any of the values in the
        * given array.
        * Requires:
-       * * That `value` is a non-empty `ArrayValue` with at most 10 values.
-       * * No other `IN` or `ARRAY_CONTAINS_ANY` or `NOT_IN`.
+       * * That `value` is a non-empty `ArrayValue`, subject to disjunction
+       *   limits.
+       * * No other `ARRAY_CONTAINS_ANY` filters within the same disjunction.
+       * * No `NOT_IN` filters in the same query.
        * 
* * ARRAY_CONTAINS_ANY = 9; */ public static final int ARRAY_CONTAINS_ANY_VALUE = 9; /** - * - * *
        * The value of the `field` is not in the given array.
        * Requires:
        * * That `value` is a non-empty `ArrayValue` with at most 10 values.
-       * * No other `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`,
+       * * No other `OR`, `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`,
        *   `IS_NOT_NULL`, or `IS_NOT_NAN`.
        * * That `field` comes first in the `order_by`.
        * 
@@ -4336,6 +3855,7 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NOT_IN_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4360,67 +3880,57 @@ public static Operator valueOf(int value) { */ public static Operator forNumber(int value) { switch (value) { - case 0: - return OPERATOR_UNSPECIFIED; - case 1: - return LESS_THAN; - case 2: - return LESS_THAN_OR_EQUAL; - case 3: - return GREATER_THAN; - case 4: - return GREATER_THAN_OR_EQUAL; - case 5: - return EQUAL; - case 6: - return NOT_EQUAL; - case 7: - return ARRAY_CONTAINS; - case 8: - return IN; - case 9: - return ARRAY_CONTAINS_ANY; - case 10: - return NOT_IN; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return OPERATOR_UNSPECIFIED; + case 1: return LESS_THAN; + case 2: return LESS_THAN_OR_EQUAL; + case 3: return GREATER_THAN; + case 4: return GREATER_THAN_OR_EQUAL; + case 5: return EQUAL; + case 6: return NOT_EQUAL; + case 7: return ARRAY_CONTAINS; + case 8: return IN; + case 9: return ARRAY_CONTAINS_ANY; + case 10: return NOT_IN; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Operator> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operator findValueByNumber(int number) { + return Operator.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operator findValueByNumber(int number) { - return Operator.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.firestore.v1.StructuredQuery.FieldFilter.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.firestore.v1.StructuredQuery.FieldFilter.getDescriptor().getEnumTypes().get(0); } private static final Operator[] VALUES = values(); - public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operator valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -4440,14 +3950,11 @@ private Operator(int value) { public static final int FIELD_FIELD_NUMBER = 1; private com.google.firestore.v1.StructuredQuery.FieldReference field_; /** - * - * *
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return Whether the field field is set. */ @java.lang.Override @@ -4455,25 +3962,18 @@ public boolean hasField() { return field_ != null; } /** - * - * *
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return The field. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference getField() { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } /** - * - * *
      * The field to filter by.
      * 
@@ -4482,59 +3982,43 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } public static final int OP_FIELD_NUMBER = 2; private int op_ = 0; /** - * - * *
      * The operator to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @return The enum numeric value on the wire for op. */ - @java.lang.Override - public int getOpValue() { + @java.lang.Override public int getOpValue() { return op_; } /** - * - * *
      * The operator to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @return The op. */ - @java.lang.Override - public com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.forNumber(op_); - return result == null - ? com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp() { + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.forNumber(op_); + return result == null ? com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 3; private com.google.firestore.v1.Value value_; /** - * - * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; - * * @return Whether the value field is set. */ @java.lang.Override @@ -4542,14 +4026,11 @@ public boolean hasValue() { return value_ != null; } /** - * - * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; - * * @return The value. */ @java.lang.Override @@ -4557,8 +4038,6 @@ public com.google.firestore.v1.Value getValue() { return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; } /** - * - * *
      * The value to compare to.
      * 
@@ -4571,7 +4050,6 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4583,13 +4061,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } - if (op_ - != com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.OPERATOR_UNSPECIFIED - .getNumber()) { + if (op_ != com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) { output.writeEnum(2, op_); } if (value_ != null) { @@ -4605,15 +4082,16 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getField()); } - if (op_ - != com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.OPERATOR_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, op_); + if (op_ != com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, op_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4623,22 +4101,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.FieldFilter)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.FieldFilter other = - (com.google.firestore.v1.StructuredQuery.FieldFilter) obj; + com.google.firestore.v1.StructuredQuery.FieldFilter other = (com.google.firestore.v1.StructuredQuery.FieldFilter) obj; if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField().equals(other.getField())) return false; + if (!getField() + .equals(other.getField())) return false; } if (op_ != other.op_) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4667,94 +4146,87 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.v1.StructuredQuery.FieldFilter prototype) { + public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.FieldFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4764,41 +4236,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A filter on a specific field.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.FieldFilter) com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldFilter.class, - com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldFilter.class, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4818,9 +4288,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; } @java.lang.Override @@ -4839,11 +4309,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter buildPartial() { - com.google.firestore.v1.StructuredQuery.FieldFilter result = - new com.google.firestore.v1.StructuredQuery.FieldFilter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.StructuredQuery.FieldFilter result = new com.google.firestore.v1.StructuredQuery.FieldFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -4851,13 +4318,17 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter buildPartial() { private void buildPartial0(com.google.firestore.v1.StructuredQuery.FieldFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.field_ = fieldBuilder_ == null ? field_ : fieldBuilder_.build(); + result.field_ = fieldBuilder_ == null + ? field_ + : fieldBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.op_ = op_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); } } @@ -4865,41 +4336,38 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.FieldFilter r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.FieldFilter) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.FieldFilter) other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.FieldFilter)other); } else { super.mergeFrom(other); return this; @@ -4907,8 +4375,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.FieldFilter other) { - if (other == com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) return this; if (other.hasField()) { mergeField(other.getField()); } @@ -4944,31 +4411,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getFieldFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - op_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getFieldFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + op_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4978,52 +4445,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.firestore.v1.StructuredQuery.FieldReference field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> - fieldBuilder_; + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> fieldBuilder_; /** - * - * *
        * The field to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return Whether the field field is set. */ public boolean hasField() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The field to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return The field. */ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { if (fieldBuilder_ == null) { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } else { return fieldBuilder_.getMessage(); } } /** - * - * *
        * The field to filter by.
        * 
@@ -5044,8 +4497,6 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** - * - * *
        * The field to filter by.
        * 
@@ -5064,8 +4515,6 @@ public Builder setField( return this; } /** - * - * *
        * The field to filter by.
        * 
@@ -5074,10 +4523,9 @@ public Builder setField( */ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) { if (fieldBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && field_ != null - && field_ - != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + field_ != null && + field_ != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { getFieldBuilder().mergeFrom(value); } else { field_ = value; @@ -5090,8 +4538,6 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** - * - * *
        * The field to filter by.
        * 
@@ -5109,8 +4555,6 @@ public Builder clearField() { return this; } /** - * - * *
        * The field to filter by.
        * 
@@ -5123,8 +4567,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** - * - * *
        * The field to filter by.
        * 
@@ -5135,14 +4577,11 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? + com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } } /** - * - * *
        * The field to filter by.
        * 
@@ -5150,17 +4589,14 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO * .google.firestore.v1.StructuredQuery.FieldReference field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; @@ -5168,29 +4604,22 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO private int op_ = 0; /** - * - * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @return The enum numeric value on the wire for op. */ - @java.lang.Override - public int getOpValue() { + @java.lang.Override public int getOpValue() { return op_; } /** - * - * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @param value The enum numeric value on the wire for op to set. * @return This builder for chaining. */ @@ -5201,33 +4630,24 @@ public Builder setOpValue(int value) { return this; } /** - * - * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @return The op. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.forNumber(op_); - return result == null - ? com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.UNRECOGNIZED - : result; + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.forNumber(op_); + return result == null ? com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.UNRECOGNIZED : result; } /** - * - * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @param value The op to set. * @return This builder for chaining. */ @@ -5241,14 +4661,11 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.FieldFilter.Operato return this; } /** - * - * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; - * * @return This builder for chaining. */ public Builder clearOp() { @@ -5260,33 +4677,24 @@ public Builder clearOp() { private com.google.firestore.v1.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder> - valueBuilder_; + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> valueBuilder_; /** - * - * *
        * The value to compare to.
        * 
* * .google.firestore.v1.Value value = 3; - * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The value to compare to.
        * 
* * .google.firestore.v1.Value value = 3; - * * @return The value. */ public com.google.firestore.v1.Value getValue() { @@ -5297,8 +4705,6 @@ public com.google.firestore.v1.Value getValue() { } } /** - * - * *
        * The value to compare to.
        * 
@@ -5319,15 +4725,14 @@ public Builder setValue(com.google.firestore.v1.Value value) { return this; } /** - * - * *
        * The value to compare to.
        * 
* * .google.firestore.v1.Value value = 3; */ - public Builder setValue(com.google.firestore.v1.Value.Builder builderForValue) { + public Builder setValue( + com.google.firestore.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { @@ -5338,8 +4743,6 @@ public Builder setValue(com.google.firestore.v1.Value.Builder builderForValue) { return this; } /** - * - * *
        * The value to compare to.
        * 
@@ -5348,9 +4751,9 @@ public Builder setValue(com.google.firestore.v1.Value.Builder builderForValue) { */ public Builder mergeValue(com.google.firestore.v1.Value value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && value_ != null - && value_ != com.google.firestore.v1.Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + value_ != null && + value_ != com.google.firestore.v1.Value.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -5363,8 +4766,6 @@ public Builder mergeValue(com.google.firestore.v1.Value value) { return this; } /** - * - * *
        * The value to compare to.
        * 
@@ -5382,8 +4783,6 @@ public Builder clearValue() { return this; } /** - * - * *
        * The value to compare to.
        * 
@@ -5396,8 +4795,6 @@ public com.google.firestore.v1.Value.Builder getValueBuilder() { return getValueFieldBuilder().getBuilder(); } /** - * - * *
        * The value to compare to.
        * 
@@ -5408,12 +4805,11 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; + return value_ == null ? + com.google.firestore.v1.Value.getDefaultInstance() : value_; } } /** - * - * *
        * The value to compare to.
        * 
@@ -5421,22 +4817,18 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { * .google.firestore.v1.Value value = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder> + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, - com.google.firestore.v1.Value.Builder, - com.google.firestore.v1.ValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5449,12 +4841,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.FieldFilter) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.FieldFilter) private static final com.google.firestore.v1.StructuredQuery.FieldFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.FieldFilter(); } @@ -5463,28 +4855,27 @@ public static com.google.firestore.v1.StructuredQuery.FieldFilter getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5499,65 +4890,51 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.FieldFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UnaryFilterOrBuilder - extends + public interface UnaryFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.UnaryFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The unary operator to apply.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** - * - * *
      * The unary operator to apply.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @return The op. */ com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp(); /** - * - * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; - * * @return The field. */ com.google.firestore.v1.StructuredQuery.FieldReference getField(); /** - * - * *
      * The field to which to apply the operator.
      * 
@@ -5569,67 +4946,60 @@ public interface UnaryFilterOrBuilder public com.google.firestore.v1.StructuredQuery.UnaryFilter.OperandTypeCase getOperandTypeCase(); } /** - * - * *
    * A filter with a single operand.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.UnaryFilter} */ - public static final class UnaryFilter extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UnaryFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.UnaryFilter) UnaryFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UnaryFilter.newBuilder() to construct. private UnaryFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UnaryFilter() { op_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UnaryFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.UnaryFilter.class, - com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.UnaryFilter.class, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); } /** - * - * *
      * A unary operator.
      * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.UnaryFilter.Operator} */ - public enum Operator implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified. This value must not be used.
        * 
@@ -5638,8 +5008,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ OPERATOR_UNSPECIFIED(0), /** - * - * *
        * The given `field` is equal to `NaN`.
        * 
@@ -5648,8 +5016,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ IS_NAN(2), /** - * - * *
        * The given `field` is equal to `NULL`.
        * 
@@ -5658,8 +5024,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ IS_NULL(3), /** - * - * *
        * The given `field` is not equal to `NaN`.
        * Requires:
@@ -5671,8 +5035,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       IS_NOT_NAN(4),
       /**
-       *
-       *
        * 
        * The given `field` is not equal to `NULL`.
        * Requires:
@@ -5687,8 +5049,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -5697,8 +5057,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The given `field` is equal to `NaN`.
        * 
@@ -5707,8 +5065,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IS_NAN_VALUE = 2; /** - * - * *
        * The given `field` is equal to `NULL`.
        * 
@@ -5717,8 +5073,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IS_NULL_VALUE = 3; /** - * - * *
        * The given `field` is not equal to `NaN`.
        * Requires:
@@ -5730,8 +5084,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int IS_NOT_NAN_VALUE = 4;
       /**
-       *
-       *
        * 
        * The given `field` is not equal to `NULL`.
        * Requires:
@@ -5743,6 +5095,7 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int IS_NOT_NULL_VALUE = 5;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -5767,55 +5120,51 @@ public static Operator valueOf(int value) {
        */
       public static Operator forNumber(int value) {
         switch (value) {
-          case 0:
-            return OPERATOR_UNSPECIFIED;
-          case 2:
-            return IS_NAN;
-          case 3:
-            return IS_NULL;
-          case 4:
-            return IS_NOT_NAN;
-          case 5:
-            return IS_NOT_NULL;
-          default:
-            return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-        return internalValueMap;
+          case 0: return OPERATOR_UNSPECIFIED;
+          case 2: return IS_NAN;
+          case 3: return IS_NULL;
+          case 4: return IS_NOT_NAN;
+          case 5: return IS_NOT_NULL;
+          default: return null;
+        }
       }
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Operator findValueByNumber(int number) {
-              return Operator.forNumber(number);
-            }
-          };
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
+        return internalValueMap;
+      }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Operator> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Operator findValueByNumber(int number) {
+                return Operator.forNumber(number);
+              }
+            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Operator[] VALUES = values();
 
-      public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Operator valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -5834,15 +5183,12 @@ private Operator(int value) {
 
     private int operandTypeCase_ = 0;
     private java.lang.Object operandType_;
-
     public enum OperandTypeCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       FIELD(2),
       OPERANDTYPE_NOT_SET(0);
       private final int value;
-
       private OperandTypeCase(int value) {
         this.value = value;
       }
@@ -5858,71 +5204,55 @@ public static OperandTypeCase valueOf(int value) {
 
       public static OperandTypeCase forNumber(int value) {
         switch (value) {
-          case 2:
-            return FIELD;
-          case 0:
-            return OPERANDTYPE_NOT_SET;
-          default:
-            return null;
+          case 2: return FIELD;
+          case 0: return OPERANDTYPE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public OperandTypeCase getOperandTypeCase() {
-      return OperandTypeCase.forNumber(operandTypeCase_);
+    public OperandTypeCase
+    getOperandTypeCase() {
+      return OperandTypeCase.forNumber(
+          operandTypeCase_);
     }
 
     public static final int OP_FIELD_NUMBER = 1;
     private int op_ = 0;
     /**
-     *
-     *
      * 
      * The unary operator to apply.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @return The enum numeric value on the wire for op. */ - @java.lang.Override - public int getOpValue() { + @java.lang.Override public int getOpValue() { return op_; } /** - * - * *
      * The unary operator to apply.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @return The op. */ - @java.lang.Override - public com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.forNumber(op_); - return result == null - ? com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp() { + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.forNumber(op_); + return result == null ? com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED : result; } public static final int FIELD_FIELD_NUMBER = 2; /** - * - * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; - * * @return Whether the field field is set. */ @java.lang.Override @@ -5930,26 +5260,21 @@ public boolean hasField() { return operandTypeCase_ == 2; } /** - * - * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; - * * @return The field. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference getField() { if (operandTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; + return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; } return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); } /** - * - * *
      * The field to which to apply the operator.
      * 
@@ -5959,13 +5284,12 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { if (operandTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; + return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; } return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5977,15 +5301,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (op_ - != com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (op_ != com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) { output.writeEnum(1, op_); } if (operandTypeCase_ == 2) { - output.writeMessage( - 2, (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); + output.writeMessage(2, (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); } getUnknownFields().writeTo(output); } @@ -5996,15 +5318,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (op_ - != com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, op_); + if (op_ != com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, op_); } if (operandTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6014,19 +5334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.UnaryFilter)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.UnaryFilter other = - (com.google.firestore.v1.StructuredQuery.UnaryFilter) obj; + com.google.firestore.v1.StructuredQuery.UnaryFilter other = (com.google.firestore.v1.StructuredQuery.UnaryFilter) obj; if (op_ != other.op_) return false; if (!getOperandTypeCase().equals(other.getOperandTypeCase())) return false; switch (operandTypeCase_) { case 2: - if (!getField().equals(other.getField())) return false; + if (!getField() + .equals(other.getField())) return false; break; case 0: default: @@ -6058,94 +5378,87 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.v1.StructuredQuery.UnaryFilter prototype) { + public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.UnaryFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6155,41 +5468,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A filter with a single operand.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.UnaryFilter} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.UnaryFilter) com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.UnaryFilter.class, - com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.UnaryFilter.class, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.UnaryFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6204,9 +5515,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; } @java.lang.Override @@ -6225,11 +5536,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter buildPartial() { - com.google.firestore.v1.StructuredQuery.UnaryFilter result = - new com.google.firestore.v1.StructuredQuery.UnaryFilter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.StructuredQuery.UnaryFilter result = new com.google.firestore.v1.StructuredQuery.UnaryFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -6245,7 +5553,8 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.UnaryFilter r private void buildPartialOneofs(com.google.firestore.v1.StructuredQuery.UnaryFilter result) { result.operandTypeCase_ = operandTypeCase_; result.operandType_ = this.operandType_; - if (operandTypeCase_ == 2 && fieldBuilder_ != null) { + if (operandTypeCase_ == 2 && + fieldBuilder_ != null) { result.operandType_ = fieldBuilder_.build(); } } @@ -6254,41 +5563,38 @@ private void buildPartialOneofs(com.google.firestore.v1.StructuredQuery.UnaryFil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.UnaryFilter) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.UnaryFilter) other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.UnaryFilter)other); } else { super.mergeFrom(other); return this; @@ -6296,21 +5602,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.UnaryFilter other) { - if (other == com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) return this; if (other.op_ != 0) { setOpValue(other.getOpValue()); } switch (other.getOperandTypeCase()) { - case FIELD: - { - mergeField(other.getField()); - break; - } - case OPERANDTYPE_NOT_SET: - { - break; - } + case FIELD: { + mergeField(other.getField()); + break; + } + case OPERANDTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -6338,25 +5641,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - op_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getFieldFieldBuilder().getBuilder(), extensionRegistry); - operandTypeCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + op_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getFieldFieldBuilder().getBuilder(), + extensionRegistry); + operandTypeCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6366,12 +5668,12 @@ public Builder mergeFrom( } // finally return this; } - private int operandTypeCase_ = 0; private java.lang.Object operandType_; - - public OperandTypeCase getOperandTypeCase() { - return OperandTypeCase.forNumber(operandTypeCase_); + public OperandTypeCase + getOperandTypeCase() { + return OperandTypeCase.forNumber( + operandTypeCase_); } public Builder clearOperandType() { @@ -6385,29 +5687,22 @@ public Builder clearOperandType() { private int op_ = 0; /** - * - * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @return The enum numeric value on the wire for op. */ - @java.lang.Override - public int getOpValue() { + @java.lang.Override public int getOpValue() { return op_; } /** - * - * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @param value The enum numeric value on the wire for op to set. * @return This builder for chaining. */ @@ -6418,33 +5713,24 @@ public Builder setOpValue(int value) { return this; } /** - * - * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @return The op. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.forNumber(op_); - return result == null - ? com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED - : result; + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.forNumber(op_); + return result == null ? com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED : result; } /** - * - * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @param value The op to set. * @return This builder for chaining. */ @@ -6458,14 +5744,11 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.UnaryFilter.Operato return this; } /** - * - * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; - * * @return This builder for chaining. */ public Builder clearOp() { @@ -6476,19 +5759,13 @@ public Builder clearOp() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> - fieldBuilder_; + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> fieldBuilder_; /** - * - * *
        * The field to which to apply the operator.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; - * * @return Whether the field field is set. */ @java.lang.Override @@ -6496,14 +5773,11 @@ public boolean hasField() { return operandTypeCase_ == 2; } /** - * - * *
        * The field to which to apply the operator.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; - * * @return The field. */ @java.lang.Override @@ -6521,8 +5795,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { } } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6543,8 +5815,6 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6563,8 +5833,6 @@ public Builder setField( return this; } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6573,14 +5841,10 @@ public Builder setField( */ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) { if (fieldBuilder_ == null) { - if (operandTypeCase_ == 2 - && operandType_ - != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { - operandType_ = - com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder( - (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_) - .mergeFrom(value) - .buildPartial(); + if (operandTypeCase_ == 2 && + operandType_ != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { + operandType_ = com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder((com.google.firestore.v1.StructuredQuery.FieldReference) operandType_) + .mergeFrom(value).buildPartial(); } else { operandType_ = value; } @@ -6596,8 +5860,6 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6621,8 +5883,6 @@ public Builder clearField() { return this; } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6633,8 +5893,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6653,8 +5911,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO } } /** - * - * *
        * The field to which to apply the operator.
        * 
@@ -6662,20 +5918,14 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO * .google.firestore.v1.StructuredQuery.FieldReference field = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { if (!(operandTypeCase_ == 2)) { - operandType_ = - com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); + operandType_ = com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); } - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_, getParentForChildren(), isClean()); @@ -6685,7 +5935,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO onChanged(); return fieldBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6698,12 +5947,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.UnaryFilter) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.UnaryFilter) private static final com.google.firestore.v1.StructuredQuery.UnaryFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.UnaryFilter(); } @@ -6712,28 +5961,27 @@ public static com.google.firestore.v1.StructuredQuery.UnaryFilter getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnaryFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnaryFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6748,40 +5996,32 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.UnaryFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface OrderOrBuilder - extends + public interface OrderOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Order) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return Whether the field field is set. */ boolean hasField(); /** - * - * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return The field. */ com.google.firestore.v1.StructuredQuery.FieldReference getField(); /** - * - * *
      * The field to order by.
      * 
@@ -6791,90 +6031,77 @@ public interface OrderOrBuilder com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); /** - * - * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @return The enum numeric value on the wire for direction. */ int getDirectionValue(); /** - * - * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @return The direction. */ com.google.firestore.v1.StructuredQuery.Direction getDirection(); } /** - * - * *
    * An order on a field.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} */ - public static final class Order extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Order extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Order) OrderOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Order.newBuilder() to construct. private Order(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Order() { direction_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Order(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Order.class, - com.google.firestore.v1.StructuredQuery.Order.Builder.class); + com.google.firestore.v1.StructuredQuery.Order.class, com.google.firestore.v1.StructuredQuery.Order.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.firestore.v1.StructuredQuery.FieldReference field_; /** - * - * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return Whether the field field is set. */ @java.lang.Override @@ -6882,25 +6109,18 @@ public boolean hasField() { return field_ != null; } /** - * - * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return The field. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference getField() { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } /** - * - * *
      * The field to order by.
      * 
@@ -6909,50 +6129,36 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } public static final int DIRECTION_FIELD_NUMBER = 2; private int direction_ = 0; /** - * - * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @return The enum numeric value on the wire for direction. */ - @java.lang.Override - public int getDirectionValue() { + @java.lang.Override public int getDirectionValue() { return direction_; } /** - * - * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @return The direction. */ - @java.lang.Override - public com.google.firestore.v1.StructuredQuery.Direction getDirection() { - com.google.firestore.v1.StructuredQuery.Direction result = - com.google.firestore.v1.StructuredQuery.Direction.forNumber(direction_); - return result == null - ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.v1.StructuredQuery.Direction getDirection() { + com.google.firestore.v1.StructuredQuery.Direction result = com.google.firestore.v1.StructuredQuery.Direction.forNumber(direction_); + return result == null ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6964,12 +6170,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } - if (direction_ - != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + if (direction_ != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) { output.writeEnum(2, direction_); } getUnknownFields().writeTo(output); @@ -6982,11 +6188,12 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getField()); } - if (direction_ - != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_); + if (direction_ != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, direction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6996,17 +6203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.Order)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.Order other = - (com.google.firestore.v1.StructuredQuery.Order) obj; + com.google.firestore.v1.StructuredQuery.Order other = (com.google.firestore.v1.StructuredQuery.Order) obj; if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField().equals(other.getField())) return false; + if (!getField() + .equals(other.getField())) return false; } if (direction_ != other.direction_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -7031,94 +6238,88 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.Order parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.Order parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.Order parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.Order prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7128,41 +6329,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An order on a field.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.Order) com.google.firestore.v1.StructuredQuery.OrderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Order.class, - com.google.firestore.v1.StructuredQuery.Order.Builder.class); + com.google.firestore.v1.StructuredQuery.Order.class, com.google.firestore.v1.StructuredQuery.Order.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.Order.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -7177,9 +6376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; } @java.lang.Override @@ -7198,11 +6397,8 @@ public com.google.firestore.v1.StructuredQuery.Order build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.Order buildPartial() { - com.google.firestore.v1.StructuredQuery.Order result = - new com.google.firestore.v1.StructuredQuery.Order(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.StructuredQuery.Order result = new com.google.firestore.v1.StructuredQuery.Order(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -7210,7 +6406,9 @@ public com.google.firestore.v1.StructuredQuery.Order buildPartial() { private void buildPartial0(com.google.firestore.v1.StructuredQuery.Order result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.field_ = fieldBuilder_ == null ? field_ : fieldBuilder_.build(); + result.field_ = fieldBuilder_ == null + ? field_ + : fieldBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.direction_ = direction_; @@ -7221,41 +6419,38 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.Order result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.Order) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.Order) other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.Order)other); } else { super.mergeFrom(other); return this; @@ -7263,8 +6458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Order other) { - if (other == com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance()) return this; if (other.hasField()) { mergeField(other.getField()); } @@ -7297,25 +6491,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getFieldFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - direction_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getFieldFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + direction_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7325,52 +6518,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.firestore.v1.StructuredQuery.FieldReference field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> - fieldBuilder_; + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> fieldBuilder_; /** - * - * *
        * The field to order by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return Whether the field field is set. */ public boolean hasField() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The field to order by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; - * * @return The field. */ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { if (fieldBuilder_ == null) { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } else { return fieldBuilder_.getMessage(); } } /** - * - * *
        * The field to order by.
        * 
@@ -7391,8 +6570,6 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** - * - * *
        * The field to order by.
        * 
@@ -7411,8 +6588,6 @@ public Builder setField( return this; } /** - * - * *
        * The field to order by.
        * 
@@ -7421,10 +6596,9 @@ public Builder setField( */ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) { if (fieldBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && field_ != null - && field_ - != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + field_ != null && + field_ != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { getFieldBuilder().mergeFrom(value); } else { field_ = value; @@ -7437,8 +6611,6 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** - * - * *
        * The field to order by.
        * 
@@ -7456,8 +6628,6 @@ public Builder clearField() { return this; } /** - * - * *
        * The field to order by.
        * 
@@ -7470,8 +6640,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** - * - * *
        * The field to order by.
        * 
@@ -7482,14 +6650,11 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null - ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + return field_ == null ? + com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; } } /** - * - * *
        * The field to order by.
        * 
@@ -7497,17 +6662,14 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO * .google.firestore.v1.StructuredQuery.FieldReference field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( - getField(), getParentForChildren(), isClean()); + fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + getField(), + getParentForChildren(), + isClean()); field_ = null; } return fieldBuilder_; @@ -7515,29 +6677,22 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO private int direction_ = 0; /** - * - * *
        * The direction to order by. Defaults to `ASCENDING`.
        * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @return The enum numeric value on the wire for direction. */ - @java.lang.Override - public int getDirectionValue() { + @java.lang.Override public int getDirectionValue() { return direction_; } /** - * - * *
        * The direction to order by. Defaults to `ASCENDING`.
        * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @param value The enum numeric value on the wire for direction to set. * @return This builder for chaining. */ @@ -7548,33 +6703,24 @@ public Builder setDirectionValue(int value) { return this; } /** - * - * *
        * The direction to order by. Defaults to `ASCENDING`.
        * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @return The direction. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.Direction getDirection() { - com.google.firestore.v1.StructuredQuery.Direction result = - com.google.firestore.v1.StructuredQuery.Direction.forNumber(direction_); - return result == null - ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED - : result; + com.google.firestore.v1.StructuredQuery.Direction result = com.google.firestore.v1.StructuredQuery.Direction.forNumber(direction_); + return result == null ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED : result; } /** - * - * *
        * The direction to order by. Defaults to `ASCENDING`.
        * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @param value The direction to set. * @return This builder for chaining. */ @@ -7588,14 +6734,11 @@ public Builder setDirection(com.google.firestore.v1.StructuredQuery.Direction va return this; } /** - * - * *
        * The direction to order by. Defaults to `ASCENDING`.
        * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; - * * @return This builder for chaining. */ public Builder clearDirection() { @@ -7604,7 +6747,6 @@ public Builder clearDirection() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7617,12 +6759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Order) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Order) private static final com.google.firestore.v1.StructuredQuery.Order DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Order(); } @@ -7631,28 +6773,27 @@ public static com.google.firestore.v1.StructuredQuery.Order getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Order parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Order parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7667,16 +6808,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.Order getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface FieldReferenceOrBuilder - extends + public interface FieldReferenceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.FieldReference) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The relative path of the document being referenced.
      * Requires:
@@ -7685,13 +6824,10 @@ public interface FieldReferenceOrBuilder
      * 
* * string field_path = 2; - * * @return The fieldPath. */ java.lang.String getFieldPath(); /** - * - * *
      * The relative path of the document being referenced.
      * Requires:
@@ -7700,67 +6836,60 @@ public interface FieldReferenceOrBuilder
      * 
* * string field_path = 2; - * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString getFieldPathBytes(); + com.google.protobuf.ByteString + getFieldPathBytes(); } /** - * - * *
    * A reference to a field in a document, ex: `stats.operations`.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} */ - public static final class FieldReference extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FieldReference extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldReference) FieldReferenceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldReference.newBuilder() to construct. private FieldReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FieldReference() { fieldPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FieldReference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldReference.class, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldReference.class, com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); } public static final int FIELD_PATH_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object fieldPath_ = ""; /** - * - * *
      * The relative path of the document being referenced.
      * Requires:
@@ -7769,7 +6898,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string field_path = 2; - * * @return The fieldPath. */ @java.lang.Override @@ -7778,15 +6906,14 @@ public java.lang.String getFieldPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; } } /** - * - * *
      * The relative path of the document being referenced.
      * Requires:
@@ -7795,15 +6922,16 @@ public java.lang.String getFieldPath() {
      * 
* * string field_path = 2; - * * @return The bytes for fieldPath. */ @java.lang.Override - public com.google.protobuf.ByteString getFieldPathBytes() { + public com.google.protobuf.ByteString + getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -7812,7 +6940,6 @@ public com.google.protobuf.ByteString getFieldPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7824,7 +6951,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldPath_); } @@ -7848,15 +6976,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.FieldReference)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.FieldReference other = - (com.google.firestore.v1.StructuredQuery.FieldReference) obj; + com.google.firestore.v1.StructuredQuery.FieldReference other = (com.google.firestore.v1.StructuredQuery.FieldReference) obj; - if (!getFieldPath().equals(other.getFieldPath())) return false; + if (!getFieldPath() + .equals(other.getFieldPath())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7876,94 +7004,87 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.StructuredQuery.FieldReference parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.StructuredQuery.FieldReference parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.v1.StructuredQuery.FieldReference prototype) { + public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.FieldReference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7973,41 +7094,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A reference to a field in a document, ex: `stats.operations`.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.FieldReference) com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldReference.class, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldReference.class, com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -8017,9 +7136,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override @@ -8038,11 +7157,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference buildPartial() { - com.google.firestore.v1.StructuredQuery.FieldReference result = - new com.google.firestore.v1.StructuredQuery.FieldReference(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.StructuredQuery.FieldReference result = new com.google.firestore.v1.StructuredQuery.FieldReference(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -8058,41 +7174,38 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.FieldReferenc public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.FieldReference) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.FieldReference) other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.FieldReference)other); } else { super.mergeFrom(other); return this; @@ -8100,8 +7213,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.FieldReference other) { - if (other == com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) return this; if (!other.getFieldPath().isEmpty()) { fieldPath_ = other.fieldPath_; bitField0_ |= 0x00000001; @@ -8133,19 +7245,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - fieldPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + fieldPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8155,13 +7265,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object fieldPath_ = ""; /** - * - * *
        * The relative path of the document being referenced.
        * Requires:
@@ -8170,13 +7277,13 @@ public Builder mergeFrom(
        * 
* * string field_path = 2; - * * @return The fieldPath. */ public java.lang.String getFieldPath() { java.lang.Object ref = fieldPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; @@ -8185,8 +7292,6 @@ public java.lang.String getFieldPath() { } } /** - * - * *
        * The relative path of the document being referenced.
        * Requires:
@@ -8195,14 +7300,15 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 2; - * * @return The bytes for fieldPath. */ - public com.google.protobuf.ByteString getFieldPathBytes() { + public com.google.protobuf.ByteString + getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -8210,8 +7316,6 @@ public com.google.protobuf.ByteString getFieldPathBytes() { } } /** - * - * *
        * The relative path of the document being referenced.
        * Requires:
@@ -8220,22 +7324,18 @@ public com.google.protobuf.ByteString getFieldPathBytes() {
        * 
* * string field_path = 2; - * * @param value The fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } fieldPath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The relative path of the document being referenced.
        * Requires:
@@ -8244,7 +7344,6 @@ public Builder setFieldPath(java.lang.String value) {
        * 
* * string field_path = 2; - * * @return This builder for chaining. */ public Builder clearFieldPath() { @@ -8254,8 +7353,6 @@ public Builder clearFieldPath() { return this; } /** - * - * *
        * The relative path of the document being referenced.
        * Requires:
@@ -8264,21 +7361,18 @@ public Builder clearFieldPath() {
        * 
* * string field_path = 2; - * * @param value The bytes for fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFieldPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fieldPath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8291,12 +7385,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.FieldReference) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.FieldReference) private static final com.google.firestore.v1.StructuredQuery.FieldReference DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.FieldReference(); } @@ -8305,28 +7399,27 @@ public static com.google.firestore.v1.StructuredQuery.FieldReference getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8341,16 +7434,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.FieldReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ProjectionOrBuilder - extends + public interface ProjectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Projection) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8359,10 +7450,9 @@ public interface ProjectionOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    java.util.List getFieldsList();
+    java.util.List 
+        getFieldsList();
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8373,8 +7463,6 @@ public interface ProjectionOrBuilder
      */
     com.google.firestore.v1.StructuredQuery.FieldReference getFields(int index);
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8385,8 +7473,6 @@ public interface ProjectionOrBuilder
      */
     int getFieldsCount();
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8395,11 +7481,9 @@ public interface ProjectionOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    java.util.List
+    java.util.List 
         getFieldsOrBuilderList();
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8408,64 +7492,58 @@ public interface ProjectionOrBuilder
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(int index);
+    com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * The projection of document's fields to return.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Projection} */ - public static final class Projection extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Projection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Projection) ProjectionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Projection.newBuilder() to construct. private Projection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Projection() { fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Projection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Projection.class, - com.google.firestore.v1.StructuredQuery.Projection.Builder.class); + com.google.firestore.v1.StructuredQuery.Projection.class, com.google.firestore.v1.StructuredQuery.Projection.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8479,8 +7557,6 @@ public java.util.List ge
       return fields_;
     }
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8490,13 +7566,11 @@ public java.util.List ge
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFieldsOrBuilderList() {
       return fields_;
     }
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8510,8 +7584,6 @@ public int getFieldsCount() {
       return fields_.size();
     }
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8525,8 +7597,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int inde
       return fields_.get(index);
     }
     /**
-     *
-     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -8542,7 +7612,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -8554,7 +7623,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < fields_.size(); i++) {
         output.writeMessage(2, fields_.get(i));
       }
@@ -8568,7 +7638,8 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < fields_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, fields_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -8578,15 +7649,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.firestore.v1.StructuredQuery.Projection)) {
         return super.equals(obj);
       }
-      com.google.firestore.v1.StructuredQuery.Projection other =
-          (com.google.firestore.v1.StructuredQuery.Projection) obj;
+      com.google.firestore.v1.StructuredQuery.Projection other = (com.google.firestore.v1.StructuredQuery.Projection) obj;
 
-      if (!getFieldsList().equals(other.getFieldsList())) return false;
+      if (!getFieldsList()
+          .equals(other.getFieldsList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -8608,93 +7679,87 @@ public int hashCode() {
     }
 
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.firestore.v1.StructuredQuery.Projection parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.firestore.v1.StructuredQuery.Projection parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.StructuredQuery.Projection parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.Projection prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -8704,41 +7769,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * The projection of document's fields to return.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Projection} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.Projection) com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Projection.class, - com.google.firestore.v1.StructuredQuery.Projection.Builder.class); + com.google.firestore.v1.StructuredQuery.Projection.class, com.google.firestore.v1.StructuredQuery.Projection.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.Projection.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -8754,9 +7817,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; } @java.lang.Override @@ -8775,18 +7838,14 @@ public com.google.firestore.v1.StructuredQuery.Projection build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.Projection buildPartial() { - com.google.firestore.v1.StructuredQuery.Projection result = - new com.google.firestore.v1.StructuredQuery.Projection(this); + com.google.firestore.v1.StructuredQuery.Projection result = new com.google.firestore.v1.StructuredQuery.Projection(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.firestore.v1.StructuredQuery.Projection result) { + private void buildPartialRepeatedFields(com.google.firestore.v1.StructuredQuery.Projection result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -8806,41 +7865,38 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.Projection re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.Projection) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.Projection) other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.Projection)other); } else { super.mergeFrom(other); return this; @@ -8848,8 +7904,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Projection other) { - if (other == com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { @@ -8868,10 +7923,9 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Projection othe fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -8903,27 +7957,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - com.google.firestore.v1.StructuredQuery.FieldReference m = - input.readMessage( - com.google.firestore.v1.StructuredQuery.FieldReference.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + com.google.firestore.v1.StructuredQuery.FieldReference m = + input.readMessage( + com.google.firestore.v1.StructuredQuery.FieldReference.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8933,30 +7985,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - fields_ = - new java.util.ArrayList( - fields_); + fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> - fieldsBuilder_; + com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> fieldsBuilder_; /** - * - * *
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8965,8 +8008,7 @@ private void ensureFieldsIsMutable() {
        *
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
-      public java.util.List
-          getFieldsList() {
+      public java.util.List getFieldsList() {
         if (fieldsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(fields_);
         } else {
@@ -8974,8 +8016,6 @@ private void ensureFieldsIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8992,8 +8032,6 @@ public int getFieldsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9010,8 +8048,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int inde
         }
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9035,8 +8071,6 @@ public Builder setFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9046,8 +8080,7 @@ public Builder setFields(
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public Builder setFields(
-          int index,
-          com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
+          int index, com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
         if (fieldsBuilder_ == null) {
           ensureFieldsIsMutable();
           fields_.set(index, builderForValue.build());
@@ -9058,8 +8091,6 @@ public Builder setFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9082,8 +8113,6 @@ public Builder addFields(com.google.firestore.v1.StructuredQuery.FieldReference
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9107,8 +8136,6 @@ public Builder addFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9129,8 +8156,6 @@ public Builder addFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9140,8 +8165,7 @@ public Builder addFields(
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public Builder addFields(
-          int index,
-          com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
+          int index, com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
         if (fieldsBuilder_ == null) {
           ensureFieldsIsMutable();
           fields_.add(index, builderForValue.build());
@@ -9152,8 +8176,6 @@ public Builder addFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9163,11 +8185,11 @@ public Builder addFields(
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public Builder addAllFields(
-          java.lang.Iterable
-              values) {
+          java.lang.Iterable values) {
         if (fieldsBuilder_ == null) {
           ensureFieldsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, fields_);
           onChanged();
         } else {
           fieldsBuilder_.addAllMessages(values);
@@ -9175,8 +8197,6 @@ public Builder addAllFields(
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9196,8 +8216,6 @@ public Builder clearFields() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9217,8 +8235,6 @@ public Builder removeFields(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9232,8 +8248,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldsB
         return getFieldsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9245,14 +8259,11 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldsB
       public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(
           int index) {
         if (fieldsBuilder_ == null) {
-          return fields_.get(index);
-        } else {
+          return fields_.get(index);  } else {
           return fieldsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9261,9 +8272,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
        *
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
-      public java.util.List<
-              ? extends com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>
-          getFieldsOrBuilderList() {
+      public java.util.List 
+           getFieldsOrBuilderList() {
         if (fieldsBuilder_ != null) {
           return fieldsBuilder_.getMessageOrBuilderList();
         } else {
@@ -9271,8 +8281,6 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
         }
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9282,13 +8290,10 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsBuilder() {
-        return getFieldsFieldBuilder()
-            .addBuilder(
-                com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
+        return getFieldsFieldBuilder().addBuilder(
+            com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9299,13 +8304,10 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsB
        */
       public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsBuilder(
           int index) {
-        return getFieldsFieldBuilder()
-            .addBuilder(
-                index, com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
+        return getFieldsFieldBuilder().addBuilder(
+            index, com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -9314,28 +8316,24 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsB
        *
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
-      public java.util.List
-          getFieldsBuilderList() {
+      public java.util.List 
+           getFieldsBuilderList() {
         return getFieldsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.firestore.v1.StructuredQuery.FieldReference,
-              com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
-              com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>
+          com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> 
           getFieldsFieldBuilder() {
         if (fieldsBuilder_ == null) {
-          fieldsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.firestore.v1.StructuredQuery.FieldReference,
-                  com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
-                  com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>(
-                  fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>(
+                  fields_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           fields_ = null;
         }
         return fieldsBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -9348,12 +8346,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Projection)
     }
 
     // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Projection)
     private static final com.google.firestore.v1.StructuredQuery.Projection DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Projection();
     }
@@ -9362,28 +8360,27 @@ public static com.google.firestore.v1.StructuredQuery.Projection getDefaultInsta
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Projection parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Projection parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -9398,19 +8395,20 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.StructuredQuery.Projection getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int SELECT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.StructuredQuery.Projection select_;
   /**
-   *
-   *
    * 
-   * The projection to return.
+   * Optional sub-set of the fields to return.
+   * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+   * documents returned from a query. When not set, assumes that the caller
+   * wants all fields returned.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return Whether the select field is set. */ @java.lang.Override @@ -9418,45 +8416,39 @@ public boolean hasSelect() { return select_ != null; } /** - * - * *
-   * The projection to return.
+   * Optional sub-set of the fields to return.
+   * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+   * documents returned from a query. When not set, assumes that the caller
+   * wants all fields returned.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return The select. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.Projection getSelect() { - return select_ == null - ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() - : select_; + return select_ == null ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; } /** - * - * *
-   * The projection to return.
+   * Optional sub-set of the fields to return.
+   * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+   * documents returned from a query. When not set, assumes that the caller
+   * wants all fields returned.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBuilder() { - return select_ == null - ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() - : select_; + return select_ == null ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; } public static final int FROM_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List from_; /** - * - * *
    * The collections to query.
    * 
@@ -9468,8 +8460,6 @@ public java.util.List * The collections to query. *
@@ -9477,14 +8467,11 @@ public java.util.Listrepeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> + public java.util.List getFromOrBuilderList() { return from_; } /** - * - * *
    * The collections to query.
    * 
@@ -9496,8 +8483,6 @@ public int getFromCount() { return from_.size(); } /** - * - * *
    * The collections to query.
    * 
@@ -9509,8 +8494,6 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int in return from_.get(index); } /** - * - * *
    * The collections to query.
    * 
@@ -9526,14 +8509,11 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr public static final int WHERE_FIELD_NUMBER = 3; private com.google.firestore.v1.StructuredQuery.Filter where_; /** - * - * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return Whether the where field is set. */ @java.lang.Override @@ -9541,25 +8521,18 @@ public boolean hasWhere() { return where_ != null; } /** - * - * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return The where. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.Filter getWhere() { - return where_ == null - ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() - : where_; + return where_ == null ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() : where_; } /** - * - * *
    * The filter to apply.
    * 
@@ -9568,18 +8541,13 @@ public com.google.firestore.v1.StructuredQuery.Filter getWhere() { */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder() { - return where_ == null - ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() - : where_; + return where_ == null ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() : where_; } public static final int ORDER_BY_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List orderBy_; /** - * - * *
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -9606,8 +8574,6 @@ public java.util.List getOrderByL
     return orderBy_;
   }
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -9630,13 +8596,11 @@ public java.util.List getOrderByL
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getOrderByOrBuilderList() {
     return orderBy_;
   }
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -9663,8 +8627,6 @@ public int getOrderByCount() {
     return orderBy_.size();
   }
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -9691,8 +8653,6 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
     return orderBy_.get(index);
   }
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -9715,15 +8675,14 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
   @java.lang.Override
-  public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index) {
+  public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
+      int index) {
     return orderBy_.get(index);
   }
 
   public static final int START_AT_FIELD_NUMBER = 7;
   private com.google.firestore.v1.Cursor startAt_;
   /**
-   *
-   *
    * 
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -9750,7 +8709,6 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
    * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return Whether the startAt field is set. */ @java.lang.Override @@ -9758,8 +8716,6 @@ public boolean hasStartAt() { return startAt_ != null; } /** - * - * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -9786,7 +8742,6 @@ public boolean hasStartAt() {
    * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return The startAt. */ @java.lang.Override @@ -9794,8 +8749,6 @@ public com.google.firestore.v1.Cursor getStartAt() { return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_; } /** - * - * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -9831,8 +8784,6 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
   public static final int END_AT_FIELD_NUMBER = 8;
   private com.google.firestore.v1.Cursor endAt_;
   /**
-   *
-   *
    * 
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -9843,7 +8794,6 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
    * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return Whether the endAt field is set. */ @java.lang.Override @@ -9851,8 +8801,6 @@ public boolean hasEndAt() { return endAt_ != null; } /** - * - * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -9863,7 +8811,6 @@ public boolean hasEndAt() {
    * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return The endAt. */ @java.lang.Override @@ -9871,8 +8818,6 @@ public com.google.firestore.v1.Cursor getEndAt() { return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_; } /** - * - * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -9892,8 +8837,6 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
   public static final int OFFSET_FIELD_NUMBER = 6;
   private int offset_ = 0;
   /**
-   *
-   *
    * 
    * The number of documents to skip before returning the first result.
    * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -9903,7 +8846,6 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
    * 
* * int32 offset = 6; - * * @return The offset. */ @java.lang.Override @@ -9914,8 +8856,6 @@ public int getOffset() { public static final int LIMIT_FIELD_NUMBER = 5; private com.google.protobuf.Int32Value limit_; /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -9924,7 +8864,6 @@ public int getOffset() {
    * 
* * .google.protobuf.Int32Value limit = 5; - * * @return Whether the limit field is set. */ @java.lang.Override @@ -9932,8 +8871,6 @@ public boolean hasLimit() { return limit_ != null; } /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -9942,7 +8879,6 @@ public boolean hasLimit() {
    * 
* * .google.protobuf.Int32Value limit = 5; - * * @return The limit. */ @java.lang.Override @@ -9950,8 +8886,6 @@ public com.google.protobuf.Int32Value getLimit() { return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_; } /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -9967,7 +8901,6 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -9979,7 +8912,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (select_ != null) {
       output.writeMessage(1, getSelect());
     }
@@ -10014,28 +8948,36 @@ public int getSerializedSize() {
 
     size = 0;
     if (select_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSelect());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getSelect());
     }
     for (int i = 0; i < from_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, from_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, from_.get(i));
     }
     if (where_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getWhere());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getWhere());
     }
     for (int i = 0; i < orderBy_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, orderBy_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, orderBy_.get(i));
     }
     if (limit_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLimit());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getLimit());
     }
     if (offset_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, offset_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(6, offset_);
     }
     if (startAt_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStartAt());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getStartAt());
     }
     if (endAt_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndAt());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getEndAt());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -10045,7 +8987,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.StructuredQuery)) {
       return super.equals(obj);
@@ -10054,26 +8996,34 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasSelect() != other.hasSelect()) return false;
     if (hasSelect()) {
-      if (!getSelect().equals(other.getSelect())) return false;
+      if (!getSelect()
+          .equals(other.getSelect())) return false;
     }
-    if (!getFromList().equals(other.getFromList())) return false;
+    if (!getFromList()
+        .equals(other.getFromList())) return false;
     if (hasWhere() != other.hasWhere()) return false;
     if (hasWhere()) {
-      if (!getWhere().equals(other.getWhere())) return false;
+      if (!getWhere()
+          .equals(other.getWhere())) return false;
     }
-    if (!getOrderByList().equals(other.getOrderByList())) return false;
+    if (!getOrderByList()
+        .equals(other.getOrderByList())) return false;
     if (hasStartAt() != other.hasStartAt()) return false;
     if (hasStartAt()) {
-      if (!getStartAt().equals(other.getStartAt())) return false;
+      if (!getStartAt()
+          .equals(other.getStartAt())) return false;
     }
     if (hasEndAt() != other.hasEndAt()) return false;
     if (hasEndAt()) {
-      if (!getEndAt().equals(other.getEndAt())) return false;
+      if (!getEndAt()
+          .equals(other.getEndAt())) return false;
     }
-    if (getOffset() != other.getOffset()) return false;
+    if (getOffset()
+        != other.getOffset()) return false;
     if (hasLimit() != other.hasLimit()) return false;
     if (hasLimit()) {
-      if (!getLimit().equals(other.getLimit())) return false;
+      if (!getLimit()
+          .equals(other.getLimit())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -10121,136 +9071,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.StructuredQuery parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.StructuredQuery parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.StructuredQuery parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.StructuredQuery parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.StructuredQuery parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.StructuredQuery parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.StructuredQuery parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.StructuredQuery parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.StructuredQuery parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.StructuredQuery parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.StructuredQuery parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.StructuredQuery parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.StructuredQuery parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.StructuredQuery parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.StructuredQuery prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A Firestore query.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery) com.google.firestore.v1.StructuredQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.class, - com.google.firestore.v1.StructuredQuery.Builder.class); + com.google.firestore.v1.StructuredQuery.class, com.google.firestore.v1.StructuredQuery.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -10299,9 +9243,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_descriptor; } @java.lang.Override @@ -10320,12 +9264,9 @@ public com.google.firestore.v1.StructuredQuery build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery buildPartial() { - com.google.firestore.v1.StructuredQuery result = - new com.google.firestore.v1.StructuredQuery(this); + com.google.firestore.v1.StructuredQuery result = new com.google.firestore.v1.StructuredQuery(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -10354,22 +9295,32 @@ private void buildPartialRepeatedFields(com.google.firestore.v1.StructuredQuery private void buildPartial0(com.google.firestore.v1.StructuredQuery result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.select_ = selectBuilder_ == null ? select_ : selectBuilder_.build(); + result.select_ = selectBuilder_ == null + ? select_ + : selectBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.where_ = whereBuilder_ == null ? where_ : whereBuilder_.build(); + result.where_ = whereBuilder_ == null + ? where_ + : whereBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.startAt_ = startAtBuilder_ == null ? startAt_ : startAtBuilder_.build(); + result.startAt_ = startAtBuilder_ == null + ? startAt_ + : startAtBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.endAt_ = endAtBuilder_ == null ? endAt_ : endAtBuilder_.build(); + result.endAt_ = endAtBuilder_ == null + ? endAt_ + : endAtBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.offset_ = offset_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.limit_ = limitBuilder_ == null ? limit_ : limitBuilder_.build(); + result.limit_ = limitBuilder_ == null + ? limit_ + : limitBuilder_.build(); } } @@ -10377,39 +9328,38 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery) { - return mergeFrom((com.google.firestore.v1.StructuredQuery) other); + return mergeFrom((com.google.firestore.v1.StructuredQuery)other); } else { super.mergeFrom(other); return this; @@ -10439,10 +9389,9 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery other) { fromBuilder_ = null; from_ = other.from_; bitField0_ = (bitField0_ & ~0x00000002); - fromBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFromFieldBuilder() - : null; + fromBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFromFieldBuilder() : null; } else { fromBuilder_.addAllMessages(other.from_); } @@ -10469,10 +9418,9 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery other) { orderByBuilder_ = null; orderBy_ = other.orderBy_; bitField0_ = (bitField0_ & ~0x00000008); - orderByBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOrderByFieldBuilder() - : null; + orderByBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOrderByFieldBuilder() : null; } else { orderByBuilder_.addAllMessages(other.orderBy_); } @@ -10516,76 +9464,78 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSelectFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.firestore.v1.StructuredQuery.CollectionSelector m = - input.readMessage( - com.google.firestore.v1.StructuredQuery.CollectionSelector.parser(), - extensionRegistry); - if (fromBuilder_ == null) { - ensureFromIsMutable(); - from_.add(m); - } else { - fromBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - input.readMessage(getWhereFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.firestore.v1.StructuredQuery.Order m = - input.readMessage( - com.google.firestore.v1.StructuredQuery.Order.parser(), extensionRegistry); - if (orderByBuilder_ == null) { - ensureOrderByIsMutable(); - orderBy_.add(m); - } else { - orderByBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - input.readMessage(getLimitFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 42 - case 48: - { - offset_ = input.readInt32(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: - { - input.readMessage(getStartAtFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - case 66: - { - input.readMessage(getEndAtFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSelectFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.firestore.v1.StructuredQuery.CollectionSelector m = + input.readMessage( + com.google.firestore.v1.StructuredQuery.CollectionSelector.parser(), + extensionRegistry); + if (fromBuilder_ == null) { + ensureFromIsMutable(); + from_.add(m); + } else { + fromBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + input.readMessage( + getWhereFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.firestore.v1.StructuredQuery.Order m = + input.readMessage( + com.google.firestore.v1.StructuredQuery.Order.parser(), + extensionRegistry); + if (orderByBuilder_ == null) { + ensureOrderByIsMutable(); + orderBy_.add(m); + } else { + orderByBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + input.readMessage( + getLimitFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 42 + case 48: { + offset_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: { + input.readMessage( + getStartAtFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 58 + case 66: { + input.readMessage( + getEndAtFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10595,54 +9545,49 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.firestore.v1.StructuredQuery.Projection select_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Projection, - com.google.firestore.v1.StructuredQuery.Projection.Builder, - com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> - selectBuilder_; + com.google.firestore.v1.StructuredQuery.Projection, com.google.firestore.v1.StructuredQuery.Projection.Builder, com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> selectBuilder_; /** - * - * *
-     * The projection to return.
+     * Optional sub-set of the fields to return.
+     * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+     * documents returned from a query. When not set, assumes that the caller
+     * wants all fields returned.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return Whether the select field is set. */ public boolean hasSelect() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
-     * The projection to return.
+     * Optional sub-set of the fields to return.
+     * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+     * documents returned from a query. When not set, assumes that the caller
+     * wants all fields returned.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return The select. */ public com.google.firestore.v1.StructuredQuery.Projection getSelect() { if (selectBuilder_ == null) { - return select_ == null - ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() - : select_; + return select_ == null ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; } else { return selectBuilder_.getMessage(); } } /** - * - * *
-     * The projection to return.
+     * Optional sub-set of the fields to return.
+     * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+     * documents returned from a query. When not set, assumes that the caller
+     * wants all fields returned.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; @@ -10661,10 +9606,11 @@ public Builder setSelect(com.google.firestore.v1.StructuredQuery.Projection valu return this; } /** - * - * *
-     * The projection to return.
+     * Optional sub-set of the fields to return.
+     * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+     * documents returned from a query. When not set, assumes that the caller
+     * wants all fields returned.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; @@ -10681,19 +9627,20 @@ public Builder setSelect( return this; } /** - * - * *
-     * The projection to return.
+     * Optional sub-set of the fields to return.
+     * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+     * documents returned from a query. When not set, assumes that the caller
+     * wants all fields returned.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; */ public Builder mergeSelect(com.google.firestore.v1.StructuredQuery.Projection value) { if (selectBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && select_ != null - && select_ != com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + select_ != null && + select_ != com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) { getSelectBuilder().mergeFrom(value); } else { select_ = value; @@ -10706,10 +9653,11 @@ public Builder mergeSelect(com.google.firestore.v1.StructuredQuery.Projection va return this; } /** - * - * *
-     * The projection to return.
+     * Optional sub-set of the fields to return.
+     * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+     * documents returned from a query. When not set, assumes that the caller
+     * wants all fields returned.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; @@ -10725,10 +9673,11 @@ public Builder clearSelect() { return this; } /** - * - * *
-     * The projection to return.
+     * Optional sub-set of the fields to return.
+     * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+     * documents returned from a query. When not set, assumes that the caller
+     * wants all fields returned.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; @@ -10739,10 +9688,11 @@ public com.google.firestore.v1.StructuredQuery.Projection.Builder getSelectBuild return getSelectFieldBuilder().getBuilder(); } /** - * - * *
-     * The projection to return.
+     * Optional sub-set of the fields to return.
+     * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+     * documents returned from a query. When not set, assumes that the caller
+     * wants all fields returned.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; @@ -10751,66 +9701,54 @@ public com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBu if (selectBuilder_ != null) { return selectBuilder_.getMessageOrBuilder(); } else { - return select_ == null - ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() - : select_; + return select_ == null ? + com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; } } /** - * - * *
-     * The projection to return.
+     * Optional sub-set of the fields to return.
+     * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+     * documents returned from a query. When not set, assumes that the caller
+     * wants all fields returned.
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Projection, - com.google.firestore.v1.StructuredQuery.Projection.Builder, - com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> + com.google.firestore.v1.StructuredQuery.Projection, com.google.firestore.v1.StructuredQuery.Projection.Builder, com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> getSelectFieldBuilder() { if (selectBuilder_ == null) { - selectBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Projection, - com.google.firestore.v1.StructuredQuery.Projection.Builder, - com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder>( - getSelect(), getParentForChildren(), isClean()); + selectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Projection, com.google.firestore.v1.StructuredQuery.Projection.Builder, com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder>( + getSelect(), + getParentForChildren(), + isClean()); select_ = null; } return selectBuilder_; } private java.util.List from_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFromIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - from_ = - new java.util.ArrayList( - from_); + from_ = new java.util.ArrayList(from_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CollectionSelector, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, - com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> - fromBuilder_; + com.google.firestore.v1.StructuredQuery.CollectionSelector, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> fromBuilder_; /** - * - * *
      * The collections to query.
      * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - public java.util.List - getFromList() { + public java.util.List getFromList() { if (fromBuilder_ == null) { return java.util.Collections.unmodifiableList(from_); } else { @@ -10818,8 +9756,6 @@ private void ensureFromIsMutable() { } } /** - * - * *
      * The collections to query.
      * 
@@ -10834,8 +9770,6 @@ public int getFromCount() { } } /** - * - * *
      * The collections to query.
      * 
@@ -10850,8 +9784,6 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int in } } /** - * - * *
      * The collections to query.
      * 
@@ -10873,8 +9805,6 @@ public Builder setFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -10882,8 +9812,7 @@ public Builder setFrom( * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public Builder setFrom( - int index, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { + int index, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { if (fromBuilder_ == null) { ensureFromIsMutable(); from_.set(index, builderForValue.build()); @@ -10894,8 +9823,6 @@ public Builder setFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -10916,8 +9843,6 @@ public Builder addFrom(com.google.firestore.v1.StructuredQuery.CollectionSelecto return this; } /** - * - * *
      * The collections to query.
      * 
@@ -10939,8 +9864,6 @@ public Builder addFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -10959,8 +9882,6 @@ public Builder addFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -10968,8 +9889,7 @@ public Builder addFrom( * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public Builder addFrom( - int index, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { + int index, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { if (fromBuilder_ == null) { ensureFromIsMutable(); from_.add(index, builderForValue.build()); @@ -10980,8 +9900,6 @@ public Builder addFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -10989,11 +9907,11 @@ public Builder addFrom( * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public Builder addAllFrom( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (fromBuilder_ == null) { ensureFromIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, from_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, from_); onChanged(); } else { fromBuilder_.addAllMessages(values); @@ -11001,8 +9919,6 @@ public Builder addAllFrom( return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11020,8 +9936,6 @@ public Builder clearFrom() { return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11039,8 +9953,6 @@ public Builder removeFrom(int index) { return this; } /** - * - * *
      * The collections to query.
      * 
@@ -11052,8 +9964,6 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder getFro return getFromFieldBuilder().getBuilder(index); } /** - * - * *
      * The collections to query.
      * 
@@ -11063,23 +9973,19 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder getFro public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder( int index) { if (fromBuilder_ == null) { - return from_.get(index); - } else { + return from_.get(index); } else { return fromBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The collections to query.
      * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - public java.util.List< - ? extends com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> - getFromOrBuilderList() { + public java.util.List + getFromOrBuilderList() { if (fromBuilder_ != null) { return fromBuilder_.getMessageOrBuilderList(); } else { @@ -11087,8 +9993,6 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr } } /** - * - * *
      * The collections to query.
      * 
@@ -11096,13 +10000,10 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFromBuilder() { - return getFromFieldBuilder() - .addBuilder( - com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); + return getFromFieldBuilder().addBuilder( + com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); } /** - * - * *
      * The collections to query.
      * 
@@ -11111,37 +10012,30 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFro */ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFromBuilder( int index) { - return getFromFieldBuilder() - .addBuilder( - index, - com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); + return getFromFieldBuilder().addBuilder( + index, com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); } /** - * - * *
      * The collections to query.
      * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - public java.util.List - getFromBuilderList() { + public java.util.List + getFromBuilderList() { return getFromFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CollectionSelector, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, - com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> + com.google.firestore.v1.StructuredQuery.CollectionSelector, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> getFromFieldBuilder() { if (fromBuilder_ == null) { - fromBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CollectionSelector, - com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, - com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder>( - from_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + fromBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CollectionSelector, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder>( + from_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); from_ = null; } return fromBuilder_; @@ -11149,47 +10043,34 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFro private com.google.firestore.v1.StructuredQuery.Filter where_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, - com.google.firestore.v1.StructuredQuery.Filter.Builder, - com.google.firestore.v1.StructuredQuery.FilterOrBuilder> - whereBuilder_; + com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> whereBuilder_; /** - * - * *
      * The filter to apply.
      * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return Whether the where field is set. */ public boolean hasWhere() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The filter to apply.
      * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return The where. */ public com.google.firestore.v1.StructuredQuery.Filter getWhere() { if (whereBuilder_ == null) { - return where_ == null - ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() - : where_; + return where_ == null ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() : where_; } else { return whereBuilder_.getMessage(); } } /** - * - * *
      * The filter to apply.
      * 
@@ -11210,8 +10091,6 @@ public Builder setWhere(com.google.firestore.v1.StructuredQuery.Filter value) { return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -11230,8 +10109,6 @@ public Builder setWhere( return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -11240,9 +10117,9 @@ public Builder setWhere( */ public Builder mergeWhere(com.google.firestore.v1.StructuredQuery.Filter value) { if (whereBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && where_ != null - && where_ != com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + where_ != null && + where_ != com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()) { getWhereBuilder().mergeFrom(value); } else { where_ = value; @@ -11255,8 +10132,6 @@ public Builder mergeWhere(com.google.firestore.v1.StructuredQuery.Filter value) return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -11274,8 +10149,6 @@ public Builder clearWhere() { return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -11288,8 +10161,6 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder getWhereBuilder() return getWhereFieldBuilder().getBuilder(); } /** - * - * *
      * The filter to apply.
      * 
@@ -11300,14 +10171,11 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder if (whereBuilder_ != null) { return whereBuilder_.getMessageOrBuilder(); } else { - return where_ == null - ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() - : where_; + return where_ == null ? + com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() : where_; } } /** - * - * *
      * The filter to apply.
      * 
@@ -11315,41 +10183,32 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder * .google.firestore.v1.StructuredQuery.Filter where = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, - com.google.firestore.v1.StructuredQuery.Filter.Builder, - com.google.firestore.v1.StructuredQuery.FilterOrBuilder> + com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> getWhereFieldBuilder() { if (whereBuilder_ == null) { - whereBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, - com.google.firestore.v1.StructuredQuery.Filter.Builder, - com.google.firestore.v1.StructuredQuery.FilterOrBuilder>( - getWhere(), getParentForChildren(), isClean()); + whereBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder>( + getWhere(), + getParentForChildren(), + isClean()); where_ = null; } return whereBuilder_; } private java.util.List orderBy_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOrderByIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { orderBy_ = new java.util.ArrayList(orderBy_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Order, - com.google.firestore.v1.StructuredQuery.Order.Builder, - com.google.firestore.v1.StructuredQuery.OrderOrBuilder> - orderByBuilder_; + com.google.firestore.v1.StructuredQuery.Order, com.google.firestore.v1.StructuredQuery.Order.Builder, com.google.firestore.v1.StructuredQuery.OrderOrBuilder> orderByBuilder_; /** - * - * *
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11379,8 +10238,6 @@ public java.util.List getOrderByL
       }
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11410,8 +10267,6 @@ public int getOrderByCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11441,8 +10296,6 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11464,7 +10317,8 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public Builder setOrderBy(int index, com.google.firestore.v1.StructuredQuery.Order value) {
+    public Builder setOrderBy(
+        int index, com.google.firestore.v1.StructuredQuery.Order value) {
       if (orderByBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -11478,8 +10332,6 @@ public Builder setOrderBy(int index, com.google.firestore.v1.StructuredQuery.Ord
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11513,8 +10365,6 @@ public Builder setOrderBy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11550,8 +10400,6 @@ public Builder addOrderBy(com.google.firestore.v1.StructuredQuery.Order value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11573,7 +10421,8 @@ public Builder addOrderBy(com.google.firestore.v1.StructuredQuery.Order value) {
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public Builder addOrderBy(int index, com.google.firestore.v1.StructuredQuery.Order value) {
+    public Builder addOrderBy(
+        int index, com.google.firestore.v1.StructuredQuery.Order value) {
       if (orderByBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -11587,8 +10436,6 @@ public Builder addOrderBy(int index, com.google.firestore.v1.StructuredQuery.Ord
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11622,8 +10469,6 @@ public Builder addOrderBy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11657,8 +10502,6 @@ public Builder addOrderBy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11684,7 +10527,8 @@ public Builder addAllOrderBy(
         java.lang.Iterable values) {
       if (orderByBuilder_ == null) {
         ensureOrderByIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBy_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, orderBy_);
         onChanged();
       } else {
         orderByBuilder_.addAllMessages(values);
@@ -11692,8 +10536,6 @@ public Builder addAllOrderBy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11726,8 +10568,6 @@ public Builder clearOrderBy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11760,8 +10600,6 @@ public Builder removeOrderBy(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11783,12 +10621,11 @@ public Builder removeOrderBy(int index) {
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(int index) {
+    public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(
+        int index) {
       return getOrderByFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11810,16 +10647,14 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(i
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index) {
+    public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
+        int index) {
       if (orderByBuilder_ == null) {
-        return orderBy_.get(index);
-      } else {
+        return orderBy_.get(index);  } else {
         return orderByBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11841,8 +10676,8 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public java.util.List
-        getOrderByOrBuilderList() {
+    public java.util.List 
+         getOrderByOrBuilderList() {
       if (orderByBuilder_ != null) {
         return orderByBuilder_.getMessageOrBuilderList();
       } else {
@@ -11850,8 +10685,6 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
       }
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11874,12 +10707,10 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
     public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder() {
-      return getOrderByFieldBuilder()
-          .addBuilder(com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
+      return getOrderByFieldBuilder().addBuilder(
+          com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11901,13 +10732,12 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder()
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(int index) {
-      return getOrderByFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
+    public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(
+        int index) {
+      return getOrderByFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -11929,23 +10759,20 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(i
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public java.util.List
-        getOrderByBuilderList() {
+    public java.util.List 
+         getOrderByBuilderList() {
       return getOrderByFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.StructuredQuery.Order,
-            com.google.firestore.v1.StructuredQuery.Order.Builder,
-            com.google.firestore.v1.StructuredQuery.OrderOrBuilder>
+        com.google.firestore.v1.StructuredQuery.Order, com.google.firestore.v1.StructuredQuery.Order.Builder, com.google.firestore.v1.StructuredQuery.OrderOrBuilder> 
         getOrderByFieldBuilder() {
       if (orderByBuilder_ == null) {
-        orderByBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.StructuredQuery.Order,
-                com.google.firestore.v1.StructuredQuery.Order.Builder,
-                com.google.firestore.v1.StructuredQuery.OrderOrBuilder>(
-                orderBy_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        orderByBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.StructuredQuery.Order, com.google.firestore.v1.StructuredQuery.Order.Builder, com.google.firestore.v1.StructuredQuery.OrderOrBuilder>(
+                orderBy_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         orderBy_ = null;
       }
       return orderByBuilder_;
@@ -11953,13 +10780,8 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(i
 
     private com.google.firestore.v1.Cursor startAt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
-        startAtBuilder_;
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> startAtBuilder_;
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -11986,15 +10808,12 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(i
      * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return Whether the startAt field is set. */ public boolean hasStartAt() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12021,7 +10840,6 @@ public boolean hasStartAt() {
      * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return The startAt. */ public com.google.firestore.v1.Cursor getStartAt() { @@ -12032,8 +10850,6 @@ public com.google.firestore.v1.Cursor getStartAt() { } } /** - * - * *
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12075,8 +10891,6 @@ public Builder setStartAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12104,7 +10918,8 @@ public Builder setStartAt(com.google.firestore.v1.Cursor value) {
      *
      * .google.firestore.v1.Cursor start_at = 7;
      */
-    public Builder setStartAt(com.google.firestore.v1.Cursor.Builder builderForValue) {
+    public Builder setStartAt(
+        com.google.firestore.v1.Cursor.Builder builderForValue) {
       if (startAtBuilder_ == null) {
         startAt_ = builderForValue.build();
       } else {
@@ -12115,8 +10930,6 @@ public Builder setStartAt(com.google.firestore.v1.Cursor.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12146,9 +10959,9 @@ public Builder setStartAt(com.google.firestore.v1.Cursor.Builder builderForValue
      */
     public Builder mergeStartAt(com.google.firestore.v1.Cursor value) {
       if (startAtBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && startAt_ != null
-            && startAt_ != com.google.firestore.v1.Cursor.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          startAt_ != null &&
+          startAt_ != com.google.firestore.v1.Cursor.getDefaultInstance()) {
           getStartAtBuilder().mergeFrom(value);
         } else {
           startAt_ = value;
@@ -12161,8 +10974,6 @@ public Builder mergeStartAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12201,8 +11012,6 @@ public Builder clearStartAt() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12236,8 +11045,6 @@ public com.google.firestore.v1.Cursor.Builder getStartAtBuilder() {
       return getStartAtFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12269,12 +11076,11 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
       if (startAtBuilder_ != null) {
         return startAtBuilder_.getMessageOrBuilder();
       } else {
-        return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_;
+        return startAt_ == null ?
+            com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_;
       }
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -12303,17 +11109,14 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
      * .google.firestore.v1.Cursor start_at = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> 
         getStartAtFieldBuilder() {
       if (startAtBuilder_ == null) {
-        startAtBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Cursor,
-                com.google.firestore.v1.Cursor.Builder,
-                com.google.firestore.v1.CursorOrBuilder>(
-                getStartAt(), getParentForChildren(), isClean());
+        startAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder>(
+                getStartAt(),
+                getParentForChildren(),
+                isClean());
         startAt_ = null;
       }
       return startAtBuilder_;
@@ -12321,13 +11124,8 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
 
     private com.google.firestore.v1.Cursor endAt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
-        endAtBuilder_;
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> endAtBuilder_;
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12338,15 +11136,12 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
      * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return Whether the endAt field is set. */ public boolean hasEndAt() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12357,7 +11152,6 @@ public boolean hasEndAt() {
      * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return The endAt. */ public com.google.firestore.v1.Cursor getEndAt() { @@ -12368,8 +11162,6 @@ public com.google.firestore.v1.Cursor getEndAt() { } } /** - * - * *
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12395,8 +11187,6 @@ public Builder setEndAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12408,7 +11198,8 @@ public Builder setEndAt(com.google.firestore.v1.Cursor value) {
      *
      * .google.firestore.v1.Cursor end_at = 8;
      */
-    public Builder setEndAt(com.google.firestore.v1.Cursor.Builder builderForValue) {
+    public Builder setEndAt(
+        com.google.firestore.v1.Cursor.Builder builderForValue) {
       if (endAtBuilder_ == null) {
         endAt_ = builderForValue.build();
       } else {
@@ -12419,8 +11210,6 @@ public Builder setEndAt(com.google.firestore.v1.Cursor.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12434,9 +11223,9 @@ public Builder setEndAt(com.google.firestore.v1.Cursor.Builder builderForValue)
      */
     public Builder mergeEndAt(com.google.firestore.v1.Cursor value) {
       if (endAtBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && endAt_ != null
-            && endAt_ != com.google.firestore.v1.Cursor.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          endAt_ != null &&
+          endAt_ != com.google.firestore.v1.Cursor.getDefaultInstance()) {
           getEndAtBuilder().mergeFrom(value);
         } else {
           endAt_ = value;
@@ -12449,8 +11238,6 @@ public Builder mergeEndAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12473,8 +11260,6 @@ public Builder clearEndAt() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12492,8 +11277,6 @@ public com.google.firestore.v1.Cursor.Builder getEndAtBuilder() {
       return getEndAtFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12509,12 +11292,11 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
       if (endAtBuilder_ != null) {
         return endAtBuilder_.getMessageOrBuilder();
       } else {
-        return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_;
+        return endAt_ == null ?
+            com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_;
       }
     }
     /**
-     *
-     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -12527,26 +11309,21 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
      * .google.firestore.v1.Cursor end_at = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor,
-            com.google.firestore.v1.Cursor.Builder,
-            com.google.firestore.v1.CursorOrBuilder>
+        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> 
         getEndAtFieldBuilder() {
       if (endAtBuilder_ == null) {
-        endAtBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Cursor,
-                com.google.firestore.v1.Cursor.Builder,
-                com.google.firestore.v1.CursorOrBuilder>(
-                getEndAt(), getParentForChildren(), isClean());
+        endAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder>(
+                getEndAt(),
+                getParentForChildren(),
+                isClean());
         endAt_ = null;
       }
       return endAtBuilder_;
     }
 
-    private int offset_;
+    private int offset_ ;
     /**
-     *
-     *
      * 
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -12556,7 +11333,6 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
      * 
* * int32 offset = 6; - * * @return The offset. */ @java.lang.Override @@ -12564,8 +11340,6 @@ public int getOffset() { return offset_; } /** - * - * *
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -12575,20 +11349,17 @@ public int getOffset() {
      * 
* * int32 offset = 6; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -12598,7 +11369,6 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 6; - * * @return This builder for chaining. */ public Builder clearOffset() { @@ -12610,13 +11380,8 @@ public Builder clearOffset() { private com.google.protobuf.Int32Value limit_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int32Value, - com.google.protobuf.Int32Value.Builder, - com.google.protobuf.Int32ValueOrBuilder> - limitBuilder_; + com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> limitBuilder_; /** - * - * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12625,15 +11390,12 @@ public Builder clearOffset() {
      * 
* * .google.protobuf.Int32Value limit = 5; - * * @return Whether the limit field is set. */ public boolean hasLimit() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12642,7 +11404,6 @@ public boolean hasLimit() {
      * 
* * .google.protobuf.Int32Value limit = 5; - * * @return The limit. */ public com.google.protobuf.Int32Value getLimit() { @@ -12653,8 +11414,6 @@ public com.google.protobuf.Int32Value getLimit() { } } /** - * - * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12678,8 +11437,6 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12689,7 +11446,8 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
      *
      * .google.protobuf.Int32Value limit = 5;
      */
-    public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue) {
+    public Builder setLimit(
+        com.google.protobuf.Int32Value.Builder builderForValue) {
       if (limitBuilder_ == null) {
         limit_ = builderForValue.build();
       } else {
@@ -12700,8 +11458,6 @@ public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12713,9 +11469,9 @@ public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
      */
     public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       if (limitBuilder_ == null) {
-        if (((bitField0_ & 0x00000080) != 0)
-            && limit_ != null
-            && limit_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000080) != 0) &&
+          limit_ != null &&
+          limit_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
           getLimitBuilder().mergeFrom(value);
         } else {
           limit_ = value;
@@ -12728,8 +11484,6 @@ public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12750,8 +11504,6 @@ public Builder clearLimit() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12767,8 +11519,6 @@ public com.google.protobuf.Int32Value.Builder getLimitBuilder() {
       return getLimitFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12782,12 +11532,11 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
       if (limitBuilder_ != null) {
         return limitBuilder_.getMessageOrBuilder();
       } else {
-        return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_;
+        return limit_ == null ?
+            com.google.protobuf.Int32Value.getDefaultInstance() : limit_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -12798,24 +11547,21 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
      * .google.protobuf.Int32Value limit = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int32Value,
-            com.google.protobuf.Int32Value.Builder,
-            com.google.protobuf.Int32ValueOrBuilder>
+        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
         getLimitFieldBuilder() {
       if (limitBuilder_ == null) {
-        limitBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Int32Value,
-                com.google.protobuf.Int32Value.Builder,
-                com.google.protobuf.Int32ValueOrBuilder>(
-                getLimit(), getParentForChildren(), isClean());
+        limitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
+                getLimit(),
+                getParentForChildren(),
+                isClean());
         limit_ = null;
       }
       return limitBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -12825,12 +11571,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery)
   private static final com.google.firestore.v1.StructuredQuery DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery();
   }
@@ -12839,27 +11585,27 @@ public static com.google.firestore.v1.StructuredQuery getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StructuredQuery parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StructuredQuery parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -12874,4 +11620,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.StructuredQuery getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
similarity index 92%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
index 94d6bf2e3..49de215fb 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
@@ -1,57 +1,42 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/query.proto
 
 package com.google.firestore.v1;
 
-public interface StructuredQueryOrBuilder
-    extends
+public interface StructuredQueryOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
-   * The projection to return.
+   * Optional sub-set of the fields to return.
+   * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+   * documents returned from a query. When not set, assumes that the caller
+   * wants all fields returned.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return Whether the select field is set. */ boolean hasSelect(); /** - * - * *
-   * The projection to return.
+   * Optional sub-set of the fields to return.
+   * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+   * documents returned from a query. When not set, assumes that the caller
+   * wants all fields returned.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; - * * @return The select. */ com.google.firestore.v1.StructuredQuery.Projection getSelect(); /** - * - * *
-   * The projection to return.
+   * Optional sub-set of the fields to return.
+   * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+   * documents returned from a query. When not set, assumes that the caller
+   * wants all fields returned.
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; @@ -59,18 +44,15 @@ public interface StructuredQueryOrBuilder com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBuilder(); /** - * - * *
    * The collections to query.
    * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - java.util.List getFromList(); + java.util.List + getFromList(); /** - * - * *
    * The collections to query.
    * 
@@ -79,8 +61,6 @@ public interface StructuredQueryOrBuilder */ com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int index); /** - * - * *
    * The collections to query.
    * 
@@ -89,54 +69,43 @@ public interface StructuredQueryOrBuilder */ int getFromCount(); /** - * - * *
    * The collections to query.
    * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - java.util.List + java.util.List getFromOrBuilderList(); /** - * - * *
    * The collections to query.
    * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder(int index); + com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder( + int index); /** - * - * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return Whether the where field is set. */ boolean hasWhere(); /** - * - * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; - * * @return The where. */ com.google.firestore.v1.StructuredQuery.Filter getWhere(); /** - * - * *
    * The filter to apply.
    * 
@@ -146,8 +115,6 @@ public interface StructuredQueryOrBuilder com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder(); /** - * - * *
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -169,10 +136,9 @@ public interface StructuredQueryOrBuilder
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  java.util.List getOrderByList();
+  java.util.List 
+      getOrderByList();
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -196,8 +162,6 @@ public interface StructuredQueryOrBuilder
    */
   com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index);
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -221,8 +185,6 @@ public interface StructuredQueryOrBuilder
    */
   int getOrderByCount();
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -244,11 +206,9 @@ public interface StructuredQueryOrBuilder
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  java.util.List
+  java.util.List 
       getOrderByOrBuilderList();
   /**
-   *
-   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -270,11 +230,10 @@ public interface StructuredQueryOrBuilder
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index);
+  com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -301,13 +260,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return Whether the startAt field is set. */ boolean hasStartAt(); /** - * - * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -334,13 +290,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.firestore.v1.Cursor start_at = 7; - * * @return The startAt. */ com.google.firestore.v1.Cursor getStartAt(); /** - * - * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -371,8 +324,6 @@ public interface StructuredQueryOrBuilder
   com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder();
 
   /**
-   *
-   *
    * 
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -383,13 +334,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return Whether the endAt field is set. */ boolean hasEndAt(); /** - * - * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -400,13 +348,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.firestore.v1.Cursor end_at = 8; - * * @return The endAt. */ com.google.firestore.v1.Cursor getEndAt(); /** - * - * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -421,8 +366,6 @@ public interface StructuredQueryOrBuilder
   com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder();
 
   /**
-   *
-   *
    * 
    * The number of documents to skip before returning the first result.
    * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -432,14 +375,11 @@ public interface StructuredQueryOrBuilder
    * 
* * int32 offset = 6; - * * @return The offset. */ int getOffset(); /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -448,13 +388,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.protobuf.Int32Value limit = 5; - * * @return Whether the limit field is set. */ boolean hasLimit(); /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -463,13 +400,10 @@ public interface StructuredQueryOrBuilder
    * 
* * .google.protobuf.Int32Value limit = 5; - * * @return The limit. */ com.google.protobuf.Int32Value getLimit(); /** - * - * *
    * The maximum number of results to return.
    * Applies after all other constraints.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
similarity index 74%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
index 496f7be8d..919b4053e 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
@@ -1,77 +1,57 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A specification of a set of documents to listen to.
  * 
* * Protobuf type {@code google.firestore.v1.Target} */ -public final class Target extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Target extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target) TargetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Target.newBuilder() to construct. private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Target() {} + private Target() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Target(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Target.class, com.google.firestore.v1.Target.Builder.class); } - public interface DocumentsTargetOrBuilder - extends + public interface DocumentsTargetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target.DocumentsTarget) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -80,13 +60,11 @@ public interface DocumentsTargetOrBuilder
      * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - java.util.List getDocumentsList(); + java.util.List + getDocumentsList(); /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -95,13 +73,10 @@ public interface DocumentsTargetOrBuilder
      * 
* * repeated string documents = 2; - * * @return The count of documents. */ int getDocumentsCount(); /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -110,14 +85,11 @@ public interface DocumentsTargetOrBuilder
      * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ java.lang.String getDocuments(int index); /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -126,68 +98,61 @@ public interface DocumentsTargetOrBuilder
      * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - com.google.protobuf.ByteString getDocumentsBytes(int index); + com.google.protobuf.ByteString + getDocumentsBytes(int index); } /** - * - * *
    * A target specified by a set of documents names.
    * 
* * Protobuf type {@code google.firestore.v1.Target.DocumentsTarget} */ - public static final class DocumentsTarget extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DocumentsTarget extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target.DocumentsTarget) DocumentsTargetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DocumentsTarget.newBuilder() to construct. private DocumentsTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DocumentsTarget() { documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DocumentsTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.DocumentsTarget.class, - com.google.firestore.v1.Target.DocumentsTarget.Builder.class); + com.google.firestore.v1.Target.DocumentsTarget.class, com.google.firestore.v1.Target.DocumentsTarget.Builder.class); } public static final int DOCUMENTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringList documents_; /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -196,15 +161,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList getDocumentsList() { + public com.google.protobuf.ProtocolStringList + getDocumentsList() { return documents_; } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -213,15 +176,12 @@ public com.google.protobuf.ProtocolStringList getDocumentsList() {
      * 
* * repeated string documents = 2; - * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -230,7 +190,6 @@ public int getDocumentsCount() {
      * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -238,8 +197,6 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** - * - * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -248,16 +205,15 @@ public java.lang.String getDocuments(int index) {
      * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString getDocumentsBytes(int index) { + public com.google.protobuf.ByteString + getDocumentsBytes(int index) { return documents_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < documents_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, documents_.getRaw(i)); } @@ -298,15 +255,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Target.DocumentsTarget)) { return super.equals(obj); } - com.google.firestore.v1.Target.DocumentsTarget other = - (com.google.firestore.v1.Target.DocumentsTarget) obj; + com.google.firestore.v1.Target.DocumentsTarget other = (com.google.firestore.v1.Target.DocumentsTarget) obj; - if (!getDocumentsList().equals(other.getDocumentsList())) return false; + if (!getDocumentsList() + .equals(other.getDocumentsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -327,94 +284,88 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.Target.DocumentsTarget parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.Target.DocumentsTarget parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.Target.DocumentsTarget parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.Target.DocumentsTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -424,41 +375,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A target specified by a set of documents names.
      * 
* * Protobuf type {@code google.firestore.v1.Target.DocumentsTarget} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target.DocumentsTarget) com.google.firestore.v1.Target.DocumentsTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.DocumentsTarget.class, - com.google.firestore.v1.Target.DocumentsTarget.Builder.class); + com.google.firestore.v1.Target.DocumentsTarget.class, com.google.firestore.v1.Target.DocumentsTarget.Builder.class); } // Construct using com.google.firestore.v1.Target.DocumentsTarget.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override @@ -490,18 +439,14 @@ public com.google.firestore.v1.Target.DocumentsTarget build() { @java.lang.Override public com.google.firestore.v1.Target.DocumentsTarget buildPartial() { - com.google.firestore.v1.Target.DocumentsTarget result = - new com.google.firestore.v1.Target.DocumentsTarget(this); + com.google.firestore.v1.Target.DocumentsTarget result = new com.google.firestore.v1.Target.DocumentsTarget(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.firestore.v1.Target.DocumentsTarget result) { + private void buildPartialRepeatedFields(com.google.firestore.v1.Target.DocumentsTarget result) { if (((bitField0_ & 0x00000001) != 0)) { documents_ = documents_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -517,41 +462,38 @@ private void buildPartial0(com.google.firestore.v1.Target.DocumentsTarget result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Target.DocumentsTarget) { - return mergeFrom((com.google.firestore.v1.Target.DocumentsTarget) other); + return mergeFrom((com.google.firestore.v1.Target.DocumentsTarget)other); } else { super.mergeFrom(other); return this; @@ -559,8 +501,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.Target.DocumentsTarget other) { - if (other == com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) return this; if (!other.documents_.isEmpty()) { if (documents_.isEmpty()) { documents_ = other.documents_; @@ -597,20 +538,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDocumentsIsMutable(); - documents_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDocumentsIsMutable(); + documents_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,21 +559,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList documents_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDocumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { documents_ = new com.google.protobuf.LazyStringArrayList(documents_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -643,15 +577,13 @@ private void ensureDocumentsIsMutable() {
        * 
* * repeated string documents = 2; - * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList getDocumentsList() { + public com.google.protobuf.ProtocolStringList + getDocumentsList() { return documents_.getUnmodifiableView(); } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -660,15 +592,12 @@ public com.google.protobuf.ProtocolStringList getDocumentsList() {
        * 
* * repeated string documents = 2; - * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -677,7 +606,6 @@ public int getDocumentsCount() {
        * 
* * repeated string documents = 2; - * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -685,8 +613,6 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -695,16 +621,14 @@ public java.lang.String getDocuments(int index) {
        * 
* * repeated string documents = 2; - * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString getDocumentsBytes(int index) { + public com.google.protobuf.ByteString + getDocumentsBytes(int index) { return documents_.getByteString(index); } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -713,23 +637,19 @@ public com.google.protobuf.ByteString getDocumentsBytes(int index) {
        * 
* * repeated string documents = 2; - * * @param index The index to set the value at. * @param value The documents to set. * @return This builder for chaining. */ - public Builder setDocuments(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDocuments( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDocumentsIsMutable(); documents_.set(index, value); onChanged(); return this; } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -738,22 +658,18 @@ public Builder setDocuments(int index, java.lang.String value) {
        * 
* * repeated string documents = 2; - * * @param value The documents to add. * @return This builder for chaining. */ - public Builder addDocuments(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDocuments( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -762,19 +678,18 @@ public Builder addDocuments(java.lang.String value) {
        * 
* * repeated string documents = 2; - * * @param values The documents to add. * @return This builder for chaining. */ - public Builder addAllDocuments(java.lang.Iterable values) { + public Builder addAllDocuments( + java.lang.Iterable values) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, documents_); onChanged(); return this; } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -783,7 +698,6 @@ public Builder addAllDocuments(java.lang.Iterable values) {
        * 
* * repeated string documents = 2; - * * @return This builder for chaining. */ public Builder clearDocuments() { @@ -793,8 +707,6 @@ public Builder clearDocuments() { return this; } /** - * - * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -803,21 +715,18 @@ public Builder clearDocuments() {
        * 
* * repeated string documents = 2; - * * @param value The bytes of the documents to add. * @return This builder for chaining. */ - public Builder addDocumentsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDocumentsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -830,12 +739,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Target.DocumentsTarget) } // @@protoc_insertion_point(class_scope:google.firestore.v1.Target.DocumentsTarget) private static final com.google.firestore.v1.Target.DocumentsTarget DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.Target.DocumentsTarget(); } @@ -844,28 +753,27 @@ public static com.google.firestore.v1.Target.DocumentsTarget getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentsTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentsTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -880,16 +788,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target.DocumentsTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface QueryTargetOrBuilder - extends + public interface QueryTargetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target.QueryTarget) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -900,13 +806,10 @@ public interface QueryTargetOrBuilder
      * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -917,38 +820,30 @@ public interface QueryTargetOrBuilder
      * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** - * - * *
      * A structured query.
      * 
@@ -960,65 +855,58 @@ public interface QueryTargetOrBuilder public com.google.firestore.v1.Target.QueryTarget.QueryTypeCase getQueryTypeCase(); } /** - * - * *
    * A target specified by a query.
    * 
* * Protobuf type {@code google.firestore.v1.Target.QueryTarget} */ - public static final class QueryTarget extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class QueryTarget extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target.QueryTarget) QueryTargetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryTarget.newBuilder() to construct. private QueryTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryTarget() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.QueryTarget.class, - com.google.firestore.v1.Target.QueryTarget.Builder.class); + com.google.firestore.v1.Target.QueryTarget.class, com.google.firestore.v1.Target.QueryTarget.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public enum QueryTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; - private QueryTypeCase(int value) { this.value = value; } @@ -1034,31 +922,26 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 2: - return STRUCTURED_QUERY; - case 0: - return QUERYTYPE_NOT_SET; - default: - return null; + case 2: return STRUCTURED_QUERY; + case 0: return QUERYTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public QueryTypeCase getQueryTypeCase() { - return QueryTypeCase.forNumber(queryTypeCase_); + public QueryTypeCase + getQueryTypeCase() { + return QueryTypeCase.forNumber( + queryTypeCase_); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1069,7 +952,6 @@ public QueryTypeCase getQueryTypeCase() {
      * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -1078,15 +960,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1097,15 +978,16 @@ public java.lang.String getParent() {
      * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1115,14 +997,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1130,26 +1009,21 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** - * - * *
      * A structured query.
      * 
@@ -1159,13 +1033,12 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1177,7 +1050,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -1197,9 +1071,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queryTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.firestore.v1.StructuredQuery) queryType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery) queryType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1209,19 +1082,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Target.QueryTarget)) { return super.equals(obj); } - com.google.firestore.v1.Target.QueryTarget other = - (com.google.firestore.v1.Target.QueryTarget) obj; + com.google.firestore.v1.Target.QueryTarget other = (com.google.firestore.v1.Target.QueryTarget) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 2: - if (!getStructuredQuery().equals(other.getStructuredQuery())) return false; + if (!getStructuredQuery() + .equals(other.getStructuredQuery())) return false; break; case 0: default: @@ -1252,94 +1126,88 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.Target.QueryTarget parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.Target.QueryTarget parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Target.QueryTarget parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Target.QueryTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Target.QueryTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Target.QueryTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Target.QueryTarget parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Target.QueryTarget parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.Target.QueryTarget parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.Target.QueryTarget parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.Target.QueryTarget parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.Target.QueryTarget parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Target.QueryTarget parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.Target.QueryTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.Target.QueryTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1349,41 +1217,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A target specified by a query.
      * 
* * Protobuf type {@code google.firestore.v1.Target.QueryTarget} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target.QueryTarget) com.google.firestore.v1.Target.QueryTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.QueryTarget.class, - com.google.firestore.v1.Target.QueryTarget.Builder.class); + com.google.firestore.v1.Target.QueryTarget.class, com.google.firestore.v1.Target.QueryTarget.Builder.class); } // Construct using com.google.firestore.v1.Target.QueryTarget.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1398,9 +1264,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_descriptor; } @java.lang.Override @@ -1419,11 +1285,8 @@ public com.google.firestore.v1.Target.QueryTarget build() { @java.lang.Override public com.google.firestore.v1.Target.QueryTarget buildPartial() { - com.google.firestore.v1.Target.QueryTarget result = - new com.google.firestore.v1.Target.QueryTarget(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.Target.QueryTarget result = new com.google.firestore.v1.Target.QueryTarget(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1439,7 +1302,8 @@ private void buildPartial0(com.google.firestore.v1.Target.QueryTarget result) { private void buildPartialOneofs(com.google.firestore.v1.Target.QueryTarget result) { result.queryTypeCase_ = queryTypeCase_; result.queryType_ = this.queryType_; - if (queryTypeCase_ == 2 && structuredQueryBuilder_ != null) { + if (queryTypeCase_ == 2 && + structuredQueryBuilder_ != null) { result.queryType_ = structuredQueryBuilder_.build(); } } @@ -1448,41 +1312,38 @@ private void buildPartialOneofs(com.google.firestore.v1.Target.QueryTarget resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Target.QueryTarget) { - return mergeFrom((com.google.firestore.v1.Target.QueryTarget) other); + return mergeFrom((com.google.firestore.v1.Target.QueryTarget)other); } else { super.mergeFrom(other); return this; @@ -1497,15 +1358,13 @@ public Builder mergeFrom(com.google.firestore.v1.Target.QueryTarget other) { onChanged(); } switch (other.getQueryTypeCase()) { - case STRUCTURED_QUERY: - { - mergeStructuredQuery(other.getStructuredQuery()); - break; - } - case QUERYTYPE_NOT_SET: - { - break; - } + case STRUCTURED_QUERY: { + mergeStructuredQuery(other.getStructuredQuery()); + break; + } + case QUERYTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1533,26 +1392,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry); - queryTypeCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStructuredQueryFieldBuilder().getBuilder(), + extensionRegistry); + queryTypeCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1562,12 +1419,12 @@ public Builder mergeFrom( } // finally return this; } - private int queryTypeCase_ = 0; private java.lang.Object queryType_; - - public QueryTypeCase getQueryTypeCase() { - return QueryTypeCase.forNumber(queryTypeCase_); + public QueryTypeCase + getQueryTypeCase() { + return QueryTypeCase.forNumber( + queryTypeCase_); } public Builder clearQueryType() { @@ -1581,8 +1438,6 @@ public Builder clearQueryType() { private java.lang.Object parent_ = ""; /** - * - * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1593,13 +1448,13 @@ public Builder clearQueryType() {
        * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1608,8 +1463,6 @@ public java.lang.String getParent() { } } /** - * - * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1620,14 +1473,15 @@ public java.lang.String getParent() {
        * 
* * string parent = 1; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1635,8 +1489,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1647,22 +1499,18 @@ public com.google.protobuf.ByteString getParentBytes() {
        * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1673,7 +1521,6 @@ public Builder setParent(java.lang.String value) {
        * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -1683,8 +1530,6 @@ public Builder clearParent() { return this; } /** - * - * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1695,14 +1540,12 @@ public Builder clearParent() {
        * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1711,19 +1554,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder> - structuredQueryBuilder_; + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_; /** - * - * *
        * A structured query.
        * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1731,14 +1568,11 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** - * - * *
        * A structured query.
        * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; - * * @return The structuredQuery. */ @java.lang.Override @@ -1756,8 +1590,6 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** - * - * *
        * A structured query.
        * 
@@ -1778,8 +1610,6 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** - * - * *
        * A structured query.
        * 
@@ -1798,8 +1628,6 @@ public Builder setStructuredQuery( return this; } /** - * - * *
        * A structured query.
        * 
@@ -1808,13 +1636,10 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 2 - && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = - com.google.firestore.v1.StructuredQuery.newBuilder( - (com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 2 && + queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -1830,8 +1655,6 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** - * - * *
        * A structured query.
        * 
@@ -1855,8 +1678,6 @@ public Builder clearStructuredQuery() { return this; } /** - * - * *
        * A structured query.
        * 
@@ -1867,8 +1688,6 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** - * - * *
        * A structured query.
        * 
@@ -1887,8 +1706,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** - * - * *
        * A structured query.
        * 
@@ -1896,19 +1713,14 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil * .google.firestore.v1.StructuredQuery structured_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder> + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> getStructuredQueryFieldBuilder() { if (structuredQueryBuilder_ == null) { if (!(queryTypeCase_ == 2)) { queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } - structuredQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, - com.google.firestore.v1.StructuredQuery.Builder, - com.google.firestore.v1.StructuredQueryOrBuilder>( + structuredQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder>( (com.google.firestore.v1.StructuredQuery) queryType_, getParentForChildren(), isClean()); @@ -1918,7 +1730,6 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil onChanged(); return structuredQueryBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1931,12 +1742,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Target.QueryTarget) } // @@protoc_insertion_point(class_scope:google.firestore.v1.Target.QueryTarget) private static final com.google.firestore.v1.Target.QueryTarget DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.Target.QueryTarget(); } @@ -1945,28 +1756,27 @@ public static com.google.firestore.v1.Target.QueryTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1981,20 +1791,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target.QueryTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int targetTypeCase_ = 0; private java.lang.Object targetType_; - public enum TargetTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY(2), DOCUMENTS(3), TARGETTYPE_NOT_SET(0); private final int value; - private TargetTypeCase(int value) { this.value = value; } @@ -2010,38 +1818,32 @@ public static TargetTypeCase valueOf(int value) { public static TargetTypeCase forNumber(int value) { switch (value) { - case 2: - return QUERY; - case 3: - return DOCUMENTS; - case 0: - return TARGETTYPE_NOT_SET; - default: - return null; + case 2: return QUERY; + case 3: return DOCUMENTS; + case 0: return TARGETTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TargetTypeCase getTargetTypeCase() { - return TargetTypeCase.forNumber(targetTypeCase_); + public TargetTypeCase + getTargetTypeCase() { + return TargetTypeCase.forNumber( + targetTypeCase_); } private int resumeTypeCase_ = 0; private java.lang.Object resumeType_; - public enum ResumeTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RESUME_TOKEN(4), READ_TIME(11), RESUMETYPE_NOT_SET(0); private final int value; - private ResumeTypeCase(int value) { this.value = value; } @@ -2057,36 +1859,30 @@ public static ResumeTypeCase valueOf(int value) { public static ResumeTypeCase forNumber(int value) { switch (value) { - case 4: - return RESUME_TOKEN; - case 11: - return READ_TIME; - case 0: - return RESUMETYPE_NOT_SET; - default: - return null; + case 4: return RESUME_TOKEN; + case 11: return READ_TIME; + case 0: return RESUMETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ResumeTypeCase getResumeTypeCase() { - return ResumeTypeCase.forNumber(resumeTypeCase_); + public ResumeTypeCase + getResumeTypeCase() { + return ResumeTypeCase.forNumber( + resumeTypeCase_); } public static final int QUERY_FIELD_NUMBER = 2; /** - * - * *
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return Whether the query field is set. */ @java.lang.Override @@ -2094,26 +1890,21 @@ public boolean hasQuery() { return targetTypeCase_ == 2; } /** - * - * *
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return The query. */ @java.lang.Override public com.google.firestore.v1.Target.QueryTarget getQuery() { if (targetTypeCase_ == 2) { - return (com.google.firestore.v1.Target.QueryTarget) targetType_; + return (com.google.firestore.v1.Target.QueryTarget) targetType_; } return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); } /** - * - * *
    * A target specified by a query.
    * 
@@ -2123,21 +1914,18 @@ public com.google.firestore.v1.Target.QueryTarget getQuery() { @java.lang.Override public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { if (targetTypeCase_ == 2) { - return (com.google.firestore.v1.Target.QueryTarget) targetType_; + return (com.google.firestore.v1.Target.QueryTarget) targetType_; } return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); } public static final int DOCUMENTS_FIELD_NUMBER = 3; /** - * - * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return Whether the documents field is set. */ @java.lang.Override @@ -2145,26 +1933,21 @@ public boolean hasDocuments() { return targetTypeCase_ == 3; } /** - * - * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return The documents. */ @java.lang.Override public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { if (targetTypeCase_ == 3) { - return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; + return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; } return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); } /** - * - * *
    * A target specified by a set of document names.
    * 
@@ -2174,15 +1957,13 @@ public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { @java.lang.Override public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBuilder() { if (targetTypeCase_ == 3) { - return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; + return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; } return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); } public static final int RESUME_TOKEN_FIELD_NUMBER = 4; /** - * - * *
    * A resume token from a prior
    * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -2190,7 +1971,6 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui
    * 
* * bytes resume_token = 4; - * * @return Whether the resumeToken field is set. */ @java.lang.Override @@ -2198,8 +1978,6 @@ public boolean hasResumeToken() { return resumeTypeCase_ == 4; } /** - * - * *
    * A resume token from a prior
    * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -2207,7 +1985,6 @@ public boolean hasResumeToken() {
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -2220,15 +1997,12 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int READ_TIME_FIELD_NUMBER = 11; /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -2236,27 +2010,22 @@ public boolean hasReadTime() { return resumeTypeCase_ == 11; } /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (resumeTypeCase_ == 11) { - return (com.google.protobuf.Timestamp) resumeType_; + return (com.google.protobuf.Timestamp) resumeType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
@@ -2267,7 +2036,7 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (resumeTypeCase_ == 11) {
-      return (com.google.protobuf.Timestamp) resumeType_;
+       return (com.google.protobuf.Timestamp) resumeType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
@@ -2275,15 +2044,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int TARGET_ID_FIELD_NUMBER = 5;
   private int targetId_ = 0;
   /**
-   *
-   *
    * 
    * The target ID that identifies the target on the stream. Must be a positive
    * number and non-zero.
    * 
* * int32 target_id = 5; - * * @return The targetId. */ @java.lang.Override @@ -2294,14 +2060,11 @@ public int getTargetId() { public static final int ONCE_FIELD_NUMBER = 6; private boolean once_ = false; /** - * - * *
    * If the target should be removed once it is current and consistent.
    * 
* * bool once = 6; - * * @return The once. */ @java.lang.Override @@ -2310,7 +2073,6 @@ public boolean getOnce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2322,7 +2084,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (targetTypeCase_ == 2) { output.writeMessage(2, (com.google.firestore.v1.Target.QueryTarget) targetType_); } @@ -2330,7 +2093,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); } if (resumeTypeCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) resumeType_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) resumeType_); } if (targetId_ != 0) { output.writeInt32(5, targetId_); @@ -2351,30 +2115,29 @@ public int getSerializedSize() { size = 0; if (targetTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.firestore.v1.Target.QueryTarget) targetType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.firestore.v1.Target.QueryTarget) targetType_); } if (targetTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); } if (resumeTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) resumeType_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) resumeType_); } if (targetId_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, targetId_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, targetId_); } if (once_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, once_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, once_); } if (resumeTypeCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, (com.google.protobuf.Timestamp) resumeType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, (com.google.protobuf.Timestamp) resumeType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2384,22 +2147,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Target)) { return super.equals(obj); } com.google.firestore.v1.Target other = (com.google.firestore.v1.Target) obj; - if (getTargetId() != other.getTargetId()) return false; - if (getOnce() != other.getOnce()) return false; + if (getTargetId() + != other.getTargetId()) return false; + if (getOnce() + != other.getOnce()) return false; if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 2: - if (!getQuery().equals(other.getQuery())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; break; case 3: - if (!getDocuments().equals(other.getDocuments())) return false; + if (!getDocuments() + .equals(other.getDocuments())) return false; break; case 0: default: @@ -2407,10 +2174,12 @@ public boolean equals(final java.lang.Object obj) { if (!getResumeTypeCase().equals(other.getResumeTypeCase())) return false; switch (resumeTypeCase_) { case 4: - if (!getResumeToken().equals(other.getResumeToken())) return false; + if (!getResumeToken() + .equals(other.getResumeToken())) return false; break; case 11: - if (!getReadTime().equals(other.getReadTime())) return false; + if (!getReadTime() + .equals(other.getReadTime())) return false; break; case 0: default: @@ -2429,7 +2198,8 @@ public int hashCode() { hash = (37 * hash) + TARGET_ID_FIELD_NUMBER; hash = (53 * hash) + getTargetId(); hash = (37 * hash) + ONCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOnce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOnce()); switch (targetTypeCase_) { case 2: hash = (37 * hash) + QUERY_FIELD_NUMBER; @@ -2459,134 +2229,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.Target parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.Target parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Target parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.Target parseFrom(com.google.protobuf.ByteString data) + public static com.google.firestore.v1.Target parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Target parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Target parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Target parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Target parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.Target parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Target parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.Target parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.Target parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.firestore.v1.Target parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.Target parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.Target prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A specification of a set of documents to listen to.
    * 
* * Protobuf type {@code google.firestore.v1.Target} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target) com.google.firestore.v1.TargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Target.class, com.google.firestore.v1.Target.Builder.class); } // Construct using com.google.firestore.v1.Target.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2610,9 +2376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_Target_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_descriptor; } @java.lang.Override @@ -2632,9 +2398,7 @@ public com.google.firestore.v1.Target build() { @java.lang.Override public com.google.firestore.v1.Target buildPartial() { com.google.firestore.v1.Target result = new com.google.firestore.v1.Target(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -2653,15 +2417,18 @@ private void buildPartial0(com.google.firestore.v1.Target result) { private void buildPartialOneofs(com.google.firestore.v1.Target result) { result.targetTypeCase_ = targetTypeCase_; result.targetType_ = this.targetType_; - if (targetTypeCase_ == 2 && queryBuilder_ != null) { + if (targetTypeCase_ == 2 && + queryBuilder_ != null) { result.targetType_ = queryBuilder_.build(); } - if (targetTypeCase_ == 3 && documentsBuilder_ != null) { + if (targetTypeCase_ == 3 && + documentsBuilder_ != null) { result.targetType_ = documentsBuilder_.build(); } result.resumeTypeCase_ = resumeTypeCase_; result.resumeType_ = this.resumeType_; - if (resumeTypeCase_ == 11 && readTimeBuilder_ != null) { + if (resumeTypeCase_ == 11 && + readTimeBuilder_ != null) { result.resumeType_ = readTimeBuilder_.build(); } } @@ -2670,39 +2437,38 @@ private void buildPartialOneofs(com.google.firestore.v1.Target result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Target) { - return mergeFrom((com.google.firestore.v1.Target) other); + return mergeFrom((com.google.firestore.v1.Target)other); } else { super.mergeFrom(other); return this; @@ -2718,36 +2484,30 @@ public Builder mergeFrom(com.google.firestore.v1.Target other) { setOnce(other.getOnce()); } switch (other.getTargetTypeCase()) { - case QUERY: - { - mergeQuery(other.getQuery()); - break; - } - case DOCUMENTS: - { - mergeDocuments(other.getDocuments()); - break; - } - case TARGETTYPE_NOT_SET: - { - break; - } + case QUERY: { + mergeQuery(other.getQuery()); + break; + } + case DOCUMENTS: { + mergeDocuments(other.getDocuments()); + break; + } + case TARGETTYPE_NOT_SET: { + break; + } } switch (other.getResumeTypeCase()) { - case RESUME_TOKEN: - { - setResumeToken(other.getResumeToken()); - break; - } - case READ_TIME: - { - mergeReadTime(other.getReadTime()); - break; - } - case RESUMETYPE_NOT_SET: - { - break; - } + case RESUME_TOKEN: { + setResumeToken(other.getResumeToken()); + break; + } + case READ_TIME: { + mergeReadTime(other.getReadTime()); + break; + } + case RESUMETYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2775,49 +2535,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry); - targetTypeCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getDocumentsFieldBuilder().getBuilder(), extensionRegistry); - targetTypeCase_ = 3; - break; - } // case 26 - case 34: - { - resumeType_ = input.readBytes(); - resumeTypeCase_ = 4; - break; - } // case 34 - case 40: - { - targetId_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: - { - once_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 90: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - resumeTypeCase_ = 11; - break; - } // case 90 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getQueryFieldBuilder().getBuilder(), + extensionRegistry); + targetTypeCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getDocumentsFieldBuilder().getBuilder(), + extensionRegistry); + targetTypeCase_ = 3; + break; + } // case 26 + case 34: { + resumeType_ = input.readBytes(); + resumeTypeCase_ = 4; + break; + } // case 34 + case 40: { + targetId_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: { + once_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 90: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + resumeTypeCase_ = 11; + break; + } // case 90 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2827,12 +2586,12 @@ public Builder mergeFrom( } // finally return this; } - private int targetTypeCase_ = 0; private java.lang.Object targetType_; - - public TargetTypeCase getTargetTypeCase() { - return TargetTypeCase.forNumber(targetTypeCase_); + public TargetTypeCase + getTargetTypeCase() { + return TargetTypeCase.forNumber( + targetTypeCase_); } public Builder clearTargetType() { @@ -2844,9 +2603,10 @@ public Builder clearTargetType() { private int resumeTypeCase_ = 0; private java.lang.Object resumeType_; - - public ResumeTypeCase getResumeTypeCase() { - return ResumeTypeCase.forNumber(resumeTypeCase_); + public ResumeTypeCase + getResumeTypeCase() { + return ResumeTypeCase.forNumber( + resumeTypeCase_); } public Builder clearResumeType() { @@ -2859,19 +2619,13 @@ public Builder clearResumeType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.QueryTarget, - com.google.firestore.v1.Target.QueryTarget.Builder, - com.google.firestore.v1.Target.QueryTargetOrBuilder> - queryBuilder_; + com.google.firestore.v1.Target.QueryTarget, com.google.firestore.v1.Target.QueryTarget.Builder, com.google.firestore.v1.Target.QueryTargetOrBuilder> queryBuilder_; /** - * - * *
      * A target specified by a query.
      * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return Whether the query field is set. */ @java.lang.Override @@ -2879,14 +2633,11 @@ public boolean hasQuery() { return targetTypeCase_ == 2; } /** - * - * *
      * A target specified by a query.
      * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return The query. */ @java.lang.Override @@ -2904,8 +2655,6 @@ public com.google.firestore.v1.Target.QueryTarget getQuery() { } } /** - * - * *
      * A target specified by a query.
      * 
@@ -2926,15 +2675,14 @@ public Builder setQuery(com.google.firestore.v1.Target.QueryTarget value) { return this; } /** - * - * *
      * A target specified by a query.
      * 
* * .google.firestore.v1.Target.QueryTarget query = 2; */ - public Builder setQuery(com.google.firestore.v1.Target.QueryTarget.Builder builderForValue) { + public Builder setQuery( + com.google.firestore.v1.Target.QueryTarget.Builder builderForValue) { if (queryBuilder_ == null) { targetType_ = builderForValue.build(); onChanged(); @@ -2945,8 +2693,6 @@ public Builder setQuery(com.google.firestore.v1.Target.QueryTarget.Builder build return this; } /** - * - * *
      * A target specified by a query.
      * 
@@ -2955,13 +2701,10 @@ public Builder setQuery(com.google.firestore.v1.Target.QueryTarget.Builder build */ public Builder mergeQuery(com.google.firestore.v1.Target.QueryTarget value) { if (queryBuilder_ == null) { - if (targetTypeCase_ == 2 - && targetType_ != com.google.firestore.v1.Target.QueryTarget.getDefaultInstance()) { - targetType_ = - com.google.firestore.v1.Target.QueryTarget.newBuilder( - (com.google.firestore.v1.Target.QueryTarget) targetType_) - .mergeFrom(value) - .buildPartial(); + if (targetTypeCase_ == 2 && + targetType_ != com.google.firestore.v1.Target.QueryTarget.getDefaultInstance()) { + targetType_ = com.google.firestore.v1.Target.QueryTarget.newBuilder((com.google.firestore.v1.Target.QueryTarget) targetType_) + .mergeFrom(value).buildPartial(); } else { targetType_ = value; } @@ -2977,8 +2720,6 @@ public Builder mergeQuery(com.google.firestore.v1.Target.QueryTarget value) { return this; } /** - * - * *
      * A target specified by a query.
      * 
@@ -3002,8 +2743,6 @@ public Builder clearQuery() { return this; } /** - * - * *
      * A target specified by a query.
      * 
@@ -3014,8 +2753,6 @@ public com.google.firestore.v1.Target.QueryTarget.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** - * - * *
      * A target specified by a query.
      * 
@@ -3034,8 +2771,6 @@ public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { } } /** - * - * *
      * A target specified by a query.
      * 
@@ -3043,19 +2778,14 @@ public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { * .google.firestore.v1.Target.QueryTarget query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.QueryTarget, - com.google.firestore.v1.Target.QueryTarget.Builder, - com.google.firestore.v1.Target.QueryTargetOrBuilder> + com.google.firestore.v1.Target.QueryTarget, com.google.firestore.v1.Target.QueryTarget.Builder, com.google.firestore.v1.Target.QueryTargetOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { if (!(targetTypeCase_ == 2)) { targetType_ = com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); } - queryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.QueryTarget, - com.google.firestore.v1.Target.QueryTarget.Builder, - com.google.firestore.v1.Target.QueryTargetOrBuilder>( + queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target.QueryTarget, com.google.firestore.v1.Target.QueryTarget.Builder, com.google.firestore.v1.Target.QueryTargetOrBuilder>( (com.google.firestore.v1.Target.QueryTarget) targetType_, getParentForChildren(), isClean()); @@ -3067,19 +2797,13 @@ public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.DocumentsTarget, - com.google.firestore.v1.Target.DocumentsTarget.Builder, - com.google.firestore.v1.Target.DocumentsTargetOrBuilder> - documentsBuilder_; + com.google.firestore.v1.Target.DocumentsTarget, com.google.firestore.v1.Target.DocumentsTarget.Builder, com.google.firestore.v1.Target.DocumentsTargetOrBuilder> documentsBuilder_; /** - * - * *
      * A target specified by a set of document names.
      * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return Whether the documents field is set. */ @java.lang.Override @@ -3087,14 +2811,11 @@ public boolean hasDocuments() { return targetTypeCase_ == 3; } /** - * - * *
      * A target specified by a set of document names.
      * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return The documents. */ @java.lang.Override @@ -3112,8 +2833,6 @@ public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { } } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3134,8 +2853,6 @@ public Builder setDocuments(com.google.firestore.v1.Target.DocumentsTarget value return this; } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3154,8 +2871,6 @@ public Builder setDocuments( return this; } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3164,13 +2879,10 @@ public Builder setDocuments( */ public Builder mergeDocuments(com.google.firestore.v1.Target.DocumentsTarget value) { if (documentsBuilder_ == null) { - if (targetTypeCase_ == 3 - && targetType_ != com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) { - targetType_ = - com.google.firestore.v1.Target.DocumentsTarget.newBuilder( - (com.google.firestore.v1.Target.DocumentsTarget) targetType_) - .mergeFrom(value) - .buildPartial(); + if (targetTypeCase_ == 3 && + targetType_ != com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) { + targetType_ = com.google.firestore.v1.Target.DocumentsTarget.newBuilder((com.google.firestore.v1.Target.DocumentsTarget) targetType_) + .mergeFrom(value).buildPartial(); } else { targetType_ = value; } @@ -3186,8 +2898,6 @@ public Builder mergeDocuments(com.google.firestore.v1.Target.DocumentsTarget val return this; } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3211,8 +2921,6 @@ public Builder clearDocuments() { return this; } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3223,8 +2931,6 @@ public com.google.firestore.v1.Target.DocumentsTarget.Builder getDocumentsBuilde return getDocumentsFieldBuilder().getBuilder(); } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3243,8 +2949,6 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui } } /** - * - * *
      * A target specified by a set of document names.
      * 
@@ -3252,19 +2956,14 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui * .google.firestore.v1.Target.DocumentsTarget documents = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.DocumentsTarget, - com.google.firestore.v1.Target.DocumentsTarget.Builder, - com.google.firestore.v1.Target.DocumentsTargetOrBuilder> + com.google.firestore.v1.Target.DocumentsTarget, com.google.firestore.v1.Target.DocumentsTarget.Builder, com.google.firestore.v1.Target.DocumentsTargetOrBuilder> getDocumentsFieldBuilder() { if (documentsBuilder_ == null) { if (!(targetTypeCase_ == 3)) { targetType_ = com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); } - documentsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.DocumentsTarget, - com.google.firestore.v1.Target.DocumentsTarget.Builder, - com.google.firestore.v1.Target.DocumentsTargetOrBuilder>( + documentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target.DocumentsTarget, com.google.firestore.v1.Target.DocumentsTarget.Builder, com.google.firestore.v1.Target.DocumentsTargetOrBuilder>( (com.google.firestore.v1.Target.DocumentsTarget) targetType_, getParentForChildren(), isClean()); @@ -3276,8 +2975,6 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui } /** - * - * *
      * A resume token from a prior
      * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -3285,15 +2982,12 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui
      * 
* * bytes resume_token = 4; - * * @return Whether the resumeToken field is set. */ public boolean hasResumeToken() { return resumeTypeCase_ == 4; } /** - * - * *
      * A resume token from a prior
      * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -3301,7 +2995,6 @@ public boolean hasResumeToken() {
      * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ public com.google.protobuf.ByteString getResumeToken() { @@ -3311,8 +3004,6 @@ public com.google.protobuf.ByteString getResumeToken() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * A resume token from a prior
      * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -3320,22 +3011,17 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 4; - * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } resumeTypeCase_ = 4; resumeType_ = value; onChanged(); return this; } /** - * - * *
      * A resume token from a prior
      * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -3343,7 +3029,6 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; - * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -3356,20 +3041,14 @@ public Builder clearResumeToken() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
      * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -3377,15 +3056,12 @@ public boolean hasReadTime() { return resumeTypeCase_ == 11; } /** - * - * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
      * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return The readTime. */ @java.lang.Override @@ -3403,8 +3079,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3426,8 +3100,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3435,7 +3107,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 11;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         resumeType_ = builderForValue.build();
         onChanged();
@@ -3446,8 +3119,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3457,12 +3128,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (resumeTypeCase_ == 11
-            && resumeType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          resumeType_ =
-              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) resumeType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (resumeTypeCase_ == 11 &&
+            resumeType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          resumeType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) resumeType_)
+              .mergeFrom(value).buildPartial();
         } else {
           resumeType_ = value;
         }
@@ -3478,8 +3147,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3504,8 +3171,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3517,8 +3182,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3538,8 +3201,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3548,20 +3209,17 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(resumeTypeCase_ == 11)) {
           resumeType_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) resumeType_, getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) resumeType_,
+                getParentForChildren(),
+                isClean());
         resumeType_ = null;
       }
       resumeTypeCase_ = 11;
@@ -3569,17 +3227,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       return readTimeBuilder_;
     }
 
-    private int targetId_;
+    private int targetId_ ;
     /**
-     *
-     *
      * 
      * The target ID that identifies the target on the stream. Must be a positive
      * number and non-zero.
      * 
* * int32 target_id = 5; - * * @return The targetId. */ @java.lang.Override @@ -3587,35 +3242,29 @@ public int getTargetId() { return targetId_; } /** - * - * *
      * The target ID that identifies the target on the stream. Must be a positive
      * number and non-zero.
      * 
* * int32 target_id = 5; - * * @param value The targetId to set. * @return This builder for chaining. */ public Builder setTargetId(int value) { - + targetId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The target ID that identifies the target on the stream. Must be a positive
      * number and non-zero.
      * 
* * int32 target_id = 5; - * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -3625,16 +3274,13 @@ public Builder clearTargetId() { return this; } - private boolean once_; + private boolean once_ ; /** - * - * *
      * If the target should be removed once it is current and consistent.
      * 
* * bool once = 6; - * * @return The once. */ @java.lang.Override @@ -3642,33 +3288,27 @@ public boolean getOnce() { return once_; } /** - * - * *
      * If the target should be removed once it is current and consistent.
      * 
* * bool once = 6; - * * @param value The once to set. * @return This builder for chaining. */ public Builder setOnce(boolean value) { - + once_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * If the target should be removed once it is current and consistent.
      * 
* * bool once = 6; - * * @return This builder for chaining. */ public Builder clearOnce() { @@ -3677,9 +3317,9 @@ public Builder clearOnce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3689,12 +3329,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Target) } // @@protoc_insertion_point(class_scope:google.firestore.v1.Target) private static final com.google.firestore.v1.Target DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.Target(); } @@ -3703,27 +3343,27 @@ public static com.google.firestore.v1.Target getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Target parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Target parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3738,4 +3378,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java similarity index 76% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java index 7d8f13d1a..b112c1fe9 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * Targets being watched have changed.
  * 
* * Protobuf type {@code google.firestore.v1.TargetChange} */ -public final class TargetChange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TargetChange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TargetChange) TargetChangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TargetChange.newBuilder() to construct. private TargetChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TargetChange() { targetChangeType_ = 0; targetIds_ = emptyIntList(); @@ -45,43 +27,39 @@ private TargetChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TargetChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_TargetChange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_TargetChange_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TargetChange.class, - com.google.firestore.v1.TargetChange.Builder.class); + com.google.firestore.v1.TargetChange.class, com.google.firestore.v1.TargetChange.Builder.class); } /** - * - * *
    * The type of change.
    * 
* * Protobuf enum {@code google.firestore.v1.TargetChange.TargetChangeType} */ - public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum { + public enum TargetChangeType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No change has occurred. Used only to send an updated `resume_token`.
      * 
@@ -90,8 +68,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ NO_CHANGE(0), /** - * - * *
      * The targets have been added.
      * 
@@ -100,8 +76,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ ADD(1), /** - * - * *
      * The targets have been removed.
      * 
@@ -110,8 +84,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ REMOVE(2), /** - * - * *
      * The targets reflect all changes committed before the targets were added
      * to the stream.
@@ -125,8 +97,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum
      */
     CURRENT(3),
     /**
-     *
-     *
      * 
      * The targets have been reset, and a new initial state for the targets
      * will be returned in subsequent changes.
@@ -141,8 +111,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * No change has occurred. Used only to send an updated `resume_token`.
      * 
@@ -151,8 +119,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ public static final int NO_CHANGE_VALUE = 0; /** - * - * *
      * The targets have been added.
      * 
@@ -161,8 +127,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ADD_VALUE = 1; /** - * - * *
      * The targets have been removed.
      * 
@@ -171,8 +135,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum */ public static final int REMOVE_VALUE = 2; /** - * - * *
      * The targets reflect all changes committed before the targets were added
      * to the stream.
@@ -186,8 +148,6 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int CURRENT_VALUE = 3;
     /**
-     *
-     *
      * 
      * The targets have been reset, and a new initial state for the targets
      * will be returned in subsequent changes.
@@ -199,6 +159,7 @@ public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int RESET_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -223,46 +184,41 @@ public static TargetChangeType valueOf(int value) {
      */
     public static TargetChangeType forNumber(int value) {
       switch (value) {
-        case 0:
-          return NO_CHANGE;
-        case 1:
-          return ADD;
-        case 2:
-          return REMOVE;
-        case 3:
-          return CURRENT;
-        case 4:
-          return RESET;
-        default:
-          return null;
+        case 0: return NO_CHANGE;
+        case 1: return ADD;
+        case 2: return REMOVE;
+        case 3: return CURRENT;
+        case 4: return RESET;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        TargetChangeType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public TargetChangeType findValueByNumber(int number) {
+              return TargetChangeType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public TargetChangeType findValueByNumber(int number) {
-                return TargetChangeType.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.firestore.v1.TargetChange.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -271,7 +227,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static TargetChangeType valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -291,47 +248,33 @@ private TargetChangeType(int value) {
   public static final int TARGET_CHANGE_TYPE_FIELD_NUMBER = 1;
   private int targetChangeType_ = 0;
   /**
-   *
-   *
    * 
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @return The enum numeric value on the wire for targetChangeType. */ - @java.lang.Override - public int getTargetChangeTypeValue() { + @java.lang.Override public int getTargetChangeTypeValue() { return targetChangeType_; } /** - * - * *
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @return The targetChangeType. */ - @java.lang.Override - public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType() { - com.google.firestore.v1.TargetChange.TargetChangeType result = - com.google.firestore.v1.TargetChange.TargetChangeType.forNumber(targetChangeType_); - return result == null - ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType() { + com.google.firestore.v1.TargetChange.TargetChangeType result = com.google.firestore.v1.TargetChange.TargetChangeType.forNumber(targetChangeType_); + return result == null ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED : result; } public static final int TARGET_IDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList targetIds_; /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -339,16 +282,14 @@ public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType
    * 
* * repeated int32 target_ids = 2; - * * @return A list containing the targetIds. */ @java.lang.Override - public java.util.List getTargetIdsList() { + public java.util.List + getTargetIdsList() { return targetIds_; } /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -356,15 +297,12 @@ public java.util.List getTargetIdsList() {
    * 
* * repeated int32 target_ids = 2; - * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -372,27 +310,22 @@ public int getTargetIdsCount() {
    * 
* * repeated int32 target_ids = 2; - * * @param index The index of the element to return. * @return The targetIds at the given index. */ public int getTargetIds(int index) { return targetIds_.getInt(index); } - private int targetIdsMemoizedSerializedSize = -1; public static final int CAUSE_FIELD_NUMBER = 3; private com.google.rpc.Status cause_; /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; - * * @return Whether the cause field is set. */ @java.lang.Override @@ -400,14 +333,11 @@ public boolean hasCause() { return cause_ != null; } /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; - * * @return The cause. */ @java.lang.Override @@ -415,8 +345,6 @@ public com.google.rpc.Status getCause() { return cause_ == null ? com.google.rpc.Status.getDefaultInstance() : cause_; } /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
@@ -431,8 +359,6 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { public static final int RESUME_TOKEN_FIELD_NUMBER = 4; private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * A token that can be used to resume the stream for the given `target_ids`,
    * or all targets if `target_ids` is empty.
@@ -440,7 +366,6 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() {
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -451,8 +376,6 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int READ_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -465,7 +388,6 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -473,8 +395,6 @@ public boolean hasReadTime() { return readTime_ != null; } /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -487,7 +407,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ @java.lang.Override @@ -495,8 +414,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -516,7 +433,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -528,10 +444,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getSerializedSize();
-    if (targetChangeType_
-        != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
+    if (targetChangeType_ != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
       output.writeEnum(1, targetChangeType_);
     }
     if (getTargetIdsList().size() > 0) {
@@ -559,31 +475,35 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (targetChangeType_
-        != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, targetChangeType_);
+    if (targetChangeType_ != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, targetChangeType_);
     }
     {
       int dataSize = 0;
       for (int i = 0; i < targetIds_.size(); i++) {
-        dataSize +=
-            com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(targetIds_.getInt(i));
+        dataSize += com.google.protobuf.CodedOutputStream
+          .computeInt32SizeNoTag(targetIds_.getInt(i));
       }
       size += dataSize;
       if (!getTargetIdsList().isEmpty()) {
         size += 1;
-        size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
+        size += com.google.protobuf.CodedOutputStream
+            .computeInt32SizeNoTag(dataSize);
       }
       targetIdsMemoizedSerializedSize = dataSize;
     }
     if (cause_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCause());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getCause());
     }
     if (!resumeToken_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, resumeToken_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, resumeToken_);
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getReadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -593,7 +513,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.TargetChange)) {
       return super.equals(obj);
@@ -601,15 +521,19 @@ public boolean equals(final java.lang.Object obj) {
     com.google.firestore.v1.TargetChange other = (com.google.firestore.v1.TargetChange) obj;
 
     if (targetChangeType_ != other.targetChangeType_) return false;
-    if (!getTargetIdsList().equals(other.getTargetIdsList())) return false;
+    if (!getTargetIdsList()
+        .equals(other.getTargetIdsList())) return false;
     if (hasCause() != other.hasCause()) return false;
     if (hasCause()) {
-      if (!getCause().equals(other.getCause())) return false;
+      if (!getCause()
+          .equals(other.getCause())) return false;
     }
-    if (!getResumeToken().equals(other.getResumeToken())) return false;
+    if (!getResumeToken()
+        .equals(other.getResumeToken())) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime().equals(other.getReadTime())) return false;
+      if (!getReadTime()
+          .equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -643,135 +567,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.TargetChange parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.TargetChange parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.TargetChange parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.TargetChange parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.firestore.v1.TargetChange parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.TargetChange parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.TargetChange parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.TargetChange parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.TargetChange parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.TargetChange parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.TargetChange parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.TargetChange parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.TargetChange parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.TargetChange parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.TargetChange prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Targets being watched have changed.
    * 
* * Protobuf type {@code google.firestore.v1.TargetChange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.TargetChange) com.google.firestore.v1.TargetChangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_TargetChange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_TargetChange_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TargetChange.class, - com.google.firestore.v1.TargetChange.Builder.class); + com.google.firestore.v1.TargetChange.class, com.google.firestore.v1.TargetChange.Builder.class); } // Construct using com.google.firestore.v1.TargetChange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -793,9 +712,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_TargetChange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_descriptor; } @java.lang.Override @@ -816,9 +735,7 @@ public com.google.firestore.v1.TargetChange build() { public com.google.firestore.v1.TargetChange buildPartial() { com.google.firestore.v1.TargetChange result = new com.google.firestore.v1.TargetChange(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -837,13 +754,17 @@ private void buildPartial0(com.google.firestore.v1.TargetChange result) { result.targetChangeType_ = targetChangeType_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cause_ = causeBuilder_ == null ? cause_ : causeBuilder_.build(); + result.cause_ = causeBuilder_ == null + ? cause_ + : causeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.resumeToken_ = resumeToken_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); } } @@ -851,39 +772,38 @@ private void buildPartial0(com.google.firestore.v1.TargetChange result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.TargetChange) { - return mergeFrom((com.google.firestore.v1.TargetChange) other); + return mergeFrom((com.google.firestore.v1.TargetChange)other); } else { super.mergeFrom(other); return this; @@ -940,55 +860,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - targetChangeType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - int v = input.readInt32(); - ensureTargetIdsIsMutable(); - targetIds_.addInt(v); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureTargetIdsIsMutable(); - while (input.getBytesUntilLimit() > 0) { - targetIds_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } // case 18 - case 26: - { - input.readMessage(getCauseFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - resumeToken_ = input.readBytes(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 50: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + targetChangeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + int v = input.readInt32(); + ensureTargetIdsIsMutable(); + targetIds_.addInt(v); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureTargetIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + targetIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 18 + case 26: { + input.readMessage( + getCauseFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + resumeToken_ = input.readBytes(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -998,34 +915,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int targetChangeType_ = 0; /** - * - * *
      * The type of change that occurred.
      * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @return The enum numeric value on the wire for targetChangeType. */ - @java.lang.Override - public int getTargetChangeTypeValue() { + @java.lang.Override public int getTargetChangeTypeValue() { return targetChangeType_; } /** - * - * *
      * The type of change that occurred.
      * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @param value The enum numeric value on the wire for targetChangeType to set. * @return This builder for chaining. */ @@ -1036,38 +945,28 @@ public Builder setTargetChangeTypeValue(int value) { return this; } /** - * - * *
      * The type of change that occurred.
      * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @return The targetChangeType. */ @java.lang.Override public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType() { - com.google.firestore.v1.TargetChange.TargetChangeType result = - com.google.firestore.v1.TargetChange.TargetChangeType.forNumber(targetChangeType_); - return result == null - ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED - : result; + com.google.firestore.v1.TargetChange.TargetChangeType result = com.google.firestore.v1.TargetChange.TargetChangeType.forNumber(targetChangeType_); + return result == null ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED : result; } /** - * - * *
      * The type of change that occurred.
      * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @param value The targetChangeType to set. * @return This builder for chaining. */ - public Builder setTargetChangeType( - com.google.firestore.v1.TargetChange.TargetChangeType value) { + public Builder setTargetChangeType(com.google.firestore.v1.TargetChange.TargetChangeType value) { if (value == null) { throw new NullPointerException(); } @@ -1077,14 +976,11 @@ public Builder setTargetChangeType( return this; } /** - * - * *
      * The type of change that occurred.
      * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @return This builder for chaining. */ public Builder clearTargetChangeType() { @@ -1095,7 +991,6 @@ public Builder clearTargetChangeType() { } private com.google.protobuf.Internal.IntList targetIds_ = emptyIntList(); - private void ensureTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { targetIds_ = mutableCopy(targetIds_); @@ -1103,8 +998,6 @@ private void ensureTargetIdsIsMutable() { } } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1112,17 +1005,14 @@ private void ensureTargetIdsIsMutable() {
      * 
* * repeated int32 target_ids = 2; - * * @return A list containing the targetIds. */ - public java.util.List getTargetIdsList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(targetIds_) - : targetIds_; + public java.util.List + getTargetIdsList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(targetIds_) : targetIds_; } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1130,15 +1020,12 @@ public java.util.List getTargetIdsList() {
      * 
* * repeated int32 target_ids = 2; - * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1146,7 +1033,6 @@ public int getTargetIdsCount() {
      * 
* * repeated int32 target_ids = 2; - * * @param index The index of the element to return. * @return The targetIds at the given index. */ @@ -1154,8 +1040,6 @@ public int getTargetIds(int index) { return targetIds_.getInt(index); } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1163,21 +1047,19 @@ public int getTargetIds(int index) {
      * 
* * repeated int32 target_ids = 2; - * * @param index The index to set the value at. * @param value The targetIds to set. * @return This builder for chaining. */ - public Builder setTargetIds(int index, int value) { - + public Builder setTargetIds( + int index, int value) { + ensureTargetIdsIsMutable(); targetIds_.setInt(index, value); onChanged(); return this; } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1185,20 +1067,17 @@ public Builder setTargetIds(int index, int value) {
      * 
* * repeated int32 target_ids = 2; - * * @param value The targetIds to add. * @return This builder for chaining. */ public Builder addTargetIds(int value) { - + ensureTargetIdsIsMutable(); targetIds_.addInt(value); onChanged(); return this; } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1206,19 +1085,18 @@ public Builder addTargetIds(int value) {
      * 
* * repeated int32 target_ids = 2; - * * @param values The targetIds to add. * @return This builder for chaining. */ - public Builder addAllTargetIds(java.lang.Iterable values) { + public Builder addAllTargetIds( + java.lang.Iterable values) { ensureTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, targetIds_); onChanged(); return this; } /** - * - * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1226,7 +1104,6 @@ public Builder addAllTargetIds(java.lang.Iterable v
      * 
* * repeated int32 target_ids = 2; - * * @return This builder for chaining. */ public Builder clearTargetIds() { @@ -1238,31 +1115,24 @@ public Builder clearTargetIds() { private com.google.rpc.Status cause_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - causeBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> causeBuilder_; /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
* * .google.rpc.Status cause = 3; - * * @return Whether the cause field is set. */ public boolean hasCause() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
* * .google.rpc.Status cause = 3; - * * @return The cause. */ public com.google.rpc.Status getCause() { @@ -1273,8 +1143,6 @@ public com.google.rpc.Status getCause() { } } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1295,15 +1163,14 @@ public Builder setCause(com.google.rpc.Status value) { return this; } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
* * .google.rpc.Status cause = 3; */ - public Builder setCause(com.google.rpc.Status.Builder builderForValue) { + public Builder setCause( + com.google.rpc.Status.Builder builderForValue) { if (causeBuilder_ == null) { cause_ = builderForValue.build(); } else { @@ -1314,8 +1181,6 @@ public Builder setCause(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1324,9 +1189,9 @@ public Builder setCause(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeCause(com.google.rpc.Status value) { if (causeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cause_ != null - && cause_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cause_ != null && + cause_ != com.google.rpc.Status.getDefaultInstance()) { getCauseBuilder().mergeFrom(value); } else { cause_ = value; @@ -1339,8 +1204,6 @@ public Builder mergeCause(com.google.rpc.Status value) { return this; } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1358,8 +1221,6 @@ public Builder clearCause() { return this; } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1372,8 +1233,6 @@ public com.google.rpc.Status.Builder getCauseBuilder() { return getCauseFieldBuilder().getBuilder(); } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1384,12 +1243,11 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { if (causeBuilder_ != null) { return causeBuilder_.getMessageOrBuilder(); } else { - return cause_ == null ? com.google.rpc.Status.getDefaultInstance() : cause_; + return cause_ == null ? + com.google.rpc.Status.getDefaultInstance() : cause_; } } /** - * - * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1397,14 +1255,14 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { * .google.rpc.Status cause = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getCauseFieldBuilder() { if (causeBuilder_ == null) { - causeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getCause(), getParentForChildren(), isClean()); + causeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getCause(), + getParentForChildren(), + isClean()); cause_ = null; } return causeBuilder_; @@ -1412,8 +1270,6 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * A token that can be used to resume the stream for the given `target_ids`,
      * or all targets if `target_ids` is empty.
@@ -1421,7 +1277,6 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() {
      * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ @java.lang.Override @@ -1429,8 +1284,6 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** - * - * *
      * A token that can be used to resume the stream for the given `target_ids`,
      * or all targets if `target_ids` is empty.
@@ -1438,22 +1291,17 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 4; - * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } resumeToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A token that can be used to resume the stream for the given `target_ids`,
      * or all targets if `target_ids` is empty.
@@ -1461,7 +1309,6 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; - * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -1473,13 +1320,8 @@ public Builder clearResumeToken() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1492,15 +1334,12 @@ public Builder clearResumeToken() {
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1513,7 +1352,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1524,8 +1362,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1553,8 +1389,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1568,7 +1402,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 6;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -1579,8 +1414,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1596,9 +1429,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1611,8 +1444,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1637,8 +1468,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1658,8 +1487,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1677,12 +1504,11 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1697,24 +1523,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(), getParentForChildren(), isClean());
+        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(),
+                getParentForChildren(),
+                isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1724,12 +1547,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.TargetChange)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.TargetChange)
   private static final com.google.firestore.v1.TargetChange DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.TargetChange();
   }
@@ -1738,27 +1561,27 @@ public static com.google.firestore.v1.TargetChange getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TargetChange parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TargetChange parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1773,4 +1596,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.TargetChange getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
similarity index 85%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
index 2c36f37e4..6cd26c0b7 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface TargetChangeOrBuilder
-    extends
+public interface TargetChangeOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.TargetChange)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @return The enum numeric value on the wire for targetChangeType. */ int getTargetChangeTypeValue(); /** - * - * *
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; - * * @return The targetChangeType. */ com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType(); /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -58,13 +34,10 @@ public interface TargetChangeOrBuilder
    * 
* * repeated int32 target_ids = 2; - * * @return A list containing the targetIds. */ java.util.List getTargetIdsList(); /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -72,13 +45,10 @@ public interface TargetChangeOrBuilder
    * 
* * repeated int32 target_ids = 2; - * * @return The count of targetIds. */ int getTargetIdsCount(); /** - * - * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -86,39 +56,30 @@ public interface TargetChangeOrBuilder
    * 
* * repeated int32 target_ids = 2; - * * @param index The index of the element to return. * @return The targetIds at the given index. */ int getTargetIds(int index); /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; - * * @return Whether the cause field is set. */ boolean hasCause(); /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; - * * @return The cause. */ com.google.rpc.Status getCause(); /** - * - * *
    * The error that resulted in this change, if applicable.
    * 
@@ -128,8 +89,6 @@ public interface TargetChangeOrBuilder com.google.rpc.StatusOrBuilder getCauseOrBuilder(); /** - * - * *
    * A token that can be used to resume the stream for the given `target_ids`,
    * or all targets if `target_ids` is empty.
@@ -137,14 +96,11 @@ public interface TargetChangeOrBuilder
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -157,13 +113,10 @@ public interface TargetChangeOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -176,13 +129,10 @@ public interface TargetChangeOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 6; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
similarity index 82%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
index 41b854b4e..6e221e3f3 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface TargetOrBuilder
-    extends
+public interface TargetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return Whether the query field is set. */ boolean hasQuery(); /** - * - * *
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; - * * @return The query. */ com.google.firestore.v1.Target.QueryTarget getQuery(); /** - * - * *
    * A target specified by a query.
    * 
@@ -59,32 +35,24 @@ public interface TargetOrBuilder com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder(); /** - * - * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return Whether the documents field is set. */ boolean hasDocuments(); /** - * - * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; - * * @return The documents. */ com.google.firestore.v1.Target.DocumentsTarget getDocuments(); /** - * - * *
    * A target specified by a set of document names.
    * 
@@ -94,8 +62,6 @@ public interface TargetOrBuilder com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBuilder(); /** - * - * *
    * A resume token from a prior
    * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -103,13 +69,10 @@ public interface TargetOrBuilder
    * 
* * bytes resume_token = 4; - * * @return Whether the resumeToken field is set. */ boolean hasResumeToken(); /** - * - * *
    * A resume token from a prior
    * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -117,40 +80,31 @@ public interface TargetOrBuilder
    * 
* * bytes resume_token = 4; - * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
@@ -161,28 +115,22 @@ public interface TargetOrBuilder
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The target ID that identifies the target on the stream. Must be a positive
    * number and non-zero.
    * 
* * int32 target_id = 5; - * * @return The targetId. */ int getTargetId(); /** - * - * *
    * If the target should be removed once it is current and consistent.
    * 
* * bool once = 6; - * * @return The once. */ boolean getOnce(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java similarity index 71% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java index 6e963e87f..c334d4f65 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java @@ -1,148 +1,119 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; /** - * - * *
  * Options for creating a new transaction.
  * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions} */ -public final class TransactionOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TransactionOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions) TransactionOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TransactionOptions.newBuilder() to construct. private TransactionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TransactionOptions() {} + private TransactionOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TransactionOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.class, - com.google.firestore.v1.TransactionOptions.Builder.class); + com.google.firestore.v1.TransactionOptions.class, com.google.firestore.v1.TransactionOptions.Builder.class); } - public interface ReadWriteOrBuilder - extends + public interface ReadWriteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions.ReadWrite) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * An optional transaction to retry.
      * 
* * bytes retry_transaction = 1; - * * @return The retryTransaction. */ com.google.protobuf.ByteString getRetryTransaction(); } /** - * - * *
    * Options for a transaction that can be used to read and write documents.
    * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadWrite} */ - public static final class ReadWrite extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadWrite extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions.ReadWrite) ReadWriteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadWrite.newBuilder() to construct. private ReadWrite(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadWrite() { retryTransaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadWrite(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadWrite.class, - com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadWrite.class, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); } public static final int RETRY_TRANSACTION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString retryTransaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * An optional transaction to retry.
      * 
* * bytes retry_transaction = 1; - * * @return The retryTransaction. */ @java.lang.Override @@ -151,7 +122,6 @@ public com.google.protobuf.ByteString getRetryTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,7 +133,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!retryTransaction_.isEmpty()) { output.writeBytes(1, retryTransaction_); } @@ -177,7 +148,8 @@ public int getSerializedSize() { size = 0; if (!retryTransaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, retryTransaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, retryTransaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -187,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.TransactionOptions.ReadWrite)) { return super.equals(obj); } - com.google.firestore.v1.TransactionOptions.ReadWrite other = - (com.google.firestore.v1.TransactionOptions.ReadWrite) obj; + com.google.firestore.v1.TransactionOptions.ReadWrite other = (com.google.firestore.v1.TransactionOptions.ReadWrite) obj; - if (!getRetryTransaction().equals(other.getRetryTransaction())) return false; + if (!getRetryTransaction() + .equals(other.getRetryTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -215,94 +187,87 @@ public int hashCode() { } public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.firestore.v1.TransactionOptions.ReadWrite prototype) { + public static Builder newBuilder(com.google.firestore.v1.TransactionOptions.ReadWrite prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -312,41 +277,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Options for a transaction that can be used to read and write documents.
      * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadWrite} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions.ReadWrite) com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadWrite.class, - com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadWrite.class, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); } // Construct using com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -356,9 +319,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override @@ -377,11 +340,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite build() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadWrite buildPartial() { - com.google.firestore.v1.TransactionOptions.ReadWrite result = - new com.google.firestore.v1.TransactionOptions.ReadWrite(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.TransactionOptions.ReadWrite result = new com.google.firestore.v1.TransactionOptions.ReadWrite(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -397,41 +357,38 @@ private void buildPartial0(com.google.firestore.v1.TransactionOptions.ReadWrite public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.TransactionOptions.ReadWrite) { - return mergeFrom((com.google.firestore.v1.TransactionOptions.ReadWrite) other); + return mergeFrom((com.google.firestore.v1.TransactionOptions.ReadWrite)other); } else { super.mergeFrom(other); return this; @@ -439,8 +396,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.TransactionOptions.ReadWrite other) { - if (other == com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) return this; if (other.getRetryTransaction() != com.google.protobuf.ByteString.EMPTY) { setRetryTransaction(other.getRetryTransaction()); } @@ -470,19 +426,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - retryTransaction_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + retryTransaction_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -492,20 +446,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.ByteString retryTransaction_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString retryTransaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * An optional transaction to retry.
        * 
* * bytes retry_transaction = 1; - * * @return The retryTransaction. */ @java.lang.Override @@ -513,35 +462,27 @@ public com.google.protobuf.ByteString getRetryTransaction() { return retryTransaction_; } /** - * - * *
        * An optional transaction to retry.
        * 
* * bytes retry_transaction = 1; - * * @param value The retryTransaction to set. * @return This builder for chaining. */ public Builder setRetryTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } retryTransaction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * An optional transaction to retry.
        * 
* * bytes retry_transaction = 1; - * * @return This builder for chaining. */ public Builder clearRetryTransaction() { @@ -550,7 +491,6 @@ public Builder clearRetryTransaction() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -563,12 +503,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.TransactionOptions.ReadWrite) } // @@protoc_insertion_point(class_scope:google.firestore.v1.TransactionOptions.ReadWrite) private static final com.google.firestore.v1.TransactionOptions.ReadWrite DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.TransactionOptions.ReadWrite(); } @@ -577,28 +517,27 @@ public static com.google.firestore.v1.TransactionOptions.ReadWrite getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadWrite parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadWrite parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,42 +552,34 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.TransactionOptions.ReadWrite getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ReadOnlyOrBuilder - extends + public interface ReadOnlyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions.ReadOnly) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
@@ -658,67 +589,60 @@ public interface ReadOnlyOrBuilder
      */
     com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-    public com.google.firestore.v1.TransactionOptions.ReadOnly.ConsistencySelectorCase
-        getConsistencySelectorCase();
+    public com.google.firestore.v1.TransactionOptions.ReadOnly.ConsistencySelectorCase getConsistencySelectorCase();
   }
   /**
-   *
-   *
    * 
    * Options for a transaction that can only be used to read documents.
    * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadOnly} */ - public static final class ReadOnly extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadOnly extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions.ReadOnly) ReadOnlyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadOnly.newBuilder() to construct. private ReadOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadOnly() {} + private ReadOnly() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadOnly(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadOnly.class, - com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadOnly.class, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public enum ConsistencySelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_TIME(2), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; - private ConsistencySelectorCase(int value) { this.value = value; } @@ -734,35 +658,30 @@ public static ConsistencySelectorCase valueOf(int value) { public static ConsistencySelectorCase forNumber(int value) { switch (value) { - case 2: - return READ_TIME; - case 0: - return CONSISTENCYSELECTOR_NOT_SET; - default: - return null; + case 2: return READ_TIME; + case 0: return CONSISTENCYSELECTOR_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConsistencySelectorCase getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + public ConsistencySelectorCase + getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber( + consistencySelectorCase_); } public static final int READ_TIME_FIELD_NUMBER = 2; /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -770,27 +689,22 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 2; } /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 2) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
@@ -801,13 +715,12 @@ public com.google.protobuf.Timestamp getReadTime() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (consistencySelectorCase_ == 2) {
-        return (com.google.protobuf.Timestamp) consistencySelector_;
+         return (com.google.protobuf.Timestamp) consistencySelector_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -819,7 +732,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (consistencySelectorCase_ == 2) {
         output.writeMessage(2, (com.google.protobuf.Timestamp) consistencySelector_);
       }
@@ -833,9 +747,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (consistencySelectorCase_ == 2) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                2, (com.google.protobuf.Timestamp) consistencySelector_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, (com.google.protobuf.Timestamp) consistencySelector_);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -845,18 +758,18 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.firestore.v1.TransactionOptions.ReadOnly)) {
         return super.equals(obj);
       }
-      com.google.firestore.v1.TransactionOptions.ReadOnly other =
-          (com.google.firestore.v1.TransactionOptions.ReadOnly) obj;
+      com.google.firestore.v1.TransactionOptions.ReadOnly other = (com.google.firestore.v1.TransactionOptions.ReadOnly) obj;
 
       if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
       switch (consistencySelectorCase_) {
         case 2:
-          if (!getReadTime().equals(other.getReadTime())) return false;
+          if (!getReadTime()
+              .equals(other.getReadTime())) return false;
           break;
         case 0:
         default:
@@ -886,94 +799,87 @@ public int hashCode() {
     }
 
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.firestore.v1.TransactionOptions.ReadOnly parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.firestore.v1.TransactionOptions.ReadOnly parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.firestore.v1.TransactionOptions.ReadOnly prototype) {
+    public static Builder newBuilder(com.google.firestore.v1.TransactionOptions.ReadOnly prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -983,41 +889,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Options for a transaction that can only be used to read documents.
      * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadOnly} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions.ReadOnly) com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadOnly.class, - com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadOnly.class, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); } // Construct using com.google.firestore.v1.TransactionOptions.ReadOnly.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1031,9 +935,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override @@ -1052,11 +956,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly build() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadOnly buildPartial() { - com.google.firestore.v1.TransactionOptions.ReadOnly result = - new com.google.firestore.v1.TransactionOptions.ReadOnly(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.TransactionOptions.ReadOnly result = new com.google.firestore.v1.TransactionOptions.ReadOnly(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1069,7 +970,8 @@ private void buildPartial0(com.google.firestore.v1.TransactionOptions.ReadOnly r private void buildPartialOneofs(com.google.firestore.v1.TransactionOptions.ReadOnly result) { result.consistencySelectorCase_ = consistencySelectorCase_; result.consistencySelector_ = this.consistencySelector_; - if (consistencySelectorCase_ == 2 && readTimeBuilder_ != null) { + if (consistencySelectorCase_ == 2 && + readTimeBuilder_ != null) { result.consistencySelector_ = readTimeBuilder_.build(); } } @@ -1078,41 +980,38 @@ private void buildPartialOneofs(com.google.firestore.v1.TransactionOptions.ReadO public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.TransactionOptions.ReadOnly) { - return mergeFrom((com.google.firestore.v1.TransactionOptions.ReadOnly) other); + return mergeFrom((com.google.firestore.v1.TransactionOptions.ReadOnly)other); } else { super.mergeFrom(other); return this; @@ -1120,18 +1019,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.TransactionOptions.ReadOnly other) { - if (other == com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) - return this; + if (other == com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) return this; switch (other.getConsistencySelectorCase()) { - case READ_TIME: - { - mergeReadTime(other.getReadTime()); - break; - } - case CONSISTENCYSELECTOR_NOT_SET: - { - break; - } + case READ_TIME: { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYSELECTOR_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1159,19 +1055,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - consistencySelectorCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + consistencySelectorCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1181,12 +1077,12 @@ public Builder mergeFrom( } // finally return this; } - private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - - public ConsistencySelectorCase getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber(consistencySelectorCase_); + public ConsistencySelectorCase + getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber( + consistencySelectorCase_); } public Builder clearConsistencySelector() { @@ -1199,20 +1095,14 @@ public Builder clearConsistencySelector() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - readTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; /** - * - * *
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
        * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1220,15 +1110,12 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 2; } /** - * - * *
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
        * 
* * .google.protobuf.Timestamp read_time = 2; - * * @return The readTime. */ @java.lang.Override @@ -1246,8 +1133,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1269,8 +1154,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1278,7 +1161,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp read_time = 2;
        */
-      public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setReadTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (readTimeBuilder_ == null) {
           consistencySelector_ = builderForValue.build();
           onChanged();
@@ -1289,8 +1173,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1300,13 +1182,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
        */
       public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
         if (readTimeBuilder_ == null) {
-          if (consistencySelectorCase_ == 2
-              && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            consistencySelector_ =
-                com.google.protobuf.Timestamp.newBuilder(
-                        (com.google.protobuf.Timestamp) consistencySelector_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (consistencySelectorCase_ == 2 &&
+              consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
+                .mergeFrom(value).buildPartial();
           } else {
             consistencySelector_ = value;
           }
@@ -1322,8 +1201,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1348,8 +1225,6 @@ public Builder clearReadTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1361,8 +1236,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
         return getReadTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1382,8 +1255,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1392,19 +1263,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
        * .google.protobuf.Timestamp read_time = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getReadTimeFieldBuilder() {
         if (readTimeBuilder_ == null) {
           if (!(consistencySelectorCase_ == 2)) {
             consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
           }
-          readTimeBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
+          readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                   (com.google.protobuf.Timestamp) consistencySelector_,
                   getParentForChildren(),
                   isClean());
@@ -1414,7 +1280,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
         onChanged();
         return readTimeBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1427,12 +1292,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.firestore.v1.TransactionOptions.ReadOnly)
     }
 
     // @@protoc_insertion_point(class_scope:google.firestore.v1.TransactionOptions.ReadOnly)
     private static final com.google.firestore.v1.TransactionOptions.ReadOnly DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.firestore.v1.TransactionOptions.ReadOnly();
     }
@@ -1441,28 +1306,27 @@ public static com.google.firestore.v1.TransactionOptions.ReadOnly getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ReadOnly parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ReadOnly parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1477,20 +1341,18 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int modeCase_ = 0;
   private java.lang.Object mode_;
-
   public enum ModeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     READ_ONLY(2),
     READ_WRITE(3),
     MODE_NOT_SET(0);
     private final int value;
-
     private ModeCase(int value) {
       this.value = value;
     }
@@ -1506,36 +1368,30 @@ public static ModeCase valueOf(int value) {
 
     public static ModeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return READ_ONLY;
-        case 3:
-          return READ_WRITE;
-        case 0:
-          return MODE_NOT_SET;
-        default:
-          return null;
+        case 2: return READ_ONLY;
+        case 3: return READ_WRITE;
+        case 0: return MODE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ModeCase getModeCase() {
-    return ModeCase.forNumber(modeCase_);
+  public ModeCase
+  getModeCase() {
+    return ModeCase.forNumber(
+        modeCase_);
   }
 
   public static final int READ_ONLY_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -1543,26 +1399,21 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { if (modeCase_ == 2) { - return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; } return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } /** - * - * *
    * The transaction can only be used for read operations.
    * 
@@ -1572,21 +1423,18 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder() { if (modeCase_ == 2) { - return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; } return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } public static final int READ_WRITE_FIELD_NUMBER = 3; /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -1594,26 +1442,21 @@ public boolean hasReadWrite() { return modeCase_ == 3; } /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return The readWrite. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { if (modeCase_ == 3) { - return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; } return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
@@ -1623,13 +1466,12 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder() { if (modeCase_ == 3) { - return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; } return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1641,7 +1483,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (modeCase_ == 2) { output.writeMessage(2, (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); } @@ -1658,14 +1501,12 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); } if (modeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1675,21 +1516,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.TransactionOptions)) { return super.equals(obj); } - com.google.firestore.v1.TransactionOptions other = - (com.google.firestore.v1.TransactionOptions) obj; + com.google.firestore.v1.TransactionOptions other = (com.google.firestore.v1.TransactionOptions) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 2: - if (!getReadOnly().equals(other.getReadOnly())) return false; + if (!getReadOnly() + .equals(other.getReadOnly())) return false; break; case 3: - if (!getReadWrite().equals(other.getReadWrite())) return false; + if (!getReadWrite() + .equals(other.getReadWrite())) return false; break; case 0: default: @@ -1722,136 +1564,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.TransactionOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.TransactionOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.TransactionOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.TransactionOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.TransactionOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.TransactionOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.TransactionOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.firestore.v1.TransactionOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.TransactionOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.TransactionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.TransactionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Options for creating a new transaction.
    * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions) com.google.firestore.v1.TransactionOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.class, - com.google.firestore.v1.TransactionOptions.Builder.class); + com.google.firestore.v1.TransactionOptions.class, com.google.firestore.v1.TransactionOptions.Builder.class); } // Construct using com.google.firestore.v1.TransactionOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1868,9 +1704,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.CommonProto - .internal_static_google_firestore_v1_TransactionOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_descriptor; } @java.lang.Override @@ -1889,11 +1725,8 @@ public com.google.firestore.v1.TransactionOptions build() { @java.lang.Override public com.google.firestore.v1.TransactionOptions buildPartial() { - com.google.firestore.v1.TransactionOptions result = - new com.google.firestore.v1.TransactionOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.firestore.v1.TransactionOptions result = new com.google.firestore.v1.TransactionOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1906,10 +1739,12 @@ private void buildPartial0(com.google.firestore.v1.TransactionOptions result) { private void buildPartialOneofs(com.google.firestore.v1.TransactionOptions result) { result.modeCase_ = modeCase_; result.mode_ = this.mode_; - if (modeCase_ == 2 && readOnlyBuilder_ != null) { + if (modeCase_ == 2 && + readOnlyBuilder_ != null) { result.mode_ = readOnlyBuilder_.build(); } - if (modeCase_ == 3 && readWriteBuilder_ != null) { + if (modeCase_ == 3 && + readWriteBuilder_ != null) { result.mode_ = readWriteBuilder_.build(); } } @@ -1918,39 +1753,38 @@ private void buildPartialOneofs(com.google.firestore.v1.TransactionOptions resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.TransactionOptions) { - return mergeFrom((com.google.firestore.v1.TransactionOptions) other); + return mergeFrom((com.google.firestore.v1.TransactionOptions)other); } else { super.mergeFrom(other); return this; @@ -1960,20 +1794,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.v1.TransactionOptions other) { if (other == com.google.firestore.v1.TransactionOptions.getDefaultInstance()) return this; switch (other.getModeCase()) { - case READ_ONLY: - { - mergeReadOnly(other.getReadOnly()); - break; - } - case READ_WRITE: - { - mergeReadWrite(other.getReadWrite()); - break; - } - case MODE_NOT_SET: - { - break; - } + case READ_ONLY: { + mergeReadOnly(other.getReadOnly()); + break; + } + case READ_WRITE: { + mergeReadWrite(other.getReadWrite()); + break; + } + case MODE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2001,25 +1832,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage(getReadOnlyFieldBuilder().getBuilder(), extensionRegistry); - modeCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getReadWriteFieldBuilder().getBuilder(), extensionRegistry); - modeCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getReadOnlyFieldBuilder().getBuilder(), + extensionRegistry); + modeCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getReadWriteFieldBuilder().getBuilder(), + extensionRegistry); + modeCase_ = 3; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2029,12 +1861,12 @@ public Builder mergeFrom( } // finally return this; } - private int modeCase_ = 0; private java.lang.Object mode_; - - public ModeCase getModeCase() { - return ModeCase.forNumber(modeCase_); + public ModeCase + getModeCase() { + return ModeCase.forNumber( + modeCase_); } public Builder clearMode() { @@ -2047,19 +1879,13 @@ public Builder clearMode() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadOnly, - com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, - com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder> - readOnlyBuilder_; + com.google.firestore.v1.TransactionOptions.ReadOnly, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder> readOnlyBuilder_; /** - * - * *
      * The transaction can only be used for read operations.
      * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -2067,14 +1893,11 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
      * The transaction can only be used for read operations.
      * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override @@ -2092,8 +1915,6 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2114,8 +1935,6 @@ public Builder setReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly v return this; } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2134,8 +1953,6 @@ public Builder setReadOnly( return this; } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2144,13 +1961,10 @@ public Builder setReadOnly( */ public Builder mergeReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly value) { if (readOnlyBuilder_ == null) { - if (modeCase_ == 2 - && mode_ != com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { - mode_ = - com.google.firestore.v1.TransactionOptions.ReadOnly.newBuilder( - (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_) - .mergeFrom(value) - .buildPartial(); + if (modeCase_ == 2 && + mode_ != com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { + mode_ = com.google.firestore.v1.TransactionOptions.ReadOnly.newBuilder((com.google.firestore.v1.TransactionOptions.ReadOnly) mode_) + .mergeFrom(value).buildPartial(); } else { mode_ = value; } @@ -2166,8 +1980,6 @@ public Builder mergeReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly return this; } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2191,8 +2003,6 @@ public Builder clearReadOnly() { return this; } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2203,8 +2013,6 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBu return getReadOnlyFieldBuilder().getBuilder(); } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2223,8 +2031,6 @@ public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO } } /** - * - * *
      * The transaction can only be used for read operations.
      * 
@@ -2232,19 +2038,14 @@ public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadOnly, - com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, - com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder> + com.google.firestore.v1.TransactionOptions.ReadOnly, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder> getReadOnlyFieldBuilder() { if (readOnlyBuilder_ == null) { if (!(modeCase_ == 2)) { mode_ = com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } - readOnlyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadOnly, - com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, - com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder>( + readOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions.ReadOnly, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder>( (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_, getParentForChildren(), isClean()); @@ -2256,19 +2057,13 @@ public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadWrite, - com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, - com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder> - readWriteBuilder_; + com.google.firestore.v1.TransactionOptions.ReadWrite, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder> readWriteBuilder_; /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -2276,14 +2071,11 @@ public boolean hasReadWrite() { return modeCase_ == 3; } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return The readWrite. */ @java.lang.Override @@ -2301,8 +2093,6 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2323,8 +2113,6 @@ public Builder setReadWrite(com.google.firestore.v1.TransactionOptions.ReadWrite return this; } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2343,8 +2131,6 @@ public Builder setReadWrite( return this; } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2353,13 +2139,10 @@ public Builder setReadWrite( */ public Builder mergeReadWrite(com.google.firestore.v1.TransactionOptions.ReadWrite value) { if (readWriteBuilder_ == null) { - if (modeCase_ == 3 - && mode_ != com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { - mode_ = - com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder( - (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_) - .mergeFrom(value) - .buildPartial(); + if (modeCase_ == 3 && + mode_ != com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { + mode_ = com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder((com.google.firestore.v1.TransactionOptions.ReadWrite) mode_) + .mergeFrom(value).buildPartial(); } else { mode_ = value; } @@ -2375,8 +2158,6 @@ public Builder mergeReadWrite(com.google.firestore.v1.TransactionOptions.ReadWri return this; } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2400,8 +2181,6 @@ public Builder clearReadWrite() { return this; } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2412,8 +2191,6 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite.Builder getReadWrite return getReadWriteFieldBuilder().getBuilder(); } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2432,8 +2209,6 @@ public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit } } /** - * - * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2441,19 +2216,14 @@ public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadWrite, - com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, - com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder> + com.google.firestore.v1.TransactionOptions.ReadWrite, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder> getReadWriteFieldBuilder() { if (readWriteBuilder_ == null) { if (!(modeCase_ == 3)) { mode_ = com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } - readWriteBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadWrite, - com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, - com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder>( + readWriteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions.ReadWrite, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder>( (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_, getParentForChildren(), isClean()); @@ -2463,9 +2233,9 @@ public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit onChanged(); return readWriteBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2475,12 +2245,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.TransactionOptions) } // @@protoc_insertion_point(class_scope:google.firestore.v1.TransactionOptions) private static final com.google.firestore.v1.TransactionOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.TransactionOptions(); } @@ -2489,27 +2259,27 @@ public static com.google.firestore.v1.TransactionOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransactionOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransactionOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2524,4 +2294,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.TransactionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java similarity index 73% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java index 7010d2dba..b2bddcce3 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; -public interface TransactionOptionsOrBuilder - extends +public interface TransactionOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ boolean hasReadOnly(); /** - * - * *
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly(); /** - * - * *
    * The transaction can only be used for read operations.
    * 
@@ -59,32 +35,24 @@ public interface TransactionOptionsOrBuilder com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder(); /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return Whether the readWrite field is set. */ boolean hasReadWrite(); /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; - * * @return The readWrite. */ com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite(); /** - * - * *
    * The transaction can be used for both read and write operations.
    * 
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java similarity index 73% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java index c6846f02f..86425d15f 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The request for
  * [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
@@ -28,57 +11,52 @@
  *
  * Protobuf type {@code google.firestore.v1.UpdateDocumentRequest}
  */
-public final class UpdateDocumentRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateDocumentRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.UpdateDocumentRequest)
     UpdateDocumentRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateDocumentRequest.newBuilder() to construct.
   private UpdateDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateDocumentRequest() {}
+  private UpdateDocumentRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateDocumentRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.UpdateDocumentRequest.class,
-            com.google.firestore.v1.UpdateDocumentRequest.Builder.class);
+            com.google.firestore.v1.UpdateDocumentRequest.class, com.google.firestore.v1.UpdateDocumentRequest.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.Document document_;
   /**
-   *
-   *
    * 
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the document field is set. */ @java.lang.Override @@ -86,16 +64,12 @@ public boolean hasDocument() { return document_ != null; } /** - * - * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The document. */ @java.lang.Override @@ -103,15 +77,12 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** - * - * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { @@ -121,8 +92,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.firestore.v1.DocumentMask updateMask_; /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -133,7 +102,6 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -141,8 +109,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -153,18 +119,13 @@ public boolean hasUpdateMask() {
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override public com.google.firestore.v1.DocumentMask getUpdateMask() { - return updateMask_ == null - ? com.google.firestore.v1.DocumentMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -178,16 +139,12 @@ public com.google.firestore.v1.DocumentMask getUpdateMask() {
    */
   @java.lang.Override
   public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
-    return updateMask_ == null
-        ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
-        : updateMask_;
+    return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
   }
 
   public static final int MASK_FIELD_NUMBER = 3;
   private com.google.firestore.v1.DocumentMask mask_;
   /**
-   *
-   *
    * 
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -195,7 +152,6 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ @java.lang.Override @@ -203,8 +159,6 @@ public boolean hasMask() { return mask_ != null; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -212,7 +166,6 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ @java.lang.Override @@ -220,8 +173,6 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -238,15 +189,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
   public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4;
   private com.google.firestore.v1.Precondition currentDocument_;
   /**
-   *
-   *
    * 
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -254,26 +202,19 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ @java.lang.Override public com.google.firestore.v1.Precondition getCurrentDocument() { - return currentDocument_ == null - ? com.google.firestore.v1.Precondition.getDefaultInstance() - : currentDocument_; + return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; } /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
@@ -283,13 +224,10 @@ public com.google.firestore.v1.Precondition getCurrentDocument() {
    */
   @java.lang.Override
   public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() {
-    return currentDocument_ == null
-        ? com.google.firestore.v1.Precondition.getDefaultInstance()
-        : currentDocument_;
+    return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -301,7 +239,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (document_ != null) {
       output.writeMessage(1, getDocument());
     }
@@ -324,16 +263,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (document_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDocument());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getDocument());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     if (mask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMask());
     }
     if (currentDocument_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCurrentDocument());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getCurrentDocument());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -343,29 +286,32 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.UpdateDocumentRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.UpdateDocumentRequest other =
-        (com.google.firestore.v1.UpdateDocumentRequest) obj;
+    com.google.firestore.v1.UpdateDocumentRequest other = (com.google.firestore.v1.UpdateDocumentRequest) obj;
 
     if (hasDocument() != other.hasDocument()) return false;
     if (hasDocument()) {
-      if (!getDocument().equals(other.getDocument())) return false;
+      if (!getDocument()
+          .equals(other.getDocument())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (hasMask() != other.hasMask()) return false;
     if (hasMask()) {
-      if (!getMask().equals(other.getMask())) return false;
+      if (!getMask()
+          .equals(other.getMask())) return false;
     }
     if (hasCurrentDocument() != other.hasCurrentDocument()) return false;
     if (hasCurrentDocument()) {
-      if (!getCurrentDocument().equals(other.getCurrentDocument())) return false;
+      if (!getCurrentDocument()
+          .equals(other.getCurrentDocument())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -399,104 +345,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.UpdateDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.firestore.v1.UpdateDocumentRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.UpdateDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.UpdateDocumentRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request for
    * [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
@@ -504,32 +443,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.UpdateDocumentRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.UpdateDocumentRequest)
       com.google.firestore.v1.UpdateDocumentRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.UpdateDocumentRequest.class,
-              com.google.firestore.v1.UpdateDocumentRequest.Builder.class);
+              com.google.firestore.v1.UpdateDocumentRequest.class, com.google.firestore.v1.UpdateDocumentRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.UpdateDocumentRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -558,9 +498,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
     }
 
     @java.lang.Override
@@ -579,11 +519,8 @@ public com.google.firestore.v1.UpdateDocumentRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.UpdateDocumentRequest buildPartial() {
-      com.google.firestore.v1.UpdateDocumentRequest result =
-          new com.google.firestore.v1.UpdateDocumentRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.firestore.v1.UpdateDocumentRequest result = new com.google.firestore.v1.UpdateDocumentRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -591,17 +528,24 @@ public com.google.firestore.v1.UpdateDocumentRequest buildPartial() {
     private void buildPartial0(com.google.firestore.v1.UpdateDocumentRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.document_ = documentBuilder_ == null ? document_ : documentBuilder_.build();
+        result.document_ = documentBuilder_ == null
+            ? document_
+            : documentBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
+        result.mask_ = maskBuilder_ == null
+            ? mask_
+            : maskBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.currentDocument_ =
-            currentDocumentBuilder_ == null ? currentDocument_ : currentDocumentBuilder_.build();
+        result.currentDocument_ = currentDocumentBuilder_ == null
+            ? currentDocument_
+            : currentDocumentBuilder_.build();
       }
     }
 
@@ -609,39 +553,38 @@ private void buildPartial0(com.google.firestore.v1.UpdateDocumentRequest result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.UpdateDocumentRequest) {
-        return mergeFrom((com.google.firestore.v1.UpdateDocumentRequest) other);
+        return mergeFrom((com.google.firestore.v1.UpdateDocumentRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -688,37 +631,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCurrentDocumentFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getDocumentFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCurrentDocumentFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -728,63 +674,46 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.firestore.v1.Document document_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Document,
-            com.google.firestore.v1.Document.Builder,
-            com.google.firestore.v1.DocumentOrBuilder>
-        documentBuilder_;
+        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_;
     /**
-     *
-     *
      * 
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the document field is set. */ public boolean hasDocument() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The document. */ public com.google.firestore.v1.Document getDocument() { if (documentBuilder_ == null) { - return document_ == null - ? com.google.firestore.v1.Document.getDefaultInstance() - : document_; + return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } else { return documentBuilder_.getMessage(); } } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { @@ -800,17 +729,15 @@ public Builder setDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setDocument( + com.google.firestore.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { document_ = builderForValue.build(); } else { @@ -821,21 +748,18 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa return this; } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && document_ != null - && document_ != com.google.firestore.v1.Document.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + document_ != null && + document_ != com.google.firestore.v1.Document.getDefaultInstance()) { getDocumentBuilder().mergeFrom(value); } else { document_ = value; @@ -848,15 +772,12 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDocument() { bitField0_ = (bitField0_ & ~0x00000001); @@ -869,15 +790,12 @@ public Builder clearDocument() { return this; } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { bitField0_ |= 0x00000001; @@ -885,48 +803,38 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { return getDocumentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { return documentBuilder_.getMessageOrBuilder(); } else { - return document_ == null - ? com.google.firestore.v1.Document.getDefaultInstance() - : document_; + return document_ == null ? + com.google.firestore.v1.Document.getDefaultInstance() : document_; } } /** - * - * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> getDocumentFieldBuilder() { if (documentBuilder_ == null) { - documentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder>( - getDocument(), getParentForChildren(), isClean()); + documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), + getParentForChildren(), + isClean()); document_ = null; } return documentBuilder_; @@ -934,13 +842,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { private com.google.firestore.v1.DocumentMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - updateMaskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -951,15 +854,12 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -970,21 +870,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return The updateMask. */ public com.google.firestore.v1.DocumentMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.firestore.v1.DocumentMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1010,8 +905,6 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1023,7 +916,8 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
       } else {
@@ -1034,8 +928,6 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1049,9 +941,9 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builde
      */
     public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       if (updateMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && updateMask_ != null
-            && updateMask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          updateMask_ != null &&
+          updateMask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getUpdateMaskBuilder().mergeFrom(value);
         } else {
           updateMask_ = value;
@@ -1064,8 +956,6 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1088,8 +978,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1107,8 +995,6 @@ public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1124,14 +1010,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1144,17 +1027,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -1162,13 +1042,8 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.firestore.v1.DocumentMask mask_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
-        maskBuilder_;
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_;
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1176,15 +1051,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ public boolean hasMask() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1192,7 +1064,6 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1203,8 +1074,6 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** - * - * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1227,8 +1096,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1237,7 +1104,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 3;
      */
-    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
       } else {
@@ -1248,8 +1116,6 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1260,9 +1126,9 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
      */
     public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && mask_ != null
-            && mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          mask_ != null &&
+          mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getMaskBuilder().mergeFrom(value);
         } else {
           mask_ = value;
@@ -1275,8 +1141,6 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1296,8 +1160,6 @@ public Builder clearMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1312,8 +1174,6 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1326,12 +1186,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1341,17 +1200,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(), getParentForChildren(), isClean());
+        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(),
+                getParentForChildren(),
+                isClean());
         mask_ = null;
       }
       return maskBuilder_;
@@ -1359,49 +1215,36 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
     private com.google.firestore.v1.Precondition currentDocument_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition,
-            com.google.firestore.v1.Precondition.Builder,
-            com.google.firestore.v1.PreconditionOrBuilder>
-        currentDocumentBuilder_;
+        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> currentDocumentBuilder_;
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ public boolean hasCurrentDocument() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ public com.google.firestore.v1.Precondition getCurrentDocument() { if (currentDocumentBuilder_ == null) { - return currentDocument_ == null - ? com.google.firestore.v1.Precondition.getDefaultInstance() - : currentDocument_; + return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; } else { return currentDocumentBuilder_.getMessage(); } } /** - * - * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1423,8 +1266,6 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1444,8 +1285,6 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1455,9 +1294,9 @@ public Builder setCurrentDocument(
      */
     public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value) {
       if (currentDocumentBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && currentDocument_ != null
-            && currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          currentDocument_ != null &&
+          currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
           getCurrentDocumentBuilder().mergeFrom(value);
         } else {
           currentDocument_ = value;
@@ -1470,8 +1309,6 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1490,8 +1327,6 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1505,8 +1340,6 @@ public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder()
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1518,14 +1351,11 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
       if (currentDocumentBuilder_ != null) {
         return currentDocumentBuilder_.getMessageOrBuilder();
       } else {
-        return currentDocument_ == null
-            ? com.google.firestore.v1.Precondition.getDefaultInstance()
-            : currentDocument_;
+        return currentDocument_ == null ?
+            com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
       }
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1534,24 +1364,21 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
      * .google.firestore.v1.Precondition current_document = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition,
-            com.google.firestore.v1.Precondition.Builder,
-            com.google.firestore.v1.PreconditionOrBuilder>
+        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> 
         getCurrentDocumentFieldBuilder() {
       if (currentDocumentBuilder_ == null) {
-        currentDocumentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Precondition,
-                com.google.firestore.v1.Precondition.Builder,
-                com.google.firestore.v1.PreconditionOrBuilder>(
-                getCurrentDocument(), getParentForChildren(), isClean());
+        currentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder>(
+                getCurrentDocument(),
+                getParentForChildren(),
+                isClean());
         currentDocument_ = null;
       }
       return currentDocumentBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1561,12 +1388,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.UpdateDocumentRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.UpdateDocumentRequest)
   private static final com.google.firestore.v1.UpdateDocumentRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.UpdateDocumentRequest();
   }
@@ -1575,27 +1402,27 @@ public static com.google.firestore.v1.UpdateDocumentRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateDocumentRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateDocumentRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1610,4 +1437,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.UpdateDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
similarity index 83%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
index bd85f98ec..36fa7c364 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
@@ -1,72 +1,43 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface UpdateDocumentRequestOrBuilder
-    extends
+public interface UpdateDocumentRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.UpdateDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the document field is set. */ boolean hasDocument(); /** - * - * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The document. */ com.google.firestore.v1.Document getDocument(); /** - * - * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -77,13 +48,10 @@ public interface UpdateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -94,13 +62,10 @@ public interface UpdateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; - * * @return The updateMask. */ com.google.firestore.v1.DocumentMask getUpdateMask(); /** - * - * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -115,8 +80,6 @@ public interface UpdateDocumentRequestOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -124,13 +87,10 @@ public interface UpdateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return Whether the mask field is set. */ boolean hasMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -138,13 +98,10 @@ public interface UpdateDocumentRequestOrBuilder
    * 
* * .google.firestore.v1.DocumentMask mask = 3; - * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** - * - * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -156,34 +113,26 @@ public interface UpdateDocumentRequestOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
similarity index 74%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
index d1632b868..85745929c 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
@@ -1,75 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * A message that can hold any of the supported value types.
  * 
* * Protobuf type {@code google.firestore.v1.Value} */ -public final class Value extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Value extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Value) ValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Value.newBuilder() to construct. private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Value() {} + private Value() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Value(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_Value_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_Value_fieldAccessorTable + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Value.class, com.google.firestore.v1.Value.Builder.class); } private int valueTypeCase_ = 0; private java.lang.Object valueType_; - public enum ValueTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NULL_VALUE(11), BOOLEAN_VALUE(1), @@ -84,7 +65,6 @@ public enum ValueTypeCase MAP_VALUE(6), VALUETYPE_NOT_SET(0); private final int value; - private ValueTypeCase(int value) { this.value = value; } @@ -100,68 +80,50 @@ public static ValueTypeCase valueOf(int value) { public static ValueTypeCase forNumber(int value) { switch (value) { - case 11: - return NULL_VALUE; - case 1: - return BOOLEAN_VALUE; - case 2: - return INTEGER_VALUE; - case 3: - return DOUBLE_VALUE; - case 10: - return TIMESTAMP_VALUE; - case 17: - return STRING_VALUE; - case 18: - return BYTES_VALUE; - case 5: - return REFERENCE_VALUE; - case 8: - return GEO_POINT_VALUE; - case 9: - return ARRAY_VALUE; - case 6: - return MAP_VALUE; - case 0: - return VALUETYPE_NOT_SET; - default: - return null; + case 11: return NULL_VALUE; + case 1: return BOOLEAN_VALUE; + case 2: return INTEGER_VALUE; + case 3: return DOUBLE_VALUE; + case 10: return TIMESTAMP_VALUE; + case 17: return STRING_VALUE; + case 18: return BYTES_VALUE; + case 5: return REFERENCE_VALUE; + case 8: return GEO_POINT_VALUE; + case 9: return ARRAY_VALUE; + case 6: return MAP_VALUE; + case 0: return VALUETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueTypeCase getValueTypeCase() { - return ValueTypeCase.forNumber(valueTypeCase_); + public ValueTypeCase + getValueTypeCase() { + return ValueTypeCase.forNumber( + valueTypeCase_); } public static final int NULL_VALUE_FIELD_NUMBER = 11; /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return Whether the nullValue field is set. */ public boolean hasNullValue() { return valueTypeCase_ == 11; } /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The enum numeric value on the wire for nullValue. */ public int getNullValueValue() { @@ -171,20 +133,17 @@ public int getNullValueValue() { return 0; } /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The nullValue. */ public com.google.protobuf.NullValue getNullValue() { if (valueTypeCase_ == 11) { - com.google.protobuf.NullValue result = - com.google.protobuf.NullValue.forNumber((java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( + (java.lang.Integer) valueType_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; @@ -192,14 +151,11 @@ public com.google.protobuf.NullValue getNullValue() { public static final int BOOLEAN_VALUE_FIELD_NUMBER = 1; /** - * - * *
    * A boolean value.
    * 
* * bool boolean_value = 1; - * * @return Whether the booleanValue field is set. */ @java.lang.Override @@ -207,14 +163,11 @@ public boolean hasBooleanValue() { return valueTypeCase_ == 1; } /** - * - * *
    * A boolean value.
    * 
* * bool boolean_value = 1; - * * @return The booleanValue. */ @java.lang.Override @@ -227,14 +180,11 @@ public boolean getBooleanValue() { public static final int INTEGER_VALUE_FIELD_NUMBER = 2; /** - * - * *
    * An integer value.
    * 
* * int64 integer_value = 2; - * * @return Whether the integerValue field is set. */ @java.lang.Override @@ -242,14 +192,11 @@ public boolean hasIntegerValue() { return valueTypeCase_ == 2; } /** - * - * *
    * An integer value.
    * 
* * int64 integer_value = 2; - * * @return The integerValue. */ @java.lang.Override @@ -262,14 +209,11 @@ public long getIntegerValue() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * A double value.
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -277,14 +221,11 @@ public boolean hasDoubleValue() { return valueTypeCase_ == 3; } /** - * - * *
    * A double value.
    * 
* * double double_value = 3; - * * @return The doubleValue. */ @java.lang.Override @@ -297,8 +238,6 @@ public double getDoubleValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 10; /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -306,7 +245,6 @@ public double getDoubleValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -314,8 +252,6 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -323,19 +259,16 @@ public boolean hasTimestampValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (valueTypeCase_ == 10) { - return (com.google.protobuf.Timestamp) valueType_; + return (com.google.protobuf.Timestamp) valueType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -347,15 +280,13 @@ public com.google.protobuf.Timestamp getTimestampValue() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
     if (valueTypeCase_ == 10) {
-      return (com.google.protobuf.Timestamp) valueType_;
+       return (com.google.protobuf.Timestamp) valueType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   public static final int STRING_VALUE_FIELD_NUMBER = 17;
   /**
-   *
-   *
    * 
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -364,15 +295,12 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
    * 
* * string string_value = 17; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** - * - * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -381,7 +309,6 @@ public boolean hasStringValue() {
    * 
* * string string_value = 17; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -392,7 +319,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 17) { valueType_ = s; @@ -401,8 +329,6 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -411,17 +337,18 @@ public java.lang.String getStringValue() {
    * 
* * string string_value = 17; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 17) { ref = valueType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueTypeCase_ == 17) { valueType_ = b; } @@ -433,8 +360,6 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int BYTES_VALUE_FIELD_NUMBER = 18; /** - * - * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -442,7 +367,6 @@ public com.google.protobuf.ByteString getStringValueBytes() {
    * 
* * bytes bytes_value = 18; - * * @return Whether the bytesValue field is set. */ @java.lang.Override @@ -450,8 +374,6 @@ public boolean hasBytesValue() { return valueTypeCase_ == 18; } /** - * - * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -459,7 +381,6 @@ public boolean hasBytesValue() {
    * 
* * bytes bytes_value = 18; - * * @return The bytesValue. */ @java.lang.Override @@ -472,30 +393,24 @@ public com.google.protobuf.ByteString getBytesValue() { public static final int REFERENCE_VALUE_FIELD_NUMBER = 5; /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return Whether the referenceValue field is set. */ public boolean hasReferenceValue() { return valueTypeCase_ == 5; } /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return The referenceValue. */ public java.lang.String getReferenceValue() { @@ -506,7 +421,8 @@ public java.lang.String getReferenceValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 5) { valueType_ = s; @@ -515,25 +431,24 @@ public java.lang.String getReferenceValue() { } } /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return The bytes for referenceValue. */ - public com.google.protobuf.ByteString getReferenceValueBytes() { + public com.google.protobuf.ByteString + getReferenceValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 5) { ref = valueType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueTypeCase_ == 5) { valueType_ = b; } @@ -545,14 +460,11 @@ public com.google.protobuf.ByteString getReferenceValueBytes() { public static final int GEO_POINT_VALUE_FIELD_NUMBER = 8; /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; - * * @return Whether the geoPointValue field is set. */ @java.lang.Override @@ -560,26 +472,21 @@ public boolean hasGeoPointValue() { return valueTypeCase_ == 8; } /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; - * * @return The geoPointValue. */ @java.lang.Override public com.google.type.LatLng getGeoPointValue() { if (valueTypeCase_ == 8) { - return (com.google.type.LatLng) valueType_; + return (com.google.type.LatLng) valueType_; } return com.google.type.LatLng.getDefaultInstance(); } /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
@@ -589,15 +496,13 @@ public com.google.type.LatLng getGeoPointValue() { @java.lang.Override public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { if (valueTypeCase_ == 8) { - return (com.google.type.LatLng) valueType_; + return (com.google.type.LatLng) valueType_; } return com.google.type.LatLng.getDefaultInstance(); } public static final int ARRAY_VALUE_FIELD_NUMBER = 9; /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -605,7 +510,6 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -613,8 +517,6 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -622,19 +524,16 @@ public boolean hasArrayValue() {
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return The arrayValue. */ @java.lang.Override public com.google.firestore.v1.ArrayValue getArrayValue() { if (valueTypeCase_ == 9) { - return (com.google.firestore.v1.ArrayValue) valueType_; + return (com.google.firestore.v1.ArrayValue) valueType_; } return com.google.firestore.v1.ArrayValue.getDefaultInstance(); } /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -646,21 +545,18 @@ public com.google.firestore.v1.ArrayValue getArrayValue() {
   @java.lang.Override
   public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
     if (valueTypeCase_ == 9) {
-      return (com.google.firestore.v1.ArrayValue) valueType_;
+       return (com.google.firestore.v1.ArrayValue) valueType_;
     }
     return com.google.firestore.v1.ArrayValue.getDefaultInstance();
   }
 
   public static final int MAP_VALUE_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return Whether the mapValue field is set. */ @java.lang.Override @@ -668,26 +564,21 @@ public boolean hasMapValue() { return valueTypeCase_ == 6; } /** - * - * *
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return The mapValue. */ @java.lang.Override public com.google.firestore.v1.MapValue getMapValue() { if (valueTypeCase_ == 6) { - return (com.google.firestore.v1.MapValue) valueType_; + return (com.google.firestore.v1.MapValue) valueType_; } return com.google.firestore.v1.MapValue.getDefaultInstance(); } /** - * - * *
    * A map value.
    * 
@@ -697,13 +588,12 @@ public com.google.firestore.v1.MapValue getMapValue() { @java.lang.Override public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { if (valueTypeCase_ == 6) { - return (com.google.firestore.v1.MapValue) valueType_; + return (com.google.firestore.v1.MapValue) valueType_; } return com.google.firestore.v1.MapValue.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -715,15 +605,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (valueTypeCase_ == 1) { - output.writeBool(1, (boolean) ((java.lang.Boolean) valueType_)); + output.writeBool( + 1, (boolean)((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) valueType_)); + output.writeInt64( + 2, (long)((java.lang.Long) valueType_)); } if (valueTypeCase_ == 3) { - output.writeDouble(3, (double) ((java.lang.Double) valueType_)); + output.writeDouble( + 3, (double)((java.lang.Double) valueType_)); } if (valueTypeCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, valueType_); @@ -747,7 +641,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 17, valueType_); } if (valueTypeCase_ == 18) { - output.writeBytes(18, (com.google.protobuf.ByteString) valueType_); + output.writeBytes( + 18, (com.google.protobuf.ByteString) valueType_); } getUnknownFields().writeTo(output); } @@ -759,55 +654,50 @@ public int getSerializedSize() { size = 0; if (valueTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, (boolean) ((java.lang.Boolean) valueType_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 1, (boolean)((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) valueType_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) valueType_)); } if (valueTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 3, (double) ((java.lang.Double) valueType_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 3, (double)((java.lang.Double) valueType_)); } if (valueTypeCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, valueType_); } if (valueTypeCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.firestore.v1.MapValue) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.firestore.v1.MapValue) valueType_); } if (valueTypeCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.type.LatLng) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.type.LatLng) valueType_); } if (valueTypeCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, (com.google.firestore.v1.ArrayValue) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.firestore.v1.ArrayValue) valueType_); } if (valueTypeCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, (com.google.protobuf.Timestamp) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, (com.google.protobuf.Timestamp) valueType_); } if (valueTypeCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 11, ((java.lang.Integer) valueType_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, ((java.lang.Integer) valueType_)); } if (valueTypeCase_ == 17) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, valueType_); } if (valueTypeCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 18, (com.google.protobuf.ByteString) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 18, (com.google.protobuf.ByteString) valueType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -817,7 +707,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Value)) { return super.equals(obj); @@ -827,38 +717,49 @@ public boolean equals(final java.lang.Object obj) { if (!getValueTypeCase().equals(other.getValueTypeCase())) return false; switch (valueTypeCase_) { case 11: - if (getNullValueValue() != other.getNullValueValue()) return false; + if (getNullValueValue() + != other.getNullValueValue()) return false; break; case 1: - if (getBooleanValue() != other.getBooleanValue()) return false; + if (getBooleanValue() + != other.getBooleanValue()) return false; break; case 2: - if (getIntegerValue() != other.getIntegerValue()) return false; + if (getIntegerValue() + != other.getIntegerValue()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 10: - if (!getTimestampValue().equals(other.getTimestampValue())) return false; + if (!getTimestampValue() + .equals(other.getTimestampValue())) return false; break; case 17: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 18: - if (!getBytesValue().equals(other.getBytesValue())) return false; + if (!getBytesValue() + .equals(other.getBytesValue())) return false; break; case 5: - if (!getReferenceValue().equals(other.getReferenceValue())) return false; + if (!getReferenceValue() + .equals(other.getReferenceValue())) return false; break; case 8: - if (!getGeoPointValue().equals(other.getGeoPointValue())) return false; + if (!getGeoPointValue() + .equals(other.getGeoPointValue())) return false; break; case 9: - if (!getArrayValue().equals(other.getArrayValue())) return false; + if (!getArrayValue() + .equals(other.getArrayValue())) return false; break; case 6: - if (!getMapValue().equals(other.getMapValue())) return false; + if (!getMapValue() + .equals(other.getMapValue())) return false; break; case 0: default: @@ -881,18 +782,18 @@ public int hashCode() { break; case 1: hash = (37 * hash) + BOOLEAN_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBooleanValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBooleanValue()); break; case 2: hash = (37 * hash) + INTEGER_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntegerValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIntegerValue()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 10: hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; @@ -930,134 +831,130 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.Value parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.Value parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Value parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.Value parseFrom(com.google.protobuf.ByteString data) + public static com.google.firestore.v1.Value parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Value parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.Value parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Value parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.Value parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.Value parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.firestore.v1.Value parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.firestore.v1.Value parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.Value parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.Value prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A message that can hold any of the supported value types.
    * 
* * Protobuf type {@code google.firestore.v1.Value} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Value) com.google.firestore.v1.ValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_Value_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_Value_fieldAccessorTable + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Value.class, com.google.firestore.v1.Value.Builder.class); } // Construct using com.google.firestore.v1.Value.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1080,9 +977,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.DocumentProto - .internal_static_google_firestore_v1_Value_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_descriptor; } @java.lang.Override @@ -1102,9 +999,7 @@ public com.google.firestore.v1.Value build() { @java.lang.Override public com.google.firestore.v1.Value buildPartial() { com.google.firestore.v1.Value result = new com.google.firestore.v1.Value(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1117,16 +1012,20 @@ private void buildPartial0(com.google.firestore.v1.Value result) { private void buildPartialOneofs(com.google.firestore.v1.Value result) { result.valueTypeCase_ = valueTypeCase_; result.valueType_ = this.valueType_; - if (valueTypeCase_ == 10 && timestampValueBuilder_ != null) { + if (valueTypeCase_ == 10 && + timestampValueBuilder_ != null) { result.valueType_ = timestampValueBuilder_.build(); } - if (valueTypeCase_ == 8 && geoPointValueBuilder_ != null) { + if (valueTypeCase_ == 8 && + geoPointValueBuilder_ != null) { result.valueType_ = geoPointValueBuilder_.build(); } - if (valueTypeCase_ == 9 && arrayValueBuilder_ != null) { + if (valueTypeCase_ == 9 && + arrayValueBuilder_ != null) { result.valueType_ = arrayValueBuilder_.build(); } - if (valueTypeCase_ == 6 && mapValueBuilder_ != null) { + if (valueTypeCase_ == 6 && + mapValueBuilder_ != null) { result.valueType_ = mapValueBuilder_.build(); } } @@ -1135,39 +1034,38 @@ private void buildPartialOneofs(com.google.firestore.v1.Value result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Value) { - return mergeFrom((com.google.firestore.v1.Value) other); + return mergeFrom((com.google.firestore.v1.Value)other); } else { super.mergeFrom(other); return this; @@ -1177,69 +1075,57 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.v1.Value other) { if (other == com.google.firestore.v1.Value.getDefaultInstance()) return this; switch (other.getValueTypeCase()) { - case NULL_VALUE: - { - setNullValueValue(other.getNullValueValue()); - break; - } - case BOOLEAN_VALUE: - { - setBooleanValue(other.getBooleanValue()); - break; - } - case INTEGER_VALUE: - { - setIntegerValue(other.getIntegerValue()); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case TIMESTAMP_VALUE: - { - mergeTimestampValue(other.getTimestampValue()); - break; - } - case STRING_VALUE: - { - valueTypeCase_ = 17; - valueType_ = other.valueType_; - onChanged(); - break; - } - case BYTES_VALUE: - { - setBytesValue(other.getBytesValue()); - break; - } - case REFERENCE_VALUE: - { - valueTypeCase_ = 5; - valueType_ = other.valueType_; - onChanged(); - break; - } - case GEO_POINT_VALUE: - { - mergeGeoPointValue(other.getGeoPointValue()); - break; - } - case ARRAY_VALUE: - { - mergeArrayValue(other.getArrayValue()); - break; - } - case MAP_VALUE: - { - mergeMapValue(other.getMapValue()); - break; - } - case VALUETYPE_NOT_SET: - { - break; - } + case NULL_VALUE: { + setNullValueValue(other.getNullValueValue()); + break; + } + case BOOLEAN_VALUE: { + setBooleanValue(other.getBooleanValue()); + break; + } + case INTEGER_VALUE: { + setIntegerValue(other.getIntegerValue()); + break; + } + case DOUBLE_VALUE: { + setDoubleValue(other.getDoubleValue()); + break; + } + case TIMESTAMP_VALUE: { + mergeTimestampValue(other.getTimestampValue()); + break; + } + case STRING_VALUE: { + valueTypeCase_ = 17; + valueType_ = other.valueType_; + onChanged(); + break; + } + case BYTES_VALUE: { + setBytesValue(other.getBytesValue()); + break; + } + case REFERENCE_VALUE: { + valueTypeCase_ = 5; + valueType_ = other.valueType_; + onChanged(); + break; + } + case GEO_POINT_VALUE: { + mergeGeoPointValue(other.getGeoPointValue()); + break; + } + case ARRAY_VALUE: { + mergeArrayValue(other.getArrayValue()); + break; + } + case MAP_VALUE: { + mergeMapValue(other.getMapValue()); + break; + } + case VALUETYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1267,82 +1153,78 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - valueType_ = input.readBool(); - valueTypeCase_ = 1; - break; - } // case 8 - case 16: - { - valueType_ = input.readInt64(); - valueTypeCase_ = 2; - break; - } // case 16 - case 25: - { - valueType_ = input.readDouble(); - valueTypeCase_ = 3; - break; - } // case 25 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - valueTypeCase_ = 5; - valueType_ = s; - break; - } // case 42 - case 50: - { - input.readMessage(getMapValueFieldBuilder().getBuilder(), extensionRegistry); - valueTypeCase_ = 6; - break; - } // case 50 - case 66: - { - input.readMessage(getGeoPointValueFieldBuilder().getBuilder(), extensionRegistry); - valueTypeCase_ = 8; - break; - } // case 66 - case 74: - { - input.readMessage(getArrayValueFieldBuilder().getBuilder(), extensionRegistry); - valueTypeCase_ = 9; - break; - } // case 74 - case 82: - { - input.readMessage(getTimestampValueFieldBuilder().getBuilder(), extensionRegistry); - valueTypeCase_ = 10; - break; - } // case 82 - case 88: - { - int rawValue = input.readEnum(); - valueTypeCase_ = 11; - valueType_ = rawValue; - break; - } // case 88 - case 138: - { - java.lang.String s = input.readStringRequireUtf8(); - valueTypeCase_ = 17; - valueType_ = s; - break; - } // case 138 - case 146: - { - valueType_ = input.readBytes(); - valueTypeCase_ = 18; - break; - } // case 146 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + valueType_ = input.readBool(); + valueTypeCase_ = 1; + break; + } // case 8 + case 16: { + valueType_ = input.readInt64(); + valueTypeCase_ = 2; + break; + } // case 16 + case 25: { + valueType_ = input.readDouble(); + valueTypeCase_ = 3; + break; + } // case 25 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + valueTypeCase_ = 5; + valueType_ = s; + break; + } // case 42 + case 50: { + input.readMessage( + getMapValueFieldBuilder().getBuilder(), + extensionRegistry); + valueTypeCase_ = 6; + break; + } // case 50 + case 66: { + input.readMessage( + getGeoPointValueFieldBuilder().getBuilder(), + extensionRegistry); + valueTypeCase_ = 8; + break; + } // case 66 + case 74: { + input.readMessage( + getArrayValueFieldBuilder().getBuilder(), + extensionRegistry); + valueTypeCase_ = 9; + break; + } // case 74 + case 82: { + input.readMessage( + getTimestampValueFieldBuilder().getBuilder(), + extensionRegistry); + valueTypeCase_ = 10; + break; + } // case 82 + case 88: { + int rawValue = input.readEnum(); + valueTypeCase_ = 11; + valueType_ = rawValue; + break; + } // case 88 + case 138: { + java.lang.String s = input.readStringRequireUtf8(); + valueTypeCase_ = 17; + valueType_ = s; + break; + } // case 138 + case 146: { + valueType_ = input.readBytes(); + valueTypeCase_ = 18; + break; + } // case 146 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1352,12 +1234,12 @@ public Builder mergeFrom( } // finally return this; } - private int valueTypeCase_ = 0; private java.lang.Object valueType_; - - public ValueTypeCase getValueTypeCase() { - return ValueTypeCase.forNumber(valueTypeCase_); + public ValueTypeCase + getValueTypeCase() { + return ValueTypeCase.forNumber( + valueTypeCase_); } public Builder clearValueType() { @@ -1370,14 +1252,11 @@ public Builder clearValueType() { private int bitField0_; /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @return Whether the nullValue field is set. */ @java.lang.Override @@ -1385,14 +1264,11 @@ public boolean hasNullValue() { return valueTypeCase_ == 11; } /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The enum numeric value on the wire for nullValue. */ @java.lang.Override @@ -1403,14 +1279,11 @@ public int getNullValueValue() { return 0; } /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @param value The enum numeric value on the wire for nullValue to set. * @return This builder for chaining. */ @@ -1421,34 +1294,28 @@ public Builder setNullValueValue(int value) { return this; } /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The nullValue. */ @java.lang.Override public com.google.protobuf.NullValue getNullValue() { if (valueTypeCase_ == 11) { - com.google.protobuf.NullValue result = - com.google.protobuf.NullValue.forNumber((java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( + (java.lang.Integer) valueType_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; } /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @param value The nullValue to set. * @return This builder for chaining. */ @@ -1462,14 +1329,11 @@ public Builder setNullValue(com.google.protobuf.NullValue value) { return this; } /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @return This builder for chaining. */ public Builder clearNullValue() { @@ -1482,28 +1346,22 @@ public Builder clearNullValue() { } /** - * - * *
      * A boolean value.
      * 
* * bool boolean_value = 1; - * * @return Whether the booleanValue field is set. */ public boolean hasBooleanValue() { return valueTypeCase_ == 1; } /** - * - * *
      * A boolean value.
      * 
* * bool boolean_value = 1; - * * @return The booleanValue. */ public boolean getBooleanValue() { @@ -1513,33 +1371,27 @@ public boolean getBooleanValue() { return false; } /** - * - * *
      * A boolean value.
      * 
* * bool boolean_value = 1; - * * @param value The booleanValue to set. * @return This builder for chaining. */ public Builder setBooleanValue(boolean value) { - + valueTypeCase_ = 1; valueType_ = value; onChanged(); return this; } /** - * - * *
      * A boolean value.
      * 
* * bool boolean_value = 1; - * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1552,28 +1404,22 @@ public Builder clearBooleanValue() { } /** - * - * *
      * An integer value.
      * 
* * int64 integer_value = 2; - * * @return Whether the integerValue field is set. */ public boolean hasIntegerValue() { return valueTypeCase_ == 2; } /** - * - * *
      * An integer value.
      * 
* * int64 integer_value = 2; - * * @return The integerValue. */ public long getIntegerValue() { @@ -1583,33 +1429,27 @@ public long getIntegerValue() { return 0L; } /** - * - * *
      * An integer value.
      * 
* * int64 integer_value = 2; - * * @param value The integerValue to set. * @return This builder for chaining. */ public Builder setIntegerValue(long value) { - + valueTypeCase_ = 2; valueType_ = value; onChanged(); return this; } /** - * - * *
      * An integer value.
      * 
* * int64 integer_value = 2; - * * @return This builder for chaining. */ public Builder clearIntegerValue() { @@ -1622,28 +1462,22 @@ public Builder clearIntegerValue() { } /** - * - * *
      * A double value.
      * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueTypeCase_ == 3; } /** - * - * *
      * A double value.
      * 
* * double double_value = 3; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1653,33 +1487,27 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * A double value.
      * 
* * double double_value = 3; - * * @param value The doubleValue to set. * @return This builder for chaining. */ public Builder setDoubleValue(double value) { - + valueTypeCase_ = 3; valueType_ = value; onChanged(); return this; } /** - * - * *
      * A double value.
      * 
* * double double_value = 3; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1692,13 +1520,8 @@ public Builder clearDoubleValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - timestampValueBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_; /** - * - * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1706,7 +1529,6 @@ public Builder clearDoubleValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1714,8 +1536,6 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** - * - * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1723,7 +1543,6 @@ public boolean hasTimestampValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return The timestampValue. */ @java.lang.Override @@ -1741,8 +1560,6 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** - * - * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1765,8 +1582,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1775,7 +1590,8 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp timestamp_value = 10;
      */
-    public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setTimestampValue(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (timestampValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -1786,8 +1602,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1798,12 +1612,10 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo
      */
     public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
       if (timestampValueBuilder_ == null) {
-        if (valueTypeCase_ == 10
-            && valueType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          valueType_ =
-              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) valueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueTypeCase_ == 10 &&
+            valueType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          valueType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) valueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           valueType_ = value;
         }
@@ -1819,8 +1631,6 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1846,8 +1656,6 @@ public Builder clearTimestampValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1860,8 +1668,6 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() {
       return getTimestampValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1882,8 +1688,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1893,20 +1697,17 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * .google.protobuf.Timestamp timestamp_value = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getTimestampValueFieldBuilder() {
       if (timestampValueBuilder_ == null) {
         if (!(valueTypeCase_ == 10)) {
           valueType_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        timestampValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) valueType_, getParentForChildren(), isClean());
+        timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) valueType_,
+                getParentForChildren(),
+                isClean());
         valueType_ = null;
       }
       valueTypeCase_ = 10;
@@ -1915,8 +1716,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
     }
 
     /**
-     *
-     *
      * 
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1925,7 +1724,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * 
* * string string_value = 17; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1933,8 +1731,6 @@ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** - * - * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1943,7 +1739,6 @@ public boolean hasStringValue() {
      * 
* * string string_value = 17; - * * @return The stringValue. */ @java.lang.Override @@ -1953,7 +1748,8 @@ public java.lang.String getStringValue() { ref = valueType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 17) { valueType_ = s; @@ -1964,8 +1760,6 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1974,18 +1768,19 @@ public java.lang.String getStringValue() {
      * 
* * string string_value = 17; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 17) { ref = valueType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueTypeCase_ == 17) { valueType_ = b; } @@ -1995,8 +1790,6 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -2005,22 +1798,18 @@ public com.google.protobuf.ByteString getStringValueBytes() {
      * 
* * string string_value = 17; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStringValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } valueTypeCase_ = 17; valueType_ = value; onChanged(); return this; } /** - * - * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -2029,7 +1818,6 @@ public Builder setStringValue(java.lang.String value) {
      * 
* * string string_value = 17; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -2041,8 +1829,6 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -2051,14 +1837,12 @@ public Builder clearStringValue() {
      * 
* * string string_value = 17; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valueTypeCase_ = 17; valueType_ = value; @@ -2067,8 +1851,6 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -2076,15 +1858,12 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes bytes_value = 18; - * * @return Whether the bytesValue field is set. */ public boolean hasBytesValue() { return valueTypeCase_ == 18; } /** - * - * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -2092,7 +1871,6 @@ public boolean hasBytesValue() {
      * 
* * bytes bytes_value = 18; - * * @return The bytesValue. */ public com.google.protobuf.ByteString getBytesValue() { @@ -2102,8 +1880,6 @@ public com.google.protobuf.ByteString getBytesValue() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -2111,22 +1887,17 @@ public com.google.protobuf.ByteString getBytesValue() {
      * 
* * bytes bytes_value = 18; - * * @param value The bytesValue to set. * @return This builder for chaining. */ public Builder setBytesValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } valueTypeCase_ = 18; valueType_ = value; onChanged(); return this; } /** - * - * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -2134,7 +1905,6 @@ public Builder setBytesValue(com.google.protobuf.ByteString value) {
      * 
* * bytes bytes_value = 18; - * * @return This builder for chaining. */ public Builder clearBytesValue() { @@ -2147,15 +1917,12 @@ public Builder clearBytesValue() { } /** - * - * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; - * * @return Whether the referenceValue field is set. */ @java.lang.Override @@ -2163,15 +1930,12 @@ public boolean hasReferenceValue() { return valueTypeCase_ == 5; } /** - * - * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; - * * @return The referenceValue. */ @java.lang.Override @@ -2181,7 +1945,8 @@ public java.lang.String getReferenceValue() { ref = valueType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 5) { valueType_ = s; @@ -2192,26 +1957,25 @@ public java.lang.String getReferenceValue() { } } /** - * - * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; - * * @return The bytes for referenceValue. */ @java.lang.Override - public com.google.protobuf.ByteString getReferenceValueBytes() { + public com.google.protobuf.ByteString + getReferenceValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 5) { ref = valueType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueTypeCase_ == 5) { valueType_ = b; } @@ -2221,37 +1985,30 @@ public com.google.protobuf.ByteString getReferenceValueBytes() { } } /** - * - * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; - * * @param value The referenceValue to set. * @return This builder for chaining. */ - public Builder setReferenceValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferenceValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } valueTypeCase_ = 5; valueType_ = value; onChanged(); return this; } /** - * - * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; - * * @return This builder for chaining. */ public Builder clearReferenceValue() { @@ -2263,22 +2020,18 @@ public Builder clearReferenceValue() { return this; } /** - * - * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; - * * @param value The bytes for referenceValue to set. * @return This builder for chaining. */ - public Builder setReferenceValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferenceValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valueTypeCase_ = 5; valueType_ = value; @@ -2287,17 +2040,13 @@ public Builder setReferenceValueBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - geoPointValueBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> geoPointValueBuilder_; /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
* * .google.type.LatLng geo_point_value = 8; - * * @return Whether the geoPointValue field is set. */ @java.lang.Override @@ -2305,14 +2054,11 @@ public boolean hasGeoPointValue() { return valueTypeCase_ == 8; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
* * .google.type.LatLng geo_point_value = 8; - * * @return The geoPointValue. */ @java.lang.Override @@ -2330,8 +2076,6 @@ public com.google.type.LatLng getGeoPointValue() { } } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2352,15 +2096,14 @@ public Builder setGeoPointValue(com.google.type.LatLng value) { return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
* * .google.type.LatLng geo_point_value = 8; */ - public Builder setGeoPointValue(com.google.type.LatLng.Builder builderForValue) { + public Builder setGeoPointValue( + com.google.type.LatLng.Builder builderForValue) { if (geoPointValueBuilder_ == null) { valueType_ = builderForValue.build(); onChanged(); @@ -2371,8 +2114,6 @@ public Builder setGeoPointValue(com.google.type.LatLng.Builder builderForValue) return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2381,11 +2122,10 @@ public Builder setGeoPointValue(com.google.type.LatLng.Builder builderForValue) */ public Builder mergeGeoPointValue(com.google.type.LatLng value) { if (geoPointValueBuilder_ == null) { - if (valueTypeCase_ == 8 && valueType_ != com.google.type.LatLng.getDefaultInstance()) { - valueType_ = - com.google.type.LatLng.newBuilder((com.google.type.LatLng) valueType_) - .mergeFrom(value) - .buildPartial(); + if (valueTypeCase_ == 8 && + valueType_ != com.google.type.LatLng.getDefaultInstance()) { + valueType_ = com.google.type.LatLng.newBuilder((com.google.type.LatLng) valueType_) + .mergeFrom(value).buildPartial(); } else { valueType_ = value; } @@ -2401,8 +2141,6 @@ public Builder mergeGeoPointValue(com.google.type.LatLng value) { return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2426,8 +2164,6 @@ public Builder clearGeoPointValue() { return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2438,8 +2174,6 @@ public com.google.type.LatLng.Builder getGeoPointValueBuilder() { return getGeoPointValueFieldBuilder().getBuilder(); } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2458,8 +2192,6 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2467,18 +2199,17 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { * .google.type.LatLng geo_point_value = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getGeoPointValueFieldBuilder() { if (geoPointValueBuilder_ == null) { if (!(valueTypeCase_ == 8)) { valueType_ = com.google.type.LatLng.getDefaultInstance(); } - geoPointValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>( - (com.google.type.LatLng) valueType_, getParentForChildren(), isClean()); + geoPointValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + (com.google.type.LatLng) valueType_, + getParentForChildren(), + isClean()); valueType_ = null; } valueTypeCase_ = 8; @@ -2487,13 +2218,8 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.ArrayValue, - com.google.firestore.v1.ArrayValue.Builder, - com.google.firestore.v1.ArrayValueOrBuilder> - arrayValueBuilder_; + com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> arrayValueBuilder_; /** - * - * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2501,7 +2227,6 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
      * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -2509,8 +2234,6 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** - * - * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2518,7 +2241,6 @@ public boolean hasArrayValue() {
      * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return The arrayValue. */ @java.lang.Override @@ -2536,8 +2258,6 @@ public com.google.firestore.v1.ArrayValue getArrayValue() { } } /** - * - * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2560,8 +2280,6 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2570,7 +2288,8 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue value) {
      *
      * .google.firestore.v1.ArrayValue array_value = 9;
      */
-    public Builder setArrayValue(com.google.firestore.v1.ArrayValue.Builder builderForValue) {
+    public Builder setArrayValue(
+        com.google.firestore.v1.ArrayValue.Builder builderForValue) {
       if (arrayValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -2581,8 +2300,6 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2593,13 +2310,10 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue.Builder builderF
      */
     public Builder mergeArrayValue(com.google.firestore.v1.ArrayValue value) {
       if (arrayValueBuilder_ == null) {
-        if (valueTypeCase_ == 9
-            && valueType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-          valueType_ =
-              com.google.firestore.v1.ArrayValue.newBuilder(
-                      (com.google.firestore.v1.ArrayValue) valueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueTypeCase_ == 9 &&
+            valueType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+          valueType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) valueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           valueType_ = value;
         }
@@ -2615,8 +2329,6 @@ public Builder mergeArrayValue(com.google.firestore.v1.ArrayValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2642,8 +2354,6 @@ public Builder clearArrayValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2656,8 +2366,6 @@ public com.google.firestore.v1.ArrayValue.Builder getArrayValueBuilder() {
       return getArrayValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2678,8 +2386,6 @@ public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2689,20 +2395,17 @@ public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
      * .google.firestore.v1.ArrayValue array_value = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.ArrayValue,
-            com.google.firestore.v1.ArrayValue.Builder,
-            com.google.firestore.v1.ArrayValueOrBuilder>
+        com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> 
         getArrayValueFieldBuilder() {
       if (arrayValueBuilder_ == null) {
         if (!(valueTypeCase_ == 9)) {
           valueType_ = com.google.firestore.v1.ArrayValue.getDefaultInstance();
         }
-        arrayValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.ArrayValue,
-                com.google.firestore.v1.ArrayValue.Builder,
-                com.google.firestore.v1.ArrayValueOrBuilder>(
-                (com.google.firestore.v1.ArrayValue) valueType_, getParentForChildren(), isClean());
+        arrayValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder>(
+                (com.google.firestore.v1.ArrayValue) valueType_,
+                getParentForChildren(),
+                isClean());
         valueType_ = null;
       }
       valueTypeCase_ = 9;
@@ -2711,19 +2414,13 @@ public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.MapValue,
-            com.google.firestore.v1.MapValue.Builder,
-            com.google.firestore.v1.MapValueOrBuilder>
-        mapValueBuilder_;
+        com.google.firestore.v1.MapValue, com.google.firestore.v1.MapValue.Builder, com.google.firestore.v1.MapValueOrBuilder> mapValueBuilder_;
     /**
-     *
-     *
      * 
      * A map value.
      * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return Whether the mapValue field is set. */ @java.lang.Override @@ -2731,14 +2428,11 @@ public boolean hasMapValue() { return valueTypeCase_ == 6; } /** - * - * *
      * A map value.
      * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return The mapValue. */ @java.lang.Override @@ -2756,8 +2450,6 @@ public com.google.firestore.v1.MapValue getMapValue() { } } /** - * - * *
      * A map value.
      * 
@@ -2778,15 +2470,14 @@ public Builder setMapValue(com.google.firestore.v1.MapValue value) { return this; } /** - * - * *
      * A map value.
      * 
* * .google.firestore.v1.MapValue map_value = 6; */ - public Builder setMapValue(com.google.firestore.v1.MapValue.Builder builderForValue) { + public Builder setMapValue( + com.google.firestore.v1.MapValue.Builder builderForValue) { if (mapValueBuilder_ == null) { valueType_ = builderForValue.build(); onChanged(); @@ -2797,8 +2488,6 @@ public Builder setMapValue(com.google.firestore.v1.MapValue.Builder builderForVa return this; } /** - * - * *
      * A map value.
      * 
@@ -2807,13 +2496,10 @@ public Builder setMapValue(com.google.firestore.v1.MapValue.Builder builderForVa */ public Builder mergeMapValue(com.google.firestore.v1.MapValue value) { if (mapValueBuilder_ == null) { - if (valueTypeCase_ == 6 - && valueType_ != com.google.firestore.v1.MapValue.getDefaultInstance()) { - valueType_ = - com.google.firestore.v1.MapValue.newBuilder( - (com.google.firestore.v1.MapValue) valueType_) - .mergeFrom(value) - .buildPartial(); + if (valueTypeCase_ == 6 && + valueType_ != com.google.firestore.v1.MapValue.getDefaultInstance()) { + valueType_ = com.google.firestore.v1.MapValue.newBuilder((com.google.firestore.v1.MapValue) valueType_) + .mergeFrom(value).buildPartial(); } else { valueType_ = value; } @@ -2829,8 +2515,6 @@ public Builder mergeMapValue(com.google.firestore.v1.MapValue value) { return this; } /** - * - * *
      * A map value.
      * 
@@ -2854,8 +2538,6 @@ public Builder clearMapValue() { return this; } /** - * - * *
      * A map value.
      * 
@@ -2866,8 +2548,6 @@ public com.google.firestore.v1.MapValue.Builder getMapValueBuilder() { return getMapValueFieldBuilder().getBuilder(); } /** - * - * *
      * A map value.
      * 
@@ -2886,8 +2566,6 @@ public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { } } /** - * - * *
      * A map value.
      * 
@@ -2895,29 +2573,26 @@ public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { * .google.firestore.v1.MapValue map_value = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.MapValue, - com.google.firestore.v1.MapValue.Builder, - com.google.firestore.v1.MapValueOrBuilder> + com.google.firestore.v1.MapValue, com.google.firestore.v1.MapValue.Builder, com.google.firestore.v1.MapValueOrBuilder> getMapValueFieldBuilder() { if (mapValueBuilder_ == null) { if (!(valueTypeCase_ == 6)) { valueType_ = com.google.firestore.v1.MapValue.getDefaultInstance(); } - mapValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.MapValue, - com.google.firestore.v1.MapValue.Builder, - com.google.firestore.v1.MapValueOrBuilder>( - (com.google.firestore.v1.MapValue) valueType_, getParentForChildren(), isClean()); + mapValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.MapValue, com.google.firestore.v1.MapValue.Builder, com.google.firestore.v1.MapValueOrBuilder>( + (com.google.firestore.v1.MapValue) valueType_, + getParentForChildren(), + isClean()); valueType_ = null; } valueTypeCase_ = 6; onChanged(); return mapValueBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2927,12 +2602,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.Value) } // @@protoc_insertion_point(class_scope:google.firestore.v1.Value) private static final com.google.firestore.v1.Value DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.Value(); } @@ -2941,27 +2616,27 @@ public static com.google.firestore.v1.Value getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Value parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Value parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2976,4 +2651,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java similarity index 86% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java index 7227b16ac..dda81dae7 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java @@ -1,143 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface ValueOrBuilder - extends +public interface ValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Value) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return Whether the nullValue field is set. */ boolean hasNullValue(); /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The enum numeric value on the wire for nullValue. */ int getNullValueValue(); /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The nullValue. */ com.google.protobuf.NullValue getNullValue(); /** - * - * *
    * A boolean value.
    * 
* * bool boolean_value = 1; - * * @return Whether the booleanValue field is set. */ boolean hasBooleanValue(); /** - * - * *
    * A boolean value.
    * 
* * bool boolean_value = 1; - * * @return The booleanValue. */ boolean getBooleanValue(); /** - * - * *
    * An integer value.
    * 
* * int64 integer_value = 2; - * * @return Whether the integerValue field is set. */ boolean hasIntegerValue(); /** - * - * *
    * An integer value.
    * 
* * int64 integer_value = 2; - * * @return The integerValue. */ long getIntegerValue(); /** - * - * *
    * A double value.
    * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
    * A double value.
    * 
* * double double_value = 3; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -145,13 +100,10 @@ public interface ValueOrBuilder
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -159,13 +111,10 @@ public interface ValueOrBuilder
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** - * - * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -177,8 +126,6 @@ public interface ValueOrBuilder
   com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -187,13 +134,10 @@ public interface ValueOrBuilder
    * 
* * string string_value = 17; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -202,13 +146,10 @@ public interface ValueOrBuilder
    * 
* * string string_value = 17; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -217,14 +158,12 @@ public interface ValueOrBuilder
    * 
* * string string_value = 17; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -232,13 +171,10 @@ public interface ValueOrBuilder
    * 
* * bytes bytes_value = 18; - * * @return Whether the bytesValue field is set. */ boolean hasBytesValue(); /** - * - * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -246,78 +182,61 @@ public interface ValueOrBuilder
    * 
* * bytes bytes_value = 18; - * * @return The bytesValue. */ com.google.protobuf.ByteString getBytesValue(); /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return Whether the referenceValue field is set. */ boolean hasReferenceValue(); /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return The referenceValue. */ java.lang.String getReferenceValue(); /** - * - * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; - * * @return The bytes for referenceValue. */ - com.google.protobuf.ByteString getReferenceValueBytes(); + com.google.protobuf.ByteString + getReferenceValueBytes(); /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; - * * @return Whether the geoPointValue field is set. */ boolean hasGeoPointValue(); /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; - * * @return The geoPointValue. */ com.google.type.LatLng getGeoPointValue(); /** - * - * *
    * A geo point value representing a point on the surface of Earth.
    * 
@@ -327,8 +246,6 @@ public interface ValueOrBuilder com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder(); /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -336,13 +253,10 @@ public interface ValueOrBuilder
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return Whether the arrayValue field is set. */ boolean hasArrayValue(); /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -350,13 +264,10 @@ public interface ValueOrBuilder
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; - * * @return The arrayValue. */ com.google.firestore.v1.ArrayValue getArrayValue(); /** - * - * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -368,32 +279,24 @@ public interface ValueOrBuilder
   com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return Whether the mapValue field is set. */ boolean hasMapValue(); /** - * - * *
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; - * * @return The mapValue. */ com.google.firestore.v1.MapValue getMapValue(); /** - * - * *
    * A map value.
    * 
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java similarity index 75% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java index e5ef01d70..9984b7048 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java @@ -1,83 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** - * - * *
  * A write on a document.
  * 
* * Protobuf type {@code google.firestore.v1.Write} */ -public final class Write extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Write extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Write) WriteOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Write.newBuilder() to construct. private Write(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Write() { updateTransforms_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Write(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_Write_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Write.class, com.google.firestore.v1.Write.Builder.class); } private int operationCase_ = 0; private java.lang.Object operation_; - public enum OperationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { UPDATE(1), DELETE(2), TRANSFORM(6), OPERATION_NOT_SET(0); private final int value; - private OperationCase(int value) { this.value = value; } @@ -93,38 +73,31 @@ public static OperationCase valueOf(int value) { public static OperationCase forNumber(int value) { switch (value) { - case 1: - return UPDATE; - case 2: - return DELETE; - case 6: - return TRANSFORM; - case 0: - return OPERATION_NOT_SET; - default: - return null; + case 1: return UPDATE; + case 2: return DELETE; + case 6: return TRANSFORM; + case 0: return OPERATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OperationCase getOperationCase() { - return OperationCase.forNumber(operationCase_); + public OperationCase + getOperationCase() { + return OperationCase.forNumber( + operationCase_); } public static final int UPDATE_FIELD_NUMBER = 1; /** - * - * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; - * * @return Whether the update field is set. */ @java.lang.Override @@ -132,26 +105,21 @@ public boolean hasUpdate() { return operationCase_ == 1; } /** - * - * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; - * * @return The update. */ @java.lang.Override public com.google.firestore.v1.Document getUpdate() { if (operationCase_ == 1) { - return (com.google.firestore.v1.Document) operation_; + return (com.google.firestore.v1.Document) operation_; } return com.google.firestore.v1.Document.getDefaultInstance(); } /** - * - * *
    * A document to write.
    * 
@@ -161,37 +129,31 @@ public com.google.firestore.v1.Document getUpdate() { @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { if (operationCase_ == 1) { - return (com.google.firestore.v1.Document) operation_; + return (com.google.firestore.v1.Document) operation_; } return com.google.firestore.v1.Document.getDefaultInstance(); } public static final int DELETE_FIELD_NUMBER = 2; /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return Whether the delete field is set. */ public boolean hasDelete() { return operationCase_ == 2; } /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return The delete. */ public java.lang.String getDelete() { @@ -202,7 +164,8 @@ public java.lang.String getDelete() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (operationCase_ == 2) { operation_ = s; @@ -211,25 +174,24 @@ public java.lang.String getDelete() { } } /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return The bytes for delete. */ - public com.google.protobuf.ByteString getDeleteBytes() { + public com.google.protobuf.ByteString + getDeleteBytes() { java.lang.Object ref = ""; if (operationCase_ == 2) { ref = operation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (operationCase_ == 2) { operation_ = b; } @@ -241,14 +203,11 @@ public com.google.protobuf.ByteString getDeleteBytes() { public static final int TRANSFORM_FIELD_NUMBER = 6; /** - * - * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return Whether the transform field is set. */ @java.lang.Override @@ -256,26 +215,21 @@ public boolean hasTransform() { return operationCase_ == 6; } /** - * - * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return The transform. */ @java.lang.Override public com.google.firestore.v1.DocumentTransform getTransform() { if (operationCase_ == 6) { - return (com.google.firestore.v1.DocumentTransform) operation_; + return (com.google.firestore.v1.DocumentTransform) operation_; } return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); } /** - * - * *
    * Applies a transformation to a document.
    * 
@@ -285,7 +239,7 @@ public com.google.firestore.v1.DocumentTransform getTransform() { @java.lang.Override public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder() { if (operationCase_ == 6) { - return (com.google.firestore.v1.DocumentTransform) operation_; + return (com.google.firestore.v1.DocumentTransform) operation_; } return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); } @@ -293,8 +247,6 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.firestore.v1.DocumentMask updateMask_; /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -308,7 +260,6 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -316,8 +267,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -331,18 +280,13 @@ public boolean hasUpdateMask() {
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override public com.google.firestore.v1.DocumentMask getUpdateMask() { - return updateMask_ == null - ? com.google.firestore.v1.DocumentMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -359,19 +303,13 @@ public com.google.firestore.v1.DocumentMask getUpdateMask() {
    */
   @java.lang.Override
   public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
-    return updateMask_ == null
-        ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
-        : updateMask_;
+    return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
   }
 
   public static final int UPDATE_TRANSFORMS_FIELD_NUMBER = 7;
-
   @SuppressWarnings("serial")
-  private java.util.List
-      updateTransforms_;
+  private java.util.List updateTransforms_;
   /**
-   *
-   *
    * 
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -379,17 +317,13 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ @java.lang.Override - public java.util.List - getUpdateTransformsList() { + public java.util.List getUpdateTransformsList() { return updateTransforms_; } /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -397,17 +331,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ @java.lang.Override - public java.util.List + public java.util.List getUpdateTransformsOrBuilderList() { return updateTransforms_; } /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -415,16 +346,13 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ @java.lang.Override public int getUpdateTransformsCount() { return updateTransforms_.size(); } /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -432,16 +360,13 @@ public int getUpdateTransformsCount() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ @java.lang.Override public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index) { return updateTransforms_.get(index); } /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -449,27 +374,23 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ @java.lang.Override - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder - getUpdateTransformsOrBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( + int index) { return updateTransforms_.get(index); } public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4; private com.google.firestore.v1.Precondition currentDocument_; /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -477,26 +398,19 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ @java.lang.Override public com.google.firestore.v1.Precondition getCurrentDocument() { - return currentDocument_ == null - ? com.google.firestore.v1.Precondition.getDefaultInstance() - : currentDocument_; + return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; } /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
@@ -506,13 +420,10 @@ public com.google.firestore.v1.Precondition getCurrentDocument() {
    */
   @java.lang.Override
   public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() {
-    return currentDocument_ == null
-        ? com.google.firestore.v1.Precondition.getDefaultInstance()
-        : currentDocument_;
+    return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -524,7 +435,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (operationCase_ == 1) {
       output.writeMessage(1, (com.google.firestore.v1.Document) operation_);
     }
@@ -553,26 +465,27 @@ public int getSerializedSize() {
 
     size = 0;
     if (operationCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.firestore.v1.Document) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.firestore.v1.Document) operation_);
     }
     if (operationCase_ == 2) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_);
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getUpdateMask());
     }
     if (currentDocument_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCurrentDocument());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getCurrentDocument());
     }
     if (operationCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.firestore.v1.DocumentTransform) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.firestore.v1.DocumentTransform) operation_);
     }
     for (int i = 0; i < updateTransforms_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, updateTransforms_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, updateTransforms_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -582,7 +495,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.Write)) {
       return super.equals(obj);
@@ -591,23 +504,29 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
-    if (!getUpdateTransformsList().equals(other.getUpdateTransformsList())) return false;
+    if (!getUpdateTransformsList()
+        .equals(other.getUpdateTransformsList())) return false;
     if (hasCurrentDocument() != other.hasCurrentDocument()) return false;
     if (hasCurrentDocument()) {
-      if (!getCurrentDocument().equals(other.getCurrentDocument())) return false;
+      if (!getCurrentDocument()
+          .equals(other.getCurrentDocument())) return false;
     }
     if (!getOperationCase().equals(other.getOperationCase())) return false;
     switch (operationCase_) {
       case 1:
-        if (!getUpdate().equals(other.getUpdate())) return false;
+        if (!getUpdate()
+            .equals(other.getUpdate())) return false;
         break;
       case 2:
-        if (!getDelete().equals(other.getDelete())) return false;
+        if (!getDelete()
+            .equals(other.getDelete())) return false;
         break;
       case 6:
-        if (!getTransform().equals(other.getTransform())) return false;
+        if (!getTransform()
+            .equals(other.getTransform())) return false;
         break;
       case 0:
       default:
@@ -656,134 +575,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.Write parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.Write parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Write parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.Write parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.firestore.v1.Write parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Write parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Write parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.Write parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Write parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Write parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.Write parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Write parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.Write parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.firestore.v1.Write parseFrom(
+      com.google.protobuf.CodedInputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.Write parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.Write prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A write on a document.
    * 
* * Protobuf type {@code google.firestore.v1.Write} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Write) com.google.firestore.v1.WriteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_Write_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_Write_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Write.class, com.google.firestore.v1.Write.Builder.class); } // Construct using com.google.firestore.v1.Write.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -817,9 +732,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_Write_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; } @java.lang.Override @@ -840,9 +755,7 @@ public com.google.firestore.v1.Write build() { public com.google.firestore.v1.Write buildPartial() { com.google.firestore.v1.Write result = new com.google.firestore.v1.Write(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -863,21 +776,26 @@ private void buildPartialRepeatedFields(com.google.firestore.v1.Write result) { private void buildPartial0(com.google.firestore.v1.Write result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.currentDocument_ = - currentDocumentBuilder_ == null ? currentDocument_ : currentDocumentBuilder_.build(); + result.currentDocument_ = currentDocumentBuilder_ == null + ? currentDocument_ + : currentDocumentBuilder_.build(); } } private void buildPartialOneofs(com.google.firestore.v1.Write result) { result.operationCase_ = operationCase_; result.operation_ = this.operation_; - if (operationCase_ == 1 && updateBuilder_ != null) { + if (operationCase_ == 1 && + updateBuilder_ != null) { result.operation_ = updateBuilder_.build(); } - if (operationCase_ == 6 && transformBuilder_ != null) { + if (operationCase_ == 6 && + transformBuilder_ != null) { result.operation_ = transformBuilder_.build(); } } @@ -886,39 +804,38 @@ private void buildPartialOneofs(com.google.firestore.v1.Write result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Write) { - return mergeFrom((com.google.firestore.v1.Write) other); + return mergeFrom((com.google.firestore.v1.Write)other); } else { super.mergeFrom(other); return this; @@ -948,10 +865,9 @@ public Builder mergeFrom(com.google.firestore.v1.Write other) { updateTransformsBuilder_ = null; updateTransforms_ = other.updateTransforms_; bitField0_ = (bitField0_ & ~0x00000010); - updateTransformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUpdateTransformsFieldBuilder() - : null; + updateTransformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUpdateTransformsFieldBuilder() : null; } else { updateTransformsBuilder_.addAllMessages(other.updateTransforms_); } @@ -961,27 +877,23 @@ public Builder mergeFrom(com.google.firestore.v1.Write other) { mergeCurrentDocument(other.getCurrentDocument()); } switch (other.getOperationCase()) { - case UPDATE: - { - mergeUpdate(other.getUpdate()); - break; - } - case DELETE: - { - operationCase_ = 2; - operation_ = other.operation_; - onChanged(); - break; - } - case TRANSFORM: - { - mergeTransform(other.getTransform()); - break; - } - case OPERATION_NOT_SET: - { - break; - } + case UPDATE: { + mergeUpdate(other.getUpdate()); + break; + } + case DELETE: { + operationCase_ = 2; + operation_ = other.operation_; + onChanged(); + break; + } + case TRANSFORM: { + mergeTransform(other.getTransform()); + break; + } + case OPERATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1009,58 +921,59 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); - operationCase_ = 1; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - operationCase_ = 2; - operation_ = s; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - input.readMessage(getCurrentDocumentFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 50: - { - input.readMessage(getTransformFieldBuilder().getBuilder(), extensionRegistry); - operationCase_ = 6; - break; - } // case 50 - case 58: - { - com.google.firestore.v1.DocumentTransform.FieldTransform m = - input.readMessage( - com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), - extensionRegistry); - if (updateTransformsBuilder_ == null) { - ensureUpdateTransformsIsMutable(); - updateTransforms_.add(m); - } else { - updateTransformsBuilder_.addMessage(m); - } - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateFieldBuilder().getBuilder(), + extensionRegistry); + operationCase_ = 1; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + operationCase_ = 2; + operation_ = s; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + input.readMessage( + getCurrentDocumentFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 50: { + input.readMessage( + getTransformFieldBuilder().getBuilder(), + extensionRegistry); + operationCase_ = 6; + break; + } // case 50 + case 58: { + com.google.firestore.v1.DocumentTransform.FieldTransform m = + input.readMessage( + com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), + extensionRegistry); + if (updateTransformsBuilder_ == null) { + ensureUpdateTransformsIsMutable(); + updateTransforms_.add(m); + } else { + updateTransformsBuilder_.addMessage(m); + } + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1070,12 +983,12 @@ public Builder mergeFrom( } // finally return this; } - private int operationCase_ = 0; private java.lang.Object operation_; - - public OperationCase getOperationCase() { - return OperationCase.forNumber(operationCase_); + public OperationCase + getOperationCase() { + return OperationCase.forNumber( + operationCase_); } public Builder clearOperation() { @@ -1088,19 +1001,13 @@ public Builder clearOperation() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> - updateBuilder_; + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> updateBuilder_; /** - * - * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; - * * @return Whether the update field is set. */ @java.lang.Override @@ -1108,14 +1015,11 @@ public boolean hasUpdate() { return operationCase_ == 1; } /** - * - * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; - * * @return The update. */ @java.lang.Override @@ -1133,8 +1037,6 @@ public com.google.firestore.v1.Document getUpdate() { } } /** - * - * *
      * A document to write.
      * 
@@ -1155,15 +1057,14 @@ public Builder setUpdate(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; */ - public Builder setUpdate(com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setUpdate( + com.google.firestore.v1.Document.Builder builderForValue) { if (updateBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); @@ -1174,8 +1075,6 @@ public Builder setUpdate(com.google.firestore.v1.Document.Builder builderForValu return this; } /** - * - * *
      * A document to write.
      * 
@@ -1184,13 +1083,10 @@ public Builder setUpdate(com.google.firestore.v1.Document.Builder builderForValu */ public Builder mergeUpdate(com.google.firestore.v1.Document value) { if (updateBuilder_ == null) { - if (operationCase_ == 1 - && operation_ != com.google.firestore.v1.Document.getDefaultInstance()) { - operation_ = - com.google.firestore.v1.Document.newBuilder( - (com.google.firestore.v1.Document) operation_) - .mergeFrom(value) - .buildPartial(); + if (operationCase_ == 1 && + operation_ != com.google.firestore.v1.Document.getDefaultInstance()) { + operation_ = com.google.firestore.v1.Document.newBuilder((com.google.firestore.v1.Document) operation_) + .mergeFrom(value).buildPartial(); } else { operation_ = value; } @@ -1206,8 +1102,6 @@ public Builder mergeUpdate(com.google.firestore.v1.Document value) { return this; } /** - * - * *
      * A document to write.
      * 
@@ -1231,8 +1125,6 @@ public Builder clearUpdate() { return this; } /** - * - * *
      * A document to write.
      * 
@@ -1243,8 +1135,6 @@ public com.google.firestore.v1.Document.Builder getUpdateBuilder() { return getUpdateFieldBuilder().getBuilder(); } /** - * - * *
      * A document to write.
      * 
@@ -1263,8 +1153,6 @@ public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { } } /** - * - * *
      * A document to write.
      * 
@@ -1272,20 +1160,17 @@ public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { * .google.firestore.v1.Document update = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { if (!(operationCase_ == 1)) { operation_ = com.google.firestore.v1.Document.getDefaultInstance(); } - updateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, - com.google.firestore.v1.Document.Builder, - com.google.firestore.v1.DocumentOrBuilder>( - (com.google.firestore.v1.Document) operation_, getParentForChildren(), isClean()); + updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( + (com.google.firestore.v1.Document) operation_, + getParentForChildren(), + isClean()); operation_ = null; } operationCase_ = 1; @@ -1294,15 +1179,12 @@ public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { } /** - * - * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; - * * @return Whether the delete field is set. */ @java.lang.Override @@ -1310,15 +1192,12 @@ public boolean hasDelete() { return operationCase_ == 2; } /** - * - * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; - * * @return The delete. */ @java.lang.Override @@ -1328,7 +1207,8 @@ public java.lang.String getDelete() { ref = operation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (operationCase_ == 2) { operation_ = s; @@ -1339,26 +1219,25 @@ public java.lang.String getDelete() { } } /** - * - * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; - * * @return The bytes for delete. */ @java.lang.Override - public com.google.protobuf.ByteString getDeleteBytes() { + public com.google.protobuf.ByteString + getDeleteBytes() { java.lang.Object ref = ""; if (operationCase_ == 2) { ref = operation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (operationCase_ == 2) { operation_ = b; } @@ -1368,37 +1247,30 @@ public com.google.protobuf.ByteString getDeleteBytes() { } } /** - * - * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; - * * @param value The delete to set. * @return This builder for chaining. */ - public Builder setDelete(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelete( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } operationCase_ = 2; operation_ = value; onChanged(); return this; } /** - * - * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; - * * @return This builder for chaining. */ public Builder clearDelete() { @@ -1410,22 +1282,18 @@ public Builder clearDelete() { return this; } /** - * - * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; - * * @param value The bytes for delete to set. * @return This builder for chaining. */ - public Builder setDeleteBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDeleteBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); operationCase_ = 2; operation_ = value; @@ -1434,19 +1302,13 @@ public Builder setDeleteBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentTransform, - com.google.firestore.v1.DocumentTransform.Builder, - com.google.firestore.v1.DocumentTransformOrBuilder> - transformBuilder_; + com.google.firestore.v1.DocumentTransform, com.google.firestore.v1.DocumentTransform.Builder, com.google.firestore.v1.DocumentTransformOrBuilder> transformBuilder_; /** - * - * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return Whether the transform field is set. */ @java.lang.Override @@ -1454,14 +1316,11 @@ public boolean hasTransform() { return operationCase_ == 6; } /** - * - * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return The transform. */ @java.lang.Override @@ -1479,8 +1338,6 @@ public com.google.firestore.v1.DocumentTransform getTransform() { } } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1501,15 +1358,14 @@ public Builder setTransform(com.google.firestore.v1.DocumentTransform value) { return this; } /** - * - * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; */ - public Builder setTransform(com.google.firestore.v1.DocumentTransform.Builder builderForValue) { + public Builder setTransform( + com.google.firestore.v1.DocumentTransform.Builder builderForValue) { if (transformBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); @@ -1520,8 +1376,6 @@ public Builder setTransform(com.google.firestore.v1.DocumentTransform.Builder bu return this; } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1530,13 +1384,10 @@ public Builder setTransform(com.google.firestore.v1.DocumentTransform.Builder bu */ public Builder mergeTransform(com.google.firestore.v1.DocumentTransform value) { if (transformBuilder_ == null) { - if (operationCase_ == 6 - && operation_ != com.google.firestore.v1.DocumentTransform.getDefaultInstance()) { - operation_ = - com.google.firestore.v1.DocumentTransform.newBuilder( - (com.google.firestore.v1.DocumentTransform) operation_) - .mergeFrom(value) - .buildPartial(); + if (operationCase_ == 6 && + operation_ != com.google.firestore.v1.DocumentTransform.getDefaultInstance()) { + operation_ = com.google.firestore.v1.DocumentTransform.newBuilder((com.google.firestore.v1.DocumentTransform) operation_) + .mergeFrom(value).buildPartial(); } else { operation_ = value; } @@ -1552,8 +1403,6 @@ public Builder mergeTransform(com.google.firestore.v1.DocumentTransform value) { return this; } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1577,8 +1426,6 @@ public Builder clearTransform() { return this; } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1589,8 +1436,6 @@ public com.google.firestore.v1.DocumentTransform.Builder getTransformBuilder() { return getTransformFieldBuilder().getBuilder(); } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1609,8 +1454,6 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( } } /** - * - * *
      * Applies a transformation to a document.
      * 
@@ -1618,19 +1461,14 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( * .google.firestore.v1.DocumentTransform transform = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentTransform, - com.google.firestore.v1.DocumentTransform.Builder, - com.google.firestore.v1.DocumentTransformOrBuilder> + com.google.firestore.v1.DocumentTransform, com.google.firestore.v1.DocumentTransform.Builder, com.google.firestore.v1.DocumentTransformOrBuilder> getTransformFieldBuilder() { if (transformBuilder_ == null) { if (!(operationCase_ == 6)) { operation_ = com.google.firestore.v1.DocumentTransform.getDefaultInstance(); } - transformBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentTransform, - com.google.firestore.v1.DocumentTransform.Builder, - com.google.firestore.v1.DocumentTransformOrBuilder>( + transformBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentTransform, com.google.firestore.v1.DocumentTransform.Builder, com.google.firestore.v1.DocumentTransformOrBuilder>( (com.google.firestore.v1.DocumentTransform) operation_, getParentForChildren(), isClean()); @@ -1643,13 +1481,8 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( private com.google.firestore.v1.DocumentMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, - com.google.firestore.v1.DocumentMask.Builder, - com.google.firestore.v1.DocumentMaskOrBuilder> - updateMaskBuilder_; + com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1663,15 +1496,12 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(
      * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1685,21 +1515,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return The updateMask. */ public com.google.firestore.v1.DocumentMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.firestore.v1.DocumentMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1728,8 +1553,6 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1744,7 +1567,8 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask update_mask = 3;
      */
-    public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
       } else {
@@ -1755,8 +1579,6 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1773,9 +1595,9 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builde
      */
     public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       if (updateMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && updateMask_ != null
-            && updateMask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          updateMask_ != null &&
+          updateMask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getUpdateMaskBuilder().mergeFrom(value);
         } else {
           updateMask_ = value;
@@ -1788,8 +1610,6 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1815,8 +1635,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1837,8 +1655,6 @@ public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1857,14 +1673,11 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1880,43 +1693,32 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask,
-            com.google.firestore.v1.DocumentMask.Builder,
-            com.google.firestore.v1.DocumentMaskOrBuilder>
+        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.DocumentMask,
-                com.google.firestore.v1.DocumentMask.Builder,
-                com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
 
-    private java.util.List
-        updateTransforms_ = java.util.Collections.emptyList();
-
+    private java.util.List updateTransforms_ =
+      java.util.Collections.emptyList();
     private void ensureUpdateTransformsIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
-        updateTransforms_ =
-            new java.util.ArrayList(
-                updateTransforms_);
+        updateTransforms_ = new java.util.ArrayList(updateTransforms_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.DocumentTransform.FieldTransform,
-            com.google.firestore.v1.DocumentTransform.FieldTransform.Builder,
-            com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>
-        updateTransformsBuilder_;
+        com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> updateTransformsBuilder_;
 
     /**
-     *
-     *
      * 
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1924,11 +1726,9 @@ private void ensureUpdateTransformsIsMutable() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public java.util.List - getUpdateTransformsList() { + public java.util.List getUpdateTransformsList() { if (updateTransformsBuilder_ == null) { return java.util.Collections.unmodifiableList(updateTransforms_); } else { @@ -1936,8 +1736,6 @@ private void ensureUpdateTransformsIsMutable() { } } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1945,8 +1743,7 @@ private void ensureUpdateTransformsIsMutable() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public int getUpdateTransformsCount() { if (updateTransformsBuilder_ == null) { @@ -1956,8 +1753,6 @@ public int getUpdateTransformsCount() { } } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1965,8 +1760,7 @@ public int getUpdateTransformsCount() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index) { if (updateTransformsBuilder_ == null) { @@ -1976,8 +1770,6 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo } } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1985,8 +1777,7 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder setUpdateTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -2003,8 +1794,6 @@ public Builder setUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2012,12 +1801,10 @@ public Builder setUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder setUpdateTransforms( - int index, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); updateTransforms_.set(index, builderForValue.build()); @@ -2028,8 +1815,6 @@ public Builder setUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2037,11 +1822,9 @@ public Builder setUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public Builder addUpdateTransforms( - com.google.firestore.v1.DocumentTransform.FieldTransform value) { + public Builder addUpdateTransforms(com.google.firestore.v1.DocumentTransform.FieldTransform value) { if (updateTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2055,8 +1838,6 @@ public Builder addUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2064,8 +1845,7 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder addUpdateTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -2082,8 +1862,6 @@ public Builder addUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2091,8 +1869,7 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder addUpdateTransforms( com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { @@ -2106,8 +1883,6 @@ public Builder addUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2115,12 +1890,10 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder addUpdateTransforms( - int index, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); updateTransforms_.add(index, builderForValue.build()); @@ -2131,8 +1904,6 @@ public Builder addUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2140,15 +1911,14 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder addAllUpdateTransforms( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, updateTransforms_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, updateTransforms_); onChanged(); } else { updateTransformsBuilder_.addAllMessages(values); @@ -2156,8 +1926,6 @@ public Builder addAllUpdateTransforms( return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2165,8 +1933,7 @@ public Builder addAllUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder clearUpdateTransforms() { if (updateTransformsBuilder_ == null) { @@ -2179,8 +1946,6 @@ public Builder clearUpdateTransforms() { return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2188,8 +1953,7 @@ public Builder clearUpdateTransforms() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ public Builder removeUpdateTransforms(int index) { if (updateTransformsBuilder_ == null) { @@ -2202,8 +1966,6 @@ public Builder removeUpdateTransforms(int index) { return this; } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2211,16 +1973,13 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - getUpdateTransformsBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder getUpdateTransformsBuilder( + int index) { return getUpdateTransformsFieldBuilder().getBuilder(index); } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2228,20 +1987,16 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder - getUpdateTransformsOrBuilder(int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( + int index) { if (updateTransformsBuilder_ == null) { - return updateTransforms_.get(index); - } else { + return updateTransforms_.get(index); } else { return updateTransformsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2249,12 +2004,10 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public java.util.List< - ? extends com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> - getUpdateTransformsOrBuilderList() { + public java.util.List + getUpdateTransformsOrBuilderList() { if (updateTransformsBuilder_ != null) { return updateTransformsBuilder_.getMessageOrBuilderList(); } else { @@ -2262,8 +2015,6 @@ public Builder removeUpdateTransforms(int index) { } } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2271,18 +2022,13 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - addUpdateTransformsBuilder() { - return getUpdateTransformsFieldBuilder() - .addBuilder( - com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdateTransformsBuilder() { + return getUpdateTransformsFieldBuilder().addBuilder( + com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2290,18 +2036,14 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder - addUpdateTransformsBuilder(int index) { - return getUpdateTransformsFieldBuilder() - .addBuilder( - index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdateTransformsBuilder( + int index) { + return getUpdateTransformsFieldBuilder().addBuilder( + index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** - * - * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2309,25 +2051,18 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - public java.util.List - getUpdateTransformsBuilderList() { + public java.util.List + getUpdateTransformsBuilderList() { return getUpdateTransformsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, - com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> getUpdateTransformsFieldBuilder() { if (updateTransformsBuilder_ == null) { - updateTransformsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, - com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, - com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( + updateTransformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( updateTransforms_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -2339,49 +2074,36 @@ public Builder removeUpdateTransforms(int index) { private com.google.firestore.v1.Precondition currentDocument_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Precondition, - com.google.firestore.v1.Precondition.Builder, - com.google.firestore.v1.PreconditionOrBuilder> - currentDocumentBuilder_; + com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> currentDocumentBuilder_; /** - * - * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ public boolean hasCurrentDocument() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ public com.google.firestore.v1.Precondition getCurrentDocument() { if (currentDocumentBuilder_ == null) { - return currentDocument_ == null - ? com.google.firestore.v1.Precondition.getDefaultInstance() - : currentDocument_; + return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; } else { return currentDocumentBuilder_.getMessage(); } } /** - * - * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2403,8 +2125,6 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2424,8 +2144,6 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2435,9 +2153,9 @@ public Builder setCurrentDocument(
      */
     public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value) {
       if (currentDocumentBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && currentDocument_ != null
-            && currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          currentDocument_ != null &&
+          currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
           getCurrentDocumentBuilder().mergeFrom(value);
         } else {
           currentDocument_ = value;
@@ -2450,8 +2168,6 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2470,8 +2186,6 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2485,8 +2199,6 @@ public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder()
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2498,14 +2210,11 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
       if (currentDocumentBuilder_ != null) {
         return currentDocumentBuilder_.getMessageOrBuilder();
       } else {
-        return currentDocument_ == null
-            ? com.google.firestore.v1.Precondition.getDefaultInstance()
-            : currentDocument_;
+        return currentDocument_ == null ?
+            com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
       }
     }
     /**
-     *
-     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2514,24 +2223,21 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
      * .google.firestore.v1.Precondition current_document = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition,
-            com.google.firestore.v1.Precondition.Builder,
-            com.google.firestore.v1.PreconditionOrBuilder>
+        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> 
         getCurrentDocumentFieldBuilder() {
       if (currentDocumentBuilder_ == null) {
-        currentDocumentBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.firestore.v1.Precondition,
-                com.google.firestore.v1.Precondition.Builder,
-                com.google.firestore.v1.PreconditionOrBuilder>(
-                getCurrentDocument(), getParentForChildren(), isClean());
+        currentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder>(
+                getCurrentDocument(),
+                getParentForChildren(),
+                isClean());
         currentDocument_ = null;
       }
       return currentDocumentBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2541,12 +2247,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.Write)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.Write)
   private static final com.google.firestore.v1.Write DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.Write();
   }
@@ -2555,27 +2261,27 @@ public static com.google.firestore.v1.Write getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Write parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Write parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2590,4 +2296,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.Write getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
similarity index 86%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
index 98e1b069c..3d10085e9 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface WriteOrBuilder
-    extends
+public interface WriteOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.Write)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; - * * @return The update. */ com.google.firestore.v1.Document getUpdate(); /** - * - * *
    * A document to write.
    * 
@@ -59,72 +35,56 @@ public interface WriteOrBuilder com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder(); /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return Whether the delete field is set. */ boolean hasDelete(); /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return The delete. */ java.lang.String getDelete(); /** - * - * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; - * * @return The bytes for delete. */ - com.google.protobuf.ByteString getDeleteBytes(); + com.google.protobuf.ByteString + getDeleteBytes(); /** - * - * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return Whether the transform field is set. */ boolean hasTransform(); /** - * - * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; - * * @return The transform. */ com.google.firestore.v1.DocumentTransform getTransform(); /** - * - * *
    * Applies a transformation to a document.
    * 
@@ -134,8 +94,6 @@ public interface WriteOrBuilder com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(); /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -149,13 +107,10 @@ public interface WriteOrBuilder
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -169,13 +124,10 @@ public interface WriteOrBuilder
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; - * * @return The updateMask. */ com.google.firestore.v1.DocumentMask getUpdateMask(); /** - * - * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -193,8 +145,6 @@ public interface WriteOrBuilder
   com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
-   *
-   *
    * 
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -202,14 +152,11 @@ public interface WriteOrBuilder
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - java.util.List + java.util.List getUpdateTransformsList(); /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -217,13 +164,10 @@ public interface WriteOrBuilder
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index); /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -231,13 +175,10 @@ public interface WriteOrBuilder
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ int getUpdateTransformsCount(); /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -245,14 +186,11 @@ public interface WriteOrBuilder
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ - java.util.List + java.util.List getUpdateTransformsOrBuilderList(); /** - * - * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -260,41 +198,32 @@ public interface WriteOrBuilder
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; - * + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; */ com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( int index); /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; - * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** - * - * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java
new file mode 100644
index 000000000..c7f8df7ac
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java
@@ -0,0 +1,174 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/write.proto
+
+package com.google.firestore.v1;
+
+public final class WriteProto {
+  private WriteProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_Write_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Write_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentTransform_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_WriteResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_WriteResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentChange_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentDelete_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_DocumentRemove_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_firestore_v1_ExistenceFilter_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\037google/firestore/v1/write.proto\022\023googl" +
+      "e.firestore.v1\032 google/firestore/v1/comm" +
+      "on.proto\032\"google/firestore/v1/document.p" +
+      "roto\032\037google/protobuf/timestamp.proto\"\333\002" +
+      "\n\005Write\022/\n\006update\030\001 \001(\0132\035.google.firesto" +
+      "re.v1.DocumentH\000\022\020\n\006delete\030\002 \001(\tH\000\022;\n\ttr" +
+      "ansform\030\006 \001(\0132&.google.firestore.v1.Docu" +
+      "mentTransformH\000\0226\n\013update_mask\030\003 \001(\0132!.g" +
+      "oogle.firestore.v1.DocumentMask\022P\n\021updat" +
+      "e_transforms\030\007 \003(\01325.google.firestore.v1" +
+      ".DocumentTransform.FieldTransform\022;\n\020cur" +
+      "rent_document\030\004 \001(\0132!.google.firestore.v" +
+      "1.PreconditionB\013\n\toperation\"\345\004\n\021Document" +
+      "Transform\022\020\n\010document\030\001 \001(\t\022O\n\020field_tra" +
+      "nsforms\030\002 \003(\01325.google.firestore.v1.Docu" +
+      "mentTransform.FieldTransform\032\354\003\n\016FieldTr" +
+      "ansform\022\022\n\nfield_path\030\001 \001(\t\022`\n\023set_to_se" +
+      "rver_value\030\002 \001(\0162A.google.firestore.v1.D" +
+      "ocumentTransform.FieldTransform.ServerVa" +
+      "lueH\000\022/\n\tincrement\030\003 \001(\0132\032.google.firest" +
+      "ore.v1.ValueH\000\022-\n\007maximum\030\004 \001(\0132\032.google" +
+      ".firestore.v1.ValueH\000\022-\n\007minimum\030\005 \001(\0132\032" +
+      ".google.firestore.v1.ValueH\000\022B\n\027append_m" +
+      "issing_elements\030\006 \001(\0132\037.google.firestore" +
+      ".v1.ArrayValueH\000\022@\n\025remove_all_from_arra" +
+      "y\030\007 \001(\0132\037.google.firestore.v1.ArrayValue" +
+      "H\000\"=\n\013ServerValue\022\034\n\030SERVER_VALUE_UNSPEC" +
+      "IFIED\020\000\022\020\n\014REQUEST_TIME\020\001B\020\n\016transform_t" +
+      "ype\"u\n\013WriteResult\022/\n\013update_time\030\001 \001(\0132" +
+      "\032.google.protobuf.Timestamp\0225\n\021transform" +
+      "_results\030\002 \003(\0132\032.google.firestore.v1.Val" +
+      "ue\"q\n\016DocumentChange\022/\n\010document\030\001 \001(\0132\035" +
+      ".google.firestore.v1.Document\022\022\n\ntarget_" +
+      "ids\030\005 \003(\005\022\032\n\022removed_target_ids\030\006 \003(\005\"m\n" +
+      "\016DocumentDelete\022\020\n\010document\030\001 \001(\t\022\032\n\022rem" +
+      "oved_target_ids\030\006 \003(\005\022-\n\tread_time\030\004 \001(\013" +
+      "2\032.google.protobuf.Timestamp\"m\n\016Document" +
+      "Remove\022\020\n\010document\030\001 \001(\t\022\032\n\022removed_targ" +
+      "et_ids\030\002 \003(\005\022-\n\tread_time\030\004 \001(\0132\032.google" +
+      ".protobuf.Timestamp\"3\n\017ExistenceFilter\022\021" +
+      "\n\ttarget_id\030\001 \001(\005\022\r\n\005count\030\002 \001(\005B\302\001\n\027com" +
+      ".google.firestore.v1B\nWriteProtoP\001Z;clou" +
+      "d.google.com/go/firestore/apiv1/firestor" +
+      "epb;firestorepb\242\002\004GCFS\252\002\031Google.Cloud.Fi" +
+      "restore.V1\312\002\031Google\\Cloud\\Firestore\\V1\352\002" +
+      "\034Google::Cloud::Firestore::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.firestore.v1.CommonProto.getDescriptor(),
+          com.google.firestore.v1.DocumentProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_firestore_v1_Write_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_v1_Write_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_Write_descriptor,
+        new java.lang.String[] { "Update", "Delete", "Transform", "UpdateMask", "UpdateTransforms", "CurrentDocument", "Operation", });
+    internal_static_google_firestore_v1_DocumentTransform_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_DocumentTransform_descriptor,
+        new java.lang.String[] { "Document", "FieldTransforms", });
+    internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor =
+      internal_static_google_firestore_v1_DocumentTransform_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor,
+        new java.lang.String[] { "FieldPath", "SetToServerValue", "Increment", "Maximum", "Minimum", "AppendMissingElements", "RemoveAllFromArray", "TransformType", });
+    internal_static_google_firestore_v1_WriteResult_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_v1_WriteResult_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_WriteResult_descriptor,
+        new java.lang.String[] { "UpdateTime", "TransformResults", });
+    internal_static_google_firestore_v1_DocumentChange_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_DocumentChange_descriptor,
+        new java.lang.String[] { "Document", "TargetIds", "RemovedTargetIds", });
+    internal_static_google_firestore_v1_DocumentDelete_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_DocumentDelete_descriptor,
+        new java.lang.String[] { "Document", "RemovedTargetIds", "ReadTime", });
+    internal_static_google_firestore_v1_DocumentRemove_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_DocumentRemove_descriptor,
+        new java.lang.String[] { "Document", "RemovedTargetIds", "ReadTime", });
+    internal_static_google_firestore_v1_ExistenceFilter_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_firestore_v1_ExistenceFilter_descriptor,
+        new java.lang.String[] { "TargetId", "Count", });
+    com.google.firestore.v1.CommonProto.getDescriptor();
+    com.google.firestore.v1.DocumentProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java
similarity index 72%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java
index cc02a3927..0d18bd309 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The request for [Firestore.Write][google.firestore.v1.Firestore.Write].
  * The first request creates a stream, or resumes an existing one from a token.
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.firestore.v1.WriteRequest}
  */
-public final class WriteRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WriteRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteRequest)
     WriteRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WriteRequest.newBuilder() to construct.
   private WriteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private WriteRequest() {
     database_ = "";
     streamId_ = "";
@@ -52,48 +34,45 @@ private WriteRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WriteRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_WriteRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 5:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto
-        .internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.WriteRequest.class,
-            com.google.firestore.v1.WriteRequest.Builder.class);
+            com.google.firestore.v1.WriteRequest.class, com.google.firestore.v1.WriteRequest.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
-   *
-   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -101,7 +80,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ @java.lang.Override @@ -110,15 +88,14 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -126,15 +103,16 @@ public java.lang.String getDatabase() {
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -143,12 +121,9 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } public static final int STREAM_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object streamId_ = ""; /** - * - * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -156,7 +131,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
    * 
* * string stream_id = 2; - * * @return The streamId. */ @java.lang.Override @@ -165,15 +139,14 @@ public java.lang.String getStreamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } } /** - * - * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -181,15 +154,16 @@ public java.lang.String getStreamId() {
    * 
* * string stream_id = 2; - * * @return The bytes for streamId. */ @java.lang.Override - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -198,12 +172,9 @@ public com.google.protobuf.ByteString getStreamIdBytes() { } public static final int WRITES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List writes_; /** - * - * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -219,8 +190,6 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -232,12 +201,11 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 3;
    */
   @java.lang.Override
-  public java.util.List getWritesOrBuilderList() {
+  public java.util.List 
+      getWritesOrBuilderList() {
     return writes_;
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -253,8 +221,6 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -270,8 +236,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -283,15 +247,14 @@ public com.google.firestore.v1.Write getWrites(int index) {
    * repeated .google.firestore.v1.Write writes = 3;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index) {
     return writes_.get(index);
   }
 
   public static final int STREAM_TOKEN_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * A stream token that was previously sent by the server.
    * The client should set this field to the token from the most recent
@@ -306,7 +269,6 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
    * 
* * bytes stream_token = 4; - * * @return The streamToken. */ @java.lang.Override @@ -315,34 +277,32 @@ public com.google.protobuf.ByteString getStreamToken() { } public static final int LABELS_FIELD_NUMBER = 5; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels associated with this write request.
    * 
@@ -350,21 +310,20 @@ public int getLabelsCount() { * map<string, string> labels = 5; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels associated with this write request.
    * 
@@ -376,8 +335,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels associated with this write request.
    * 
@@ -385,19 +342,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels associated with this write request.
    * 
@@ -405,11 +360,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -417,7 +372,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -429,7 +383,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -442,8 +397,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!streamToken_.isEmpty()) { output.writeBytes(4, streamToken_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 5); getUnknownFields().writeTo(output); } @@ -460,20 +419,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, streamId_); } for (int i = 0; i < writes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, writes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, writes_.get(i)); } if (!streamToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, streamToken_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, streamToken_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, labels__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -483,18 +444,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.WriteRequest)) { return super.equals(obj); } com.google.firestore.v1.WriteRequest other = (com.google.firestore.v1.WriteRequest) obj; - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getStreamId().equals(other.getStreamId())) return false; - if (!getWritesList().equals(other.getWritesList())) return false; - if (!getStreamToken().equals(other.getStreamToken())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getStreamId() + .equals(other.getStreamId())) return false; + if (!getWritesList() + .equals(other.getWritesList())) return false; + if (!getStreamToken() + .equals(other.getStreamToken())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -525,103 +491,97 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.WriteRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.firestore.v1.WriteRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.WriteRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.firestore.v1.WriteRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.firestore.v1.WriteRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.WriteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.WriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1.WriteRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.WriteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.WriteRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.WriteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.WriteRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.WriteRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.firestore.v1.WriteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.WriteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for [Firestore.Write][google.firestore.v1.Firestore.Write].
    * The first request creates a stream, or resumes an existing one from a token.
@@ -634,52 +594,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.firestore.v1.WriteRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteRequest)
       com.google.firestore.v1.WriteRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_WriteRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.WriteRequest.class,
-              com.google.firestore.v1.WriteRequest.Builder.class);
+              com.google.firestore.v1.WriteRequest.class, com.google.firestore.v1.WriteRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.WriteRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -699,9 +662,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto
-          .internal_static_google_firestore_v1_WriteRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_descriptor;
     }
 
     @java.lang.Override
@@ -722,9 +685,7 @@ public com.google.firestore.v1.WriteRequest build() {
     public com.google.firestore.v1.WriteRequest buildPartial() {
       com.google.firestore.v1.WriteRequest result = new com.google.firestore.v1.WriteRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -762,39 +723,38 @@ private void buildPartial0(com.google.firestore.v1.WriteRequest result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.WriteRequest) {
-        return mergeFrom((com.google.firestore.v1.WriteRequest) other);
+        return mergeFrom((com.google.firestore.v1.WriteRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -831,10 +791,9 @@ public Builder mergeFrom(com.google.firestore.v1.WriteRequest other) {
             writesBuilder_ = null;
             writes_ = other.writes_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            writesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getWritesFieldBuilder()
-                    : null;
+            writesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getWritesFieldBuilder() : null;
           } else {
             writesBuilder_.addAllMessages(other.writes_);
           }
@@ -843,7 +802,8 @@ public Builder mergeFrom(com.google.firestore.v1.WriteRequest other) {
       if (other.getStreamToken() != com.google.protobuf.ByteString.EMPTY) {
         setStreamToken(other.getStreamToken());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000010;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -871,55 +831,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                database_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                streamId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.firestore.v1.Write m =
-                    input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry);
-                if (writesBuilder_ == null) {
-                  ensureWritesIsMutable();
-                  writes_.add(m);
-                } else {
-                  writesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-            case 34:
-              {
-                streamToken_ = input.readBytes();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              database_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              streamId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.firestore.v1.Write m =
+                  input.readMessage(
+                      com.google.firestore.v1.Write.parser(),
+                      extensionRegistry);
+              if (writesBuilder_ == null) {
+                ensureWritesIsMutable();
+                writes_.add(m);
+              } else {
+                writesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 26
+            case 34: {
+              streamToken_ = input.readBytes();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -929,13 +883,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -943,13 +894,13 @@ public Builder mergeFrom(
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -958,8 +909,6 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -967,14 +916,15 @@ public java.lang.String getDatabase() {
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -982,8 +932,6 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -991,22 +939,18 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabase( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -1014,7 +958,6 @@ public Builder setDatabase(java.lang.String value) {
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -1024,8 +967,6 @@ public Builder clearDatabase() { return this; } /** - * - * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -1033,14 +974,12 @@ public Builder clearDatabase() {
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -1050,8 +989,6 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private java.lang.Object streamId_ = ""; /** - * - * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1059,13 +996,13 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) {
      * 
* * string stream_id = 2; - * * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; @@ -1074,8 +1011,6 @@ public java.lang.String getStreamId() { } } /** - * - * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1083,14 +1018,15 @@ public java.lang.String getStreamId() {
      * 
* * string stream_id = 2; - * * @return The bytes for streamId. */ - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -1098,8 +1034,6 @@ public com.google.protobuf.ByteString getStreamIdBytes() { } } /** - * - * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1107,22 +1041,18 @@ public com.google.protobuf.ByteString getStreamIdBytes() {
      * 
* * string stream_id = 2; - * * @param value The streamId to set. * @return This builder for chaining. */ - public Builder setStreamId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStreamId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } streamId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1130,7 +1060,6 @@ public Builder setStreamId(java.lang.String value) {
      * 
* * string stream_id = 2; - * * @return This builder for chaining. */ public Builder clearStreamId() { @@ -1140,8 +1069,6 @@ public Builder clearStreamId() { return this; } /** - * - * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1149,14 +1076,12 @@ public Builder clearStreamId() {
      * 
* * string stream_id = 2; - * * @param value The bytes for streamId to set. * @return This builder for chaining. */ - public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStreamIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); streamId_ = value; bitField0_ |= 0x00000002; @@ -1165,24 +1090,18 @@ public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { } private java.util.List writes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, - com.google.firestore.v1.Write.Builder, - com.google.firestore.v1.WriteOrBuilder> - writesBuilder_; + com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; /** - * - * *
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1201,8 +1120,6 @@ public java.util.List getWritesList() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1221,8 +1138,6 @@ public int getWritesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1241,8 +1156,6 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1253,7 +1166,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1267,8 +1181,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1279,7 +1191,8 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder setWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.set(index, builderForValue.build());
@@ -1290,8 +1203,6 @@ public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1316,8 +1227,6 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1328,7 +1237,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write value) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1342,8 +1252,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1354,7 +1262,8 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(builderForValue.build());
@@ -1365,8 +1274,6 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1377,7 +1284,8 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(
+        int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(index, builderForValue.build());
@@ -1388,8 +1296,6 @@ public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1404,7 +1310,8 @@ public Builder addAllWrites(
         java.lang.Iterable values) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writes_);
         onChanged();
       } else {
         writesBuilder_.addAllMessages(values);
@@ -1412,8 +1319,6 @@ public Builder addAllWrites(
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1435,8 +1340,6 @@ public Builder clearWrites() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1458,8 +1361,6 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1470,12 +1371,11 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(
+        int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1486,16 +1386,14 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+        int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);
-      } else {
+        return writes_.get(index);  } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1506,8 +1404,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public java.util.List
-        getWritesOrBuilderList() {
+    public java.util.List 
+         getWritesOrBuilderList() {
       if (writesBuilder_ != null) {
         return writesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1515,8 +1413,6 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1528,11 +1424,10 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
      * repeated .google.firestore.v1.Write writes = 3;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(
+          com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1543,13 +1438,12 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
-      return getWritesFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(
+        int index) {
+      return getWritesFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1560,22 +1454,20 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public java.util.List getWritesBuilderList() {
+    public java.util.List 
+         getWritesBuilderList() {
       return getWritesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Write,
-            com.google.firestore.v1.Write.Builder,
-            com.google.firestore.v1.WriteOrBuilder>
+        com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> 
         getWritesFieldBuilder() {
       if (writesBuilder_ == null) {
-        writesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Write,
-                com.google.firestore.v1.Write.Builder,
-                com.google.firestore.v1.WriteOrBuilder>(
-                writes_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        writesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder>(
+                writes_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         writes_ = null;
       }
       return writesBuilder_;
@@ -1583,8 +1475,6 @@ public java.util.List getWritesBuilderLis
 
     private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1599,7 +1489,6 @@ public java.util.List getWritesBuilderLis
      * 
* * bytes stream_token = 4; - * * @return The streamToken. */ @java.lang.Override @@ -1607,8 +1496,6 @@ public com.google.protobuf.ByteString getStreamToken() { return streamToken_; } /** - * - * *
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1623,22 +1510,17 @@ public com.google.protobuf.ByteString getStreamToken() {
      * 
* * bytes stream_token = 4; - * * @param value The streamToken to set. * @return This builder for chaining. */ public Builder setStreamToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } streamToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1653,7 +1535,6 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 4; - * * @return This builder for chaining. */ public Builder clearStreamToken() { @@ -1663,19 +1544,21 @@ public Builder clearStreamToken() { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1684,13 +1567,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels associated with this write request.
      * 
@@ -1698,21 +1578,20 @@ public int getLabelsCount() { * map<string, string> labels = 5; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels associated with this write request.
      * 
@@ -1724,8 +1603,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels associated with this write request.
      * 
@@ -1733,19 +1610,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels associated with this write request.
      * 
@@ -1753,81 +1628,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels associated with this write request.
      * 
* * map<string, string> labels = 5; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000010; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels associated with this write request.
      * 
* * map<string, string> labels = 5; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000010; return this; } /** - * - * *
      * Labels associated with this write request.
      * 
* * map<string, string> labels = 5; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000010; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1837,12 +1710,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.firestore.v1.WriteRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.WriteRequest) private static final com.google.firestore.v1.WriteRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.firestore.v1.WriteRequest(); } @@ -1851,27 +1724,27 @@ public static com.google.firestore.v1.WriteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1886,4 +1759,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.WriteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java index 620e18290..1b2d4069e 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface WriteRequestOrBuilder - extends +public interface WriteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -33,13 +15,10 @@ public interface WriteRequestOrBuilder
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -47,14 +26,12 @@ public interface WriteRequestOrBuilder
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -62,13 +39,10 @@ public interface WriteRequestOrBuilder
    * 
* * string stream_id = 2; - * * @return The streamId. */ java.lang.String getStreamId(); /** - * - * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -76,14 +50,12 @@ public interface WriteRequestOrBuilder
    * 
* * string stream_id = 2; - * * @return The bytes for streamId. */ - com.google.protobuf.ByteString getStreamIdBytes(); + com.google.protobuf.ByteString + getStreamIdBytes(); /** - * - * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -94,10 +66,9 @@ public interface WriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  java.util.List getWritesList();
+  java.util.List 
+      getWritesList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -110,8 +81,6 @@ public interface WriteRequestOrBuilder
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -124,8 +93,6 @@ public interface WriteRequestOrBuilder
    */
   int getWritesCount();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -136,10 +103,9 @@ public interface WriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  java.util.List getWritesOrBuilderList();
+  java.util.List 
+      getWritesOrBuilderList();
   /**
-   *
-   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -150,11 +116,10 @@ public interface WriteRequestOrBuilder
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A stream token that was previously sent by the server.
    * The client should set this field to the token from the most recent
@@ -169,14 +134,11 @@ public interface WriteRequestOrBuilder
    * 
* * bytes stream_token = 4; - * * @return The streamToken. */ com.google.protobuf.ByteString getStreamToken(); /** - * - * *
    * Labels associated with this write request.
    * 
@@ -185,31 +147,30 @@ public interface WriteRequestOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels associated with this write request.
    * 
@@ -217,18 +178,17 @@ public interface WriteRequestOrBuilder * map<string, string> labels = 5; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java similarity index 75% rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java index 1b7951aec..b14857df6 100644 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** - * - * *
  * The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
  * 
* * Protobuf type {@code google.firestore.v1.WriteResponse} */ -public final class WriteResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WriteResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteResponse) WriteResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WriteResponse.newBuilder() to construct. private WriteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WriteResponse() { streamId_ = ""; streamToken_ = com.google.protobuf.ByteString.EMPTY; @@ -45,44 +27,39 @@ private WriteResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WriteResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_WriteResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResponse.class, - com.google.firestore.v1.WriteResponse.Builder.class); + com.google.firestore.v1.WriteResponse.class, com.google.firestore.v1.WriteResponse.Builder.class); } public static final int STREAM_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object streamId_ = ""; /** - * - * *
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; - * * @return The streamId. */ @java.lang.Override @@ -91,30 +68,30 @@ public java.lang.String getStreamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } } /** - * - * *
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; - * * @return The bytes for streamId. */ @java.lang.Override - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -125,8 +102,6 @@ public com.google.protobuf.ByteString getStreamIdBytes() { public static final int STREAM_TOKEN_FIELD_NUMBER = 2; private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * A token that represents the position of this response in the stream.
    * This can be used by a client to resume the stream at this point.
@@ -134,7 +109,6 @@ public com.google.protobuf.ByteString getStreamIdBytes() {
    * 
* * bytes stream_token = 2; - * * @return The streamToken. */ @java.lang.Override @@ -143,12 +117,9 @@ public com.google.protobuf.ByteString getStreamToken() { } public static final int WRITE_RESULTS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List writeResults_; /** - * - * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -162,8 +133,6 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -173,13 +142,11 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -193,8 +160,6 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -208,8 +173,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -219,22 +182,20 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index) {
     return writeResults_.get(index);
   }
 
   public static final int COMMIT_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp commitTime_;
   /**
-   *
-   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -242,15 +203,12 @@ public boolean hasCommitTime() { return commitTime_ != null; } /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return The commitTime. */ @java.lang.Override @@ -258,8 +216,6 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
@@ -273,7 +229,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -285,7 +240,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, streamId_);
     }
@@ -311,13 +267,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, streamId_);
     }
     if (!streamToken_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, streamToken_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(2, streamToken_);
     }
     for (int i = 0; i < writeResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, writeResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, writeResults_.get(i));
     }
     if (commitTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getCommitTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -327,19 +286,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.WriteResponse)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.WriteResponse other = (com.google.firestore.v1.WriteResponse) obj;
 
-    if (!getStreamId().equals(other.getStreamId())) return false;
-    if (!getStreamToken().equals(other.getStreamToken())) return false;
-    if (!getWriteResultsList().equals(other.getWriteResultsList())) return false;
+    if (!getStreamId()
+        .equals(other.getStreamId())) return false;
+    if (!getStreamToken()
+        .equals(other.getStreamToken())) return false;
+    if (!getWriteResultsList()
+        .equals(other.getWriteResultsList())) return false;
     if (hasCommitTime() != other.hasCommitTime()) return false;
     if (hasCommitTime()) {
-      if (!getCommitTime().equals(other.getCommitTime())) return false;
+      if (!getCommitTime()
+          .equals(other.getCommitTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -369,135 +332,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.WriteResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.WriteResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.WriteResponse parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.firestore.v1.WriteResponse parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.WriteResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.WriteResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.WriteResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.WriteResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.WriteResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.WriteResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.WriteResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
    * 
* * Protobuf type {@code google.firestore.v1.WriteResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteResponse) com.google.firestore.v1.WriteResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_WriteResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResponse.class, - com.google.firestore.v1.WriteResponse.Builder.class); + com.google.firestore.v1.WriteResponse.class, com.google.firestore.v1.WriteResponse.Builder.class); } // Construct using com.google.firestore.v1.WriteResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto - .internal_static_google_firestore_v1_WriteResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_descriptor; } @java.lang.Override @@ -541,12 +499,9 @@ public com.google.firestore.v1.WriteResponse build() { @java.lang.Override public com.google.firestore.v1.WriteResponse buildPartial() { - com.google.firestore.v1.WriteResponse result = - new com.google.firestore.v1.WriteResponse(this); + com.google.firestore.v1.WriteResponse result = new com.google.firestore.v1.WriteResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -572,7 +527,9 @@ private void buildPartial0(com.google.firestore.v1.WriteResponse result) { result.streamToken_ = streamToken_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null + ? commitTime_ + : commitTimeBuilder_.build(); } } @@ -580,39 +537,38 @@ private void buildPartial0(com.google.firestore.v1.WriteResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.WriteResponse) { - return mergeFrom((com.google.firestore.v1.WriteResponse) other); + return mergeFrom((com.google.firestore.v1.WriteResponse)other); } else { super.mergeFrom(other); return this; @@ -647,10 +603,9 @@ public Builder mergeFrom(com.google.firestore.v1.WriteResponse other) { writeResultsBuilder_ = null; writeResults_ = other.writeResults_; bitField0_ = (bitField0_ & ~0x00000004); - writeResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWriteResultsFieldBuilder() - : null; + writeResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWriteResultsFieldBuilder() : null; } else { writeResultsBuilder_.addAllMessages(other.writeResults_); } @@ -685,44 +640,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - streamId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - streamToken_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - com.google.firestore.v1.WriteResult m = - input.readMessage( - com.google.firestore.v1.WriteResult.parser(), extensionRegistry); - if (writeResultsBuilder_ == null) { - ensureWriteResultsIsMutable(); - writeResults_.add(m); - } else { - writeResultsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + streamId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + streamToken_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + com.google.firestore.v1.WriteResult m = + input.readMessage( + com.google.firestore.v1.WriteResult.parser(), + extensionRegistry); + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.add(m); + } else { + writeResultsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + input.readMessage( + getCommitTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -732,26 +685,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object streamId_ = ""; /** - * - * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; - * * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; @@ -760,22 +710,21 @@ public java.lang.String getStreamId() { } } /** - * - * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; - * * @return The bytes for streamId. */ - public com.google.protobuf.ByteString getStreamIdBytes() { + public com.google.protobuf.ByteString + getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); streamId_ = b; return b; } else { @@ -783,37 +732,30 @@ public com.google.protobuf.ByteString getStreamIdBytes() { } } /** - * - * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; - * * @param value The streamId to set. * @return This builder for chaining. */ - public Builder setStreamId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStreamId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } streamId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; - * * @return This builder for chaining. */ public Builder clearStreamId() { @@ -823,22 +765,18 @@ public Builder clearStreamId() { return this; } /** - * - * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; - * * @param value The bytes for streamId to set. * @return This builder for chaining. */ - public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStreamIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); streamId_ = value; bitField0_ |= 0x00000001; @@ -848,8 +786,6 @@ public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * A token that represents the position of this response in the stream.
      * This can be used by a client to resume the stream at this point.
@@ -857,7 +793,6 @@ public Builder setStreamIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 2; - * * @return The streamToken. */ @java.lang.Override @@ -865,8 +800,6 @@ public com.google.protobuf.ByteString getStreamToken() { return streamToken_; } /** - * - * *
      * A token that represents the position of this response in the stream.
      * This can be used by a client to resume the stream at this point.
@@ -874,22 +807,17 @@ public com.google.protobuf.ByteString getStreamToken() {
      * 
* * bytes stream_token = 2; - * * @param value The streamToken to set. * @return This builder for chaining. */ public Builder setStreamToken(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } streamToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token that represents the position of this response in the stream.
      * This can be used by a client to resume the stream at this point.
@@ -897,7 +825,6 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 2; - * * @return This builder for chaining. */ public Builder clearStreamToken() { @@ -908,24 +835,18 @@ public Builder clearStreamToken() { } private java.util.List writeResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWriteResultsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { writeResults_ = new java.util.ArrayList(writeResults_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.WriteResult, - com.google.firestore.v1.WriteResult.Builder, - com.google.firestore.v1.WriteResultOrBuilder> - writeResultsBuilder_; + com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_; /** - * - * *
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -942,8 +863,6 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -960,8 +879,6 @@ public int getWriteResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -978,8 +895,6 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -988,7 +903,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder setWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1002,8 +918,6 @@ public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1024,8 +938,6 @@ public Builder setWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1048,8 +960,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1058,7 +968,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) {
+    public Builder addWriteResults(
+        int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1072,8 +983,6 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1082,7 +991,8 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) {
+    public Builder addWriteResults(
+        com.google.firestore.v1.WriteResult.Builder builderForValue) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
         writeResults_.add(builderForValue.build());
@@ -1093,8 +1003,6 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1115,8 +1023,6 @@ public Builder addWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1129,7 +1035,8 @@ public Builder addAllWriteResults(
         java.lang.Iterable values) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, writeResults_);
         onChanged();
       } else {
         writeResultsBuilder_.addAllMessages(values);
@@ -1137,8 +1044,6 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1158,8 +1063,6 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1179,8 +1082,6 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1189,12 +1090,11 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
+        int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1203,16 +1103,14 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+        int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);
-      } else {
+        return writeResults_.get(index);  } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1221,8 +1119,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public java.util.List
-        getWriteResultsOrBuilderList() {
+    public java.util.List 
+         getWriteResultsOrBuilderList() {
       if (writeResultsBuilder_ != null) {
         return writeResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1230,8 +1128,6 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1241,12 +1137,10 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder().addBuilder(
+          com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1255,13 +1149,12 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
-      return getWriteResultsFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
+        int index) {
+      return getWriteResultsFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1270,23 +1163,20 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public java.util.List
-        getWriteResultsBuilderList() {
+    public java.util.List 
+         getWriteResultsBuilderList() {
       return getWriteResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult,
-            com.google.firestore.v1.WriteResult.Builder,
-            com.google.firestore.v1.WriteResultOrBuilder>
+        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> 
         getWriteResultsFieldBuilder() {
       if (writeResultsBuilder_ == null) {
-        writeResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.WriteResult,
-                com.google.firestore.v1.WriteResult.Builder,
-                com.google.firestore.v1.WriteResultOrBuilder>(
-                writeResults_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        writeResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder>(
+                writeResults_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         writeResults_ = null;
       }
       return writeResultsBuilder_;
@@ -1294,49 +1184,36 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
 
     private com.google.protobuf.Timestamp commitTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        commitTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
      * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
      * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return The commitTime. */ public com.google.protobuf.Timestamp getCommitTime() { if (commitTimeBuilder_ == null) { - return commitTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTime_; + return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } else { return commitTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1358,8 +1235,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1367,7 +1242,8 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp commit_time = 4;
      */
-    public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCommitTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimeBuilder_ == null) {
         commitTime_ = builderForValue.build();
       } else {
@@ -1378,8 +1254,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1389,9 +1263,9 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && commitTime_ != null
-            && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          commitTime_ != null &&
+          commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCommitTimeBuilder().mergeFrom(value);
         } else {
           commitTime_ = value;
@@ -1404,8 +1278,6 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1424,8 +1296,6 @@ public Builder clearCommitTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1439,8 +1309,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
       return getCommitTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1452,14 +1320,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
       if (commitTimeBuilder_ != null) {
         return commitTimeBuilder_.getMessageOrBuilder();
       } else {
-        return commitTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : commitTime_;
+        return commitTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1468,24 +1333,21 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * .google.protobuf.Timestamp commit_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getCommitTimeFieldBuilder() {
       if (commitTimeBuilder_ == null) {
-        commitTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getCommitTime(), getParentForChildren(), isClean());
+        commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getCommitTime(),
+                getParentForChildren(),
+                isClean());
         commitTime_ = null;
       }
       return commitTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1495,12 +1357,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.WriteResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.WriteResponse)
   private static final com.google.firestore.v1.WriteResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.WriteResponse();
   }
@@ -1509,27 +1371,27 @@ public static com.google.firestore.v1.WriteResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public WriteResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public WriteResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1544,4 +1406,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.WriteResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
similarity index 78%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
index f92a2e255..8bd57a4ab 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
@@ -1,58 +1,35 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface WriteResponseOrBuilder
-    extends
+public interface WriteResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; - * * @return The streamId. */ java.lang.String getStreamId(); /** - * - * *
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; - * * @return The bytes for streamId. */ - com.google.protobuf.ByteString getStreamIdBytes(); + com.google.protobuf.ByteString + getStreamIdBytes(); /** - * - * *
    * A token that represents the position of this response in the stream.
    * This can be used by a client to resume the stream at this point.
@@ -60,14 +37,11 @@ public interface WriteResponseOrBuilder
    * 
* * bytes stream_token = 2; - * * @return The streamToken. */ com.google.protobuf.ByteString getStreamToken(); /** - * - * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -76,10 +50,9 @@ public interface WriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  java.util.List getWriteResultsList();
+  java.util.List 
+      getWriteResultsList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -90,8 +63,6 @@ public interface WriteResponseOrBuilder
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -102,8 +73,6 @@ public interface WriteResponseOrBuilder
    */
   int getWriteResultsCount();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -112,11 +81,9 @@ public interface WriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  java.util.List
+  java.util.List 
       getWriteResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -125,37 +92,30 @@ public interface WriteResponseOrBuilder
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; - * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** - * - * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
similarity index 75%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
index 9f934324a..f9f0e0183 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
@@ -1,77 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
- *
- *
  * 
  * The result of applying a write.
  * 
* * Protobuf type {@code google.firestore.v1.WriteResult} */ -public final class WriteResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WriteResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteResult) WriteResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WriteResult.newBuilder() to construct. private WriteResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WriteResult() { transformResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WriteResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_WriteResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_WriteResult_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResult.class, - com.google.firestore.v1.WriteResult.Builder.class); + com.google.firestore.v1.WriteResult.class, com.google.firestore.v1.WriteResult.Builder.class); } public static final int UPDATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -88,8 +66,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -98,7 +74,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return The updateTime. */ @java.lang.Override @@ -106,8 +81,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -123,12 +96,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   public static final int TRANSFORM_RESULTS_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List transformResults_;
   /**
-   *
-   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -142,8 +112,6 @@ public java.util.List getTransformResultsList() {
     return transformResults_;
   }
   /**
-   *
-   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -153,13 +121,11 @@ public java.util.List getTransformResultsList() {
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTransformResultsOrBuilderList() {
     return transformResults_;
   }
   /**
-   *
-   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -173,8 +139,6 @@ public int getTransformResultsCount() {
     return transformResults_.size();
   }
   /**
-   *
-   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -188,8 +152,6 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
     return transformResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -199,12 +161,12 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index) {
+  public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
+      int index) {
     return transformResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -216,7 +178,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (updateTime_ != null) {
       output.writeMessage(1, getUpdateTime());
     }
@@ -233,10 +196,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getUpdateTime());
     }
     for (int i = 0; i < transformResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, transformResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, transformResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -246,7 +211,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.firestore.v1.WriteResult)) {
       return super.equals(obj);
@@ -255,9 +220,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
     }
-    if (!getTransformResultsList().equals(other.getTransformResultsList())) return false;
+    if (!getTransformResultsList()
+        .equals(other.getTransformResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -282,135 +249,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.WriteResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.WriteResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.WriteResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.firestore.v1.WriteResult parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.firestore.v1.WriteResult parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.WriteResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.WriteResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.firestore.v1.WriteResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.firestore.v1.WriteResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.WriteResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.WriteResult parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.WriteResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.firestore.v1.WriteResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.firestore.v1.WriteResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.firestore.v1.WriteResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of applying a write.
    * 
* * Protobuf type {@code google.firestore.v1.WriteResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteResult) com.google.firestore.v1.WriteResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_WriteResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_WriteResult_fieldAccessorTable + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResult.class, - com.google.firestore.v1.WriteResult.Builder.class); + com.google.firestore.v1.WriteResult.class, com.google.firestore.v1.WriteResult.Builder.class); } // Construct using com.google.firestore.v1.WriteResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +393,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.firestore.v1.WriteProto - .internal_static_google_firestore_v1_WriteResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_descriptor; } @java.lang.Override @@ -454,9 +416,7 @@ public com.google.firestore.v1.WriteResult build() { public com.google.firestore.v1.WriteResult buildPartial() { com.google.firestore.v1.WriteResult result = new com.google.firestore.v1.WriteResult(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -476,7 +436,9 @@ private void buildPartialRepeatedFields(com.google.firestore.v1.WriteResult resu private void buildPartial0(com.google.firestore.v1.WriteResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } } @@ -484,39 +446,38 @@ private void buildPartial0(com.google.firestore.v1.WriteResult result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.WriteResult) { - return mergeFrom((com.google.firestore.v1.WriteResult) other); + return mergeFrom((com.google.firestore.v1.WriteResult)other); } else { super.mergeFrom(other); return this; @@ -546,10 +507,9 @@ public Builder mergeFrom(com.google.firestore.v1.WriteResult other) { transformResultsBuilder_ = null; transformResults_ = other.transformResults_; bitField0_ = (bitField0_ & ~0x00000002); - transformResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTransformResultsFieldBuilder() - : null; + transformResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransformResultsFieldBuilder() : null; } else { transformResultsBuilder_.addAllMessages(other.transformResults_); } @@ -581,31 +541,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.firestore.v1.Value m = - input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); - if (transformResultsBuilder_ == null) { - ensureTransformResultsIsMutable(); - transformResults_.add(m); - } else { - transformResultsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.firestore.v1.Value m = + input.readMessage( + com.google.firestore.v1.Value.parser(), + extensionRegistry); + if (transformResultsBuilder_ == null) { + ensureTransformResultsIsMutable(); + transformResults_.add(m); + } else { + transformResultsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -615,18 +576,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -635,15 +590,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -652,21 +604,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -690,8 +637,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -701,7 +646,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 1;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
       } else {
@@ -712,8 +658,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -725,9 +669,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && updateTime_ != null
-            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          updateTime_ != null &&
+          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -740,8 +684,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -762,8 +704,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -779,8 +719,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -794,14 +732,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : updateTime_;
+        return updateTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -812,42 +747,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(), getParentForChildren(), isClean());
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(),
+                getParentForChildren(),
+                isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
     }
 
     private java.util.List transformResults_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTransformResultsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        transformResults_ =
-            new java.util.ArrayList(transformResults_);
+        transformResults_ = new java.util.ArrayList(transformResults_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Value,
-            com.google.firestore.v1.Value.Builder,
-            com.google.firestore.v1.ValueOrBuilder>
-        transformResultsBuilder_;
+        com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> transformResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -864,8 +789,6 @@ public java.util.List getTransformResultsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -882,8 +805,6 @@ public int getTransformResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -900,8 +821,6 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -910,7 +829,8 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public Builder setTransformResults(int index, com.google.firestore.v1.Value value) {
+    public Builder setTransformResults(
+        int index, com.google.firestore.v1.Value value) {
       if (transformResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -924,8 +844,6 @@ public Builder setTransformResults(int index, com.google.firestore.v1.Value valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -946,8 +864,6 @@ public Builder setTransformResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -970,8 +886,6 @@ public Builder addTransformResults(com.google.firestore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -980,7 +894,8 @@ public Builder addTransformResults(com.google.firestore.v1.Value value) {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public Builder addTransformResults(int index, com.google.firestore.v1.Value value) {
+    public Builder addTransformResults(
+        int index, com.google.firestore.v1.Value value) {
       if (transformResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -994,8 +909,6 @@ public Builder addTransformResults(int index, com.google.firestore.v1.Value valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1004,7 +917,8 @@ public Builder addTransformResults(int index, com.google.firestore.v1.Value valu
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public Builder addTransformResults(com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder addTransformResults(
+        com.google.firestore.v1.Value.Builder builderForValue) {
       if (transformResultsBuilder_ == null) {
         ensureTransformResultsIsMutable();
         transformResults_.add(builderForValue.build());
@@ -1015,8 +929,6 @@ public Builder addTransformResults(com.google.firestore.v1.Value.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1037,8 +949,6 @@ public Builder addTransformResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1051,7 +961,8 @@ public Builder addAllTransformResults(
         java.lang.Iterable values) {
       if (transformResultsBuilder_ == null) {
         ensureTransformResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transformResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, transformResults_);
         onChanged();
       } else {
         transformResultsBuilder_.addAllMessages(values);
@@ -1059,8 +970,6 @@ public Builder addAllTransformResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1080,8 +989,6 @@ public Builder clearTransformResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1101,8 +1008,6 @@ public Builder removeTransformResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1111,12 +1016,11 @@ public Builder removeTransformResults(int index) {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(int index) {
+    public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(
+        int index) {
       return getTransformResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1125,16 +1029,14 @@ public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(int inde
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index) {
+    public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
+        int index) {
       if (transformResultsBuilder_ == null) {
-        return transformResults_.get(index);
-      } else {
+        return transformResults_.get(index);  } else {
         return transformResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1143,8 +1045,8 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int i
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public java.util.List
-        getTransformResultsOrBuilderList() {
+    public java.util.List 
+         getTransformResultsOrBuilderList() {
       if (transformResultsBuilder_ != null) {
         return transformResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1152,8 +1054,6 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1163,12 +1063,10 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int i
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
     public com.google.firestore.v1.Value.Builder addTransformResultsBuilder() {
-      return getTransformResultsFieldBuilder()
-          .addBuilder(com.google.firestore.v1.Value.getDefaultInstance());
+      return getTransformResultsFieldBuilder().addBuilder(
+          com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1177,13 +1075,12 @@ public com.google.firestore.v1.Value.Builder addTransformResultsBuilder() {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(int index) {
-      return getTransformResultsFieldBuilder()
-          .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance());
+    public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(
+        int index) {
+      return getTransformResultsFieldBuilder().addBuilder(
+          index, com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1192,21 +1089,16 @@ public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(int inde
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public java.util.List getTransformResultsBuilderList() {
+    public java.util.List 
+         getTransformResultsBuilderList() {
       return getTransformResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Value,
-            com.google.firestore.v1.Value.Builder,
-            com.google.firestore.v1.ValueOrBuilder>
+        com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
         getTransformResultsFieldBuilder() {
       if (transformResultsBuilder_ == null) {
-        transformResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.firestore.v1.Value,
-                com.google.firestore.v1.Value.Builder,
-                com.google.firestore.v1.ValueOrBuilder>(
+        transformResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
                 transformResults_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1215,9 +1107,9 @@ public java.util.List getTransformResults
       }
       return transformResultsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1227,12 +1119,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.WriteResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.WriteResult)
   private static final com.google.firestore.v1.WriteResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.WriteResult();
   }
@@ -1241,27 +1133,27 @@ public static com.google.firestore.v1.WriteResult getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public WriteResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public WriteResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1276,4 +1168,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.WriteResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
similarity index 78%
rename from proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
index d2f9a15c2..0def7e55e 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface WriteResultOrBuilder
-    extends
+public interface WriteResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -34,13 +16,10 @@ public interface WriteResultOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -49,13 +28,10 @@ public interface WriteResultOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 1; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -68,8 +44,6 @@ public interface WriteResultOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -78,10 +52,9 @@ public interface WriteResultOrBuilder
    *
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
-  java.util.List getTransformResultsList();
+  java.util.List 
+      getTransformResultsList();
   /**
-   *
-   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -92,8 +65,6 @@ public interface WriteResultOrBuilder
    */
   com.google.firestore.v1.Value getTransformResults(int index);
   /**
-   *
-   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -104,8 +75,6 @@ public interface WriteResultOrBuilder
    */
   int getTransformResultsCount();
   /**
-   *
-   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -114,11 +83,9 @@ public interface WriteResultOrBuilder
    *
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
-  java.util.List
+  java.util.List 
       getTransformResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -127,5 +94,6 @@ public interface WriteResultOrBuilder
    *
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
-  com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index);
+  com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
similarity index 98%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
index 87ff8d3fc..05fea5da9 100644
--- a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
similarity index 99%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
index ab02ec76e..29cde08d3 100644
--- a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
similarity index 99%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
index 41317245f..795200498 100644
--- a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
similarity index 98%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
index 2de2116b2..088388ade 100644
--- a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -178,7 +178,7 @@ service Firestore {
   }
 
   // Streams batches of document updates and deletes, in order. This method is
-  // only available via the gRPC API (not REST).
+  // only available via gRPC or WebChannel (not REST).
   rpc Write(stream WriteRequest) returns (stream WriteResponse) {
     option (google.api.http) = {
       post: "/v1/{database=projects/*/databases/*}/documents:write"
@@ -186,8 +186,8 @@ service Firestore {
     };
   }
 
-  // Listens to changes. This method is only available via the gRPC API (not
-  // REST).
+  // Listens to changes. This method is only available via gRPC or WebChannel
+  // (not REST).
   rpc Listen(stream ListenRequest) returns (stream ListenResponse) {
     option (google.api.http) = {
       post: "/v1/{database=projects/*/databases/*}/documents:listen"
@@ -655,7 +655,14 @@ message RunAggregationQueryResponse {
   // a new transaction.
   bytes transaction = 2;
 
-  // The time at which the aggregate value is valid for.
+  // The time at which the aggregate result was computed. This is always
+  // monotonically increasing; in this case, the previous AggregationResult in
+  // the result stream are guaranteed not to have changed between their
+  // `read_time` and this one.
+  //
+  // If the query returns no results, a response with `read_time` and no
+  // `result` will be sent, and this represents the time at which the query
+  // was run.
   google.protobuf.Timestamp read_time = 3;
 }
 
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
similarity index 93%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
index faf1f7b0f..8f89c48d9 100644
--- a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -136,8 +136,9 @@ message StructuredQuery {
       //
       // Requires:
       //
-      // * That `value` is a non-empty `ArrayValue` with at most 10 values.
-      // * No other `IN` or `ARRAY_CONTAINS_ANY` or `NOT_IN`.
+      // * That `value` is a non-empty `ArrayValue`, subject to disjunction
+      //   limits.
+      // * No `NOT_IN` filters in the same query.
       IN = 8;
 
       // The given `field` is an array that contains any of the values in the
@@ -145,8 +146,10 @@ message StructuredQuery {
       //
       // Requires:
       //
-      // * That `value` is a non-empty `ArrayValue` with at most 10 values.
-      // * No other `IN` or `ARRAY_CONTAINS_ANY` or `NOT_IN`.
+      // * That `value` is a non-empty `ArrayValue`, subject to disjunction
+      //   limits.
+      // * No other `ARRAY_CONTAINS_ANY` filters within the same disjunction.
+      // * No `NOT_IN` filters in the same query.
       ARRAY_CONTAINS_ANY = 9;
 
       // The value of the `field` is not in the given array.
@@ -154,7 +157,7 @@ message StructuredQuery {
       // Requires:
       //
       // * That `value` is a non-empty `ArrayValue` with at most 10 values.
-      // * No other `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`,
+      // * No other `OR`, `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`,
       //   `IS_NOT_NULL`, or `IS_NOT_NAN`.
       // * That `field` comes first in the `order_by`.
       NOT_IN = 10;
@@ -251,7 +254,11 @@ message StructuredQuery {
     repeated FieldReference fields = 2;
   }
 
-  // The projection to return.
+  // Optional sub-set of the fields to return.
+  //
+  // This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
+  // documents returned from a query. When not set, assumes that the caller
+  // wants all fields returned.
   Projection select = 1;
 
   // The collections to query.
@@ -349,7 +356,7 @@ message StructuredQuery {
 // Firestore query for running an aggregation over a
 // [StructuredQuery][google.firestore.v1.StructuredQuery].
 message StructuredAggregationQuery {
-  // Defines a aggregation that produces a single result.
+  // Defines an aggregation that produces a single result.
   message Aggregation {
     // Count of documents that match the query.
     //
@@ -360,7 +367,7 @@ message StructuredAggregationQuery {
       // count.
       //
       // This provides a way to set an upper bound on the number of documents
-      // to scan, limiting latency and cost.
+      // to scan, limiting latency, and cost.
       //
       // Unspecified is interpreted as no bound.
       //
@@ -394,7 +401,7 @@ message StructuredAggregationQuery {
     //   COUNT_UP_TO(1) AS count_up_to_1,
     //   COUNT_UP_TO(2),
     //   COUNT_UP_TO(3) AS count_up_to_3,
-    //   COUNT_UP_TO(4)
+    //   COUNT(*)
     // OVER (
     //   ...
     // );
@@ -407,7 +414,7 @@ message StructuredAggregationQuery {
     //   COUNT_UP_TO(1) AS count_up_to_1,
     //   COUNT_UP_TO(2) AS field_1,
     //   COUNT_UP_TO(3) AS count_up_to_3,
-    //   COUNT_UP_TO(4) AS field_2
+    //   COUNT(*) AS field_2
     // OVER (
     //   ...
     // );
diff --git a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
similarity index 99%
rename from proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
rename to owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
index 50001487c..3760f9a34 100644
--- a/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
+++ b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
deleted file mode 100644
index 31611a689..000000000
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/firestore/admin/v1/database.proto
-
-package com.google.firestore.admin.v1;
-
-public final class DatabaseProto {
-  private DatabaseProto() {}
-
-  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
-  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
-    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
-  }
-
-  static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_firestore_admin_v1_Database_descriptor;
-  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
-      internal_static_google_firestore_admin_v1_Database_fieldAccessorTable;
-
-  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
-    return descriptor;
-  }
-
-  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
-  static {
-    java.lang.String[] descriptorData = {
-      "\n(google/firestore/admin/v1/database.pro"
-          + "to\022\031google.firestore.admin.v1\032\037google/ap"
-          + "i/field_behavior.proto\032\031google/api/resou"
-          + "rce.proto\"\320\005\n\010Database\022\014\n\004name\030\001 \001(\t\022\023\n\013"
-          + "location_id\030\t \001(\t\022>\n\004type\030\n \001(\01620.google"
-          + ".firestore.admin.v1.Database.DatabaseTyp"
-          + "e\022M\n\020concurrency_mode\030\017 \001(\01623.google.fir"
-          + "estore.admin.v1.Database.ConcurrencyMode"
-          + "\022a\n\033app_engine_integration_mode\030\023 \001(\0162<."
-          + "google.firestore.admin.v1.Database.AppEn"
-          + "gineIntegrationMode\022\027\n\nkey_prefix\030\024 \001(\tB"
-          + "\003\340A\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031DA"
-          + "TABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_N"
-          + "ATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurren"
-          + "cyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020\000"
-          + "\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OPT"
-          + "IMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngin"
-          + "eIntegrationMode\022+\n\'APP_ENGINE_INTEGRATI"
-          + "ON_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DI"
-          + "SABLED\020\002:R\352AO\n!firestore.googleapis.com/"
-          + "Database\022\'projects/{project}/databases/{"
-          + "database}R\001\001B\334\001\n\035com.google.firestore.ad"
-          + "min.v1B\rDatabaseProtoP\001Z9cloud.google.co"
-          + "m/go/firestore/apiv1/admin/adminpb;admin"
-          + "pb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Admin"
-          + ".V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002#"
-          + "Google::Cloud::Firestore::Admin::V1b\006pro"
-          + "to3"
-    };
-    descriptor =
-        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
-            descriptorData,
-            new com.google.protobuf.Descriptors.FileDescriptor[] {
-              com.google.api.FieldBehaviorProto.getDescriptor(),
-              com.google.api.ResourceProto.getDescriptor(),
-            });
-    internal_static_google_firestore_admin_v1_Database_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_firestore_admin_v1_Database_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_firestore_admin_v1_Database_descriptor,
-            new java.lang.String[] {
-              "Name",
-              "LocationId",
-              "Type",
-              "ConcurrencyMode",
-              "AppEngineIntegrationMode",
-              "KeyPrefix",
-              "Etag",
-            });
-    com.google.protobuf.ExtensionRegistry registry =
-        com.google.protobuf.ExtensionRegistry.newInstance();
-    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
-    registry.add(com.google.api.ResourceProto.resource);
-    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
-        descriptor, registry);
-    com.google.api.FieldBehaviorProto.getDescriptor();
-    com.google.api.ResourceProto.getDescriptor();
-  }
-
-  // @@protoc_insertion_point(outer_class_scope)
-}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java
deleted file mode 100644
index 360e0535c..000000000
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-// Generated by the protocol buffer compiler.  DO NOT EDIT!
-// source: google/firestore/admin/v1/firestore_admin.proto
-
-package com.google.firestore.admin.v1;
-
-public interface DeleteIndexRequestOrBuilder
-    extends
-    // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.DeleteIndexRequest)
-    com.google.protobuf.MessageOrBuilder {
-
-  /**
-   *
-   *
-   * 
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java deleted file mode 100644 index 996ab05b9..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/field.proto - -package com.google.firestore.admin.v1; - -public final class FieldProto { - private FieldProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Field_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Field_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n%google/firestore/admin/v1/field.proto\022" - + "\031google.firestore.admin.v1\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\032%google/firestore/admin/v1/index." - + "proto\"\305\004\n\005Field\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\014in" - + "dex_config\030\002 \001(\0132,.google.firestore.admi" - + "n.v1.Field.IndexConfig\022>\n\nttl_config\030\003 \001" - + "(\0132*.google.firestore.admin.v1.Field.Ttl" - + "Config\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\0132" - + " .google.firestore.admin.v1.Index\022\034\n\024use" - + "s_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fiel" - + "d\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\235\001\n\tTtlConfig" - + "\022D\n\005state\030\001 \001(\01620.google.firestore.admin" - + ".v1.Field.TtlConfig.StateB\003\340A\003\"J\n\005State\022" - + "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006" - + "ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036firesto" - + "re.googleapis.com/Field\022Tprojects/{proje" - + "ct}/databases/{database}/collectionGroup" - + "s/{collection}/fields/{field}B\331\001\n\035com.go" - + "ogle.firestore.admin.v1B\nFieldProtoP\001Z9c" - + "loud.google.com/go/firestore/apiv1/admin" - + "/adminpb;adminpb\242\002\004GCFS\252\002\037Google.Cloud.F" - + "irestore.Admin.V1\312\002\037Google\\Cloud\\Firesto" - + "re\\Admin\\V1\352\002#Google::Cloud::Firestore::" - + "Admin::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.firestore.admin.v1.IndexProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_Field_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_Field_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Field_descriptor, - new java.lang.String[] { - "Name", "IndexConfig", "TtlConfig", - }); - internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor = - internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor, - new java.lang.String[] { - "Indexes", "UsesAncestorConfig", "AncestorField", "Reverting", - }); - internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor = - internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(1); - internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor, - new java.lang.String[] { - "State", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.firestore.admin.v1.IndexProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java deleted file mode 100644 index 3f9bb06d7..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java +++ /dev/null @@ -1,394 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public final class FirestoreAdminProto { - private FirestoreAdminProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/firestore/admin/v1/firestore_ad" - + "min.proto\022\031google.firestore.admin.v1\032\034go" - + "ogle/api/annotations.proto\032\027google/api/c" - + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032(google/" - + "firestore/admin/v1/database.proto\032%googl" - + "e/firestore/admin/v1/field.proto\032%google" - + "/firestore/admin/v1/index.proto\032#google/" - + "longrunning/operations.proto\032\033google/pro" - + "tobuf/empty.proto\032 google/protobuf/field" - + "_mask.proto\"Q\n\024ListDatabasesRequest\0229\n\006p" - + "arent\030\001 \001(\tB)\340A\002\372A#\022!firestore.googleapi" - + "s.com/Database\"O\n\025ListDatabasesResponse\022" - + "6\n\tdatabases\030\001 \003(\0132#.google.firestore.ad" - + "min.v1.Database\"M\n\022GetDatabaseRequest\0227\n" - + "\004name\030\001 \001(\tB)\340A\002\372A#\n!firestore.googleapi" - + "s.com/Database\"\204\001\n\025UpdateDatabaseRequest" - + "\022:\n\010database\030\001 \001(\0132#.google.firestore.ad" - + "min.v1.DatabaseB\003\340A\002\022/\n\013update_mask\030\002 \001(" - + "\0132\032.google.protobuf.FieldMask\"\030\n\026UpdateD" - + "atabaseMetadata\"\214\001\n\022CreateIndexRequest\022@" - + "\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(firestore.google" - + "apis.com/CollectionGroup\0224\n\005index\030\002 \001(\0132" - + " .google.firestore.admin.v1.IndexB\003\340A\002\"\215" - + "\001\n\022ListIndexesRequest\022@\n\006parent\030\001 \001(\tB0\340" - + "A\002\372A*\n(firestore.googleapis.com/Collecti" - + "onGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001" - + "(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListIndexesRes" - + "ponse\0221\n\007indexes\030\001 \003(\0132 .google.firestor" - + "e.admin.v1.Index\022\027\n\017next_page_token\030\002 \001(" - + "\t\"G\n\017GetIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" - + "A \n\036firestore.googleapis.com/Index\"J\n\022De" - + "leteIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036" - + "firestore.googleapis.com/Index\"{\n\022Update" - + "FieldRequest\0224\n\005field\030\001 \001(\0132 .google.fir" - + "estore.admin.v1.FieldB\003\340A\002\022/\n\013update_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"G\n\017G" - + "etFieldRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036fi" - + "restore.googleapis.com/Field\"\214\001\n\021ListFie" - + "ldsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(fire" - + "store.googleapis.com/CollectionGroup\022\016\n\006" - + "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_" - + "token\030\004 \001(\t\"_\n\022ListFieldsResponse\0220\n\006fie" - + "lds\030\001 \003(\0132 .google.firestore.admin.v1.Fi" - + "eld\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\026ExportD" - + "ocumentsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!f" - + "irestore.googleapis.com/Database\022\026\n\016coll" - + "ection_ids\030\002 \003(\t\022\031\n\021output_uri_prefix\030\003 " - + "\001(\t\"\203\001\n\026ImportDocumentsRequest\0227\n\004name\030\001" - + " \001(\tB)\340A\002\372A#\n!firestore.googleapis.com/D" - + "atabase\022\026\n\016collection_ids\030\002 \003(\t\022\030\n\020input" - + "_uri_prefix\030\003 \001(\t2\222\023\n\016FirestoreAdmin\022\333\001\n" - + "\013CreateIndex\022-.google.firestore.admin.v1" - + ".CreateIndexRequest\032\035.google.longrunning" - + ".Operation\"~\202\323\344\223\002G\">/v1/{parent=projects" - + "/*/databases/*/collectionGroups/*}/index" - + "es:\005index\332A\014parent,index\312A\037\n\005Index\022\026Inde" - + "xOperationMetadata\022\275\001\n\013ListIndexes\022-.goo" - + "gle.firestore.admin.v1.ListIndexesReques" - + "t\032..google.firestore.admin.v1.ListIndexe" - + "sResponse\"O\202\323\344\223\002@\022>/v1/{parent=projects/" - + "*/databases/*/collectionGroups/*}/indexe" - + "s\332A\006parent\022\247\001\n\010GetIndex\022*.google.firesto" - + "re.admin.v1.GetIndexRequest\032 .google.fir" - + "estore.admin.v1.Index\"M\202\323\344\223\002@\022>/v1/{name" - + "=projects/*/databases/*/collectionGroups" - + "/*/indexes/*}\332A\004name\022\243\001\n\013DeleteIndex\022-.g" - + "oogle.firestore.admin.v1.DeleteIndexRequ" - + "est\032\026.google.protobuf.Empty\"M\202\323\344\223\002@*>/v1" - + "/{name=projects/*/databases/*/collection" - + "Groups/*/indexes/*}\332A\004name\022\246\001\n\010GetField\022" - + "*.google.firestore.admin.v1.GetFieldRequ" - + "est\032 .google.firestore.admin.v1.Field\"L\202" - + "\323\344\223\002?\022=/v1/{name=projects/*/databases/*/" - + "collectionGroups/*/fields/*}\332A\004name\022\331\001\n\013" - + "UpdateField\022-.google.firestore.admin.v1." - + "UpdateFieldRequest\032\035.google.longrunning." - + "Operation\"|\202\323\344\223\002L2C/v1/{field.name=proje" - + "cts/*/databases/*/collectionGroups/*/fie" - + "lds/*}:\005field\332A\005field\312A\037\n\005Field\022\026FieldOp" - + "erationMetadata\022\271\001\n\nListFields\022,.google." - + "firestore.admin.v1.ListFieldsRequest\032-.g" - + "oogle.firestore.admin.v1.ListFieldsRespo" - + "nse\"N\202\323\344\223\002?\022=/v1/{parent=projects/*/data" - + "bases/*/collectionGroups/*}/fields\332A\006par" - + "ent\022\335\001\n\017ExportDocuments\0221.google.firesto" - + "re.admin.v1.ExportDocumentsRequest\032\035.goo" - + "gle.longrunning.Operation\"x\202\323\344\223\0026\"1/v1/{" - + "name=projects/*/databases/*}:exportDocum" - + "ents:\001*\332A\004name\312A2\n\027ExportDocumentsRespon" - + "se\022\027ExportDocumentsMetadata\022\333\001\n\017ImportDo" - + "cuments\0221.google.firestore.admin.v1.Impo" - + "rtDocumentsRequest\032\035.google.longrunning." - + "Operation\"v\202\323\344\223\0026\"1/v1/{name=projects/*/" - + "databases/*}:importDocuments:\001*\332A\004name\312A" - + "0\n\025google.protobuf.Empty\022\027ImportDocument" - + "sMetadata\022\223\001\n\013GetDatabase\022-.google.fires" - + "tore.admin.v1.GetDatabaseRequest\032#.googl" - + "e.firestore.admin.v1.Database\"0\202\323\344\223\002#\022!/" - + "v1/{name=projects/*/databases/*}\332A\004name\022" - + "\246\001\n\rListDatabases\022/.google.firestore.adm" - + "in.v1.ListDatabasesRequest\0320.google.fire" - + "store.admin.v1.ListDatabasesResponse\"2\202\323" - + "\344\223\002#\022!/v1/{parent=projects/*}/databases\332" - + "A\006parent\022\333\001\n\016UpdateDatabase\0220.google.fir" - + "estore.admin.v1.UpdateDatabaseRequest\032\035." - + "google.longrunning.Operation\"x\202\323\344\223\00262*/v" - + "1/{database.name=projects/*/databases/*}" - + ":\010database\332A\024database,update_mask\312A\"\n\010Da" - + "tabase\022\026UpdateDatabaseMetadata\032v\312A\030fires" - + "tore.googleapis.com\322AXhttps://www.google" - + "apis.com/auth/cloud-platform,https://www" - + ".googleapis.com/auth/datastoreB\245\003\n\035com.g" - + "oogle.firestore.admin.v1B\023FirestoreAdmin" - + "ProtoP\001Z9cloud.google.com/go/firestore/a" - + "piv1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Goog" - + "le.Cloud.Firestore.Admin.V1\312\002\037Google\\Clo" - + "ud\\Firestore\\Admin\\V1\352\002#Google::Cloud::F" - + "irestore::Admin::V1\352AL\n!firestore.google" - + "apis.com/Location\022\'projects/{project}/lo" - + "cations/{location}\352Aq\n(firestore.googlea" - + "pis.com/CollectionGroup\022Eprojects/{proje" - + "ct}/databases/{database}/collectionGroup" - + "s/{collection}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.firestore.admin.v1.DatabaseProto.getDescriptor(), - com.google.firestore.admin.v1.FieldProto.getDescriptor(), - com.google.firestore.admin.v1.IndexProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor, - new java.lang.String[] { - "Parent", - }); - internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor, - new java.lang.String[] { - "Databases", - }); - internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor, - new java.lang.String[] { - "Database", "UpdateMask", - }); - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor, - new java.lang.String[] {}); - internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor, - new java.lang.String[] { - "Parent", "Index", - }); - internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor, - new java.lang.String[] { - "Indexes", "NextPageToken", - }); - internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor, - new java.lang.String[] { - "Field", "UpdateMask", - }); - internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor, - new java.lang.String[] { - "Fields", "NextPageToken", - }); - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor, - new java.lang.String[] { - "Name", "CollectionIds", "OutputUriPrefix", - }); - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor, - new java.lang.String[] { - "Name", "CollectionIds", "InputUriPrefix", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.firestore.admin.v1.DatabaseProto.getDescriptor(); - com.google.firestore.admin.v1.FieldProto.getDescriptor(); - com.google.firestore.admin.v1.IndexProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java deleted file mode 100644 index e6bebb265..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface GetDatabaseRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetDatabaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java deleted file mode 100644 index f5eaff563..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface GetFieldRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetFieldRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java deleted file mode 100644 index 82ae93d22..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface GetIndexRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetIndexRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java deleted file mode 100644 index 9ea30f336..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/index.proto - -package com.google.firestore.admin.v1; - -public final class IndexProto { - private IndexProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Index_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Index_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n%google/firestore/admin/v1/index.proto\022" - + "\031google.firestore.admin.v1\032\031google/api/r" - + "esource.proto\"\243\006\n\005Index\022\014\n\004name\030\001 \001(\t\022@\n" - + "\013query_scope\030\002 \001(\0162+.google.firestore.ad" - + "min.v1.Index.QueryScope\022;\n\006fields\030\003 \003(\0132" - + "+.google.firestore.admin.v1.Index.IndexF" - + "ield\0225\n\005state\030\004 \001(\0162&.google.firestore.a" - + "dmin.v1.Index.State\032\275\002\n\nIndexField\022\022\n\nfi" - + "eld_path\030\001 \001(\t\022B\n\005order\030\002 \001(\01621.google.f" - + "irestore.admin.v1.Index.IndexField.Order" - + "H\000\022O\n\014array_config\030\003 \001(\01627.google.firest" - + "ore.admin.v1.Index.IndexField.ArrayConfi" - + "gH\000\"=\n\005Order\022\025\n\021ORDER_UNSPECIFIED\020\000\022\r\n\tA" - + "SCENDING\020\001\022\016\n\nDESCENDING\020\002\"9\n\013ArrayConfi" - + "g\022\034\n\030ARRAY_CONFIG_UNSPECIFIED\020\000\022\014\n\010CONTA" - + "INS\020\001B\014\n\nvalue_mode\"O\n\nQueryScope\022\033\n\027QUE" - + "RY_SCOPE_UNSPECIFIED\020\000\022\016\n\nCOLLECTION\020\001\022\024" - + "\n\020COLLECTION_GROUP\020\002\"I\n\005State\022\025\n\021STATE_U" - + "NSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\020\n" - + "\014NEEDS_REPAIR\020\003:z\352Aw\n\036firestore.googleap" - + "is.com/Index\022Uprojects/{project}/databas" - + "es/{database}/collectionGroups/{collecti" - + "on}/indexes/{index}B\331\001\n\035com.google.fires" - + "tore.admin.v1B\nIndexProtoP\001Z9cloud.googl" - + "e.com/go/firestore/apiv1/admin/adminpb;a" - + "dminpb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.A" - + "dmin.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V" - + "1\352\002#Google::Cloud::Firestore::Admin::V1b" - + "\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_Index_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_Index_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Index_descriptor, - new java.lang.String[] { - "Name", "QueryScope", "Fields", "State", - }); - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor = - internal_static_google_firestore_admin_v1_Index_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor, - new java.lang.String[] { - "FieldPath", "Order", "ArrayConfig", "ValueMode", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java deleted file mode 100644 index 5af6e0293..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface ListDatabasesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListDatabasesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. A parent name of the form
-   * `projects/{project_id}`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. A parent name of the form
-   * `projects/{project_id}`
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java deleted file mode 100644 index 84f402fb8..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/location.proto - -package com.google.firestore.admin.v1; - -public interface LocationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.LocationMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java deleted file mode 100644 index 68c8de712..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/location.proto - -package com.google.firestore.admin.v1; - -public final class LocationProto { - private LocationProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/firestore/admin/v1/location.pro" - + "to\022\031google.firestore.admin.v1\"\022\n\020Locatio" - + "nMetadataB\334\001\n\035com.google.firestore.admin" - + ".v1B\rLocationProtoP\001Z9cloud.google.com/g" - + "o/firestore/apiv1/admin/adminpb;adminpb\242" - + "\002\004GCFS\252\002\037Google.Cloud.Firestore.Admin.V1" - + "\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002#Goo" - + "gle::Cloud::Firestore::Admin::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_firestore_admin_v1_LocationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_LocationMetadata_descriptor, - new java.lang.String[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java deleted file mode 100644 index 4c1848d39..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java +++ /dev/null @@ -1,237 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/operation.proto - -package com.google.firestore.admin.v1; - -public final class OperationProto { - private OperationProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Progress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/firestore/admin/v1/operation.pr" - + "oto\022\031google.firestore.admin.v1\032%google/f" - + "irestore/admin/v1/index.proto\032\037google/pr" - + "otobuf/timestamp.proto\"\275\002\n\026IndexOperatio" - + "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" - + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\022\r\n\005index\030\003 \001(\t\0228" - + "\n\005state\030\004 \001(\0162).google.firestore.admin.v" - + "1.OperationState\022?\n\022progress_documents\030\005" - + " \001(\0132#.google.firestore.admin.v1.Progres" - + "s\022;\n\016progress_bytes\030\006 \001(\0132#.google.fires" - + "tore.admin.v1.Progress\"\231\007\n\026FieldOperatio" - + "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" - + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\022\r\n\005field\030\003 \001(\t\022_" - + "\n\023index_config_deltas\030\004 \003(\0132B.google.fir" - + "estore.admin.v1.FieldOperationMetadata.I" - + "ndexConfigDelta\0228\n\005state\030\005 \001(\0162).google." - + "firestore.admin.v1.OperationState\022?\n\022pro" - + "gress_documents\030\006 \001(\0132#.google.firestore" - + ".admin.v1.Progress\022;\n\016progress_bytes\030\007 \001" - + "(\0132#.google.firestore.admin.v1.Progress\022" - + "Z\n\020ttl_config_delta\030\010 \001(\0132@.google.fires" - + "tore.admin.v1.FieldOperationMetadata.Ttl" - + "ConfigDelta\032\347\001\n\020IndexConfigDelta\022b\n\013chan" - + "ge_type\030\001 \001(\0162M.google.firestore.admin.v" - + "1.FieldOperationMetadata.IndexConfigDelt" - + "a.ChangeType\022/\n\005index\030\002 \001(\0132 .google.fir" - + "estore.admin.v1.Index\">\n\nChangeType\022\033\n\027C" - + "HANGE_TYPE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REM" - + "OVE\020\002\032\262\001\n\016TtlConfigDelta\022`\n\013change_type\030" - + "\001 \001(\0162K.google.firestore.admin.v1.FieldO" - + "perationMetadata.TtlConfigDelta.ChangeTy" - + "pe\">\n\nChangeType\022\033\n\027CHANGE_TYPE_UNSPECIF" - + "IED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\"\354\002\n\027ExportDoc" - + "umentsMetadata\022.\n\nstart_time\030\001 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\013" - + "2\032.google.protobuf.Timestamp\022B\n\017operatio" - + "n_state\030\003 \001(\0162).google.firestore.admin.v" - + "1.OperationState\022?\n\022progress_documents\030\004" - + " \001(\0132#.google.firestore.admin.v1.Progres" - + "s\022;\n\016progress_bytes\030\005 \001(\0132#.google.fires" - + "tore.admin.v1.Progress\022\026\n\016collection_ids" - + "\030\006 \003(\t\022\031\n\021output_uri_prefix\030\007 \001(\t\"\353\002\n\027Im" - + "portDocumentsMetadata\022.\n\nstart_time\030\001 \001(" - + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" - + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022B\n\017o" - + "peration_state\030\003 \001(\0162).google.firestore." - + "admin.v1.OperationState\022?\n\022progress_docu" - + "ments\030\004 \001(\0132#.google.firestore.admin.v1." - + "Progress\022;\n\016progress_bytes\030\005 \001(\0132#.googl" - + "e.firestore.admin.v1.Progress\022\026\n\016collect" - + "ion_ids\030\006 \003(\t\022\030\n\020input_uri_prefix\030\007 \001(\t\"" - + "4\n\027ExportDocumentsResponse\022\031\n\021output_uri" - + "_prefix\030\001 \001(\t\":\n\010Progress\022\026\n\016estimated_w" - + "ork\030\001 \001(\003\022\026\n\016completed_work\030\002 \001(\003*\236\001\n\016Op" - + "erationState\022\037\n\033OPERATION_STATE_UNSPECIF" - + "IED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022" - + "\016\n\nCANCELLING\020\003\022\016\n\nFINALIZING\020\004\022\016\n\nSUCCE" - + "SSFUL\020\005\022\n\n\006FAILED\020\006\022\r\n\tCANCELLED\020\007B\335\001\n\035c" - + "om.google.firestore.admin.v1B\016OperationP" - + "rotoP\001Z9cloud.google.com/go/firestore/ap" - + "iv1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Googl" - + "e.Cloud.Firestore.Admin.V1\312\002\037Google\\Clou" - + "d\\Firestore\\Admin\\V1\352\002#Google::Cloud::Fi" - + "restore::Admin::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.firestore.admin.v1.IndexProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", "Index", "State", "ProgressDocuments", "ProgressBytes", - }); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor, - new java.lang.String[] { - "StartTime", - "EndTime", - "Field", - "IndexConfigDeltas", - "State", - "ProgressDocuments", - "ProgressBytes", - "TtlConfigDelta", - }); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor = - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor, - new java.lang.String[] { - "ChangeType", "Index", - }); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor = - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor - .getNestedTypes() - .get(1); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor, - new java.lang.String[] { - "ChangeType", - }); - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor, - new java.lang.String[] { - "StartTime", - "EndTime", - "OperationState", - "ProgressDocuments", - "ProgressBytes", - "CollectionIds", - "OutputUriPrefix", - }); - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor, - new java.lang.String[] { - "StartTime", - "EndTime", - "OperationState", - "ProgressDocuments", - "ProgressBytes", - "CollectionIds", - "InputUriPrefix", - }); - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor, - new java.lang.String[] { - "OutputUriPrefix", - }); - internal_static_google_firestore_admin_v1_Progress_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Progress_descriptor, - new java.lang.String[] { - "EstimatedWork", "CompletedWork", - }); - com.google.firestore.admin.v1.IndexProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java deleted file mode 100644 index 632606ea9..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/operation.proto - -package com.google.firestore.admin.v1; - -public interface ProgressOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Progress) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The amount of work estimated.
-   * 
- * - * int64 estimated_work = 1; - * - * @return The estimatedWork. - */ - long getEstimatedWork(); - - /** - * - * - *
-   * The amount of work completed.
-   * 
- * - * int64 completed_work = 2; - * - * @return The completedWork. - */ - long getCompletedWork(); -} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java deleted file mode 100644 index d5ff4f507..000000000 --- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface UpdateDatabaseMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateDatabaseMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java deleted file mode 100644 index 38131535f..000000000 --- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/bundle/bundle.proto - -package com.google.firestore.bundle; - -public final class BundleProto { - private BundleProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundledQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_NamedQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundleMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundleElement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n$google/firestore/bundle/bundle.proto\022\027" - + "google.firestore.bundle\032\"google/firestor" - + "e/v1/document.proto\032\037google/firestore/v1" - + "/query.proto\032\037google/protobuf/timestamp." - + "proto\"\325\001\n\014BundledQuery\022\016\n\006parent\030\001 \001(\t\022@" - + "\n\020structured_query\030\002 \001(\0132$.google.firest" - + "ore.v1.StructuredQueryH\000\022C\n\nlimit_type\030\003" - + " \001(\0162/.google.firestore.bundle.BundledQu" - + "ery.LimitType\" \n\tLimitType\022\t\n\005FIRST\020\000\022\010\n" - + "\004LAST\020\001B\014\n\nquery_type\"\207\001\n\nNamedQuery\022\014\n\004" - + "name\030\001 \001(\t\022<\n\rbundled_query\030\002 \001(\0132%.goog" - + "le.firestore.bundle.BundledQuery\022-\n\tread" - + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" - + "w\n\027BundledDocumentMetadata\022\014\n\004name\030\001 \001(\t" - + "\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022\016\n\006exists\030\003 \001(\010\022\017\n\007queries\030\004 \003(\t" - + "\"\214\001\n\016BundleMetadata\022\n\n\002id\030\001 \001(\t\022/\n\013creat" - + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" - + "\022\017\n\007version\030\003 \001(\r\022\027\n\017total_documents\030\004 \001" - + "(\r\022\023\n\013total_bytes\030\005 \001(\004\"\232\002\n\rBundleElemen" - + "t\022;\n\010metadata\030\001 \001(\0132\'.google.firestore.b" - + "undle.BundleMetadataH\000\022:\n\013named_query\030\002 " - + "\001(\0132#.google.firestore.bundle.NamedQuery" - + "H\000\022M\n\021document_metadata\030\003 \001(\01320.google.f" - + "irestore.bundle.BundledDocumentMetadataH" - + "\000\0221\n\010document\030\004 \001(\0132\035.google.firestore.v" - + "1.DocumentH\000B\016\n\014element_typeB\222\001\n\033com.goo" - + "gle.firestore.bundleB\013BundleProtoP\001Z6clo" - + "ud.google.com/go/firestore/bundle/bundle" - + "pb;bundlepb\242\002\005FSTPB\252\002\020Firestore.Bundle\312\002" - + "\020Firestore\\Bundleb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.firestore.v1.DocumentProto.getDescriptor(), - com.google.firestore.v1.QueryProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_firestore_bundle_BundledQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundledQuery_descriptor, - new java.lang.String[] { - "Parent", "StructuredQuery", "LimitType", "QueryType", - }); - internal_static_google_firestore_bundle_NamedQuery_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_NamedQuery_descriptor, - new java.lang.String[] { - "Name", "BundledQuery", "ReadTime", - }); - internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor, - new java.lang.String[] { - "Name", "ReadTime", "Exists", "Queries", - }); - internal_static_google_firestore_bundle_BundleMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundleMetadata_descriptor, - new java.lang.String[] { - "Id", "CreateTime", "Version", "TotalDocuments", "TotalBytes", - }); - internal_static_google_firestore_bundle_BundleElement_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundleElement_descriptor, - new java.lang.String[] { - "Metadata", "NamedQuery", "DocumentMetadata", "Document", "ElementType", - }); - com.google.firestore.v1.DocumentProto.getDescriptor(); - com.google.firestore.v1.QueryProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java deleted file mode 100644 index 8b1862f71..000000000 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/aggregation_result.proto - -package com.google.firestore.v1; - -public final class AggregationResultProto { - private AggregationResultProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_AggregationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n,google/firestore/v1/aggregation_result" - + ".proto\022\023google.firestore.v1\032\"google/fire" - + "store/v1/document.proto\"\276\001\n\021AggregationR" - + "esult\022U\n\020aggregate_fields\030\002 \003(\0132;.google" - + ".firestore.v1.AggregationResult.Aggregat" - + "eFieldsEntry\032R\n\024AggregateFieldsEntry\022\013\n\003" - + "key\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.google.firest" - + "ore.v1.Value:\0028\001B\316\001\n\027com.google.firestor" - + "e.v1B\026AggregationResultProtoP\001Z;cloud.go" - + "ogle.com/go/firestore/apiv1/firestorepb;" - + "firestorepb\242\002\004GCFS\252\002\031Google.Cloud.Firest" - + "ore.V1\312\002\031Google\\Cloud\\Firestore\\V1\352\002\034Goo" - + "gle::Cloud::Firestore::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.firestore.v1.DocumentProto.getDescriptor(), - }); - internal_static_google_firestore_v1_AggregationResult_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_AggregationResult_descriptor, - new java.lang.String[] { - "AggregateFields", - }); - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor = - internal_static_google_firestore_v1_AggregationResult_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.firestore.v1.DocumentProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java deleted file mode 100644 index 188d7f600..000000000 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/firestore.proto - -package com.google.firestore.v1; - -public interface BeginTransactionResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.firestore.v1.BeginTransactionResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The transaction that was started.
-   * 
- * - * bytes transaction = 1; - * - * @return The transaction. - */ - com.google.protobuf.ByteString getTransaction(); -} diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java deleted file mode 100644 index 91c88f112..000000000 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/common.proto - -package com.google.firestore.v1; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_DocumentMask_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Precondition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Precondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TransactionOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n google/firestore/v1/common.proto\022\023goog" - + "le.firestore.v1\032\037google/protobuf/timesta" - + "mp.proto\"#\n\014DocumentMask\022\023\n\013field_paths\030" - + "\001 \003(\t\"e\n\014Precondition\022\020\n\006exists\030\001 \001(\010H\000\022" - + "1\n\013update_time\030\002 \001(\0132\032.google.protobuf.T" - + "imestampH\000B\020\n\016condition_type\"\251\002\n\022Transac" - + "tionOptions\022E\n\tread_only\030\002 \001(\01320.google." - + "firestore.v1.TransactionOptions.ReadOnly" - + "H\000\022G\n\nread_write\030\003 \001(\01321.google.firestor" - + "e.v1.TransactionOptions.ReadWriteH\000\032&\n\tR" - + "eadWrite\022\031\n\021retry_transaction\030\001 \001(\014\032S\n\010R" - + "eadOnly\022/\n\tread_time\030\002 \001(\0132\032.google.prot" - + "obuf.TimestampH\000B\026\n\024consistency_selector" - + "B\006\n\004modeB\303\001\n\027com.google.firestore.v1B\013Co" - + "mmonProtoP\001Z;cloud.google.com/go/firesto" - + "re/apiv1/firestorepb;firestorepb\242\002\004GCFS\252" - + "\002\031Google.Cloud.Firestore.V1\312\002\031Google\\Clo" - + "ud\\Firestore\\V1\352\002\034Google::Cloud::Firesto" - + "re::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_firestore_v1_DocumentMask_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_DocumentMask_descriptor, - new java.lang.String[] { - "FieldPaths", - }); - internal_static_google_firestore_v1_Precondition_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_v1_Precondition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_Precondition_descriptor, - new java.lang.String[] { - "Exists", "UpdateTime", "ConditionType", - }); - internal_static_google_firestore_v1_TransactionOptions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_TransactionOptions_descriptor, - new java.lang.String[] { - "ReadOnly", "ReadWrite", "Mode", - }); - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor = - internal_static_google_firestore_v1_TransactionOptions_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor, - new java.lang.String[] { - "RetryTransaction", - }); - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor = - internal_static_google_firestore_v1_TransactionOptions_descriptor.getNestedTypes().get(1); - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor, - new java.lang.String[] { - "ReadTime", "ConsistencySelector", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java deleted file mode 100644 index a5fbc4549..000000000 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/document.proto - -package com.google.firestore.v1; - -public final class DocumentProto { - private DocumentProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Document_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Document_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Document_FieldsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Value_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Value_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ArrayValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_MapValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_MapValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_MapValue_FieldsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\"google/firestore/v1/document.proto\022\023go" - + "ogle.firestore.v1\032\034google/protobuf/struc" - + "t.proto\032\037google/protobuf/timestamp.proto" - + "\032\030google/type/latlng.proto\"\200\002\n\010Document\022" - + "\014\n\004name\030\001 \001(\t\0229\n\006fields\030\002 \003(\0132).google.f" - + "irestore.v1.Document.FieldsEntry\022/\n\013crea" - + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf" - + ".Timestamp\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)" - + "\n\005value\030\002 \001(\0132\032.google.firestore.v1.Valu" - + "e:\0028\001\"\256\003\n\005Value\0220\n\nnull_value\030\013 \001(\0162\032.go" - + "ogle.protobuf.NullValueH\000\022\027\n\rboolean_val" - + "ue\030\001 \001(\010H\000\022\027\n\rinteger_value\030\002 \001(\003H\000\022\026\n\014d" - + "ouble_value\030\003 \001(\001H\000\0225\n\017timestamp_value\030\n" - + " \001(\0132\032.google.protobuf.TimestampH\000\022\026\n\014st" - + "ring_value\030\021 \001(\tH\000\022\025\n\013bytes_value\030\022 \001(\014H" - + "\000\022\031\n\017reference_value\030\005 \001(\tH\000\022.\n\017geo_poin" - + "t_value\030\010 \001(\0132\023.google.type.LatLngH\000\0226\n\013" - + "array_value\030\t \001(\0132\037.google.firestore.v1." - + "ArrayValueH\000\0222\n\tmap_value\030\006 \001(\0132\035.google" - + ".firestore.v1.MapValueH\000B\014\n\nvalue_type\"8" - + "\n\nArrayValue\022*\n\006values\030\001 \003(\0132\032.google.fi" - + "restore.v1.Value\"\220\001\n\010MapValue\0229\n\006fields\030" - + "\001 \003(\0132).google.firestore.v1.MapValue.Fie" - + "ldsEntry\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)\n\005" - + "value\030\002 \001(\0132\032.google.firestore.v1.Value:" - + "\0028\001B\305\001\n\027com.google.firestore.v1B\rDocumen" - + "tProtoP\001Z;cloud.google.com/go/firestore/" - + "apiv1/firestorepb;firestorepb\242\002\004GCFS\252\002\031G" - + "oogle.Cloud.Firestore.V1\312\002\031Google\\Cloud\\" - + "Firestore\\V1\352\002\034Google::Cloud::Firestore:" - + ":V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - }); - internal_static_google_firestore_v1_Document_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_v1_Document_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_Document_descriptor, - new java.lang.String[] { - "Name", "Fields", "CreateTime", "UpdateTime", - }); - internal_static_google_firestore_v1_Document_FieldsEntry_descriptor = - internal_static_google_firestore_v1_Document_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_Document_FieldsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_firestore_v1_Value_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_v1_Value_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_Value_descriptor, - new java.lang.String[] { - "NullValue", - "BooleanValue", - "IntegerValue", - "DoubleValue", - "TimestampValue", - "StringValue", - "BytesValue", - "ReferenceValue", - "GeoPointValue", - "ArrayValue", - "MapValue", - "ValueType", - }); - internal_static_google_firestore_v1_ArrayValue_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_ArrayValue_descriptor, - new java.lang.String[] { - "Values", - }); - internal_static_google_firestore_v1_MapValue_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_v1_MapValue_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_MapValue_descriptor, - new java.lang.String[] { - "Fields", - }); - internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor = - internal_static_google_firestore_v1_MapValue_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_v1_MapValue_FieldsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java deleted file mode 100644 index 181dcee36..000000000 --- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java +++ /dev/null @@ -1,778 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/firestore.proto - -package com.google.firestore.v1; - -public final class FirestoreProto { - private FirestoreProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_GetDocumentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_CommitRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_CommitResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_RollbackRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_RunQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_RunQueryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_PartitionQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_PartitionQueryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_WriteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_WriteRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_WriteResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListenRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListenRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListenResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Target_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Target_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Target_QueryTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TargetChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TargetChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BatchWriteRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BatchWriteResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n#google/firestore/v1/firestore.proto\022\023g" - + "oogle.firestore.v1\032\034google/api/annotatio" - + "ns.proto\032\027google/api/client.proto\032\037googl" - + "e/api/field_behavior.proto\032,google/fires" - + "tore/v1/aggregation_result.proto\032 google" - + "/firestore/v1/common.proto\032\"google/fires" - + "tore/v1/document.proto\032\037google/firestore" - + "/v1/query.proto\032\037google/firestore/v1/wri" - + "te.proto\032\033google/protobuf/empty.proto\032\037g" - + "oogle/protobuf/timestamp.proto\032\027google/r" - + "pc/status.proto\"\270\001\n\022GetDocumentRequest\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\002\022/\n\004mask\030\002 \001(\0132!.google" - + ".firestore.v1.DocumentMask\022\025\n\013transactio" - + "n\030\003 \001(\014H\000\022/\n\tread_time\030\005 \001(\0132\032.google.pr" - + "otobuf.TimestampH\000B\026\n\024consistency_select" - + "or\"\273\002\n\024ListDocumentsRequest\022\023\n\006parent\030\001 " - + "\001(\tB\003\340A\002\022\032\n\rcollection_id\030\002 \001(\tB\003\340A\001\022\026\n\t" - + "page_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\t" - + "B\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\0224\n\004mask\030\007 \001" - + "(\0132!.google.firestore.v1.DocumentMaskB\003\340" - + "A\001\022\025\n\013transaction\030\010 \001(\014H\000\022/\n\tread_time\030\n" - + " \001(\0132\032.google.protobuf.TimestampH\000\022\024\n\014sh" - + "ow_missing\030\014 \001(\010B\026\n\024consistency_selector" - + "\"b\n\025ListDocumentsResponse\0220\n\tdocuments\030\001" - + " \003(\0132\035.google.firestore.v1.Document\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\"\304\001\n\025CreateDocumentR" - + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rcollectio" - + "n_id\030\002 \001(\tB\003\340A\002\022\023\n\013document_id\030\003 \001(\t\0224\n\010" - + "document\030\004 \001(\0132\035.google.firestore.v1.Doc" - + "umentB\003\340A\002\022/\n\004mask\030\005 \001(\0132!.google.firest" - + "ore.v1.DocumentMask\"\363\001\n\025UpdateDocumentRe" - + "quest\0224\n\010document\030\001 \001(\0132\035.google.firesto" - + "re.v1.DocumentB\003\340A\002\0226\n\013update_mask\030\002 \001(\013" - + "2!.google.firestore.v1.DocumentMask\022/\n\004m" - + "ask\030\003 \001(\0132!.google.firestore.v1.Document" - + "Mask\022;\n\020current_document\030\004 \001(\0132!.google." - + "firestore.v1.Precondition\"g\n\025DeleteDocum" - + "entRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\020current" - + "_document\030\002 \001(\0132!.google.firestore.v1.Pr" - + "econdition\"\231\002\n\030BatchGetDocumentsRequest\022" - + "\025\n\010database\030\001 \001(\tB\003\340A\002\022\021\n\tdocuments\030\002 \003(" - + "\t\022/\n\004mask\030\003 \001(\0132!.google.firestore.v1.Do" - + "cumentMask\022\025\n\013transaction\030\004 \001(\014H\000\022B\n\017new" - + "_transaction\030\005 \001(\0132\'.google.firestore.v1" - + ".TransactionOptionsH\000\022/\n\tread_time\030\007 \001(\013" - + "2\032.google.protobuf.TimestampH\000B\026\n\024consis" - + "tency_selector\"\254\001\n\031BatchGetDocumentsResp" - + "onse\022.\n\005found\030\001 \001(\0132\035.google.firestore.v" - + "1.DocumentH\000\022\021\n\007missing\030\002 \001(\tH\000\022\023\n\013trans" - + "action\030\003 \001(\014\022-\n\tread_time\030\004 \001(\0132\032.google" - + ".protobuf.TimestampB\010\n\006result\"j\n\027BeginTr" - + "ansactionRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\022" - + "8\n\007options\030\002 \001(\0132\'.google.firestore.v1.T" - + "ransactionOptions\"/\n\030BeginTransactionRes" - + "ponse\022\023\n\013transaction\030\001 \001(\014\"g\n\rCommitRequ" - + "est\022\025\n\010database\030\001 \001(\tB\003\340A\002\022*\n\006writes\030\002 \003" - + "(\0132\032.google.firestore.v1.Write\022\023\n\013transa" - + "ction\030\003 \001(\014\"z\n\016CommitResponse\0227\n\rwrite_r" - + "esults\030\001 \003(\0132 .google.firestore.v1.Write" - + "Result\022/\n\013commit_time\030\002 \001(\0132\032.google.pro" - + "tobuf.Timestamp\"B\n\017RollbackRequest\022\025\n\010da" - + "tabase\030\001 \001(\tB\003\340A\002\022\030\n\013transaction\030\002 \001(\014B\003" - + "\340A\002\"\232\002\n\017RunQueryRequest\022\023\n\006parent\030\001 \001(\tB" - + "\003\340A\002\022@\n\020structured_query\030\002 \001(\0132$.google." - + "firestore.v1.StructuredQueryH\000\022\025\n\013transa" - + "ction\030\005 \001(\014H\001\022B\n\017new_transaction\030\006 \001(\0132\'" - + ".google.firestore.v1.TransactionOptionsH" - + "\001\022/\n\tread_time\030\007 \001(\0132\032.google.protobuf.T" - + "imestampH\001B\014\n\nquery_typeB\026\n\024consistency_" - + "selector\"\311\001\n\020RunQueryResponse\022\023\n\013transac" - + "tion\030\002 \001(\014\022/\n\010document\030\001 \001(\0132\035.google.fi" - + "restore.v1.Document\022-\n\tread_time\030\003 \001(\0132\032" - + ".google.protobuf.Timestamp\022\027\n\017skipped_re" - + "sults\030\004 \001(\005\022\016\n\004done\030\006 \001(\010H\000B\027\n\025continuat" - + "ion_selector\"\274\002\n\032RunAggregationQueryRequ" - + "est\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022W\n\034structured_a" - + "ggregation_query\030\002 \001(\0132/.google.firestor" - + "e.v1.StructuredAggregationQueryH\000\022\025\n\013tra" - + "nsaction\030\004 \001(\014H\001\022B\n\017new_transaction\030\005 \001(" - + "\0132\'.google.firestore.v1.TransactionOptio" - + "nsH\001\022/\n\tread_time\030\006 \001(\0132\032.google.protobu" - + "f.TimestampH\001B\014\n\nquery_typeB\026\n\024consisten" - + "cy_selector\"\231\001\n\033RunAggregationQueryRespo" - + "nse\0226\n\006result\030\001 \001(\0132&.google.firestore.v" - + "1.AggregationResult\022\023\n\013transaction\030\002 \001(\014" - + "\022-\n\tread_time\030\003 \001(\0132\032.google.protobuf.Ti" - + "mestamp\"\205\002\n\025PartitionQueryRequest\022\023\n\006par" - + "ent\030\001 \001(\tB\003\340A\002\022@\n\020structured_query\030\002 \001(\013" - + "2$.google.firestore.v1.StructuredQueryH\000" - + "\022\027\n\017partition_count\030\003 \001(\003\022\022\n\npage_token\030" - + "\004 \001(\t\022\021\n\tpage_size\030\005 \001(\005\022/\n\tread_time\030\006 " - + "\001(\0132\032.google.protobuf.TimestampH\001B\014\n\nque" - + "ry_typeB\026\n\024consistency_selector\"b\n\026Parti" - + "tionQueryResponse\022/\n\npartitions\030\001 \003(\0132\033." - + "google.firestore.v1.Cursor\022\027\n\017next_page_" - + "token\030\002 \001(\t\"\350\001\n\014WriteRequest\022\025\n\010database" - + "\030\001 \001(\tB\003\340A\002\022\021\n\tstream_id\030\002 \001(\t\022*\n\006writes" - + "\030\003 \003(\0132\032.google.firestore.v1.Write\022\024\n\014st" - + "ream_token\030\004 \001(\014\022=\n\006labels\030\005 \003(\0132-.googl" - + "e.firestore.v1.WriteRequest.LabelsEntry\032" - + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - + "(\t:\0028\001\"\242\001\n\rWriteResponse\022\021\n\tstream_id\030\001 " - + "\001(\t\022\024\n\014stream_token\030\002 \001(\014\0227\n\rwrite_resul" - + "ts\030\003 \003(\0132 .google.firestore.v1.WriteResu" - + "lt\022/\n\013commit_time\030\004 \001(\0132\032.google.protobu" - + "f.Timestamp\"\362\001\n\rListenRequest\022\025\n\010databas" - + "e\030\001 \001(\tB\003\340A\002\0221\n\nadd_target\030\002 \001(\0132\033.googl" - + "e.firestore.v1.TargetH\000\022\027\n\rremove_target" - + "\030\003 \001(\005H\000\022>\n\006labels\030\004 \003(\0132..google.firest" - + "ore.v1.ListenRequest.LabelsEntry\032-\n\013Labe" - + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B" - + "\017\n\rtarget_change\"\325\002\n\016ListenResponse\022:\n\rt" - + "arget_change\030\002 \001(\0132!.google.firestore.v1" - + ".TargetChangeH\000\022>\n\017document_change\030\003 \001(\013" - + "2#.google.firestore.v1.DocumentChangeH\000\022" - + ">\n\017document_delete\030\004 \001(\0132#.google.firest" - + "ore.v1.DocumentDeleteH\000\022>\n\017document_remo" - + "ve\030\006 \001(\0132#.google.firestore.v1.DocumentR" - + "emoveH\000\0226\n\006filter\030\005 \001(\0132$.google.firesto" - + "re.v1.ExistenceFilterH\000B\017\n\rresponse_type" - + "\"\241\003\n\006Target\0228\n\005query\030\002 \001(\0132\'.google.fire" - + "store.v1.Target.QueryTargetH\000\022@\n\tdocumen" - + "ts\030\003 \001(\0132+.google.firestore.v1.Target.Do" - + "cumentsTargetH\000\022\026\n\014resume_token\030\004 \001(\014H\001\022" - + "/\n\tread_time\030\013 \001(\0132\032.google.protobuf.Tim" - + "estampH\001\022\021\n\ttarget_id\030\005 \001(\005\022\014\n\004once\030\006 \001(" - + "\010\032$\n\017DocumentsTarget\022\021\n\tdocuments\030\002 \003(\t\032" - + "m\n\013QueryTarget\022\016\n\006parent\030\001 \001(\t\022@\n\020struct" - + "ured_query\030\002 \001(\0132$.google.firestore.v1.S" - + "tructuredQueryH\000B\014\n\nquery_typeB\r\n\013target" - + "_typeB\r\n\013resume_type\"\252\002\n\014TargetChange\022N\n" - + "\022target_change_type\030\001 \001(\01622.google.fires" - + "tore.v1.TargetChange.TargetChangeType\022\022\n" - + "\ntarget_ids\030\002 \003(\005\022!\n\005cause\030\003 \001(\0132\022.googl" - + "e.rpc.Status\022\024\n\014resume_token\030\004 \001(\014\022-\n\tre" - + "ad_time\030\006 \001(\0132\032.google.protobuf.Timestam" - + "p\"N\n\020TargetChangeType\022\r\n\tNO_CHANGE\020\000\022\007\n\003" - + "ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n\007CURRENT\020\003\022\t\n\005RESET\020" - + "\004\"\237\001\n\030ListCollectionIdsRequest\022\023\n\006parent" - + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" - + "oken\030\003 \001(\t\022/\n\tread_time\030\004 \001(\0132\032.google.p" - + "rotobuf.TimestampH\000B\026\n\024consistency_selec" - + "tor\"L\n\031ListCollectionIdsResponse\022\026\n\016coll" - + "ection_ids\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(" - + "\t\"\311\001\n\021BatchWriteRequest\022\025\n\010database\030\001 \001(" - + "\tB\003\340A\002\022*\n\006writes\030\002 \003(\0132\032.google.firestor" - + "e.v1.Write\022B\n\006labels\030\003 \003(\01322.google.fire" - + "store.v1.BatchWriteRequest.LabelsEntry\032-" - + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001\"q\n\022BatchWriteResponse\0227\n\rwrite_res" - + "ults\030\001 \003(\0132 .google.firestore.v1.WriteRe" - + "sult\022\"\n\006status\030\002 \003(\0132\022.google.rpc.Status" - + "2\332\031\n\tFirestore\022\217\001\n\013GetDocument\022\'.google." - + "firestore.v1.GetDocumentRequest\032\035.google" - + ".firestore.v1.Document\"8\202\323\344\223\0022\0220/v1/{nam" - + "e=projects/*/databases/*/documents/*/**}" - + "\022\365\001\n\rListDocuments\022).google.firestore.v1" - + ".ListDocumentsRequest\032*.google.firestore" - + ".v1.ListDocumentsResponse\"\214\001\202\323\344\223\002\205\001\022B/v1" - + "/{parent=projects/*/databases/*/document" - + "s/*/**}/{collection_id}Z?\022=/v1/{parent=p" - + "rojects/*/databases/*/documents}/{collec" - + "tion_id}\022\277\001\n\016UpdateDocument\022*.google.fir" - + "estore.v1.UpdateDocumentRequest\032\035.google" - + ".firestore.v1.Document\"b\202\323\344\223\002E29/v1/{doc" - + "ument.name=projects/*/databases/*/docume" - + "nts/*/**}:\010document\332A\024document,update_ma" - + "sk\022\225\001\n\016DeleteDocument\022*.google.firestore" - + ".v1.DeleteDocumentRequest\032\026.google.proto" - + "buf.Empty\"?\202\323\344\223\0022*0/v1/{name=projects/*/" - + "databases/*/documents/*/**}\332A\004name\022\271\001\n\021B" - + "atchGetDocuments\022-.google.firestore.v1.B" - + "atchGetDocumentsRequest\032..google.firesto" - + "re.v1.BatchGetDocumentsResponse\"C\202\323\344\223\002=\"" - + "8/v1/{database=projects/*/databases/*}/d" - + "ocuments:batchGet:\001*0\001\022\307\001\n\020BeginTransact" - + "ion\022,.google.firestore.v1.BeginTransacti" - + "onRequest\032-.google.firestore.v1.BeginTra" - + "nsactionResponse\"V\202\323\344\223\002E\"@/v1/{database=" - + "projects/*/databases/*}/documents:beginT" - + "ransaction:\001*\332A\010database\022\246\001\n\006Commit\022\".go" - + "ogle.firestore.v1.CommitRequest\032#.google" - + ".firestore.v1.CommitResponse\"S\202\323\344\223\002;\"6/v" - + "1/{database=projects/*/databases/*}/docu" - + "ments:commit:\001*\332A\017database,writes\022\244\001\n\010Ro" - + "llback\022$.google.firestore.v1.RollbackReq" - + "uest\032\026.google.protobuf.Empty\"Z\202\323\344\223\002=\"8/v" - + "1/{database=projects/*/databases/*}/docu" - + "ments:rollback:\001*\332A\024database,transaction" - + "\022\337\001\n\010RunQuery\022$.google.firestore.v1.RunQ" - + "ueryRequest\032%.google.firestore.v1.RunQue" - + "ryResponse\"\203\001\202\323\344\223\002}\"6/v1/{parent=project" - + "s/*/databases/*/documents}:runQuery:\001*Z@" - + "\";/v1/{parent=projects/*/databases/*/doc" - + "uments/*/**}:runQuery:\001*0\001\022\227\002\n\023RunAggreg" - + "ationQuery\022/.google.firestore.v1.RunAggr" - + "egationQueryRequest\0320.google.firestore.v" - + "1.RunAggregationQueryResponse\"\232\001\202\323\344\223\002\223\001\"" - + "A/v1/{parent=projects/*/databases/*/docu" - + "ments}:runAggregationQuery:\001*ZK\"F/v1/{pa" - + "rent=projects/*/databases/*/documents/*/" - + "**}:runAggregationQuery:\001*0\001\022\374\001\n\016Partiti" - + "onQuery\022*.google.firestore.v1.PartitionQ" - + "ueryRequest\032+.google.firestore.v1.Partit" - + "ionQueryResponse\"\220\001\202\323\344\223\002\211\001\" Date: Wed, 26 Apr 2023 01:35:18 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 6 +- .../firestore/v1/FirestoreAdminClient.java | 0 .../firestore/v1/FirestoreAdminSettings.java | 1 - .../cloud/firestore/v1/gapic_metadata.json | 0 .../cloud/firestore/v1/package-info.java | 0 .../firestore/v1/stub/FirestoreAdminStub.java | 0 .../v1/stub/FirestoreAdminStubSettings.java | 0 .../GrpcFirestoreAdminCallableFactory.java | 0 .../v1/stub/GrpcFirestoreAdminStub.java | 1 - ...HttpJsonFirestoreAdminCallableFactory.java | 0 .../v1/stub/HttpJsonFirestoreAdminStub.java | 1 - .../v1/FirestoreAdminClientHttpJsonTest.java | 0 .../v1/FirestoreAdminClientTest.java | 0 .../firestore/v1/MockFirestoreAdmin.java | 0 .../firestore/v1/MockFirestoreAdminImpl.java | 0 .../cloud/firestore/v1/MockLocations.java | 0 .../cloud/firestore/v1/MockLocationsImpl.java | 0 .../cloud/firestore/v1/FirestoreClient.java | 0 .../cloud/firestore/v1/FirestoreSettings.java | 1 - .../cloud/firestore/v1/gapic_metadata.json | 0 .../cloud/firestore/v1/package-info.java | 0 .../firestore/v1/stub/FirestoreStub.java | 0 .../v1/stub/FirestoreStubSettings.java | 0 .../v1/stub/GrpcFirestoreCallableFactory.java | 0 .../firestore/v1/stub/GrpcFirestoreStub.java | 1 - .../HttpJsonFirestoreCallableFactory.java | 0 .../v1/stub/HttpJsonFirestoreStub.java | 0 .../v1/FirestoreClientHttpJsonTest.java | 0 .../firestore/v1/FirestoreClientTest.java | 0 .../cloud/firestore/v1/MockFirestore.java | 0 .../cloud/firestore/v1/MockFirestoreImpl.java | 0 .../cloud/firestore/v1/MockLocations.java | 0 .../cloud/firestore/v1/MockLocationsImpl.java | 0 .../admin/v1/FirestoreAdminGrpc.java | 1194 ++-- .../google/firestore/v1/FirestoreGrpc.java | 2069 +++++++ .../google/firestore/v1/FirestoreGrpc.java | 1648 ------ .../firestore/admin/v1/DatabaseProto.java | 83 - .../admin/v1/DeleteIndexRequestOrBuilder.java | 31 - .../google/firestore/admin/v1/FieldProto.java | 104 - .../admin/v1/FirestoreAdminProto.java | 366 -- .../admin/v1/GetDatabaseRequestOrBuilder.java | 31 - .../admin/v1/GetFieldRequestOrBuilder.java | 31 - .../admin/v1/GetIndexRequestOrBuilder.java | 31 - .../google/firestore/admin/v1/IndexProto.java | 92 - .../v1/ListDatabasesRequestOrBuilder.java | 31 - .../admin/v1/LocationMetadataOrBuilder.java | 9 - .../firestore/admin/v1/LocationProto.java | 53 - .../firestore/admin/v1/OperationProto.java | 192 - .../firestore/admin/v1/ProgressOrBuilder.java | 29 - .../v1/UpdateDatabaseMetadataOrBuilder.java | 9 - .../google/firestore/bundle/BundleProto.java | 126 - .../firestore/v1/AggregationResultProto.java | 71 - .../v1/BeginTransactionResponseOrBuilder.java | 19 - .../com/google/firestore/v1/CommonProto.java | 110 - .../google/firestore/v1/DocumentProto.java | 138 - .../google/firestore/v1/FirestoreProto.java | 679 --- .../com/google/firestore/v1/QueryProto.java | 259 - .../com/google/firestore/v1/WriteProto.java | 174 - .../admin/v1/CollectionGroupName.java | 0 .../admin/v1/CreateIndexRequest.java | 472 +- .../admin/v1/CreateIndexRequestOrBuilder.java | 52 +- .../google/firestore/admin/v1/Database.java | 959 ++-- .../firestore/admin/v1/DatabaseName.java | 0 .../firestore/admin/v1/DatabaseOrBuilder.java | 80 +- .../firestore/admin/v1/DatabaseProto.java | 104 + .../admin/v1/DeleteIndexRequest.java | 353 +- .../admin/v1/DeleteIndexRequestOrBuilder.java | 56 + .../admin/v1/ExportDocumentsMetadata.java | 847 ++- .../v1/ExportDocumentsMetadataOrBuilder.java | 83 +- .../admin/v1/ExportDocumentsRequest.java | 531 +- .../v1/ExportDocumentsRequestOrBuilder.java | 62 +- .../admin/v1/ExportDocumentsResponse.java | 328 +- .../v1/ExportDocumentsResponseOrBuilder.java | 27 +- .../com/google/firestore/admin/v1/Field.java | 1483 +++-- .../google/firestore/admin/v1/FieldName.java | 0 .../admin/v1/FieldOperationMetadata.java | 2229 +++++--- .../v1/FieldOperationMetadataOrBuilder.java | 127 +- .../firestore/admin/v1/FieldOrBuilder.java | 43 +- .../google/firestore/admin/v1/FieldProto.java | 121 + .../admin/v1/FirestoreAdminProto.java | 394 ++ .../admin/v1/GetDatabaseRequest.java | 353 +- .../admin/v1/GetDatabaseRequestOrBuilder.java | 56 + .../firestore/admin/v1/GetFieldRequest.java | 346 +- .../admin/v1/GetFieldRequestOrBuilder.java | 56 + .../firestore/admin/v1/GetIndexRequest.java | 346 +- .../admin/v1/GetIndexRequestOrBuilder.java | 56 + .../admin/v1/ImportDocumentsMetadata.java | 847 ++- .../v1/ImportDocumentsMetadataOrBuilder.java | 83 +- .../admin/v1/ImportDocumentsRequest.java | 531 +- .../v1/ImportDocumentsRequestOrBuilder.java | 62 +- .../com/google/firestore/admin/v1/Index.java | 1354 +++-- .../google/firestore/admin/v1/IndexName.java | 0 .../admin/v1/IndexOperationMetadata.java | 740 ++- .../v1/IndexOperationMetadataOrBuilder.java | 65 +- .../firestore/admin/v1/IndexOrBuilder.java | 57 +- .../google/firestore/admin/v1/IndexProto.java | 108 + .../admin/v1/ListDatabasesRequest.java | 353 +- .../v1/ListDatabasesRequestOrBuilder.java | 56 + .../admin/v1/ListDatabasesResponse.java | 414 +- .../v1/ListDatabasesResponseOrBuilder.java | 36 +- .../firestore/admin/v1/ListFieldsRequest.java | 528 +- .../admin/v1/ListFieldsRequestOrBuilder.java | 56 +- .../admin/v1/ListFieldsResponse.java | 485 +- .../admin/v1/ListFieldsResponseOrBuilder.java | 46 +- .../admin/v1/ListIndexesRequest.java | 530 +- .../admin/v1/ListIndexesRequestOrBuilder.java | 56 +- .../admin/v1/ListIndexesResponse.java | 485 +- .../v1/ListIndexesResponseOrBuilder.java | 46 +- .../firestore/admin/v1/LocationMetadata.java | 244 +- .../admin/v1/LocationMetadataOrBuilder.java | 24 + .../firestore/admin/v1/LocationProto.java | 64 + .../firestore/admin/v1/OperationProto.java | 237 + .../firestore/admin/v1/OperationState.java | 117 +- .../google/firestore/admin/v1/Progress.java | 314 +- .../firestore/admin/v1/ProgressOrBuilder.java | 51 + .../firestore/admin/v1/ProjectName.java | 0 .../admin/v1/UpdateDatabaseMetadata.java | 251 +- .../v1/UpdateDatabaseMetadataOrBuilder.java | 24 + .../admin/v1/UpdateDatabaseRequest.java | 490 +- .../v1/UpdateDatabaseRequestOrBuilder.java | 46 +- .../admin/v1/UpdateFieldRequest.java | 464 +- .../admin/v1/UpdateFieldRequestOrBuilder.java | 43 +- .../google/firestore/admin/v1/database.proto | 0 .../google/firestore/admin/v1/field.proto | 0 .../firestore/admin/v1/firestore_admin.proto | 0 .../google/firestore/admin/v1/index.proto | 0 .../google/firestore/admin/v1/location.proto | 0 .../google/firestore/admin/v1/operation.proto | 0 .../firestore/bundle/BundleElement.java | 720 +-- .../bundle/BundleElementOrBuilder.java | 42 +- .../firestore/bundle/BundleMetadata.java | 509 +- .../bundle/BundleMetadataOrBuilder.java | 44 +- .../google/firestore/bundle/BundleProto.java | 145 + .../bundle/BundledDocumentMetadata.java | 548 +- .../BundledDocumentMetadataOrBuilder.java | 56 +- .../google/firestore/bundle/BundledQuery.java | 551 +- .../bundle/BundledQueryOrBuilder.java | 37 +- .../google/firestore/bundle/NamedQuery.java | 489 +- .../firestore/bundle/NamedQueryOrBuilder.java | 43 +- .../google/firestore/bundle/bundle.proto | 0 .../firestore/v1/AggregationResult.java | 474 +- .../v1/AggregationResultOrBuilder.java | 48 +- .../firestore/v1/AggregationResultProto.java | 87 + .../com/google/firestore/v1/ArrayValue.java | 401 +- .../firestore/v1/ArrayValueOrBuilder.java | 37 +- .../v1/BatchGetDocumentsRequest.java | 795 ++- .../v1/BatchGetDocumentsRequestOrBuilder.java | 78 +- .../v1/BatchGetDocumentsResponse.java | 597 +- .../BatchGetDocumentsResponseOrBuilder.java | 49 +- .../firestore/v1/BatchWriteRequest.java | 731 +-- .../v1/BatchWriteRequestOrBuilder.java | 76 +- .../firestore/v1/BatchWriteResponse.java | 564 +- .../v1/BatchWriteResponseOrBuilder.java | 55 +- .../firestore/v1/BeginTransactionRequest.java | 418 +- .../v1/BeginTransactionRequestOrBuilder.java | 35 +- .../v1/BeginTransactionResponse.java | 286 +- .../v1/BeginTransactionResponseOrBuilder.java | 38 + .../google/firestore/v1/CommitRequest.java | 509 +- .../firestore/v1/CommitRequestOrBuilder.java | 49 +- .../google/firestore/v1/CommitResponse.java | 486 +- .../firestore/v1/CommitResponseOrBuilder.java | 44 +- .../com/google/firestore/v1/CommonProto.java | 129 + .../firestore/v1/CreateDocumentRequest.java | 670 ++- .../v1/CreateDocumentRequestOrBuilder.java | 70 +- .../java/com/google/firestore/v1/Cursor.java | 428 +- .../google/firestore/v1/CursorOrBuilder.java | 40 +- .../firestore/v1/DeleteDocumentRequest.java | 413 +- .../v1/DeleteDocumentRequestOrBuilder.java | 35 +- .../com/google/firestore/v1/Document.java | 717 ++- .../google/firestore/v1/DocumentChange.java | 531 +- .../firestore/v1/DocumentChangeOrBuilder.java | 44 +- .../google/firestore/v1/DocumentDelete.java | 496 +- .../firestore/v1/DocumentDeleteOrBuilder.java | 44 +- .../com/google/firestore/v1/DocumentMask.java | 340 +- .../firestore/v1/DocumentMaskOrBuilder.java | 36 +- .../firestore/v1/DocumentOrBuilder.java | 73 +- .../google/firestore/v1/DocumentProto.java | 168 + .../google/firestore/v1/DocumentRemove.java | 496 +- .../firestore/v1/DocumentRemoveOrBuilder.java | 44 +- .../firestore/v1/DocumentTransform.java | 1663 ++++-- .../v1/DocumentTransformOrBuilder.java | 57 +- .../google/firestore/v1/ExistenceFilter.java | 312 +- .../v1/ExistenceFilterOrBuilder.java | 24 +- .../google/firestore/v1/FirestoreProto.java | 778 +++ .../firestore/v1/GetDocumentRequest.java | 588 +- .../v1/GetDocumentRequestOrBuilder.java | 52 +- .../v1/ListCollectionIdsRequest.java | 560 +- .../v1/ListCollectionIdsRequestOrBuilder.java | 50 +- .../v1/ListCollectionIdsResponse.java | 429 +- .../ListCollectionIdsResponseOrBuilder.java | 45 +- .../firestore/v1/ListDocumentsRequest.java | 911 +-- .../v1/ListDocumentsRequestOrBuilder.java | 94 +- .../firestore/v1/ListDocumentsResponse.java | 474 +- .../v1/ListDocumentsResponseOrBuilder.java | 46 +- .../google/firestore/v1/ListenRequest.java | 756 +-- .../firestore/v1/ListenRequestOrBuilder.java | 71 +- .../google/firestore/v1/ListenResponse.java | 755 ++- .../firestore/v1/ListenResponseOrBuilder.java | 58 +- .../com/google/firestore/v1/MapValue.java | 470 +- .../firestore/v1/MapValueOrBuilder.java | 48 +- .../firestore/v1/PartitionQueryRequest.java | 716 ++- .../v1/PartitionQueryRequestOrBuilder.java | 61 +- .../firestore/v1/PartitionQueryResponse.java | 474 +- .../v1/PartitionQueryResponseOrBuilder.java | 46 +- .../com/google/firestore/v1/Precondition.java | 434 +- .../firestore/v1/PreconditionOrBuilder.java | 32 +- .../com/google/firestore/v1/QueryProto.java | 290 + .../google/firestore/v1/RollbackRequest.java | 348 +- .../v1/RollbackRequestOrBuilder.java | 30 +- .../v1/RunAggregationQueryRequest.java | 780 ++- .../RunAggregationQueryRequestOrBuilder.java | 63 +- .../v1/RunAggregationQueryResponse.java | 466 +- .../RunAggregationQueryResponseOrBuilder.java | 37 +- .../google/firestore/v1/RunQueryRequest.java | 725 ++- .../v1/RunQueryRequestOrBuilder.java | 60 +- .../google/firestore/v1/RunQueryResponse.java | 571 +- .../v1/RunQueryResponseOrBuilder.java | 49 +- .../v1/StructuredAggregationQuery.java | 1625 ++++-- .../StructuredAggregationQueryOrBuilder.java | 60 +- .../google/firestore/v1/StructuredQuery.java | 4966 +++++++++++------ .../v1/StructuredQueryOrBuilder.java | 97 +- .../java/com/google/firestore/v1/Target.java | 1524 +++-- .../com/google/firestore/v1/TargetChange.java | 677 ++- .../firestore/v1/TargetChangeOrBuilder.java | 52 +- .../google/firestore/v1/TargetOrBuilder.java | 54 +- .../firestore/v1/TransactionOptions.java | 1132 ++-- .../v1/TransactionOptionsOrBuilder.java | 34 +- .../firestore/v1/UpdateDocumentRequest.java | 649 ++- .../v1/UpdateDocumentRequestOrBuilder.java | 59 +- .../java/com/google/firestore/v1/Value.java | 1161 ++-- .../google/firestore/v1/ValueOrBuilder.java | 107 +- .../java/com/google/firestore/v1/Write.java | 1000 ++-- .../google/firestore/v1/WriteOrBuilder.java | 91 +- .../com/google/firestore/v1/WriteProto.java | 208 + .../com/google/firestore/v1/WriteRequest.java | 829 +-- .../firestore/v1/WriteRequestOrBuilder.java | 88 +- .../google/firestore/v1/WriteResponse.java | 594 +- .../firestore/v1/WriteResponseOrBuilder.java | 56 +- .../com/google/firestore/v1/WriteResult.java | 482 +- .../firestore/v1/WriteResultOrBuilder.java | 44 +- .../firestore/v1/aggregation_result.proto | 0 .../proto/google/firestore/v1/common.proto | 0 .../proto/google/firestore/v1/document.proto | 0 .../proto/google/firestore/v1/firestore.proto | 0 .../proto/google/firestore/v1/query.proto | 0 .../proto/google/firestore/v1/write.proto | 0 246 files changed, 42979 insertions(+), 26309 deletions(-) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java (99%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java (99%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockLocations.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore-admin => google-cloud-firestore-admin}/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java (99%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockLocations.java (100%) rename {owl-bot-staging/v1/google-cloud-firestore => google-cloud-firestore}/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java (100%) rename {owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1 => grpc-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java (56%) create mode 100644 grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Database.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DatabaseName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java (78%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java (62%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Field.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java (87%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java (62%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java (63%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java (63%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Index.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java (88%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java (61%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java (62%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/OperationState.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/Progress.java (66%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/ProjectName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java (62%) create mode 100644 proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/database.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/field.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/firestore_admin.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/index.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/location.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1 => proto-google-cloud-firestore-admin-v1}/src/main/proto/google/firestore/admin/v1/operation.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleElement.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleMetadata.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java (69%) create mode 100644 proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledQuery.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/NamedQuery.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1 => proto-google-cloud-firestore-bundle-v1}/src/main/proto/google/firestore/bundle/bundle.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/AggregationResult.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java (72%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ArrayValue.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java (65%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java (76%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Cursor.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/CursorOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Document.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentChange.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentDelete.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentMask.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java (89%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentRemove.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentTransform.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ExistenceFilter.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java (55%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/GetDocumentRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/MapValue.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Precondition.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java (71%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RollbackRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryRequest.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredQuery.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java (93%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Target.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetChange.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java (85%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TargetOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TransactionOptions.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Value.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/ValueOrBuilder.java (86%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/Write.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteOrBuilder.java (86%) create mode 100644 proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResult.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/aggregation_result.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/common.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/document.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/firestore.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/query.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-firestore-v1 => proto-google-cloud-firestore-v1}/src/main/proto/google/firestore/v1/write.proto (100%) diff --git a/README.md b/README.md index 5088b6e37..bfcedbcde 100644 --- a/README.md +++ b/README.md @@ -57,13 +57,13 @@ implementation 'com.google.cloud:google-cloud-firestore' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-firestore:3.9.4' +implementation 'com.google.cloud:google-cloud-firestore:3.9.5' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "3.9.4" +libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "3.9.5" ``` @@ -222,7 +222,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-firestore/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-firestore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-firestore/3.9.4 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-firestore/3.9.5 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java rename to google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java rename to google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java index 8af444260..dcbfef47f 100644 --- a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java +++ b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminSettings.java @@ -30,7 +30,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.firestore.v1.stub.FirestoreAdminStubSettings; diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json rename to google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java rename to google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java rename to google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStub.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java rename to google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java rename to google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java rename to google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java index 523a32f6b..808c90493 100644 --- a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java +++ b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.java @@ -57,7 +57,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java rename to google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java rename to google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java index d94395a35..8fddccb4e 100644 --- a/owl-bot-staging/v1/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java +++ b/google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreAdminStub.java @@ -32,7 +32,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java b/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java rename to google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java b/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java rename to google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java b/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java rename to google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdmin.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java b/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java rename to google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockFirestoreAdminImpl.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java b/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java rename to google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocations.java diff --git a/owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java b/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java rename to google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java rename to google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreClient.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java rename to google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java index eb94bfc41..045422236 100644 --- a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java +++ b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/FirestoreSettings.java @@ -32,7 +32,6 @@ import com.google.api.gax.rpc.PagedCallSettings; import com.google.api.gax.rpc.ServerStreamingCallSettings; import com.google.api.gax.rpc.StreamingCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.firestore.v1.stub.FirestoreStubSettings; diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json rename to google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java rename to google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java rename to google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStub.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java rename to google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java rename to google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java rename to google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java index 469063762..28ec996d8 100644 --- a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java +++ b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/GrpcFirestoreStub.java @@ -62,7 +62,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java rename to google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java b/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java rename to google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/HttpJsonFirestoreStub.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java b/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java rename to google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java b/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java rename to google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/FirestoreClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java b/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java rename to google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestore.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java b/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java rename to google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockFirestoreImpl.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java b/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java rename to google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocations.java diff --git a/owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java b/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java rename to google-cloud-firestore/src/test/java/com/google/cloud/firestore/v1/MockLocationsImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java b/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java similarity index 56% rename from owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java rename to grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java index b0058c0d9..db8aa0d67 100644 --- a/owl-bot-staging/v1/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java +++ b/grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.firestore.admin.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * The Cloud Firestore Admin API.
  * This API provides several administrative services for Cloud Firestore.
@@ -37,423 +54,572 @@ private FirestoreAdminGrpc() {}
   public static final String SERVICE_NAME = "google.firestore.admin.v1.FirestoreAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getCreateIndexMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.CreateIndexRequest, com.google.longrunning.Operation>
+      getCreateIndexMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateIndex",
       requestType = com.google.firestore.admin.v1.CreateIndexRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateIndexMethod() {
-    io.grpc.MethodDescriptor getCreateIndexMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.CreateIndexRequest, com.google.longrunning.Operation>
+      getCreateIndexMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.CreateIndexRequest, com.google.longrunning.Operation>
+        getCreateIndexMethod;
     if ((getCreateIndexMethod = FirestoreAdminGrpc.getCreateIndexMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getCreateIndexMethod = FirestoreAdminGrpc.getCreateIndexMethod) == null) {
-          FirestoreAdminGrpc.getCreateIndexMethod = getCreateIndexMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIndex"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.CreateIndexRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("CreateIndex"))
-              .build();
+          FirestoreAdminGrpc.getCreateIndexMethod =
+              getCreateIndexMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateIndex"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.CreateIndexRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new FirestoreAdminMethodDescriptorSupplier("CreateIndex"))
+                      .build();
         }
       }
     }
     return getCreateIndexMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListIndexesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.ListIndexesRequest,
+          com.google.firestore.admin.v1.ListIndexesResponse>
+      getListIndexesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListIndexes",
       requestType = com.google.firestore.admin.v1.ListIndexesRequest.class,
       responseType = com.google.firestore.admin.v1.ListIndexesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListIndexesMethod() {
-    io.grpc.MethodDescriptor getListIndexesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.ListIndexesRequest,
+          com.google.firestore.admin.v1.ListIndexesResponse>
+      getListIndexesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.ListIndexesRequest,
+            com.google.firestore.admin.v1.ListIndexesResponse>
+        getListIndexesMethod;
     if ((getListIndexesMethod = FirestoreAdminGrpc.getListIndexesMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getListIndexesMethod = FirestoreAdminGrpc.getListIndexesMethod) == null) {
-          FirestoreAdminGrpc.getListIndexesMethod = getListIndexesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIndexes"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.ListIndexesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.ListIndexesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListIndexes"))
-              .build();
+          FirestoreAdminGrpc.getListIndexesMethod =
+              getListIndexesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIndexes"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.ListIndexesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.ListIndexesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new FirestoreAdminMethodDescriptorSupplier("ListIndexes"))
+                      .build();
         }
       }
     }
     return getListIndexesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIndexMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.GetIndexRequest, com.google.firestore.admin.v1.Index>
+      getGetIndexMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetIndex",
       requestType = com.google.firestore.admin.v1.GetIndexRequest.class,
       responseType = com.google.firestore.admin.v1.Index.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetIndexMethod() {
-    io.grpc.MethodDescriptor getGetIndexMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.GetIndexRequest, com.google.firestore.admin.v1.Index>
+      getGetIndexMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.GetIndexRequest, com.google.firestore.admin.v1.Index>
+        getGetIndexMethod;
     if ((getGetIndexMethod = FirestoreAdminGrpc.getGetIndexMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getGetIndexMethod = FirestoreAdminGrpc.getGetIndexMethod) == null) {
-          FirestoreAdminGrpc.getGetIndexMethod = getGetIndexMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIndex"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.GetIndexRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.Index.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetIndex"))
-              .build();
+          FirestoreAdminGrpc.getGetIndexMethod =
+              getGetIndexMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIndex"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.GetIndexRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.Index.getDefaultInstance()))
+                      .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetIndex"))
+                      .build();
         }
       }
     }
     return getGetIndexMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteIndexMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>
+      getDeleteIndexMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteIndex",
       requestType = com.google.firestore.admin.v1.DeleteIndexRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteIndexMethod() {
-    io.grpc.MethodDescriptor getDeleteIndexMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>
+      getDeleteIndexMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>
+        getDeleteIndexMethod;
     if ((getDeleteIndexMethod = FirestoreAdminGrpc.getDeleteIndexMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getDeleteIndexMethod = FirestoreAdminGrpc.getDeleteIndexMethod) == null) {
-          FirestoreAdminGrpc.getDeleteIndexMethod = getDeleteIndexMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIndex"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.DeleteIndexRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("DeleteIndex"))
-              .build();
+          FirestoreAdminGrpc.getDeleteIndexMethod =
+              getDeleteIndexMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteIndex"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.DeleteIndexRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new FirestoreAdminMethodDescriptorSupplier("DeleteIndex"))
+                      .build();
         }
       }
     }
     return getDeleteIndexMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetFieldMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.GetFieldRequest, com.google.firestore.admin.v1.Field>
+      getGetFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetField",
       requestType = com.google.firestore.admin.v1.GetFieldRequest.class,
       responseType = com.google.firestore.admin.v1.Field.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetFieldMethod() {
-    io.grpc.MethodDescriptor getGetFieldMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.GetFieldRequest, com.google.firestore.admin.v1.Field>
+      getGetFieldMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.GetFieldRequest, com.google.firestore.admin.v1.Field>
+        getGetFieldMethod;
     if ((getGetFieldMethod = FirestoreAdminGrpc.getGetFieldMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getGetFieldMethod = FirestoreAdminGrpc.getGetFieldMethod) == null) {
-          FirestoreAdminGrpc.getGetFieldMethod = getGetFieldMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetField"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.GetFieldRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.Field.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetField"))
-              .build();
+          FirestoreAdminGrpc.getGetFieldMethod =
+              getGetFieldMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetField"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.GetFieldRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.Field.getDefaultInstance()))
+                      .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetField"))
+                      .build();
         }
       }
     }
     return getGetFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateFieldMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.UpdateFieldRequest, com.google.longrunning.Operation>
+      getUpdateFieldMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateField",
       requestType = com.google.firestore.admin.v1.UpdateFieldRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateFieldMethod() {
-    io.grpc.MethodDescriptor getUpdateFieldMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.UpdateFieldRequest, com.google.longrunning.Operation>
+      getUpdateFieldMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.UpdateFieldRequest, com.google.longrunning.Operation>
+        getUpdateFieldMethod;
     if ((getUpdateFieldMethod = FirestoreAdminGrpc.getUpdateFieldMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getUpdateFieldMethod = FirestoreAdminGrpc.getUpdateFieldMethod) == null) {
-          FirestoreAdminGrpc.getUpdateFieldMethod = getUpdateFieldMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateField"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.UpdateFieldRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("UpdateField"))
-              .build();
+          FirestoreAdminGrpc.getUpdateFieldMethod =
+              getUpdateFieldMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateField"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.UpdateFieldRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new FirestoreAdminMethodDescriptorSupplier("UpdateField"))
+                      .build();
         }
       }
     }
     return getUpdateFieldMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListFieldsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.ListFieldsRequest,
+          com.google.firestore.admin.v1.ListFieldsResponse>
+      getListFieldsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListFields",
       requestType = com.google.firestore.admin.v1.ListFieldsRequest.class,
       responseType = com.google.firestore.admin.v1.ListFieldsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListFieldsMethod() {
-    io.grpc.MethodDescriptor getListFieldsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.ListFieldsRequest,
+          com.google.firestore.admin.v1.ListFieldsResponse>
+      getListFieldsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.ListFieldsRequest,
+            com.google.firestore.admin.v1.ListFieldsResponse>
+        getListFieldsMethod;
     if ((getListFieldsMethod = FirestoreAdminGrpc.getListFieldsMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getListFieldsMethod = FirestoreAdminGrpc.getListFieldsMethod) == null) {
-          FirestoreAdminGrpc.getListFieldsMethod = getListFieldsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFields"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.ListFieldsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListFields"))
-              .build();
+          FirestoreAdminGrpc.getListFieldsMethod =
+              getListFieldsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFields"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.ListFieldsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListFields"))
+                      .build();
         }
       }
     }
     return getListFieldsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getExportDocumentsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.ExportDocumentsRequest, com.google.longrunning.Operation>
+      getExportDocumentsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ExportDocuments",
       requestType = com.google.firestore.admin.v1.ExportDocumentsRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getExportDocumentsMethod() {
-    io.grpc.MethodDescriptor getExportDocumentsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.ExportDocumentsRequest, com.google.longrunning.Operation>
+      getExportDocumentsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.ExportDocumentsRequest, com.google.longrunning.Operation>
+        getExportDocumentsMethod;
     if ((getExportDocumentsMethod = FirestoreAdminGrpc.getExportDocumentsMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getExportDocumentsMethod = FirestoreAdminGrpc.getExportDocumentsMethod) == null) {
-          FirestoreAdminGrpc.getExportDocumentsMethod = getExportDocumentsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportDocuments"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.ExportDocumentsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ExportDocuments"))
-              .build();
+          FirestoreAdminGrpc.getExportDocumentsMethod =
+              getExportDocumentsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportDocuments"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.ExportDocumentsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new FirestoreAdminMethodDescriptorSupplier("ExportDocuments"))
+                      .build();
         }
       }
     }
     return getExportDocumentsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getImportDocumentsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.ImportDocumentsRequest, com.google.longrunning.Operation>
+      getImportDocumentsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ImportDocuments",
       requestType = com.google.firestore.admin.v1.ImportDocumentsRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getImportDocumentsMethod() {
-    io.grpc.MethodDescriptor getImportDocumentsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.ImportDocumentsRequest, com.google.longrunning.Operation>
+      getImportDocumentsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.ImportDocumentsRequest, com.google.longrunning.Operation>
+        getImportDocumentsMethod;
     if ((getImportDocumentsMethod = FirestoreAdminGrpc.getImportDocumentsMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getImportDocumentsMethod = FirestoreAdminGrpc.getImportDocumentsMethod) == null) {
-          FirestoreAdminGrpc.getImportDocumentsMethod = getImportDocumentsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportDocuments"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.ImportDocumentsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ImportDocuments"))
-              .build();
+          FirestoreAdminGrpc.getImportDocumentsMethod =
+              getImportDocumentsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportDocuments"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.ImportDocumentsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new FirestoreAdminMethodDescriptorSupplier("ImportDocuments"))
+                      .build();
         }
       }
     }
     return getImportDocumentsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.GetDatabaseRequest, com.google.firestore.admin.v1.Database>
+      getGetDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDatabase",
       requestType = com.google.firestore.admin.v1.GetDatabaseRequest.class,
       responseType = com.google.firestore.admin.v1.Database.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetDatabaseMethod() {
-    io.grpc.MethodDescriptor getGetDatabaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.GetDatabaseRequest, com.google.firestore.admin.v1.Database>
+      getGetDatabaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.GetDatabaseRequest,
+            com.google.firestore.admin.v1.Database>
+        getGetDatabaseMethod;
     if ((getGetDatabaseMethod = FirestoreAdminGrpc.getGetDatabaseMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getGetDatabaseMethod = FirestoreAdminGrpc.getGetDatabaseMethod) == null) {
-          FirestoreAdminGrpc.getGetDatabaseMethod = getGetDatabaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.GetDatabaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.Database.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("GetDatabase"))
-              .build();
+          FirestoreAdminGrpc.getGetDatabaseMethod =
+              getGetDatabaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDatabase"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.GetDatabaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.Database.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new FirestoreAdminMethodDescriptorSupplier("GetDatabase"))
+                      .build();
         }
       }
     }
     return getGetDatabaseMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListDatabasesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.ListDatabasesRequest,
+          com.google.firestore.admin.v1.ListDatabasesResponse>
+      getListDatabasesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDatabases",
       requestType = com.google.firestore.admin.v1.ListDatabasesRequest.class,
       responseType = com.google.firestore.admin.v1.ListDatabasesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListDatabasesMethod() {
-    io.grpc.MethodDescriptor getListDatabasesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.ListDatabasesRequest,
+          com.google.firestore.admin.v1.ListDatabasesResponse>
+      getListDatabasesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.ListDatabasesRequest,
+            com.google.firestore.admin.v1.ListDatabasesResponse>
+        getListDatabasesMethod;
     if ((getListDatabasesMethod = FirestoreAdminGrpc.getListDatabasesMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getListDatabasesMethod = FirestoreAdminGrpc.getListDatabasesMethod) == null) {
-          FirestoreAdminGrpc.getListDatabasesMethod = getListDatabasesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.ListDatabasesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.ListDatabasesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("ListDatabases"))
-              .build();
+          FirestoreAdminGrpc.getListDatabasesMethod =
+              getListDatabasesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDatabases"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.ListDatabasesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.ListDatabasesResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new FirestoreAdminMethodDescriptorSupplier("ListDatabases"))
+                      .build();
         }
       }
     }
     return getListDatabasesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateDatabaseMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.UpdateDatabaseRequest, com.google.longrunning.Operation>
+      getUpdateDatabaseMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateDatabase",
       requestType = com.google.firestore.admin.v1.UpdateDatabaseRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateDatabaseMethod() {
-    io.grpc.MethodDescriptor getUpdateDatabaseMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.firestore.admin.v1.UpdateDatabaseRequest, com.google.longrunning.Operation>
+      getUpdateDatabaseMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.firestore.admin.v1.UpdateDatabaseRequest, com.google.longrunning.Operation>
+        getUpdateDatabaseMethod;
     if ((getUpdateDatabaseMethod = FirestoreAdminGrpc.getUpdateDatabaseMethod) == null) {
       synchronized (FirestoreAdminGrpc.class) {
         if ((getUpdateDatabaseMethod = FirestoreAdminGrpc.getUpdateDatabaseMethod) == null) {
-          FirestoreAdminGrpc.getUpdateDatabaseMethod = getUpdateDatabaseMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabase"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.firestore.admin.v1.UpdateDatabaseRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new FirestoreAdminMethodDescriptorSupplier("UpdateDatabase"))
-              .build();
+          FirestoreAdminGrpc.getUpdateDatabaseMethod =
+              getUpdateDatabaseMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDatabase"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.firestore.admin.v1.UpdateDatabaseRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new FirestoreAdminMethodDescriptorSupplier("UpdateDatabase"))
+                      .build();
         }
       }
     }
     return getUpdateDatabaseMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static FirestoreAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public FirestoreAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new FirestoreAdminStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public FirestoreAdminStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new FirestoreAdminStub(channel, callOptions);
+          }
+        };
     return FirestoreAdminStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static FirestoreAdminBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static FirestoreAdminBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public FirestoreAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new FirestoreAdminBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public FirestoreAdminBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new FirestoreAdminBlockingStub(channel, callOptions);
+          }
+        };
     return FirestoreAdminBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static FirestoreAdminFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static FirestoreAdminFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public FirestoreAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new FirestoreAdminFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public FirestoreAdminFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new FirestoreAdminFutureStub(channel, callOptions);
+          }
+        };
     return FirestoreAdminFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -480,58 +646,79 @@ public FirestoreAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOpt
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
      * which may be used to track the status of the creation. The metadata for
      * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
      * 
*/ - default void createIndex(com.google.firestore.admin.v1.CreateIndexRequest request, + default void createIndex( + com.google.firestore.admin.v1.CreateIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateIndexMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateIndexMethod(), responseObserver); } /** + * + * *
      * Lists composite indexes.
      * 
*/ - default void listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIndexesMethod(), responseObserver); + default void listIndexes( + com.google.firestore.admin.v1.ListIndexesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListIndexesMethod(), responseObserver); } /** + * + * *
      * Gets a composite index.
      * 
*/ - default void getIndex(com.google.firestore.admin.v1.GetIndexRequest request, + default void getIndex( + com.google.firestore.admin.v1.GetIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIndexMethod(), responseObserver); } /** + * + * *
      * Deletes a composite index.
      * 
*/ - default void deleteIndex(com.google.firestore.admin.v1.DeleteIndexRequest request, + default void deleteIndex( + com.google.firestore.admin.v1.DeleteIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIndexMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteIndexMethod(), responseObserver); } /** + * + * *
      * Gets the metadata and configuration for a Field.
      * 
*/ - default void getField(com.google.firestore.admin.v1.GetFieldRequest request, + default void getField( + com.google.firestore.admin.v1.GetFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFieldMethod(), responseObserver); } /** + * + * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -546,12 +733,16 @@ default void getField(com.google.firestore.admin.v1.GetFieldRequest request,
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - default void updateField(com.google.firestore.admin.v1.UpdateFieldRequest request, + default void updateField( + com.google.firestore.admin.v1.UpdateFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateFieldMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateFieldMethod(), responseObserver); } /** + * + * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -560,12 +751,16 @@ default void updateField(com.google.firestore.admin.v1.UpdateFieldRequest reques
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - default void listFields(com.google.firestore.admin.v1.ListFieldsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void listFields( + com.google.firestore.admin.v1.ListFieldsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFieldsMethod(), responseObserver); } /** + * + * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -579,12 +774,16 @@ default void listFields(com.google.firestore.admin.v1.ListFieldsRequest request,
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - default void exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request, + default void exportDocuments( + com.google.firestore.admin.v1.ExportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportDocumentsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getExportDocumentsMethod(), responseObserver); } /** + * + * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -593,44 +792,60 @@ default void exportDocuments(com.google.firestore.admin.v1.ExportDocumentsReques
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - default void importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request, + default void importDocuments( + com.google.firestore.admin.v1.ImportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportDocumentsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportDocumentsMethod(), responseObserver); } /** + * + * *
      * Gets information about a database.
      * 
*/ - default void getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request, + default void getDatabase( + com.google.firestore.admin.v1.GetDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDatabaseMethod(), responseObserver); } /** + * + * *
      * List all the databases in the project.
      * 
*/ - default void listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDatabasesMethod(), responseObserver); + default void listDatabases( + com.google.firestore.admin.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDatabasesMethod(), responseObserver); } /** + * + * *
      * Updates a database.
      * 
*/ - default void updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request, + default void updateDatabase( + com.google.firestore.admin.v1.UpdateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDatabaseMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDatabaseMethod(), responseObserver); } } /** * Base class for the server implementation of the service FirestoreAdmin. + * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -654,16 +869,18 @@ default void updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest
    * service `google.longrunning.Operations`.
    * 
*/ - public static abstract class FirestoreAdminImplBase + public abstract static class FirestoreAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return FirestoreAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service FirestoreAdmin. + * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -689,75 +906,97 @@ public static abstract class FirestoreAdminImplBase
    */
   public static final class FirestoreAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private FirestoreAdminStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private FirestoreAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected FirestoreAdminStub build(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected FirestoreAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new FirestoreAdminStub(channel, callOptions);
     }
 
     /**
+     *
+     *
      * 
      * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
      * which may be used to track the status of the creation. The metadata for
      * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
      * 
*/ - public void createIndex(com.google.firestore.admin.v1.CreateIndexRequest request, + public void createIndex( + com.google.firestore.admin.v1.CreateIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateIndexMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists composite indexes.
      * 
*/ - public void listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listIndexes( + com.google.firestore.admin.v1.ListIndexesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListIndexesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListIndexesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets a composite index.
      * 
*/ - public void getIndex(com.google.firestore.admin.v1.GetIndexRequest request, + public void getIndex( + com.google.firestore.admin.v1.GetIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetIndexMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a composite index.
      * 
*/ - public void deleteIndex(com.google.firestore.admin.v1.DeleteIndexRequest request, + public void deleteIndex( + com.google.firestore.admin.v1.DeleteIndexRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the metadata and configuration for a Field.
      * 
*/ - public void getField(com.google.firestore.admin.v1.GetFieldRequest request, + public void getField( + com.google.firestore.admin.v1.GetFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetFieldMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -772,13 +1011,18 @@ public void getField(com.google.firestore.admin.v1.GetFieldRequest request,
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - public void updateField(com.google.firestore.admin.v1.UpdateFieldRequest request, + public void updateField( + com.google.firestore.admin.v1.UpdateFieldRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateFieldMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateFieldMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -787,13 +1031,17 @@ public void updateField(com.google.firestore.admin.v1.UpdateFieldRequest request
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - public void listFields(com.google.firestore.admin.v1.ListFieldsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listFields( + com.google.firestore.admin.v1.ListFieldsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListFieldsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -807,13 +1055,18 @@ public void listFields(com.google.firestore.admin.v1.ListFieldsRequest request,
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - public void exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request, + public void exportDocuments( + com.google.firestore.admin.v1.ExportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportDocumentsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getExportDocumentsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -822,48 +1075,68 @@ public void exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - public void importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request, + public void importDocuments( + com.google.firestore.admin.v1.ImportDocumentsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets information about a database.
      * 
*/ - public void getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request, + public void getDatabase( + com.google.firestore.admin.v1.GetDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * List all the databases in the project.
      * 
*/ - public void listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listDatabases( + com.google.firestore.admin.v1.ListDatabasesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListDatabasesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates a database.
      * 
*/ - public void updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request, + public void updateDatabase( + com.google.firestore.admin.v1.UpdateDatabaseRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service FirestoreAdmin. + * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -889,8 +1162,7 @@ public void updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest r
    */
   public static final class FirestoreAdminBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private FirestoreAdminBlockingStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private FirestoreAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -901,58 +1173,75 @@ protected FirestoreAdminBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
      * which may be used to track the status of the creation. The metadata for
      * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
      * 
*/ - public com.google.longrunning.Operation createIndex(com.google.firestore.admin.v1.CreateIndexRequest request) { + public com.google.longrunning.Operation createIndex( + com.google.firestore.admin.v1.CreateIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateIndexMethod(), getCallOptions(), request); } /** + * + * *
      * Lists composite indexes.
      * 
*/ - public com.google.firestore.admin.v1.ListIndexesResponse listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request) { + public com.google.firestore.admin.v1.ListIndexesResponse listIndexes( + com.google.firestore.admin.v1.ListIndexesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListIndexesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a composite index.
      * 
*/ - public com.google.firestore.admin.v1.Index getIndex(com.google.firestore.admin.v1.GetIndexRequest request) { + public com.google.firestore.admin.v1.Index getIndex( + com.google.firestore.admin.v1.GetIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetIndexMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a composite index.
      * 
*/ - public com.google.protobuf.Empty deleteIndex(com.google.firestore.admin.v1.DeleteIndexRequest request) { + public com.google.protobuf.Empty deleteIndex( + com.google.firestore.admin.v1.DeleteIndexRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteIndexMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the metadata and configuration for a Field.
      * 
*/ - public com.google.firestore.admin.v1.Field getField(com.google.firestore.admin.v1.GetFieldRequest request) { + public com.google.firestore.admin.v1.Field getField( + com.google.firestore.admin.v1.GetFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetFieldMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -967,12 +1256,15 @@ public com.google.firestore.admin.v1.Field getField(com.google.firestore.admin.v
      * `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
      * 
*/ - public com.google.longrunning.Operation updateField(com.google.firestore.admin.v1.UpdateFieldRequest request) { + public com.google.longrunning.Operation updateField( + com.google.firestore.admin.v1.UpdateFieldRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateFieldMethod(), getCallOptions(), request); } /** + * + * *
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -981,12 +1273,15 @@ public com.google.longrunning.Operation updateField(com.google.firestore.admin.v
      * `indexConfig.usesAncestorConfig:false` .
      * 
*/ - public com.google.firestore.admin.v1.ListFieldsResponse listFields(com.google.firestore.admin.v1.ListFieldsRequest request) { + public com.google.firestore.admin.v1.ListFieldsResponse listFields( + com.google.firestore.admin.v1.ListFieldsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListFieldsMethod(), getCallOptions(), request); } /** + * + * *
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -1000,12 +1295,15 @@ public com.google.firestore.admin.v1.ListFieldsResponse listFields(com.google.fi
      * https://cloud.google.com/firestore/docs/manage-data/export-import
      * 
*/ - public com.google.longrunning.Operation exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request) { + public com.google.longrunning.Operation exportDocuments( + com.google.firestore.admin.v1.ExportDocumentsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExportDocumentsMethod(), getCallOptions(), request); } /** + * + * *
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -1014,37 +1312,47 @@ public com.google.longrunning.Operation exportDocuments(com.google.firestore.adm
      * that a subset of the data has already been imported to Cloud Firestore.
      * 
*/ - public com.google.longrunning.Operation importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request) { + public com.google.longrunning.Operation importDocuments( + com.google.firestore.admin.v1.ImportDocumentsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportDocumentsMethod(), getCallOptions(), request); } /** + * + * *
      * Gets information about a database.
      * 
*/ - public com.google.firestore.admin.v1.Database getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request) { + public com.google.firestore.admin.v1.Database getDatabase( + com.google.firestore.admin.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDatabaseMethod(), getCallOptions(), request); } /** + * + * *
      * List all the databases in the project.
      * 
*/ - public com.google.firestore.admin.v1.ListDatabasesResponse listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request) { + public com.google.firestore.admin.v1.ListDatabasesResponse listDatabases( + com.google.firestore.admin.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDatabasesMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a database.
      * 
*/ - public com.google.longrunning.Operation updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request) { + public com.google.longrunning.Operation updateDatabase( + com.google.firestore.admin.v1.UpdateDatabaseRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateDatabaseMethod(), getCallOptions(), request); } @@ -1052,6 +1360,7 @@ public com.google.longrunning.Operation updateDatabase(com.google.firestore.admi /** * A stub to allow clients to do ListenableFuture-style rpc calls to service FirestoreAdmin. + * *
    * The Cloud Firestore Admin API.
    * This API provides several administrative services for Cloud Firestore.
@@ -1077,8 +1386,7 @@ public com.google.longrunning.Operation updateDatabase(com.google.firestore.admi
    */
   public static final class FirestoreAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private FirestoreAdminFutureStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private FirestoreAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1089,63 +1397,76 @@ protected FirestoreAdminFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
      * which may be used to track the status of the creation. The metadata for
      * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createIndex( - com.google.firestore.admin.v1.CreateIndexRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createIndex(com.google.firestore.admin.v1.CreateIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request); } /** + * + * *
      * Lists composite indexes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listIndexes( - com.google.firestore.admin.v1.ListIndexesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.admin.v1.ListIndexesResponse> + listIndexes(com.google.firestore.admin.v1.ListIndexesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListIndexesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a composite index.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getIndex( - com.google.firestore.admin.v1.GetIndexRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getIndex(com.google.firestore.admin.v1.GetIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIndexMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a composite index.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteIndex( - com.google.firestore.admin.v1.DeleteIndexRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteIndex(com.google.firestore.admin.v1.DeleteIndexRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request); } /** + * + * *
      * Gets the metadata and configuration for a Field.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getField( - com.google.firestore.admin.v1.GetFieldRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getField(com.google.firestore.admin.v1.GetFieldRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetFieldMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a field configuration. Currently, field updates apply only to
      * single field index configuration. However, calls to
@@ -1160,13 +1481,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateField(
-        com.google.firestore.admin.v1.UpdateFieldRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateField(com.google.firestore.admin.v1.UpdateFieldRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateFieldMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists the field configuration and metadata for this database.
      * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -1175,13 +1498,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listFields(
-        com.google.firestore.admin.v1.ListFieldsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.firestore.admin.v1.ListFieldsResponse>
+        listFields(com.google.firestore.admin.v1.ListFieldsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListFieldsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Exports a copy of all or a subset of documents from Google Cloud Firestore
      * to another storage system, such as Google Cloud Storage. Recent updates to
@@ -1195,13 +1521,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture exportDocuments(
-        com.google.firestore.admin.v1.ExportDocumentsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        exportDocuments(com.google.firestore.admin.v1.ExportDocumentsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getExportDocumentsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Imports documents into Google Cloud Firestore. Existing documents with the
      * same name are overwritten. The import occurs in the background and its
@@ -1210,41 +1538,49 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture importDocuments(
-        com.google.firestore.admin.v1.ImportDocumentsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        importDocuments(com.google.firestore.admin.v1.ImportDocumentsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets information about a database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getDatabase( - com.google.firestore.admin.v1.GetDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.admin.v1.Database> + getDatabase(com.google.firestore.admin.v1.GetDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDatabaseMethod(), getCallOptions()), request); } /** + * + * *
      * List all the databases in the project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listDatabases( - com.google.firestore.admin.v1.ListDatabasesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.admin.v1.ListDatabasesResponse> + listDatabases(com.google.firestore.admin.v1.ListDatabasesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDatabasesMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a database.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateDatabase( - com.google.firestore.admin.v1.UpdateDatabaseRequest request) { + public com.google.common.util.concurrent.ListenableFuture + updateDatabase(com.google.firestore.admin.v1.UpdateDatabaseRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateDatabaseMethod(), getCallOptions()), request); } @@ -1263,11 +1599,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -1281,51 +1617,67 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_INDEX: - serviceImpl.createIndex((com.google.firestore.admin.v1.CreateIndexRequest) request, + serviceImpl.createIndex( + (com.google.firestore.admin.v1.CreateIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_INDEXES: - serviceImpl.listIndexes((com.google.firestore.admin.v1.ListIndexesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listIndexes( + (com.google.firestore.admin.v1.ListIndexesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_GET_INDEX: - serviceImpl.getIndex((com.google.firestore.admin.v1.GetIndexRequest) request, + serviceImpl.getIndex( + (com.google.firestore.admin.v1.GetIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_INDEX: - serviceImpl.deleteIndex((com.google.firestore.admin.v1.DeleteIndexRequest) request, + serviceImpl.deleteIndex( + (com.google.firestore.admin.v1.DeleteIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_FIELD: - serviceImpl.getField((com.google.firestore.admin.v1.GetFieldRequest) request, + serviceImpl.getField( + (com.google.firestore.admin.v1.GetFieldRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_FIELD: - serviceImpl.updateField((com.google.firestore.admin.v1.UpdateFieldRequest) request, + serviceImpl.updateField( + (com.google.firestore.admin.v1.UpdateFieldRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_FIELDS: - serviceImpl.listFields((com.google.firestore.admin.v1.ListFieldsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listFields( + (com.google.firestore.admin.v1.ListFieldsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_EXPORT_DOCUMENTS: - serviceImpl.exportDocuments((com.google.firestore.admin.v1.ExportDocumentsRequest) request, + serviceImpl.exportDocuments( + (com.google.firestore.admin.v1.ExportDocumentsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_IMPORT_DOCUMENTS: - serviceImpl.importDocuments((com.google.firestore.admin.v1.ImportDocumentsRequest) request, + serviceImpl.importDocuments( + (com.google.firestore.admin.v1.ImportDocumentsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_DATABASE: - serviceImpl.getDatabase((com.google.firestore.admin.v1.GetDatabaseRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getDatabase( + (com.google.firestore.admin.v1.GetDatabaseRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_LIST_DATABASES: - serviceImpl.listDatabases((com.google.firestore.admin.v1.ListDatabasesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listDatabases( + (com.google.firestore.admin.v1.ListDatabasesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_UPDATE_DATABASE: - serviceImpl.updateDatabase((com.google.firestore.admin.v1.UpdateDatabaseRequest) request, + serviceImpl.updateDatabase( + (com.google.firestore.admin.v1.UpdateDatabaseRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -1347,94 +1699,86 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.CreateIndexRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_INDEX))) + getCreateIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.CreateIndexRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_INDEX))) .addMethod( - getListIndexesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListIndexesRequest, - com.google.firestore.admin.v1.ListIndexesResponse>( - service, METHODID_LIST_INDEXES))) + getListIndexesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListIndexesRequest, + com.google.firestore.admin.v1.ListIndexesResponse>( + service, METHODID_LIST_INDEXES))) .addMethod( - getGetIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetIndexRequest, - com.google.firestore.admin.v1.Index>( - service, METHODID_GET_INDEX))) + getGetIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetIndexRequest, + com.google.firestore.admin.v1.Index>(service, METHODID_GET_INDEX))) .addMethod( - getDeleteIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.DeleteIndexRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_INDEX))) + getDeleteIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.DeleteIndexRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_INDEX))) .addMethod( - getGetFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetFieldRequest, - com.google.firestore.admin.v1.Field>( - service, METHODID_GET_FIELD))) + getGetFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetFieldRequest, + com.google.firestore.admin.v1.Field>(service, METHODID_GET_FIELD))) .addMethod( - getUpdateFieldMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.UpdateFieldRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_FIELD))) + getUpdateFieldMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.UpdateFieldRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_FIELD))) .addMethod( - getListFieldsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListFieldsRequest, - com.google.firestore.admin.v1.ListFieldsResponse>( - service, METHODID_LIST_FIELDS))) + getListFieldsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListFieldsRequest, + com.google.firestore.admin.v1.ListFieldsResponse>( + service, METHODID_LIST_FIELDS))) .addMethod( - getExportDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ExportDocumentsRequest, - com.google.longrunning.Operation>( - service, METHODID_EXPORT_DOCUMENTS))) + getExportDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ExportDocumentsRequest, + com.google.longrunning.Operation>(service, METHODID_EXPORT_DOCUMENTS))) .addMethod( - getImportDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ImportDocumentsRequest, - com.google.longrunning.Operation>( - service, METHODID_IMPORT_DOCUMENTS))) + getImportDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ImportDocumentsRequest, + com.google.longrunning.Operation>(service, METHODID_IMPORT_DOCUMENTS))) .addMethod( - getGetDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.GetDatabaseRequest, - com.google.firestore.admin.v1.Database>( - service, METHODID_GET_DATABASE))) + getGetDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.GetDatabaseRequest, + com.google.firestore.admin.v1.Database>(service, METHODID_GET_DATABASE))) .addMethod( - getListDatabasesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.ListDatabasesRequest, - com.google.firestore.admin.v1.ListDatabasesResponse>( - service, METHODID_LIST_DATABASES))) + getListDatabasesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.ListDatabasesRequest, + com.google.firestore.admin.v1.ListDatabasesResponse>( + service, METHODID_LIST_DATABASES))) .addMethod( - getUpdateDatabaseMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.admin.v1.UpdateDatabaseRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_DATABASE))) + getUpdateDatabaseMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.admin.v1.UpdateDatabaseRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_DATABASE))) .build(); } - private static abstract class FirestoreAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class FirestoreAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { FirestoreAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -1476,21 +1820,23 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (FirestoreAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new FirestoreAdminFileDescriptorSupplier()) - .addMethod(getCreateIndexMethod()) - .addMethod(getListIndexesMethod()) - .addMethod(getGetIndexMethod()) - .addMethod(getDeleteIndexMethod()) - .addMethod(getGetFieldMethod()) - .addMethod(getUpdateFieldMethod()) - .addMethod(getListFieldsMethod()) - .addMethod(getExportDocumentsMethod()) - .addMethod(getImportDocumentsMethod()) - .addMethod(getGetDatabaseMethod()) - .addMethod(getListDatabasesMethod()) - .addMethod(getUpdateDatabaseMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new FirestoreAdminFileDescriptorSupplier()) + .addMethod(getCreateIndexMethod()) + .addMethod(getListIndexesMethod()) + .addMethod(getGetIndexMethod()) + .addMethod(getDeleteIndexMethod()) + .addMethod(getGetFieldMethod()) + .addMethod(getUpdateFieldMethod()) + .addMethod(getListFieldsMethod()) + .addMethod(getExportDocumentsMethod()) + .addMethod(getImportDocumentsMethod()) + .addMethod(getGetDatabaseMethod()) + .addMethod(getListDatabasesMethod()) + .addMethod(getUpdateDatabaseMethod()) + .build(); } } } diff --git a/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java b/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java new file mode 100644 index 000000000..cc63ecb8d --- /dev/null +++ b/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java @@ -0,0 +1,2069 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.firestore.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The Cloud Firestore service.
+ * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+ * document database that simplifies storing, syncing, and querying data for
+ * your mobile, web, and IoT apps at global scale. Its client libraries provide
+ * live synchronization and offline support, while its security features and
+ * integrations with Firebase and Google Cloud Platform accelerate building
+ * truly serverless apps.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/firestore/v1/firestore.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class FirestoreGrpc { + + private FirestoreGrpc() {} + + public static final String SERVICE_NAME = "google.firestore.v1.Firestore"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> + getGetDocumentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDocument", + requestType = com.google.firestore.v1.GetDocumentRequest.class, + responseType = com.google.firestore.v1.Document.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> + getGetDocumentMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document> + getGetDocumentMethod; + if ((getGetDocumentMethod = FirestoreGrpc.getGetDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getGetDocumentMethod = FirestoreGrpc.getGetDocumentMethod) == null) { + FirestoreGrpc.getGetDocumentMethod = + getGetDocumentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.GetDocumentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.Document.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("GetDocument")) + .build(); + } + } + } + return getGetDocumentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse> + getListDocumentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDocuments", + requestType = com.google.firestore.v1.ListDocumentsRequest.class, + responseType = com.google.firestore.v1.ListDocumentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse> + getListDocumentsMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse> + getListDocumentsMethod; + if ((getListDocumentsMethod = FirestoreGrpc.getListDocumentsMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getListDocumentsMethod = FirestoreGrpc.getListDocumentsMethod) == null) { + FirestoreGrpc.getListDocumentsMethod = + getListDocumentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDocuments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListDocumentsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListDocumentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("ListDocuments")) + .build(); + } + } + } + return getListDocumentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> + getUpdateDocumentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDocument", + requestType = com.google.firestore.v1.UpdateDocumentRequest.class, + responseType = com.google.firestore.v1.Document.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> + getUpdateDocumentMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.UpdateDocumentRequest, com.google.firestore.v1.Document> + getUpdateDocumentMethod; + if ((getUpdateDocumentMethod = FirestoreGrpc.getUpdateDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getUpdateDocumentMethod = FirestoreGrpc.getUpdateDocumentMethod) == null) { + FirestoreGrpc.getUpdateDocumentMethod = + getUpdateDocumentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.UpdateDocumentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.Document.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("UpdateDocument")) + .build(); + } + } + } + return getUpdateDocumentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> + getDeleteDocumentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDocument", + requestType = com.google.firestore.v1.DeleteDocumentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> + getDeleteDocumentMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty> + getDeleteDocumentMethod; + if ((getDeleteDocumentMethod = FirestoreGrpc.getDeleteDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getDeleteDocumentMethod = FirestoreGrpc.getDeleteDocumentMethod) == null) { + FirestoreGrpc.getDeleteDocumentMethod = + getDeleteDocumentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.DeleteDocumentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("DeleteDocument")) + .build(); + } + } + } + return getDeleteDocumentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse> + getBatchGetDocumentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetDocuments", + requestType = com.google.firestore.v1.BatchGetDocumentsRequest.class, + responseType = com.google.firestore.v1.BatchGetDocumentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse> + getBatchGetDocumentsMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse> + getBatchGetDocumentsMethod; + if ((getBatchGetDocumentsMethod = FirestoreGrpc.getBatchGetDocumentsMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getBatchGetDocumentsMethod = FirestoreGrpc.getBatchGetDocumentsMethod) == null) { + FirestoreGrpc.getBatchGetDocumentsMethod = + getBatchGetDocumentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetDocuments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BatchGetDocumentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BatchGetDocumentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FirestoreMethodDescriptorSupplier("BatchGetDocuments")) + .build(); + } + } + } + return getBatchGetDocumentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse> + getBeginTransactionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BeginTransaction", + requestType = com.google.firestore.v1.BeginTransactionRequest.class, + responseType = com.google.firestore.v1.BeginTransactionResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse> + getBeginTransactionMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse> + getBeginTransactionMethod; + if ((getBeginTransactionMethod = FirestoreGrpc.getBeginTransactionMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getBeginTransactionMethod = FirestoreGrpc.getBeginTransactionMethod) == null) { + FirestoreGrpc.getBeginTransactionMethod = + getBeginTransactionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BeginTransactionResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FirestoreMethodDescriptorSupplier("BeginTransaction")) + .build(); + } + } + } + return getBeginTransactionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> + getCommitMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Commit", + requestType = com.google.firestore.v1.CommitRequest.class, + responseType = com.google.firestore.v1.CommitResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> + getCommitMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse> + getCommitMethod; + if ((getCommitMethod = FirestoreGrpc.getCommitMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getCommitMethod = FirestoreGrpc.getCommitMethod) == null) { + FirestoreGrpc.getCommitMethod = + getCommitMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.CommitRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.CommitResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Commit")) + .build(); + } + } + } + return getCommitMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty> + getRollbackMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Rollback", + requestType = com.google.firestore.v1.RollbackRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty> + getRollbackMethod() { + io.grpc.MethodDescriptor + getRollbackMethod; + if ((getRollbackMethod = FirestoreGrpc.getRollbackMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getRollbackMethod = FirestoreGrpc.getRollbackMethod) == null) { + FirestoreGrpc.getRollbackMethod = + getRollbackMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Rollback")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RollbackRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Rollback")) + .build(); + } + } + } + return getRollbackMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> + getRunQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunQuery", + requestType = com.google.firestore.v1.RunQueryRequest.class, + responseType = com.google.firestore.v1.RunQueryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> + getRunQueryMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.RunQueryRequest, com.google.firestore.v1.RunQueryResponse> + getRunQueryMethod; + if ((getRunQueryMethod = FirestoreGrpc.getRunQueryMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getRunQueryMethod = FirestoreGrpc.getRunQueryMethod) == null) { + FirestoreGrpc.getRunQueryMethod = + getRunQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RunQueryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RunQueryResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("RunQuery")) + .build(); + } + } + } + return getRunQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.RunAggregationQueryRequest, + com.google.firestore.v1.RunAggregationQueryResponse> + getRunAggregationQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunAggregationQuery", + requestType = com.google.firestore.v1.RunAggregationQueryRequest.class, + responseType = com.google.firestore.v1.RunAggregationQueryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.RunAggregationQueryRequest, + com.google.firestore.v1.RunAggregationQueryResponse> + getRunAggregationQueryMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.RunAggregationQueryRequest, + com.google.firestore.v1.RunAggregationQueryResponse> + getRunAggregationQueryMethod; + if ((getRunAggregationQueryMethod = FirestoreGrpc.getRunAggregationQueryMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getRunAggregationQueryMethod = FirestoreGrpc.getRunAggregationQueryMethod) == null) { + FirestoreGrpc.getRunAggregationQueryMethod = + getRunAggregationQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RunAggregationQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RunAggregationQueryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.RunAggregationQueryResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FirestoreMethodDescriptorSupplier("RunAggregationQuery")) + .build(); + } + } + } + return getRunAggregationQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.PartitionQueryRequest, + com.google.firestore.v1.PartitionQueryResponse> + getPartitionQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PartitionQuery", + requestType = com.google.firestore.v1.PartitionQueryRequest.class, + responseType = com.google.firestore.v1.PartitionQueryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.PartitionQueryRequest, + com.google.firestore.v1.PartitionQueryResponse> + getPartitionQueryMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.PartitionQueryRequest, + com.google.firestore.v1.PartitionQueryResponse> + getPartitionQueryMethod; + if ((getPartitionQueryMethod = FirestoreGrpc.getPartitionQueryMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getPartitionQueryMethod = FirestoreGrpc.getPartitionQueryMethod) == null) { + FirestoreGrpc.getPartitionQueryMethod = + getPartitionQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.PartitionQueryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.PartitionQueryResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("PartitionQuery")) + .build(); + } + } + } + return getPartitionQueryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> + getWriteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Write", + requestType = com.google.firestore.v1.WriteRequest.class, + responseType = com.google.firestore.v1.WriteResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> + getWriteMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse> + getWriteMethod; + if ((getWriteMethod = FirestoreGrpc.getWriteMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getWriteMethod = FirestoreGrpc.getWriteMethod) == null) { + FirestoreGrpc.getWriteMethod = + getWriteMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Write")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.WriteRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.WriteResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Write")) + .build(); + } + } + } + return getWriteMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> + getListenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "Listen", + requestType = com.google.firestore.v1.ListenRequest.class, + responseType = com.google.firestore.v1.ListenResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> + getListenMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse> + getListenMethod; + if ((getListenMethod = FirestoreGrpc.getListenMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getListenMethod = FirestoreGrpc.getListenMethod) == null) { + FirestoreGrpc.getListenMethod = + getListenMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Listen")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListenRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListenResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Listen")) + .build(); + } + } + } + return getListenMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse> + getListCollectionIdsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCollectionIds", + requestType = com.google.firestore.v1.ListCollectionIdsRequest.class, + responseType = com.google.firestore.v1.ListCollectionIdsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse> + getListCollectionIdsMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse> + getListCollectionIdsMethod; + if ((getListCollectionIdsMethod = FirestoreGrpc.getListCollectionIdsMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getListCollectionIdsMethod = FirestoreGrpc.getListCollectionIdsMethod) == null) { + FirestoreGrpc.getListCollectionIdsMethod = + getListCollectionIdsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCollectionIds")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListCollectionIdsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.ListCollectionIdsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new FirestoreMethodDescriptorSupplier("ListCollectionIds")) + .build(); + } + } + } + return getListCollectionIdsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchWriteRequest, com.google.firestore.v1.BatchWriteResponse> + getBatchWriteMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchWrite", + requestType = com.google.firestore.v1.BatchWriteRequest.class, + responseType = com.google.firestore.v1.BatchWriteResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchWriteRequest, com.google.firestore.v1.BatchWriteResponse> + getBatchWriteMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.BatchWriteRequest, com.google.firestore.v1.BatchWriteResponse> + getBatchWriteMethod; + if ((getBatchWriteMethod = FirestoreGrpc.getBatchWriteMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getBatchWriteMethod = FirestoreGrpc.getBatchWriteMethod) == null) { + FirestoreGrpc.getBatchWriteMethod = + getBatchWriteMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchWrite")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BatchWriteRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.BatchWriteResponse.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("BatchWrite")) + .build(); + } + } + } + return getBatchWriteMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> + getCreateDocumentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDocument", + requestType = com.google.firestore.v1.CreateDocumentRequest.class, + responseType = com.google.firestore.v1.Document.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> + getCreateDocumentMethod() { + io.grpc.MethodDescriptor< + com.google.firestore.v1.CreateDocumentRequest, com.google.firestore.v1.Document> + getCreateDocumentMethod; + if ((getCreateDocumentMethod = FirestoreGrpc.getCreateDocumentMethod) == null) { + synchronized (FirestoreGrpc.class) { + if ((getCreateDocumentMethod = FirestoreGrpc.getCreateDocumentMethod) == null) { + FirestoreGrpc.getCreateDocumentMethod = + getCreateDocumentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDocument")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.CreateDocumentRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.firestore.v1.Document.getDefaultInstance())) + .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("CreateDocument")) + .build(); + } + } + } + return getCreateDocumentMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static FirestoreStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FirestoreStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreStub(channel, callOptions); + } + }; + return FirestoreStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static FirestoreBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FirestoreBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreBlockingStub(channel, callOptions); + } + }; + return FirestoreBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static FirestoreFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public FirestoreFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreFutureStub(channel, callOptions); + } + }; + return FirestoreFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Cloud Firestore service.
+   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+   * document database that simplifies storing, syncing, and querying data for
+   * your mobile, web, and IoT apps at global scale. Its client libraries provide
+   * live synchronization and offline support, while its security features and
+   * integrations with Firebase and Google Cloud Platform accelerate building
+   * truly serverless apps.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Gets a single document.
+     * 
+ */ + default void getDocument( + com.google.firestore.v1.GetDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDocumentMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists documents.
+     * 
+ */ + default void listDocuments( + com.google.firestore.v1.ListDocumentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDocumentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates or inserts a document.
+     * 
+ */ + default void updateDocument( + com.google.firestore.v1.UpdateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDocumentMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a document.
+     * 
+ */ + default void deleteDocument( + com.google.firestore.v1.DeleteDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDocumentMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets multiple documents.
+     * Documents returned by this method are not guaranteed to be returned in the
+     * same order that they were requested.
+     * 
+ */ + default void batchGetDocuments( + com.google.firestore.v1.BatchGetDocumentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchGetDocumentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Starts a new transaction.
+     * 
+ */ + default void beginTransaction( + com.google.firestore.v1.BeginTransactionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBeginTransactionMethod(), responseObserver); + } + + /** + * + * + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + default void commit( + com.google.firestore.v1.CommitRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); + } + + /** + * + * + *
+     * Rolls back a transaction.
+     * 
+ */ + default void rollback( + com.google.firestore.v1.RollbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); + } + + /** + * + * + *
+     * Runs a query.
+     * 
+ */ + default void runQuery( + com.google.firestore.v1.RunQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunQueryMethod(), responseObserver); + } + + /** + * + * + *
+     * Runs an aggregation query.
+     * Rather than producing [Document][google.firestore.v1.Document] results like
+     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
+     * allows running an aggregation to produce a series of
+     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
+     * High-Level Example:
+     * ```
+     * -- Return the number of documents in table given a filter.
+     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
+     * ```
+     * 
+ */ + default void runAggregationQuery( + com.google.firestore.v1.RunAggregationQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRunAggregationQueryMethod(), responseObserver); + } + + /** + * + * + *
+     * Partitions a query by returning partition cursors that can be used to run
+     * the query in parallel. The returned partition cursors are split points that
+     * can be used by RunQuery as starting/end points for the query results.
+     * 
+ */ + default void partitionQuery( + com.google.firestore.v1.PartitionQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPartitionQueryMethod(), responseObserver); + } + + /** + * + * + *
+     * Streams batches of document updates and deletes, in order. This method is
+     * only available via gRPC or WebChannel (not REST).
+     * 
+ */ + default io.grpc.stub.StreamObserver write( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( + getWriteMethod(), responseObserver); + } + + /** + * + * + *
+     * Listens to changes. This method is only available via gRPC or WebChannel
+     * (not REST).
+     * 
+ */ + default io.grpc.stub.StreamObserver listen( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( + getListenMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + default void listCollectionIds( + com.google.firestore.v1.ListCollectionIdsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCollectionIdsMethod(), responseObserver); + } + + /** + * + * + *
+     * Applies a batch of write operations.
+     * The BatchWrite method does not apply the write operations atomically
+     * and can apply them out of order. Method does not allow more than one write
+     * per document. Each write succeeds or fails independently. See the
+     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
+     * success status of each write.
+     * If you require an atomically applied set of writes, use
+     * [Commit][google.firestore.v1.Firestore.Commit] instead.
+     * 
+ */ + default void batchWrite( + com.google.firestore.v1.BatchWriteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchWriteMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new document.
+     * 
+ */ + default void createDocument( + com.google.firestore.v1.CreateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDocumentMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Firestore. + * + *
+   * The Cloud Firestore service.
+   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+   * document database that simplifies storing, syncing, and querying data for
+   * your mobile, web, and IoT apps at global scale. Its client libraries provide
+   * live synchronization and offline support, while its security features and
+   * integrations with Firebase and Google Cloud Platform accelerate building
+   * truly serverless apps.
+   * 
+ */ + public abstract static class FirestoreImplBase implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return FirestoreGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Firestore. + * + *
+   * The Cloud Firestore service.
+   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+   * document database that simplifies storing, syncing, and querying data for
+   * your mobile, web, and IoT apps at global scale. Its client libraries provide
+   * live synchronization and offline support, while its security features and
+   * integrations with Firebase and Google Cloud Platform accelerate building
+   * truly serverless apps.
+   * 
+ */ + public static final class FirestoreStub extends io.grpc.stub.AbstractAsyncStub { + private FirestoreStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FirestoreStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreStub(channel, callOptions); + } + + /** + * + * + *
+     * Gets a single document.
+     * 
+ */ + public void getDocument( + com.google.firestore.v1.GetDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDocumentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists documents.
+     * 
+ */ + public void listDocuments( + com.google.firestore.v1.ListDocumentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDocumentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates or inserts a document.
+     * 
+ */ + public void updateDocument( + com.google.firestore.v1.UpdateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDocumentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a document.
+     * 
+ */ + public void deleteDocument( + com.google.firestore.v1.DeleteDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDocumentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets multiple documents.
+     * Documents returned by this method are not guaranteed to be returned in the
+     * same order that they were requested.
+     * 
+ */ + public void batchGetDocuments( + com.google.firestore.v1.BatchGetDocumentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getBatchGetDocumentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Starts a new transaction.
+     * 
+ */ + public void beginTransaction( + com.google.firestore.v1.BeginTransactionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + public void commit( + com.google.firestore.v1.CommitRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCommitMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Rolls back a transaction.
+     * 
+ */ + public void rollback( + com.google.firestore.v1.RollbackRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Runs a query.
+     * 
+ */ + public void runQuery( + com.google.firestore.v1.RunQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getRunQueryMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Runs an aggregation query.
+     * Rather than producing [Document][google.firestore.v1.Document] results like
+     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
+     * allows running an aggregation to produce a series of
+     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
+     * High-Level Example:
+     * ```
+     * -- Return the number of documents in table given a filter.
+     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
+     * ```
+     * 
+ */ + public void runAggregationQuery( + com.google.firestore.v1.RunAggregationQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getRunAggregationQueryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Partitions a query by returning partition cursors that can be used to run
+     * the query in parallel. The returned partition cursors are split points that
+     * can be used by RunQuery as starting/end points for the query results.
+     * 
+ */ + public void partitionQuery( + com.google.firestore.v1.PartitionQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Streams batches of document updates and deletes, in order. This method is
+     * only available via gRPC or WebChannel (not REST).
+     * 
+ */ + public io.grpc.stub.StreamObserver write( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( + getChannel().newCall(getWriteMethod(), getCallOptions()), responseObserver); + } + + /** + * + * + *
+     * Listens to changes. This method is only available via gRPC or WebChannel
+     * (not REST).
+     * 
+ */ + public io.grpc.stub.StreamObserver listen( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( + getChannel().newCall(getListenMethod(), getCallOptions()), responseObserver); + } + + /** + * + * + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + public void listCollectionIds( + com.google.firestore.v1.ListCollectionIdsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCollectionIdsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Applies a batch of write operations.
+     * The BatchWrite method does not apply the write operations atomically
+     * and can apply them out of order. Method does not allow more than one write
+     * per document. Each write succeeds or fails independently. See the
+     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
+     * success status of each write.
+     * If you require an atomically applied set of writes, use
+     * [Commit][google.firestore.v1.Firestore.Commit] instead.
+     * 
+ */ + public void batchWrite( + com.google.firestore.v1.BatchWriteRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchWriteMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new document.
+     * 
+ */ + public void createDocument( + com.google.firestore.v1.CreateDocumentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDocumentMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Firestore. + * + *
+   * The Cloud Firestore service.
+   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+   * document database that simplifies storing, syncing, and querying data for
+   * your mobile, web, and IoT apps at global scale. Its client libraries provide
+   * live synchronization and offline support, while its security features and
+   * integrations with Firebase and Google Cloud Platform accelerate building
+   * truly serverless apps.
+   * 
+ */ + public static final class FirestoreBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private FirestoreBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FirestoreBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Gets a single document.
+     * 
+ */ + public com.google.firestore.v1.Document getDocument( + com.google.firestore.v1.GetDocumentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDocumentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists documents.
+     * 
+ */ + public com.google.firestore.v1.ListDocumentsResponse listDocuments( + com.google.firestore.v1.ListDocumentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDocumentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates or inserts a document.
+     * 
+ */ + public com.google.firestore.v1.Document updateDocument( + com.google.firestore.v1.UpdateDocumentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDocumentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a document.
+     * 
+ */ + public com.google.protobuf.Empty deleteDocument( + com.google.firestore.v1.DeleteDocumentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDocumentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets multiple documents.
+     * Documents returned by this method are not guaranteed to be returned in the
+     * same order that they were requested.
+     * 
+ */ + public java.util.Iterator batchGetDocuments( + com.google.firestore.v1.BatchGetDocumentsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getBatchGetDocumentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Starts a new transaction.
+     * 
+ */ + public com.google.firestore.v1.BeginTransactionResponse beginTransaction( + com.google.firestore.v1.BeginTransactionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBeginTransactionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + public com.google.firestore.v1.CommitResponse commit( + com.google.firestore.v1.CommitRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCommitMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Rolls back a transaction.
+     * 
+ */ + public com.google.protobuf.Empty rollback(com.google.firestore.v1.RollbackRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Runs a query.
+     * 
+ */ + public java.util.Iterator runQuery( + com.google.firestore.v1.RunQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getRunQueryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Runs an aggregation query.
+     * Rather than producing [Document][google.firestore.v1.Document] results like
+     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
+     * allows running an aggregation to produce a series of
+     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
+     * High-Level Example:
+     * ```
+     * -- Return the number of documents in table given a filter.
+     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
+     * ```
+     * 
+ */ + public java.util.Iterator + runAggregationQuery(com.google.firestore.v1.RunAggregationQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getRunAggregationQueryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Partitions a query by returning partition cursors that can be used to run
+     * the query in parallel. The returned partition cursors are split points that
+     * can be used by RunQuery as starting/end points for the query results.
+     * 
+ */ + public com.google.firestore.v1.PartitionQueryResponse partitionQuery( + com.google.firestore.v1.PartitionQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPartitionQueryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + public com.google.firestore.v1.ListCollectionIdsResponse listCollectionIds( + com.google.firestore.v1.ListCollectionIdsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCollectionIdsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Applies a batch of write operations.
+     * The BatchWrite method does not apply the write operations atomically
+     * and can apply them out of order. Method does not allow more than one write
+     * per document. Each write succeeds or fails independently. See the
+     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
+     * success status of each write.
+     * If you require an atomically applied set of writes, use
+     * [Commit][google.firestore.v1.Firestore.Commit] instead.
+     * 
+ */ + public com.google.firestore.v1.BatchWriteResponse batchWrite( + com.google.firestore.v1.BatchWriteRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchWriteMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new document.
+     * 
+ */ + public com.google.firestore.v1.Document createDocument( + com.google.firestore.v1.CreateDocumentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDocumentMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Firestore. + * + *
+   * The Cloud Firestore service.
+   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
+   * document database that simplifies storing, syncing, and querying data for
+   * your mobile, web, and IoT apps at global scale. Its client libraries provide
+   * live synchronization and offline support, while its security features and
+   * integrations with Firebase and Google Cloud Platform accelerate building
+   * truly serverless apps.
+   * 
+ */ + public static final class FirestoreFutureStub + extends io.grpc.stub.AbstractFutureStub { + private FirestoreFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected FirestoreFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new FirestoreFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Gets a single document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getDocument(com.google.firestore.v1.GetDocumentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDocumentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists documents.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.v1.ListDocumentsResponse> + listDocuments(com.google.firestore.v1.ListDocumentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDocumentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates or inserts a document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateDocument(com.google.firestore.v1.UpdateDocumentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDocumentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDocument(com.google.firestore.v1.DeleteDocumentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDocumentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Starts a new transaction.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.v1.BeginTransactionResponse> + beginTransaction(com.google.firestore.v1.BeginTransactionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Commits a transaction, while optionally updating documents.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.v1.CommitResponse> + commit(com.google.firestore.v1.CommitRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCommitMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Rolls back a transaction.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture rollback( + com.google.firestore.v1.RollbackRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Partitions a query by returning partition cursors that can be used to run
+     * the query in parallel. The returned partition cursors are split points that
+     * can be used by RunQuery as starting/end points for the query results.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.v1.PartitionQueryResponse> + partitionQuery(com.google.firestore.v1.PartitionQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all the collection IDs underneath a document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.v1.ListCollectionIdsResponse> + listCollectionIds(com.google.firestore.v1.ListCollectionIdsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCollectionIdsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Applies a batch of write operations.
+     * The BatchWrite method does not apply the write operations atomically
+     * and can apply them out of order. Method does not allow more than one write
+     * per document. Each write succeeds or fails independently. See the
+     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
+     * success status of each write.
+     * If you require an atomically applied set of writes, use
+     * [Commit][google.firestore.v1.Firestore.Commit] instead.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.firestore.v1.BatchWriteResponse> + batchWrite(com.google.firestore.v1.BatchWriteRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchWriteMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new document.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDocument(com.google.firestore.v1.CreateDocumentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDocumentMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_DOCUMENT = 0; + private static final int METHODID_LIST_DOCUMENTS = 1; + private static final int METHODID_UPDATE_DOCUMENT = 2; + private static final int METHODID_DELETE_DOCUMENT = 3; + private static final int METHODID_BATCH_GET_DOCUMENTS = 4; + private static final int METHODID_BEGIN_TRANSACTION = 5; + private static final int METHODID_COMMIT = 6; + private static final int METHODID_ROLLBACK = 7; + private static final int METHODID_RUN_QUERY = 8; + private static final int METHODID_RUN_AGGREGATION_QUERY = 9; + private static final int METHODID_PARTITION_QUERY = 10; + private static final int METHODID_LIST_COLLECTION_IDS = 11; + private static final int METHODID_BATCH_WRITE = 12; + private static final int METHODID_CREATE_DOCUMENT = 13; + private static final int METHODID_WRITE = 14; + private static final int METHODID_LISTEN = 15; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_DOCUMENT: + serviceImpl.getDocument( + (com.google.firestore.v1.GetDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DOCUMENTS: + serviceImpl.listDocuments( + (com.google.firestore.v1.ListDocumentsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_DOCUMENT: + serviceImpl.updateDocument( + (com.google.firestore.v1.UpdateDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DOCUMENT: + serviceImpl.deleteDocument( + (com.google.firestore.v1.DeleteDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_GET_DOCUMENTS: + serviceImpl.batchGetDocuments( + (com.google.firestore.v1.BatchGetDocumentsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BEGIN_TRANSACTION: + serviceImpl.beginTransaction( + (com.google.firestore.v1.BeginTransactionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_COMMIT: + serviceImpl.commit( + (com.google.firestore.v1.CommitRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_ROLLBACK: + serviceImpl.rollback( + (com.google.firestore.v1.RollbackRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_QUERY: + serviceImpl.runQuery( + (com.google.firestore.v1.RunQueryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_RUN_AGGREGATION_QUERY: + serviceImpl.runAggregationQuery( + (com.google.firestore.v1.RunAggregationQueryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_PARTITION_QUERY: + serviceImpl.partitionQuery( + (com.google.firestore.v1.PartitionQueryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_COLLECTION_IDS: + serviceImpl.listCollectionIds( + (com.google.firestore.v1.ListCollectionIdsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_BATCH_WRITE: + serviceImpl.batchWrite( + (com.google.firestore.v1.BatchWriteRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_DOCUMENT: + serviceImpl.createDocument( + (com.google.firestore.v1.CreateDocumentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_WRITE: + return (io.grpc.stub.StreamObserver) + serviceImpl.write( + (io.grpc.stub.StreamObserver) + responseObserver); + case METHODID_LISTEN: + return (io.grpc.stub.StreamObserver) + serviceImpl.listen( + (io.grpc.stub.StreamObserver) + responseObserver); + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.GetDocumentRequest, com.google.firestore.v1.Document>( + service, METHODID_GET_DOCUMENT))) + .addMethod( + getListDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.ListDocumentsRequest, + com.google.firestore.v1.ListDocumentsResponse>( + service, METHODID_LIST_DOCUMENTS))) + .addMethod( + getUpdateDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.UpdateDocumentRequest, + com.google.firestore.v1.Document>(service, METHODID_UPDATE_DOCUMENT))) + .addMethod( + getDeleteDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.DeleteDocumentRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_DOCUMENT))) + .addMethod( + getBatchGetDocumentsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.BatchGetDocumentsRequest, + com.google.firestore.v1.BatchGetDocumentsResponse>( + service, METHODID_BATCH_GET_DOCUMENTS))) + .addMethod( + getBeginTransactionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.BeginTransactionRequest, + com.google.firestore.v1.BeginTransactionResponse>( + service, METHODID_BEGIN_TRANSACTION))) + .addMethod( + getCommitMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.CommitRequest, com.google.firestore.v1.CommitResponse>( + service, METHODID_COMMIT))) + .addMethod( + getRollbackMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.RollbackRequest, com.google.protobuf.Empty>( + service, METHODID_ROLLBACK))) + .addMethod( + getRunQueryMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.RunQueryRequest, + com.google.firestore.v1.RunQueryResponse>(service, METHODID_RUN_QUERY))) + .addMethod( + getRunAggregationQueryMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.firestore.v1.RunAggregationQueryRequest, + com.google.firestore.v1.RunAggregationQueryResponse>( + service, METHODID_RUN_AGGREGATION_QUERY))) + .addMethod( + getPartitionQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.PartitionQueryRequest, + com.google.firestore.v1.PartitionQueryResponse>( + service, METHODID_PARTITION_QUERY))) + .addMethod( + getWriteMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.firestore.v1.WriteRequest, com.google.firestore.v1.WriteResponse>( + service, METHODID_WRITE))) + .addMethod( + getListenMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.firestore.v1.ListenRequest, com.google.firestore.v1.ListenResponse>( + service, METHODID_LISTEN))) + .addMethod( + getListCollectionIdsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.ListCollectionIdsRequest, + com.google.firestore.v1.ListCollectionIdsResponse>( + service, METHODID_LIST_COLLECTION_IDS))) + .addMethod( + getBatchWriteMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.BatchWriteRequest, + com.google.firestore.v1.BatchWriteResponse>(service, METHODID_BATCH_WRITE))) + .addMethod( + getCreateDocumentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.firestore.v1.CreateDocumentRequest, + com.google.firestore.v1.Document>(service, METHODID_CREATE_DOCUMENT))) + .build(); + } + + private abstract static class FirestoreBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + FirestoreBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.firestore.v1.FirestoreProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Firestore"); + } + } + + private static final class FirestoreFileDescriptorSupplier + extends FirestoreBaseDescriptorSupplier { + FirestoreFileDescriptorSupplier() {} + } + + private static final class FirestoreMethodDescriptorSupplier + extends FirestoreBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + FirestoreMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (FirestoreGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new FirestoreFileDescriptorSupplier()) + .addMethod(getGetDocumentMethod()) + .addMethod(getListDocumentsMethod()) + .addMethod(getUpdateDocumentMethod()) + .addMethod(getDeleteDocumentMethod()) + .addMethod(getBatchGetDocumentsMethod()) + .addMethod(getBeginTransactionMethod()) + .addMethod(getCommitMethod()) + .addMethod(getRollbackMethod()) + .addMethod(getRunQueryMethod()) + .addMethod(getRunAggregationQueryMethod()) + .addMethod(getPartitionQueryMethod()) + .addMethod(getWriteMethod()) + .addMethod(getListenMethod()) + .addMethod(getListCollectionIdsMethod()) + .addMethod(getBatchWriteMethod()) + .addMethod(getCreateDocumentMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java deleted file mode 100644 index 9dd4b6804..000000000 --- a/owl-bot-staging/v1/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java +++ /dev/null @@ -1,1648 +0,0 @@ -package com.google.firestore.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Cloud Firestore service.
- * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
- * document database that simplifies storing, syncing, and querying data for
- * your mobile, web, and IoT apps at global scale. Its client libraries provide
- * live synchronization and offline support, while its security features and
- * integrations with Firebase and Google Cloud Platform accelerate building
- * truly serverless apps.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/firestore/v1/firestore.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class FirestoreGrpc { - - private FirestoreGrpc() {} - - public static final String SERVICE_NAME = "google.firestore.v1.Firestore"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGetDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDocument", - requestType = com.google.firestore.v1.GetDocumentRequest.class, - responseType = com.google.firestore.v1.Document.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDocumentMethod() { - io.grpc.MethodDescriptor getGetDocumentMethod; - if ((getGetDocumentMethod = FirestoreGrpc.getGetDocumentMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getGetDocumentMethod = FirestoreGrpc.getGetDocumentMethod) == null) { - FirestoreGrpc.getGetDocumentMethod = getGetDocumentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.GetDocumentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.Document.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("GetDocument")) - .build(); - } - } - } - return getGetDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDocumentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDocuments", - requestType = com.google.firestore.v1.ListDocumentsRequest.class, - responseType = com.google.firestore.v1.ListDocumentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDocumentsMethod() { - io.grpc.MethodDescriptor getListDocumentsMethod; - if ((getListDocumentsMethod = FirestoreGrpc.getListDocumentsMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getListDocumentsMethod = FirestoreGrpc.getListDocumentsMethod) == null) { - FirestoreGrpc.getListDocumentsMethod = getListDocumentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDocuments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListDocumentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListDocumentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("ListDocuments")) - .build(); - } - } - } - return getListDocumentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDocument", - requestType = com.google.firestore.v1.UpdateDocumentRequest.class, - responseType = com.google.firestore.v1.Document.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDocumentMethod() { - io.grpc.MethodDescriptor getUpdateDocumentMethod; - if ((getUpdateDocumentMethod = FirestoreGrpc.getUpdateDocumentMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getUpdateDocumentMethod = FirestoreGrpc.getUpdateDocumentMethod) == null) { - FirestoreGrpc.getUpdateDocumentMethod = getUpdateDocumentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.UpdateDocumentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.Document.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("UpdateDocument")) - .build(); - } - } - } - return getUpdateDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDocument", - requestType = com.google.firestore.v1.DeleteDocumentRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDocumentMethod() { - io.grpc.MethodDescriptor getDeleteDocumentMethod; - if ((getDeleteDocumentMethod = FirestoreGrpc.getDeleteDocumentMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getDeleteDocumentMethod = FirestoreGrpc.getDeleteDocumentMethod) == null) { - FirestoreGrpc.getDeleteDocumentMethod = getDeleteDocumentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.DeleteDocumentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("DeleteDocument")) - .build(); - } - } - } - return getDeleteDocumentMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchGetDocumentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetDocuments", - requestType = com.google.firestore.v1.BatchGetDocumentsRequest.class, - responseType = com.google.firestore.v1.BatchGetDocumentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor getBatchGetDocumentsMethod() { - io.grpc.MethodDescriptor getBatchGetDocumentsMethod; - if ((getBatchGetDocumentsMethod = FirestoreGrpc.getBatchGetDocumentsMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getBatchGetDocumentsMethod = FirestoreGrpc.getBatchGetDocumentsMethod) == null) { - FirestoreGrpc.getBatchGetDocumentsMethod = getBatchGetDocumentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetDocuments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("BatchGetDocuments")) - .build(); - } - } - } - return getBatchGetDocumentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getBeginTransactionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BeginTransaction", - requestType = com.google.firestore.v1.BeginTransactionRequest.class, - responseType = com.google.firestore.v1.BeginTransactionResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBeginTransactionMethod() { - io.grpc.MethodDescriptor getBeginTransactionMethod; - if ((getBeginTransactionMethod = FirestoreGrpc.getBeginTransactionMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getBeginTransactionMethod = FirestoreGrpc.getBeginTransactionMethod) == null) { - FirestoreGrpc.getBeginTransactionMethod = getBeginTransactionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BeginTransactionResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("BeginTransaction")) - .build(); - } - } - } - return getBeginTransactionMethod; - } - - private static volatile io.grpc.MethodDescriptor getCommitMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Commit", - requestType = com.google.firestore.v1.CommitRequest.class, - responseType = com.google.firestore.v1.CommitResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCommitMethod() { - io.grpc.MethodDescriptor getCommitMethod; - if ((getCommitMethod = FirestoreGrpc.getCommitMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getCommitMethod = FirestoreGrpc.getCommitMethod) == null) { - FirestoreGrpc.getCommitMethod = getCommitMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.CommitRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.CommitResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Commit")) - .build(); - } - } - } - return getCommitMethod; - } - - private static volatile io.grpc.MethodDescriptor getRollbackMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Rollback", - requestType = com.google.firestore.v1.RollbackRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRollbackMethod() { - io.grpc.MethodDescriptor getRollbackMethod; - if ((getRollbackMethod = FirestoreGrpc.getRollbackMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getRollbackMethod = FirestoreGrpc.getRollbackMethod) == null) { - FirestoreGrpc.getRollbackMethod = getRollbackMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Rollback")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.RollbackRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Rollback")) - .build(); - } - } - } - return getRollbackMethod; - } - - private static volatile io.grpc.MethodDescriptor getRunQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunQuery", - requestType = com.google.firestore.v1.RunQueryRequest.class, - responseType = com.google.firestore.v1.RunQueryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor getRunQueryMethod() { - io.grpc.MethodDescriptor getRunQueryMethod; - if ((getRunQueryMethod = FirestoreGrpc.getRunQueryMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getRunQueryMethod = FirestoreGrpc.getRunQueryMethod) == null) { - FirestoreGrpc.getRunQueryMethod = getRunQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.RunQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.RunQueryResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("RunQuery")) - .build(); - } - } - } - return getRunQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor getRunAggregationQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunAggregationQuery", - requestType = com.google.firestore.v1.RunAggregationQueryRequest.class, - responseType = com.google.firestore.v1.RunAggregationQueryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor getRunAggregationQueryMethod() { - io.grpc.MethodDescriptor getRunAggregationQueryMethod; - if ((getRunAggregationQueryMethod = FirestoreGrpc.getRunAggregationQueryMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getRunAggregationQueryMethod = FirestoreGrpc.getRunAggregationQueryMethod) == null) { - FirestoreGrpc.getRunAggregationQueryMethod = getRunAggregationQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunAggregationQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.RunAggregationQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.RunAggregationQueryResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("RunAggregationQuery")) - .build(); - } - } - } - return getRunAggregationQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor getPartitionQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PartitionQuery", - requestType = com.google.firestore.v1.PartitionQueryRequest.class, - responseType = com.google.firestore.v1.PartitionQueryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPartitionQueryMethod() { - io.grpc.MethodDescriptor getPartitionQueryMethod; - if ((getPartitionQueryMethod = FirestoreGrpc.getPartitionQueryMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getPartitionQueryMethod = FirestoreGrpc.getPartitionQueryMethod) == null) { - FirestoreGrpc.getPartitionQueryMethod = getPartitionQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartitionQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.PartitionQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.PartitionQueryResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("PartitionQuery")) - .build(); - } - } - } - return getPartitionQueryMethod; - } - - private static volatile io.grpc.MethodDescriptor getWriteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Write", - requestType = com.google.firestore.v1.WriteRequest.class, - responseType = com.google.firestore.v1.WriteResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - public static io.grpc.MethodDescriptor getWriteMethod() { - io.grpc.MethodDescriptor getWriteMethod; - if ((getWriteMethod = FirestoreGrpc.getWriteMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getWriteMethod = FirestoreGrpc.getWriteMethod) == null) { - FirestoreGrpc.getWriteMethod = getWriteMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Write")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.WriteRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.WriteResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Write")) - .build(); - } - } - } - return getWriteMethod; - } - - private static volatile io.grpc.MethodDescriptor getListenMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "Listen", - requestType = com.google.firestore.v1.ListenRequest.class, - responseType = com.google.firestore.v1.ListenResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - public static io.grpc.MethodDescriptor getListenMethod() { - io.grpc.MethodDescriptor getListenMethod; - if ((getListenMethod = FirestoreGrpc.getListenMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getListenMethod = FirestoreGrpc.getListenMethod) == null) { - FirestoreGrpc.getListenMethod = getListenMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Listen")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListenRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListenResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("Listen")) - .build(); - } - } - } - return getListenMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCollectionIdsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCollectionIds", - requestType = com.google.firestore.v1.ListCollectionIdsRequest.class, - responseType = com.google.firestore.v1.ListCollectionIdsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCollectionIdsMethod() { - io.grpc.MethodDescriptor getListCollectionIdsMethod; - if ((getListCollectionIdsMethod = FirestoreGrpc.getListCollectionIdsMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getListCollectionIdsMethod = FirestoreGrpc.getListCollectionIdsMethod) == null) { - FirestoreGrpc.getListCollectionIdsMethod = getListCollectionIdsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCollectionIds")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListCollectionIdsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.ListCollectionIdsResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("ListCollectionIds")) - .build(); - } - } - } - return getListCollectionIdsMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchWriteMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchWrite", - requestType = com.google.firestore.v1.BatchWriteRequest.class, - responseType = com.google.firestore.v1.BatchWriteResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchWriteMethod() { - io.grpc.MethodDescriptor getBatchWriteMethod; - if ((getBatchWriteMethod = FirestoreGrpc.getBatchWriteMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getBatchWriteMethod = FirestoreGrpc.getBatchWriteMethod) == null) { - FirestoreGrpc.getBatchWriteMethod = getBatchWriteMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchWrite")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BatchWriteRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.BatchWriteResponse.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("BatchWrite")) - .build(); - } - } - } - return getBatchWriteMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDocumentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDocument", - requestType = com.google.firestore.v1.CreateDocumentRequest.class, - responseType = com.google.firestore.v1.Document.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDocumentMethod() { - io.grpc.MethodDescriptor getCreateDocumentMethod; - if ((getCreateDocumentMethod = FirestoreGrpc.getCreateDocumentMethod) == null) { - synchronized (FirestoreGrpc.class) { - if ((getCreateDocumentMethod = FirestoreGrpc.getCreateDocumentMethod) == null) { - FirestoreGrpc.getCreateDocumentMethod = getCreateDocumentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDocument")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.CreateDocumentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.firestore.v1.Document.getDefaultInstance())) - .setSchemaDescriptor(new FirestoreMethodDescriptorSupplier("CreateDocument")) - .build(); - } - } - } - return getCreateDocumentMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static FirestoreStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FirestoreStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreStub(channel, callOptions); - } - }; - return FirestoreStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static FirestoreBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FirestoreBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreBlockingStub(channel, callOptions); - } - }; - return FirestoreBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static FirestoreFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public FirestoreFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreFutureStub(channel, callOptions); - } - }; - return FirestoreFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Cloud Firestore service.
-   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
-   * document database that simplifies storing, syncing, and querying data for
-   * your mobile, web, and IoT apps at global scale. Its client libraries provide
-   * live synchronization and offline support, while its security features and
-   * integrations with Firebase and Google Cloud Platform accelerate building
-   * truly serverless apps.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Gets a single document.
-     * 
- */ - default void getDocument(com.google.firestore.v1.GetDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDocumentMethod(), responseObserver); - } - - /** - *
-     * Lists documents.
-     * 
- */ - default void listDocuments(com.google.firestore.v1.ListDocumentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDocumentsMethod(), responseObserver); - } - - /** - *
-     * Updates or inserts a document.
-     * 
- */ - default void updateDocument(com.google.firestore.v1.UpdateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDocumentMethod(), responseObserver); - } - - /** - *
-     * Deletes a document.
-     * 
- */ - default void deleteDocument(com.google.firestore.v1.DeleteDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDocumentMethod(), responseObserver); - } - - /** - *
-     * Gets multiple documents.
-     * Documents returned by this method are not guaranteed to be returned in the
-     * same order that they were requested.
-     * 
- */ - default void batchGetDocuments(com.google.firestore.v1.BatchGetDocumentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetDocumentsMethod(), responseObserver); - } - - /** - *
-     * Starts a new transaction.
-     * 
- */ - default void beginTransaction(com.google.firestore.v1.BeginTransactionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBeginTransactionMethod(), responseObserver); - } - - /** - *
-     * Commits a transaction, while optionally updating documents.
-     * 
- */ - default void commit(com.google.firestore.v1.CommitRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver); - } - - /** - *
-     * Rolls back a transaction.
-     * 
- */ - default void rollback(com.google.firestore.v1.RollbackRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackMethod(), responseObserver); - } - - /** - *
-     * Runs a query.
-     * 
- */ - default void runQuery(com.google.firestore.v1.RunQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunQueryMethod(), responseObserver); - } - - /** - *
-     * Runs an aggregation query.
-     * Rather than producing [Document][google.firestore.v1.Document] results like
-     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
-     * allows running an aggregation to produce a series of
-     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
-     * High-Level Example:
-     * ```
-     * -- Return the number of documents in table given a filter.
-     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
-     * ```
-     * 
- */ - default void runAggregationQuery(com.google.firestore.v1.RunAggregationQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunAggregationQueryMethod(), responseObserver); - } - - /** - *
-     * Partitions a query by returning partition cursors that can be used to run
-     * the query in parallel. The returned partition cursors are split points that
-     * can be used by RunQuery as starting/end points for the query results.
-     * 
- */ - default void partitionQuery(com.google.firestore.v1.PartitionQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartitionQueryMethod(), responseObserver); - } - - /** - *
-     * Streams batches of document updates and deletes, in order. This method is
-     * only available via gRPC or WebChannel (not REST).
-     * 
- */ - default io.grpc.stub.StreamObserver write( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getWriteMethod(), responseObserver); - } - - /** - *
-     * Listens to changes. This method is only available via gRPC or WebChannel
-     * (not REST).
-     * 
- */ - default io.grpc.stub.StreamObserver listen( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getListenMethod(), responseObserver); - } - - /** - *
-     * Lists all the collection IDs underneath a document.
-     * 
- */ - default void listCollectionIds(com.google.firestore.v1.ListCollectionIdsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCollectionIdsMethod(), responseObserver); - } - - /** - *
-     * Applies a batch of write operations.
-     * The BatchWrite method does not apply the write operations atomically
-     * and can apply them out of order. Method does not allow more than one write
-     * per document. Each write succeeds or fails independently. See the
-     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
-     * success status of each write.
-     * If you require an atomically applied set of writes, use
-     * [Commit][google.firestore.v1.Firestore.Commit] instead.
-     * 
- */ - default void batchWrite(com.google.firestore.v1.BatchWriteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchWriteMethod(), responseObserver); - } - - /** - *
-     * Creates a new document.
-     * 
- */ - default void createDocument(com.google.firestore.v1.CreateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDocumentMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Firestore. - *
-   * The Cloud Firestore service.
-   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
-   * document database that simplifies storing, syncing, and querying data for
-   * your mobile, web, and IoT apps at global scale. Its client libraries provide
-   * live synchronization and offline support, while its security features and
-   * integrations with Firebase and Google Cloud Platform accelerate building
-   * truly serverless apps.
-   * 
- */ - public static abstract class FirestoreImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return FirestoreGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Firestore. - *
-   * The Cloud Firestore service.
-   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
-   * document database that simplifies storing, syncing, and querying data for
-   * your mobile, web, and IoT apps at global scale. Its client libraries provide
-   * live synchronization and offline support, while its security features and
-   * integrations with Firebase and Google Cloud Platform accelerate building
-   * truly serverless apps.
-   * 
- */ - public static final class FirestoreStub - extends io.grpc.stub.AbstractAsyncStub { - private FirestoreStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FirestoreStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreStub(channel, callOptions); - } - - /** - *
-     * Gets a single document.
-     * 
- */ - public void getDocument(com.google.firestore.v1.GetDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDocumentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists documents.
-     * 
- */ - public void listDocuments(com.google.firestore.v1.ListDocumentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDocumentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates or inserts a document.
-     * 
- */ - public void updateDocument(com.google.firestore.v1.UpdateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDocumentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a document.
-     * 
- */ - public void deleteDocument(com.google.firestore.v1.DeleteDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDocumentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets multiple documents.
-     * Documents returned by this method are not guaranteed to be returned in the
-     * same order that they were requested.
-     * 
- */ - public void batchGetDocuments(com.google.firestore.v1.BatchGetDocumentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getBatchGetDocumentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Starts a new transaction.
-     * 
- */ - public void beginTransaction(com.google.firestore.v1.BeginTransactionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Commits a transaction, while optionally updating documents.
-     * 
- */ - public void commit(com.google.firestore.v1.CommitRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCommitMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Rolls back a transaction.
-     * 
- */ - public void rollback(com.google.firestore.v1.RollbackRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Runs a query.
-     * 
- */ - public void runQuery(com.google.firestore.v1.RunQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getRunQueryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Runs an aggregation query.
-     * Rather than producing [Document][google.firestore.v1.Document] results like
-     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
-     * allows running an aggregation to produce a series of
-     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
-     * High-Level Example:
-     * ```
-     * -- Return the number of documents in table given a filter.
-     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
-     * ```
-     * 
- */ - public void runAggregationQuery(com.google.firestore.v1.RunAggregationQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getRunAggregationQueryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Partitions a query by returning partition cursors that can be used to run
-     * the query in parallel. The returned partition cursors are split points that
-     * can be used by RunQuery as starting/end points for the query results.
-     * 
- */ - public void partitionQuery(com.google.firestore.v1.PartitionQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Streams batches of document updates and deletes, in order. This method is
-     * only available via gRPC or WebChannel (not REST).
-     * 
- */ - public io.grpc.stub.StreamObserver write( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( - getChannel().newCall(getWriteMethod(), getCallOptions()), responseObserver); - } - - /** - *
-     * Listens to changes. This method is only available via gRPC or WebChannel
-     * (not REST).
-     * 
- */ - public io.grpc.stub.StreamObserver listen( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( - getChannel().newCall(getListenMethod(), getCallOptions()), responseObserver); - } - - /** - *
-     * Lists all the collection IDs underneath a document.
-     * 
- */ - public void listCollectionIds(com.google.firestore.v1.ListCollectionIdsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCollectionIdsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Applies a batch of write operations.
-     * The BatchWrite method does not apply the write operations atomically
-     * and can apply them out of order. Method does not allow more than one write
-     * per document. Each write succeeds or fails independently. See the
-     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
-     * success status of each write.
-     * If you require an atomically applied set of writes, use
-     * [Commit][google.firestore.v1.Firestore.Commit] instead.
-     * 
- */ - public void batchWrite(com.google.firestore.v1.BatchWriteRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchWriteMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new document.
-     * 
- */ - public void createDocument(com.google.firestore.v1.CreateDocumentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDocumentMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Firestore. - *
-   * The Cloud Firestore service.
-   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
-   * document database that simplifies storing, syncing, and querying data for
-   * your mobile, web, and IoT apps at global scale. Its client libraries provide
-   * live synchronization and offline support, while its security features and
-   * integrations with Firebase and Google Cloud Platform accelerate building
-   * truly serverless apps.
-   * 
- */ - public static final class FirestoreBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private FirestoreBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FirestoreBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreBlockingStub(channel, callOptions); - } - - /** - *
-     * Gets a single document.
-     * 
- */ - public com.google.firestore.v1.Document getDocument(com.google.firestore.v1.GetDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDocumentMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists documents.
-     * 
- */ - public com.google.firestore.v1.ListDocumentsResponse listDocuments(com.google.firestore.v1.ListDocumentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDocumentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates or inserts a document.
-     * 
- */ - public com.google.firestore.v1.Document updateDocument(com.google.firestore.v1.UpdateDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDocumentMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a document.
-     * 
- */ - public com.google.protobuf.Empty deleteDocument(com.google.firestore.v1.DeleteDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDocumentMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets multiple documents.
-     * Documents returned by this method are not guaranteed to be returned in the
-     * same order that they were requested.
-     * 
- */ - public java.util.Iterator batchGetDocuments( - com.google.firestore.v1.BatchGetDocumentsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getBatchGetDocumentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Starts a new transaction.
-     * 
- */ - public com.google.firestore.v1.BeginTransactionResponse beginTransaction(com.google.firestore.v1.BeginTransactionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBeginTransactionMethod(), getCallOptions(), request); - } - - /** - *
-     * Commits a transaction, while optionally updating documents.
-     * 
- */ - public com.google.firestore.v1.CommitResponse commit(com.google.firestore.v1.CommitRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCommitMethod(), getCallOptions(), request); - } - - /** - *
-     * Rolls back a transaction.
-     * 
- */ - public com.google.protobuf.Empty rollback(com.google.firestore.v1.RollbackRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackMethod(), getCallOptions(), request); - } - - /** - *
-     * Runs a query.
-     * 
- */ - public java.util.Iterator runQuery( - com.google.firestore.v1.RunQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getRunQueryMethod(), getCallOptions(), request); - } - - /** - *
-     * Runs an aggregation query.
-     * Rather than producing [Document][google.firestore.v1.Document] results like
-     * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
-     * allows running an aggregation to produce a series of
-     * [AggregationResult][google.firestore.v1.AggregationResult] server-side.
-     * High-Level Example:
-     * ```
-     * -- Return the number of documents in table given a filter.
-     * SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
-     * ```
-     * 
- */ - public java.util.Iterator runAggregationQuery( - com.google.firestore.v1.RunAggregationQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getRunAggregationQueryMethod(), getCallOptions(), request); - } - - /** - *
-     * Partitions a query by returning partition cursors that can be used to run
-     * the query in parallel. The returned partition cursors are split points that
-     * can be used by RunQuery as starting/end points for the query results.
-     * 
- */ - public com.google.firestore.v1.PartitionQueryResponse partitionQuery(com.google.firestore.v1.PartitionQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPartitionQueryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all the collection IDs underneath a document.
-     * 
- */ - public com.google.firestore.v1.ListCollectionIdsResponse listCollectionIds(com.google.firestore.v1.ListCollectionIdsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCollectionIdsMethod(), getCallOptions(), request); - } - - /** - *
-     * Applies a batch of write operations.
-     * The BatchWrite method does not apply the write operations atomically
-     * and can apply them out of order. Method does not allow more than one write
-     * per document. Each write succeeds or fails independently. See the
-     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
-     * success status of each write.
-     * If you require an atomically applied set of writes, use
-     * [Commit][google.firestore.v1.Firestore.Commit] instead.
-     * 
- */ - public com.google.firestore.v1.BatchWriteResponse batchWrite(com.google.firestore.v1.BatchWriteRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchWriteMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new document.
-     * 
- */ - public com.google.firestore.v1.Document createDocument(com.google.firestore.v1.CreateDocumentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDocumentMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Firestore. - *
-   * The Cloud Firestore service.
-   * Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
-   * document database that simplifies storing, syncing, and querying data for
-   * your mobile, web, and IoT apps at global scale. Its client libraries provide
-   * live synchronization and offline support, while its security features and
-   * integrations with Firebase and Google Cloud Platform accelerate building
-   * truly serverless apps.
-   * 
- */ - public static final class FirestoreFutureStub - extends io.grpc.stub.AbstractFutureStub { - private FirestoreFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected FirestoreFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new FirestoreFutureStub(channel, callOptions); - } - - /** - *
-     * Gets a single document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDocument( - com.google.firestore.v1.GetDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDocumentMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists documents.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDocuments( - com.google.firestore.v1.ListDocumentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDocumentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates or inserts a document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDocument( - com.google.firestore.v1.UpdateDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDocumentMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDocument( - com.google.firestore.v1.DeleteDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDocumentMethod(), getCallOptions()), request); - } - - /** - *
-     * Starts a new transaction.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture beginTransaction( - com.google.firestore.v1.BeginTransactionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request); - } - - /** - *
-     * Commits a transaction, while optionally updating documents.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture commit( - com.google.firestore.v1.CommitRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCommitMethod(), getCallOptions()), request); - } - - /** - *
-     * Rolls back a transaction.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture rollback( - com.google.firestore.v1.RollbackRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackMethod(), getCallOptions()), request); - } - - /** - *
-     * Partitions a query by returning partition cursors that can be used to run
-     * the query in parallel. The returned partition cursors are split points that
-     * can be used by RunQuery as starting/end points for the query results.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture partitionQuery( - com.google.firestore.v1.PartitionQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPartitionQueryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all the collection IDs underneath a document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCollectionIds( - com.google.firestore.v1.ListCollectionIdsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCollectionIdsMethod(), getCallOptions()), request); - } - - /** - *
-     * Applies a batch of write operations.
-     * The BatchWrite method does not apply the write operations atomically
-     * and can apply them out of order. Method does not allow more than one write
-     * per document. Each write succeeds or fails independently. See the
-     * [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
-     * success status of each write.
-     * If you require an atomically applied set of writes, use
-     * [Commit][google.firestore.v1.Firestore.Commit] instead.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchWrite( - com.google.firestore.v1.BatchWriteRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchWriteMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new document.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDocument( - com.google.firestore.v1.CreateDocumentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDocumentMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_DOCUMENT = 0; - private static final int METHODID_LIST_DOCUMENTS = 1; - private static final int METHODID_UPDATE_DOCUMENT = 2; - private static final int METHODID_DELETE_DOCUMENT = 3; - private static final int METHODID_BATCH_GET_DOCUMENTS = 4; - private static final int METHODID_BEGIN_TRANSACTION = 5; - private static final int METHODID_COMMIT = 6; - private static final int METHODID_ROLLBACK = 7; - private static final int METHODID_RUN_QUERY = 8; - private static final int METHODID_RUN_AGGREGATION_QUERY = 9; - private static final int METHODID_PARTITION_QUERY = 10; - private static final int METHODID_LIST_COLLECTION_IDS = 11; - private static final int METHODID_BATCH_WRITE = 12; - private static final int METHODID_CREATE_DOCUMENT = 13; - private static final int METHODID_WRITE = 14; - private static final int METHODID_LISTEN = 15; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_DOCUMENT: - serviceImpl.getDocument((com.google.firestore.v1.GetDocumentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DOCUMENTS: - serviceImpl.listDocuments((com.google.firestore.v1.ListDocumentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DOCUMENT: - serviceImpl.updateDocument((com.google.firestore.v1.UpdateDocumentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DOCUMENT: - serviceImpl.deleteDocument((com.google.firestore.v1.DeleteDocumentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_GET_DOCUMENTS: - serviceImpl.batchGetDocuments((com.google.firestore.v1.BatchGetDocumentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BEGIN_TRANSACTION: - serviceImpl.beginTransaction((com.google.firestore.v1.BeginTransactionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_COMMIT: - serviceImpl.commit((com.google.firestore.v1.CommitRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ROLLBACK: - serviceImpl.rollback((com.google.firestore.v1.RollbackRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_QUERY: - serviceImpl.runQuery((com.google.firestore.v1.RunQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_AGGREGATION_QUERY: - serviceImpl.runAggregationQuery((com.google.firestore.v1.RunAggregationQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PARTITION_QUERY: - serviceImpl.partitionQuery((com.google.firestore.v1.PartitionQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COLLECTION_IDS: - serviceImpl.listCollectionIds((com.google.firestore.v1.ListCollectionIdsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_WRITE: - serviceImpl.batchWrite((com.google.firestore.v1.BatchWriteRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DOCUMENT: - serviceImpl.createDocument((com.google.firestore.v1.CreateDocumentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_WRITE: - return (io.grpc.stub.StreamObserver) serviceImpl.write( - (io.grpc.stub.StreamObserver) responseObserver); - case METHODID_LISTEN: - return (io.grpc.stub.StreamObserver) serviceImpl.listen( - (io.grpc.stub.StreamObserver) responseObserver); - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.GetDocumentRequest, - com.google.firestore.v1.Document>( - service, METHODID_GET_DOCUMENT))) - .addMethod( - getListDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.ListDocumentsRequest, - com.google.firestore.v1.ListDocumentsResponse>( - service, METHODID_LIST_DOCUMENTS))) - .addMethod( - getUpdateDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.UpdateDocumentRequest, - com.google.firestore.v1.Document>( - service, METHODID_UPDATE_DOCUMENT))) - .addMethod( - getDeleteDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.DeleteDocumentRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_DOCUMENT))) - .addMethod( - getBatchGetDocumentsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.BatchGetDocumentsRequest, - com.google.firestore.v1.BatchGetDocumentsResponse>( - service, METHODID_BATCH_GET_DOCUMENTS))) - .addMethod( - getBeginTransactionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.BeginTransactionRequest, - com.google.firestore.v1.BeginTransactionResponse>( - service, METHODID_BEGIN_TRANSACTION))) - .addMethod( - getCommitMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.CommitRequest, - com.google.firestore.v1.CommitResponse>( - service, METHODID_COMMIT))) - .addMethod( - getRollbackMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.RollbackRequest, - com.google.protobuf.Empty>( - service, METHODID_ROLLBACK))) - .addMethod( - getRunQueryMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.RunQueryRequest, - com.google.firestore.v1.RunQueryResponse>( - service, METHODID_RUN_QUERY))) - .addMethod( - getRunAggregationQueryMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.firestore.v1.RunAggregationQueryRequest, - com.google.firestore.v1.RunAggregationQueryResponse>( - service, METHODID_RUN_AGGREGATION_QUERY))) - .addMethod( - getPartitionQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.PartitionQueryRequest, - com.google.firestore.v1.PartitionQueryResponse>( - service, METHODID_PARTITION_QUERY))) - .addMethod( - getWriteMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.firestore.v1.WriteRequest, - com.google.firestore.v1.WriteResponse>( - service, METHODID_WRITE))) - .addMethod( - getListenMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.firestore.v1.ListenRequest, - com.google.firestore.v1.ListenResponse>( - service, METHODID_LISTEN))) - .addMethod( - getListCollectionIdsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.ListCollectionIdsRequest, - com.google.firestore.v1.ListCollectionIdsResponse>( - service, METHODID_LIST_COLLECTION_IDS))) - .addMethod( - getBatchWriteMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.BatchWriteRequest, - com.google.firestore.v1.BatchWriteResponse>( - service, METHODID_BATCH_WRITE))) - .addMethod( - getCreateDocumentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.firestore.v1.CreateDocumentRequest, - com.google.firestore.v1.Document>( - service, METHODID_CREATE_DOCUMENT))) - .build(); - } - - private static abstract class FirestoreBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - FirestoreBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.firestore.v1.FirestoreProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Firestore"); - } - } - - private static final class FirestoreFileDescriptorSupplier - extends FirestoreBaseDescriptorSupplier { - FirestoreFileDescriptorSupplier() {} - } - - private static final class FirestoreMethodDescriptorSupplier - extends FirestoreBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - FirestoreMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (FirestoreGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new FirestoreFileDescriptorSupplier()) - .addMethod(getGetDocumentMethod()) - .addMethod(getListDocumentsMethod()) - .addMethod(getUpdateDocumentMethod()) - .addMethod(getDeleteDocumentMethod()) - .addMethod(getBatchGetDocumentsMethod()) - .addMethod(getBeginTransactionMethod()) - .addMethod(getCommitMethod()) - .addMethod(getRollbackMethod()) - .addMethod(getRunQueryMethod()) - .addMethod(getRunAggregationQueryMethod()) - .addMethod(getPartitionQueryMethod()) - .addMethod(getWriteMethod()) - .addMethod(getListenMethod()) - .addMethod(getListCollectionIdsMethod()) - .addMethod(getBatchWriteMethod()) - .addMethod(getCreateDocumentMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java deleted file mode 100644 index c8a6a1a84..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java +++ /dev/null @@ -1,83 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/database.proto - -package com.google.firestore.admin.v1; - -public final class DatabaseProto { - private DatabaseProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Database_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Database_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/firestore/admin/v1/database.pro" + - "to\022\031google.firestore.admin.v1\032\037google/ap" + - "i/field_behavior.proto\032\031google/api/resou" + - "rce.proto\"\320\005\n\010Database\022\014\n\004name\030\001 \001(\t\022\023\n\013" + - "location_id\030\t \001(\t\022>\n\004type\030\n \001(\01620.google" + - ".firestore.admin.v1.Database.DatabaseTyp" + - "e\022M\n\020concurrency_mode\030\017 \001(\01623.google.fir" + - "estore.admin.v1.Database.ConcurrencyMode" + - "\022a\n\033app_engine_integration_mode\030\023 \001(\0162<." + - "google.firestore.admin.v1.Database.AppEn" + - "gineIntegrationMode\022\027\n\nkey_prefix\030\024 \001(\tB" + - "\003\340A\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031DA" + - "TABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_N" + - "ATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurren" + - "cyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020\000" + - "\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OPT" + - "IMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngin" + - "eIntegrationMode\022+\n\'APP_ENGINE_INTEGRATI" + - "ON_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DI" + - "SABLED\020\002:R\352AO\n!firestore.googleapis.com/" + - "Database\022\'projects/{project}/databases/{" + - "database}R\001\001B\334\001\n\035com.google.firestore.ad" + - "min.v1B\rDatabaseProtoP\001Z9cloud.google.co" + - "m/go/firestore/apiv1/admin/adminpb;admin" + - "pb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Admin" + - ".V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002#" + - "Google::Cloud::Firestore::Admin::V1b\006pro" + - "to3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_Database_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_Database_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Database_descriptor, - new java.lang.String[] { "Name", "LocationId", "Type", "ConcurrencyMode", "AppEngineIntegrationMode", "KeyPrefix", "Etag", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java deleted file mode 100644 index 0509378e2..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface DeleteIndexRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.DeleteIndexRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java deleted file mode 100644 index 1799b6060..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java +++ /dev/null @@ -1,104 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/field.proto - -package com.google.firestore.admin.v1; - -public final class FieldProto { - private FieldProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Field_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Field_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n%google/firestore/admin/v1/field.proto\022" + - "\031google.firestore.admin.v1\032\037google/api/f" + - "ield_behavior.proto\032\031google/api/resource" + - ".proto\032%google/firestore/admin/v1/index." + - "proto\"\305\004\n\005Field\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\014in" + - "dex_config\030\002 \001(\0132,.google.firestore.admi" + - "n.v1.Field.IndexConfig\022>\n\nttl_config\030\003 \001" + - "(\0132*.google.firestore.admin.v1.Field.Ttl" + - "Config\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\0132" + - " .google.firestore.admin.v1.Index\022\034\n\024use" + - "s_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fiel" + - "d\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\235\001\n\tTtlConfig" + - "\022D\n\005state\030\001 \001(\01620.google.firestore.admin" + - ".v1.Field.TtlConfig.StateB\003\340A\003\"J\n\005State\022" + - "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006" + - "ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036firesto" + - "re.googleapis.com/Field\022Tprojects/{proje" + - "ct}/databases/{database}/collectionGroup" + - "s/{collection}/fields/{field}B\331\001\n\035com.go" + - "ogle.firestore.admin.v1B\nFieldProtoP\001Z9c" + - "loud.google.com/go/firestore/apiv1/admin" + - "/adminpb;adminpb\242\002\004GCFS\252\002\037Google.Cloud.F" + - "irestore.Admin.V1\312\002\037Google\\Cloud\\Firesto" + - "re\\Admin\\V1\352\002#Google::Cloud::Firestore::" + - "Admin::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.firestore.admin.v1.IndexProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_Field_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_Field_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Field_descriptor, - new java.lang.String[] { "Name", "IndexConfig", "TtlConfig", }); - internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor = - internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor, - new java.lang.String[] { "Indexes", "UsesAncestorConfig", "AncestorField", "Reverting", }); - internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor = - internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(1); - internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor, - new java.lang.String[] { "State", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.firestore.admin.v1.IndexProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java deleted file mode 100644 index 300ebc2ae..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java +++ /dev/null @@ -1,366 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public final class FirestoreAdminProto { - private FirestoreAdminProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n/google/firestore/admin/v1/firestore_ad" + - "min.proto\022\031google.firestore.admin.v1\032\034go" + - "ogle/api/annotations.proto\032\027google/api/c" + - "lient.proto\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032(google/" + - "firestore/admin/v1/database.proto\032%googl" + - "e/firestore/admin/v1/field.proto\032%google" + - "/firestore/admin/v1/index.proto\032#google/" + - "longrunning/operations.proto\032\033google/pro" + - "tobuf/empty.proto\032 google/protobuf/field" + - "_mask.proto\"Q\n\024ListDatabasesRequest\0229\n\006p" + - "arent\030\001 \001(\tB)\340A\002\372A#\022!firestore.googleapi" + - "s.com/Database\"O\n\025ListDatabasesResponse\022" + - "6\n\tdatabases\030\001 \003(\0132#.google.firestore.ad" + - "min.v1.Database\"M\n\022GetDatabaseRequest\0227\n" + - "\004name\030\001 \001(\tB)\340A\002\372A#\n!firestore.googleapi" + - "s.com/Database\"\204\001\n\025UpdateDatabaseRequest" + - "\022:\n\010database\030\001 \001(\0132#.google.firestore.ad" + - "min.v1.DatabaseB\003\340A\002\022/\n\013update_mask\030\002 \001(" + - "\0132\032.google.protobuf.FieldMask\"\030\n\026UpdateD" + - "atabaseMetadata\"\214\001\n\022CreateIndexRequest\022@" + - "\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(firestore.google" + - "apis.com/CollectionGroup\0224\n\005index\030\002 \001(\0132" + - " .google.firestore.admin.v1.IndexB\003\340A\002\"\215" + - "\001\n\022ListIndexesRequest\022@\n\006parent\030\001 \001(\tB0\340" + - "A\002\372A*\n(firestore.googleapis.com/Collecti" + - "onGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001" + - "(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListIndexesRes" + - "ponse\0221\n\007indexes\030\001 \003(\0132 .google.firestor" + - "e.admin.v1.Index\022\027\n\017next_page_token\030\002 \001(" + - "\t\"G\n\017GetIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372" + - "A \n\036firestore.googleapis.com/Index\"J\n\022De" + - "leteIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036" + - "firestore.googleapis.com/Index\"{\n\022Update" + - "FieldRequest\0224\n\005field\030\001 \001(\0132 .google.fir" + - "estore.admin.v1.FieldB\003\340A\002\022/\n\013update_mas" + - "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"G\n\017G" + - "etFieldRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036fi" + - "restore.googleapis.com/Field\"\214\001\n\021ListFie" + - "ldsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(fire" + - "store.googleapis.com/CollectionGroup\022\016\n\006" + - "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_" + - "token\030\004 \001(\t\"_\n\022ListFieldsResponse\0220\n\006fie" + - "lds\030\001 \003(\0132 .google.firestore.admin.v1.Fi" + - "eld\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\026ExportD" + - "ocumentsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!f" + - "irestore.googleapis.com/Database\022\026\n\016coll" + - "ection_ids\030\002 \003(\t\022\031\n\021output_uri_prefix\030\003 " + - "\001(\t\"\203\001\n\026ImportDocumentsRequest\0227\n\004name\030\001" + - " \001(\tB)\340A\002\372A#\n!firestore.googleapis.com/D" + - "atabase\022\026\n\016collection_ids\030\002 \003(\t\022\030\n\020input" + - "_uri_prefix\030\003 \001(\t2\222\023\n\016FirestoreAdmin\022\333\001\n" + - "\013CreateIndex\022-.google.firestore.admin.v1" + - ".CreateIndexRequest\032\035.google.longrunning" + - ".Operation\"~\202\323\344\223\002G\">/v1/{parent=projects" + - "/*/databases/*/collectionGroups/*}/index" + - "es:\005index\332A\014parent,index\312A\037\n\005Index\022\026Inde" + - "xOperationMetadata\022\275\001\n\013ListIndexes\022-.goo" + - "gle.firestore.admin.v1.ListIndexesReques" + - "t\032..google.firestore.admin.v1.ListIndexe" + - "sResponse\"O\202\323\344\223\002@\022>/v1/{parent=projects/" + - "*/databases/*/collectionGroups/*}/indexe" + - "s\332A\006parent\022\247\001\n\010GetIndex\022*.google.firesto" + - "re.admin.v1.GetIndexRequest\032 .google.fir" + - "estore.admin.v1.Index\"M\202\323\344\223\002@\022>/v1/{name" + - "=projects/*/databases/*/collectionGroups" + - "/*/indexes/*}\332A\004name\022\243\001\n\013DeleteIndex\022-.g" + - "oogle.firestore.admin.v1.DeleteIndexRequ" + - "est\032\026.google.protobuf.Empty\"M\202\323\344\223\002@*>/v1" + - "/{name=projects/*/databases/*/collection" + - "Groups/*/indexes/*}\332A\004name\022\246\001\n\010GetField\022" + - "*.google.firestore.admin.v1.GetFieldRequ" + - "est\032 .google.firestore.admin.v1.Field\"L\202" + - "\323\344\223\002?\022=/v1/{name=projects/*/databases/*/" + - "collectionGroups/*/fields/*}\332A\004name\022\331\001\n\013" + - "UpdateField\022-.google.firestore.admin.v1." + - "UpdateFieldRequest\032\035.google.longrunning." + - "Operation\"|\202\323\344\223\002L2C/v1/{field.name=proje" + - "cts/*/databases/*/collectionGroups/*/fie" + - "lds/*}:\005field\332A\005field\312A\037\n\005Field\022\026FieldOp" + - "erationMetadata\022\271\001\n\nListFields\022,.google." + - "firestore.admin.v1.ListFieldsRequest\032-.g" + - "oogle.firestore.admin.v1.ListFieldsRespo" + - "nse\"N\202\323\344\223\002?\022=/v1/{parent=projects/*/data" + - "bases/*/collectionGroups/*}/fields\332A\006par" + - "ent\022\335\001\n\017ExportDocuments\0221.google.firesto" + - "re.admin.v1.ExportDocumentsRequest\032\035.goo" + - "gle.longrunning.Operation\"x\202\323\344\223\0026\"1/v1/{" + - "name=projects/*/databases/*}:exportDocum" + - "ents:\001*\332A\004name\312A2\n\027ExportDocumentsRespon" + - "se\022\027ExportDocumentsMetadata\022\333\001\n\017ImportDo" + - "cuments\0221.google.firestore.admin.v1.Impo" + - "rtDocumentsRequest\032\035.google.longrunning." + - "Operation\"v\202\323\344\223\0026\"1/v1/{name=projects/*/" + - "databases/*}:importDocuments:\001*\332A\004name\312A" + - "0\n\025google.protobuf.Empty\022\027ImportDocument" + - "sMetadata\022\223\001\n\013GetDatabase\022-.google.fires" + - "tore.admin.v1.GetDatabaseRequest\032#.googl" + - "e.firestore.admin.v1.Database\"0\202\323\344\223\002#\022!/" + - "v1/{name=projects/*/databases/*}\332A\004name\022" + - "\246\001\n\rListDatabases\022/.google.firestore.adm" + - "in.v1.ListDatabasesRequest\0320.google.fire" + - "store.admin.v1.ListDatabasesResponse\"2\202\323" + - "\344\223\002#\022!/v1/{parent=projects/*}/databases\332" + - "A\006parent\022\333\001\n\016UpdateDatabase\0220.google.fir" + - "estore.admin.v1.UpdateDatabaseRequest\032\035." + - "google.longrunning.Operation\"x\202\323\344\223\00262*/v" + - "1/{database.name=projects/*/databases/*}" + - ":\010database\332A\024database,update_mask\312A\"\n\010Da" + - "tabase\022\026UpdateDatabaseMetadata\032v\312A\030fires" + - "tore.googleapis.com\322AXhttps://www.google" + - "apis.com/auth/cloud-platform,https://www" + - ".googleapis.com/auth/datastoreB\245\003\n\035com.g" + - "oogle.firestore.admin.v1B\023FirestoreAdmin" + - "ProtoP\001Z9cloud.google.com/go/firestore/a" + - "piv1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Goog" + - "le.Cloud.Firestore.Admin.V1\312\002\037Google\\Clo" + - "ud\\Firestore\\Admin\\V1\352\002#Google::Cloud::F" + - "irestore::Admin::V1\352AL\n!firestore.google" + - "apis.com/Location\022\'projects/{project}/lo" + - "cations/{location}\352Aq\n(firestore.googlea" + - "pis.com/CollectionGroup\022Eprojects/{proje" + - "ct}/databases/{database}/collectionGroup" + - "s/{collection}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.firestore.admin.v1.DatabaseProto.getDescriptor(), - com.google.firestore.admin.v1.FieldProto.getDescriptor(), - com.google.firestore.admin.v1.IndexProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor, - new java.lang.String[] { "Parent", }); - internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor, - new java.lang.String[] { "Databases", }); - internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor, - new java.lang.String[] { "Database", "UpdateMask", }); - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor, - new java.lang.String[] { }); - internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor, - new java.lang.String[] { "Parent", "Index", }); - internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor, - new java.lang.String[] { "Indexes", "NextPageToken", }); - internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor, - new java.lang.String[] { "Field", "UpdateMask", }); - internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor, - new java.lang.String[] { "Fields", "NextPageToken", }); - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor, - new java.lang.String[] { "Name", "CollectionIds", "OutputUriPrefix", }); - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor, - new java.lang.String[] { "Name", "CollectionIds", "InputUriPrefix", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.firestore.admin.v1.DatabaseProto.getDescriptor(); - com.google.firestore.admin.v1.FieldProto.getDescriptor(); - com.google.firestore.admin.v1.IndexProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java deleted file mode 100644 index d0d99efca..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface GetDatabaseRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetDatabaseRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java deleted file mode 100644 index 18cbac5d7..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface GetFieldRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetFieldRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java deleted file mode 100644 index 66231344e..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface GetIndexRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetIndexRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the form
-   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java deleted file mode 100644 index ac6c90b14..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java +++ /dev/null @@ -1,92 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/index.proto - -package com.google.firestore.admin.v1; - -public final class IndexProto { - private IndexProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Index_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Index_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n%google/firestore/admin/v1/index.proto\022" + - "\031google.firestore.admin.v1\032\031google/api/r" + - "esource.proto\"\243\006\n\005Index\022\014\n\004name\030\001 \001(\t\022@\n" + - "\013query_scope\030\002 \001(\0162+.google.firestore.ad" + - "min.v1.Index.QueryScope\022;\n\006fields\030\003 \003(\0132" + - "+.google.firestore.admin.v1.Index.IndexF" + - "ield\0225\n\005state\030\004 \001(\0162&.google.firestore.a" + - "dmin.v1.Index.State\032\275\002\n\nIndexField\022\022\n\nfi" + - "eld_path\030\001 \001(\t\022B\n\005order\030\002 \001(\01621.google.f" + - "irestore.admin.v1.Index.IndexField.Order" + - "H\000\022O\n\014array_config\030\003 \001(\01627.google.firest" + - "ore.admin.v1.Index.IndexField.ArrayConfi" + - "gH\000\"=\n\005Order\022\025\n\021ORDER_UNSPECIFIED\020\000\022\r\n\tA" + - "SCENDING\020\001\022\016\n\nDESCENDING\020\002\"9\n\013ArrayConfi" + - "g\022\034\n\030ARRAY_CONFIG_UNSPECIFIED\020\000\022\014\n\010CONTA" + - "INS\020\001B\014\n\nvalue_mode\"O\n\nQueryScope\022\033\n\027QUE" + - "RY_SCOPE_UNSPECIFIED\020\000\022\016\n\nCOLLECTION\020\001\022\024" + - "\n\020COLLECTION_GROUP\020\002\"I\n\005State\022\025\n\021STATE_U" + - "NSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\020\n" + - "\014NEEDS_REPAIR\020\003:z\352Aw\n\036firestore.googleap" + - "is.com/Index\022Uprojects/{project}/databas" + - "es/{database}/collectionGroups/{collecti" + - "on}/indexes/{index}B\331\001\n\035com.google.fires" + - "tore.admin.v1B\nIndexProtoP\001Z9cloud.googl" + - "e.com/go/firestore/apiv1/admin/adminpb;a" + - "dminpb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.A" + - "dmin.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V" + - "1\352\002#Google::Cloud::Firestore::Admin::V1b" + - "\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_Index_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_Index_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Index_descriptor, - new java.lang.String[] { "Name", "QueryScope", "Fields", "State", }); - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor = - internal_static_google_firestore_admin_v1_Index_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Index_IndexField_descriptor, - new java.lang.String[] { "FieldPath", "Order", "ArrayConfig", "ValueMode", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java deleted file mode 100644 index 9d60d066a..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface ListDatabasesRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListDatabasesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A parent name of the form
-   * `projects/{project_id}`
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. A parent name of the form
-   * `projects/{project_id}`
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java deleted file mode 100644 index 7e96e28f9..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/location.proto - -package com.google.firestore.admin.v1; - -public interface LocationMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.LocationMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java deleted file mode 100644 index 375cf9b15..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/location.proto - -package com.google.firestore.admin.v1; - -public final class LocationProto { - private LocationProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/firestore/admin/v1/location.pro" + - "to\022\031google.firestore.admin.v1\"\022\n\020Locatio" + - "nMetadataB\334\001\n\035com.google.firestore.admin" + - ".v1B\rLocationProtoP\001Z9cloud.google.com/g" + - "o/firestore/apiv1/admin/adminpb;adminpb\242" + - "\002\004GCFS\252\002\037Google.Cloud.Firestore.Admin.V1" + - "\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002#Goo" + - "gle::Cloud::Firestore::Admin::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_firestore_admin_v1_LocationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_LocationMetadata_descriptor, - new java.lang.String[] { }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java deleted file mode 100644 index 746a49327..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java +++ /dev/null @@ -1,192 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/operation.proto - -package com.google.firestore.admin.v1; - -public final class OperationProto { - private OperationProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_admin_v1_Progress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n)google/firestore/admin/v1/operation.pr" + - "oto\022\031google.firestore.admin.v1\032%google/f" + - "irestore/admin/v1/index.proto\032\037google/pr" + - "otobuf/timestamp.proto\"\275\002\n\026IndexOperatio" + - "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" + - "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\022\r\n\005index\030\003 \001(\t\0228" + - "\n\005state\030\004 \001(\0162).google.firestore.admin.v" + - "1.OperationState\022?\n\022progress_documents\030\005" + - " \001(\0132#.google.firestore.admin.v1.Progres" + - "s\022;\n\016progress_bytes\030\006 \001(\0132#.google.fires" + - "tore.admin.v1.Progress\"\231\007\n\026FieldOperatio" + - "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" + - "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\022\r\n\005field\030\003 \001(\t\022_" + - "\n\023index_config_deltas\030\004 \003(\0132B.google.fir" + - "estore.admin.v1.FieldOperationMetadata.I" + - "ndexConfigDelta\0228\n\005state\030\005 \001(\0162).google." + - "firestore.admin.v1.OperationState\022?\n\022pro" + - "gress_documents\030\006 \001(\0132#.google.firestore" + - ".admin.v1.Progress\022;\n\016progress_bytes\030\007 \001" + - "(\0132#.google.firestore.admin.v1.Progress\022" + - "Z\n\020ttl_config_delta\030\010 \001(\0132@.google.fires" + - "tore.admin.v1.FieldOperationMetadata.Ttl" + - "ConfigDelta\032\347\001\n\020IndexConfigDelta\022b\n\013chan" + - "ge_type\030\001 \001(\0162M.google.firestore.admin.v" + - "1.FieldOperationMetadata.IndexConfigDelt" + - "a.ChangeType\022/\n\005index\030\002 \001(\0132 .google.fir" + - "estore.admin.v1.Index\">\n\nChangeType\022\033\n\027C" + - "HANGE_TYPE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REM" + - "OVE\020\002\032\262\001\n\016TtlConfigDelta\022`\n\013change_type\030" + - "\001 \001(\0162K.google.firestore.admin.v1.FieldO" + - "perationMetadata.TtlConfigDelta.ChangeTy" + - "pe\">\n\nChangeType\022\033\n\027CHANGE_TYPE_UNSPECIF" + - "IED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\"\354\002\n\027ExportDoc" + - "umentsMetadata\022.\n\nstart_time\030\001 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\013" + - "2\032.google.protobuf.Timestamp\022B\n\017operatio" + - "n_state\030\003 \001(\0162).google.firestore.admin.v" + - "1.OperationState\022?\n\022progress_documents\030\004" + - " \001(\0132#.google.firestore.admin.v1.Progres" + - "s\022;\n\016progress_bytes\030\005 \001(\0132#.google.fires" + - "tore.admin.v1.Progress\022\026\n\016collection_ids" + - "\030\006 \003(\t\022\031\n\021output_uri_prefix\030\007 \001(\t\"\353\002\n\027Im" + - "portDocumentsMetadata\022.\n\nstart_time\030\001 \001(" + - "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + - "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022B\n\017o" + - "peration_state\030\003 \001(\0162).google.firestore." + - "admin.v1.OperationState\022?\n\022progress_docu" + - "ments\030\004 \001(\0132#.google.firestore.admin.v1." + - "Progress\022;\n\016progress_bytes\030\005 \001(\0132#.googl" + - "e.firestore.admin.v1.Progress\022\026\n\016collect" + - "ion_ids\030\006 \003(\t\022\030\n\020input_uri_prefix\030\007 \001(\t\"" + - "4\n\027ExportDocumentsResponse\022\031\n\021output_uri" + - "_prefix\030\001 \001(\t\":\n\010Progress\022\026\n\016estimated_w" + - "ork\030\001 \001(\003\022\026\n\016completed_work\030\002 \001(\003*\236\001\n\016Op" + - "erationState\022\037\n\033OPERATION_STATE_UNSPECIF" + - "IED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022" + - "\016\n\nCANCELLING\020\003\022\016\n\nFINALIZING\020\004\022\016\n\nSUCCE" + - "SSFUL\020\005\022\n\n\006FAILED\020\006\022\r\n\tCANCELLED\020\007B\335\001\n\035c" + - "om.google.firestore.admin.v1B\016OperationP" + - "rotoP\001Z9cloud.google.com/go/firestore/ap" + - "iv1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Googl" + - "e.Cloud.Firestore.Admin.V1\312\002\037Google\\Clou" + - "d\\Firestore\\Admin\\V1\352\002#Google::Cloud::Fi" + - "restore::Admin::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.firestore.admin.v1.IndexProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "Index", "State", "ProgressDocuments", "ProgressBytes", }); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "Field", "IndexConfigDeltas", "State", "ProgressDocuments", "ProgressBytes", "TtlConfigDelta", }); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor = - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor, - new java.lang.String[] { "ChangeType", "Index", }); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor = - internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor.getNestedTypes().get(1); - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor, - new java.lang.String[] { "ChangeType", }); - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "OperationState", "ProgressDocuments", "ProgressBytes", "CollectionIds", "OutputUriPrefix", }); - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "OperationState", "ProgressDocuments", "ProgressBytes", "CollectionIds", "InputUriPrefix", }); - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor, - new java.lang.String[] { "OutputUriPrefix", }); - internal_static_google_firestore_admin_v1_Progress_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_admin_v1_Progress_descriptor, - new java.lang.String[] { "EstimatedWork", "CompletedWork", }); - com.google.firestore.admin.v1.IndexProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java deleted file mode 100644 index 5d7d87d9c..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/operation.proto - -package com.google.firestore.admin.v1; - -public interface ProgressOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Progress) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The amount of work estimated.
-   * 
- * - * int64 estimated_work = 1; - * @return The estimatedWork. - */ - long getEstimatedWork(); - - /** - *
-   * The amount of work completed.
-   * 
- * - * int64 completed_work = 2; - * @return The completedWork. - */ - long getCompletedWork(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java deleted file mode 100644 index 935f424a5..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/admin/v1/firestore_admin.proto - -package com.google.firestore.admin.v1; - -public interface UpdateDatabaseMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateDatabaseMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java deleted file mode 100644 index 6d67bae24..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java +++ /dev/null @@ -1,126 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/bundle/bundle.proto - -package com.google.firestore.bundle; - -public final class BundleProto { - private BundleProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundledQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_NamedQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundleMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_bundle_BundleElement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n$google/firestore/bundle/bundle.proto\022\027" + - "google.firestore.bundle\032\"google/firestor" + - "e/v1/document.proto\032\037google/firestore/v1" + - "/query.proto\032\037google/protobuf/timestamp." + - "proto\"\325\001\n\014BundledQuery\022\016\n\006parent\030\001 \001(\t\022@" + - "\n\020structured_query\030\002 \001(\0132$.google.firest" + - "ore.v1.StructuredQueryH\000\022C\n\nlimit_type\030\003" + - " \001(\0162/.google.firestore.bundle.BundledQu" + - "ery.LimitType\" \n\tLimitType\022\t\n\005FIRST\020\000\022\010\n" + - "\004LAST\020\001B\014\n\nquery_type\"\207\001\n\nNamedQuery\022\014\n\004" + - "name\030\001 \001(\t\022<\n\rbundled_query\030\002 \001(\0132%.goog" + - "le.firestore.bundle.BundledQuery\022-\n\tread" + - "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" + - "w\n\027BundledDocumentMetadata\022\014\n\004name\030\001 \001(\t" + - "\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf.Ti" + - "mestamp\022\016\n\006exists\030\003 \001(\010\022\017\n\007queries\030\004 \003(\t" + - "\"\214\001\n\016BundleMetadata\022\n\n\002id\030\001 \001(\t\022/\n\013creat" + - "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + - "\022\017\n\007version\030\003 \001(\r\022\027\n\017total_documents\030\004 \001" + - "(\r\022\023\n\013total_bytes\030\005 \001(\004\"\232\002\n\rBundleElemen" + - "t\022;\n\010metadata\030\001 \001(\0132\'.google.firestore.b" + - "undle.BundleMetadataH\000\022:\n\013named_query\030\002 " + - "\001(\0132#.google.firestore.bundle.NamedQuery" + - "H\000\022M\n\021document_metadata\030\003 \001(\01320.google.f" + - "irestore.bundle.BundledDocumentMetadataH" + - "\000\0221\n\010document\030\004 \001(\0132\035.google.firestore.v" + - "1.DocumentH\000B\016\n\014element_typeB\222\001\n\033com.goo" + - "gle.firestore.bundleB\013BundleProtoP\001Z6clo" + - "ud.google.com/go/firestore/bundle/bundle" + - "pb;bundlepb\242\002\005FSTPB\252\002\020Firestore.Bundle\312\002" + - "\020Firestore\\Bundleb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.firestore.v1.DocumentProto.getDescriptor(), - com.google.firestore.v1.QueryProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_firestore_bundle_BundledQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundledQuery_descriptor, - new java.lang.String[] { "Parent", "StructuredQuery", "LimitType", "QueryType", }); - internal_static_google_firestore_bundle_NamedQuery_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_NamedQuery_descriptor, - new java.lang.String[] { "Name", "BundledQuery", "ReadTime", }); - internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor, - new java.lang.String[] { "Name", "ReadTime", "Exists", "Queries", }); - internal_static_google_firestore_bundle_BundleMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundleMetadata_descriptor, - new java.lang.String[] { "Id", "CreateTime", "Version", "TotalDocuments", "TotalBytes", }); - internal_static_google_firestore_bundle_BundleElement_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_bundle_BundleElement_descriptor, - new java.lang.String[] { "Metadata", "NamedQuery", "DocumentMetadata", "Document", "ElementType", }); - com.google.firestore.v1.DocumentProto.getDescriptor(); - com.google.firestore.v1.QueryProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java deleted file mode 100644 index 3be2edaf3..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java +++ /dev/null @@ -1,71 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/aggregation_result.proto - -package com.google.firestore.v1; - -public final class AggregationResultProto { - private AggregationResultProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_AggregationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n,google/firestore/v1/aggregation_result" + - ".proto\022\023google.firestore.v1\032\"google/fire" + - "store/v1/document.proto\"\276\001\n\021AggregationR" + - "esult\022U\n\020aggregate_fields\030\002 \003(\0132;.google" + - ".firestore.v1.AggregationResult.Aggregat" + - "eFieldsEntry\032R\n\024AggregateFieldsEntry\022\013\n\003" + - "key\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.google.firest" + - "ore.v1.Value:\0028\001B\316\001\n\027com.google.firestor" + - "e.v1B\026AggregationResultProtoP\001Z;cloud.go" + - "ogle.com/go/firestore/apiv1/firestorepb;" + - "firestorepb\242\002\004GCFS\252\002\031Google.Cloud.Firest" + - "ore.V1\312\002\031Google\\Cloud\\Firestore\\V1\352\002\034Goo" + - "gle::Cloud::Firestore::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.firestore.v1.DocumentProto.getDescriptor(), - }); - internal_static_google_firestore_v1_AggregationResult_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_AggregationResult_descriptor, - new java.lang.String[] { "AggregateFields", }); - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor = - internal_static_google_firestore_v1_AggregationResult_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.firestore.v1.DocumentProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java deleted file mode 100644 index 844aceaea..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/firestore.proto - -package com.google.firestore.v1; - -public interface BeginTransactionResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.v1.BeginTransactionResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The transaction that was started.
-   * 
- * - * bytes transaction = 1; - * @return The transaction. - */ - com.google.protobuf.ByteString getTransaction(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java deleted file mode 100644 index dfa9aec80..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java +++ /dev/null @@ -1,110 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/common.proto - -package com.google.firestore.v1; - -public final class CommonProto { - private CommonProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_DocumentMask_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Precondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Precondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TransactionOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n google/firestore/v1/common.proto\022\023goog" + - "le.firestore.v1\032\037google/protobuf/timesta" + - "mp.proto\"#\n\014DocumentMask\022\023\n\013field_paths\030" + - "\001 \003(\t\"e\n\014Precondition\022\020\n\006exists\030\001 \001(\010H\000\022" + - "1\n\013update_time\030\002 \001(\0132\032.google.protobuf.T" + - "imestampH\000B\020\n\016condition_type\"\251\002\n\022Transac" + - "tionOptions\022E\n\tread_only\030\002 \001(\01320.google." + - "firestore.v1.TransactionOptions.ReadOnly" + - "H\000\022G\n\nread_write\030\003 \001(\01321.google.firestor" + - "e.v1.TransactionOptions.ReadWriteH\000\032&\n\tR" + - "eadWrite\022\031\n\021retry_transaction\030\001 \001(\014\032S\n\010R" + - "eadOnly\022/\n\tread_time\030\002 \001(\0132\032.google.prot" + - "obuf.TimestampH\000B\026\n\024consistency_selector" + - "B\006\n\004modeB\303\001\n\027com.google.firestore.v1B\013Co" + - "mmonProtoP\001Z;cloud.google.com/go/firesto" + - "re/apiv1/firestorepb;firestorepb\242\002\004GCFS\252" + - "\002\031Google.Cloud.Firestore.V1\312\002\031Google\\Clo" + - "ud\\Firestore\\V1\352\002\034Google::Cloud::Firesto" + - "re::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_firestore_v1_DocumentMask_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_DocumentMask_descriptor, - new java.lang.String[] { "FieldPaths", }); - internal_static_google_firestore_v1_Precondition_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_v1_Precondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_Precondition_descriptor, - new java.lang.String[] { "Exists", "UpdateTime", "ConditionType", }); - internal_static_google_firestore_v1_TransactionOptions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_TransactionOptions_descriptor, - new java.lang.String[] { "ReadOnly", "ReadWrite", "Mode", }); - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor = - internal_static_google_firestore_v1_TransactionOptions_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor, - new java.lang.String[] { "RetryTransaction", }); - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor = - internal_static_google_firestore_v1_TransactionOptions_descriptor.getNestedTypes().get(1); - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor, - new java.lang.String[] { "ReadTime", "ConsistencySelector", }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java deleted file mode 100644 index f156f50fa..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java +++ /dev/null @@ -1,138 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/document.proto - -package com.google.firestore.v1; - -public final class DocumentProto { - private DocumentProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Document_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Document_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Document_FieldsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Value_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Value_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ArrayValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_MapValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_MapValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_MapValue_FieldsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\"google/firestore/v1/document.proto\022\023go" + - "ogle.firestore.v1\032\034google/protobuf/struc" + - "t.proto\032\037google/protobuf/timestamp.proto" + - "\032\030google/type/latlng.proto\"\200\002\n\010Document\022" + - "\014\n\004name\030\001 \001(\t\0229\n\006fields\030\002 \003(\0132).google.f" + - "irestore.v1.Document.FieldsEntry\022/\n\013crea" + - "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + - "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf" + - ".Timestamp\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)" + - "\n\005value\030\002 \001(\0132\032.google.firestore.v1.Valu" + - "e:\0028\001\"\256\003\n\005Value\0220\n\nnull_value\030\013 \001(\0162\032.go" + - "ogle.protobuf.NullValueH\000\022\027\n\rboolean_val" + - "ue\030\001 \001(\010H\000\022\027\n\rinteger_value\030\002 \001(\003H\000\022\026\n\014d" + - "ouble_value\030\003 \001(\001H\000\0225\n\017timestamp_value\030\n" + - " \001(\0132\032.google.protobuf.TimestampH\000\022\026\n\014st" + - "ring_value\030\021 \001(\tH\000\022\025\n\013bytes_value\030\022 \001(\014H" + - "\000\022\031\n\017reference_value\030\005 \001(\tH\000\022.\n\017geo_poin" + - "t_value\030\010 \001(\0132\023.google.type.LatLngH\000\0226\n\013" + - "array_value\030\t \001(\0132\037.google.firestore.v1." + - "ArrayValueH\000\0222\n\tmap_value\030\006 \001(\0132\035.google" + - ".firestore.v1.MapValueH\000B\014\n\nvalue_type\"8" + - "\n\nArrayValue\022*\n\006values\030\001 \003(\0132\032.google.fi" + - "restore.v1.Value\"\220\001\n\010MapValue\0229\n\006fields\030" + - "\001 \003(\0132).google.firestore.v1.MapValue.Fie" + - "ldsEntry\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)\n\005" + - "value\030\002 \001(\0132\032.google.firestore.v1.Value:" + - "\0028\001B\305\001\n\027com.google.firestore.v1B\rDocumen" + - "tProtoP\001Z;cloud.google.com/go/firestore/" + - "apiv1/firestorepb;firestorepb\242\002\004GCFS\252\002\031G" + - "oogle.Cloud.Firestore.V1\312\002\031Google\\Cloud\\" + - "Firestore\\V1\352\002\034Google::Cloud::Firestore:" + - ":V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - }); - internal_static_google_firestore_v1_Document_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_firestore_v1_Document_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_Document_descriptor, - new java.lang.String[] { "Name", "Fields", "CreateTime", "UpdateTime", }); - internal_static_google_firestore_v1_Document_FieldsEntry_descriptor = - internal_static_google_firestore_v1_Document_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_Document_FieldsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_firestore_v1_Value_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_firestore_v1_Value_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_Value_descriptor, - new java.lang.String[] { "NullValue", "BooleanValue", "IntegerValue", "DoubleValue", "TimestampValue", "StringValue", "BytesValue", "ReferenceValue", "GeoPointValue", "ArrayValue", "MapValue", "ValueType", }); - internal_static_google_firestore_v1_ArrayValue_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_ArrayValue_descriptor, - new java.lang.String[] { "Values", }); - internal_static_google_firestore_v1_MapValue_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_firestore_v1_MapValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_MapValue_descriptor, - new java.lang.String[] { "Fields", }); - internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor = - internal_static_google_firestore_v1_MapValue_descriptor.getNestedTypes().get(0); - internal_static_google_firestore_v1_MapValue_FieldsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java b/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java deleted file mode 100644 index 42f6692b2..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java +++ /dev/null @@ -1,679 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/firestore/v1/firestore.proto - -package com.google.firestore.v1; - -public final class FirestoreProto { - private FirestoreProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_GetDocumentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_CommitRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_CommitResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_RollbackRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_RunQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_RunQueryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_PartitionQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_PartitionQueryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_WriteRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_WriteRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_WriteResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListenRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListenRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListenResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Target_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Target_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_Target_QueryTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_TargetChange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_TargetChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BatchWriteRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1_BatchWriteResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n#google/firestore/v1/firestore.proto\022\023g" + - "oogle.firestore.v1\032\034google/api/annotatio" + - "ns.proto\032\027google/api/client.proto\032\037googl" + - "e/api/field_behavior.proto\032,google/fires" + - "tore/v1/aggregation_result.proto\032 google" + - "/firestore/v1/common.proto\032\"google/fires" + - "tore/v1/document.proto\032\037google/firestore" + - "/v1/query.proto\032\037google/firestore/v1/wri" + - "te.proto\032\033google/protobuf/empty.proto\032\037g" + - "oogle/protobuf/timestamp.proto\032\027google/r" + - "pc/status.proto\"\270\001\n\022GetDocumentRequest\022\021" + - "\n\004name\030\001 \001(\tB\003\340A\002\022/\n\004mask\030\002 \001(\0132!.google" + - ".firestore.v1.DocumentMask\022\025\n\013transactio" + - "n\030\003 \001(\014H\000\022/\n\tread_time\030\005 \001(\0132\032.google.pr" + - "otobuf.TimestampH\000B\026\n\024consistency_select" + - "or\"\273\002\n\024ListDocumentsRequest\022\023\n\006parent\030\001 " + - "\001(\tB\003\340A\002\022\032\n\rcollection_id\030\002 \001(\tB\003\340A\001\022\026\n\t" + - "page_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\t" + - "B\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\0224\n\004mask\030\007 \001" + - "(\0132!.google.firestore.v1.DocumentMaskB\003\340" + - "A\001\022\025\n\013transaction\030\010 \001(\014H\000\022/\n\tread_time\030\n" + - " \001(\0132\032.google.protobuf.TimestampH\000\022\024\n\014sh" + - "ow_missing\030\014 \001(\010B\026\n\024consistency_selector" + - "\"b\n\025ListDocumentsResponse\0220\n\tdocuments\030\001" + - " \003(\0132\035.google.firestore.v1.Document\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\"\304\001\n\025CreateDocumentR" + - "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rcollectio" + - "n_id\030\002 \001(\tB\003\340A\002\022\023\n\013document_id\030\003 \001(\t\0224\n\010" + - "document\030\004 \001(\0132\035.google.firestore.v1.Doc" + - "umentB\003\340A\002\022/\n\004mask\030\005 \001(\0132!.google.firest" + - "ore.v1.DocumentMask\"\363\001\n\025UpdateDocumentRe" + - "quest\0224\n\010document\030\001 \001(\0132\035.google.firesto" + - "re.v1.DocumentB\003\340A\002\0226\n\013update_mask\030\002 \001(\013" + - "2!.google.firestore.v1.DocumentMask\022/\n\004m" + - "ask\030\003 \001(\0132!.google.firestore.v1.Document" + - "Mask\022;\n\020current_document\030\004 \001(\0132!.google." + - "firestore.v1.Precondition\"g\n\025DeleteDocum" + - "entRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\020current" + - "_document\030\002 \001(\0132!.google.firestore.v1.Pr" + - "econdition\"\231\002\n\030BatchGetDocumentsRequest\022" + - "\025\n\010database\030\001 \001(\tB\003\340A\002\022\021\n\tdocuments\030\002 \003(" + - "\t\022/\n\004mask\030\003 \001(\0132!.google.firestore.v1.Do" + - "cumentMask\022\025\n\013transaction\030\004 \001(\014H\000\022B\n\017new" + - "_transaction\030\005 \001(\0132\'.google.firestore.v1" + - ".TransactionOptionsH\000\022/\n\tread_time\030\007 \001(\013" + - "2\032.google.protobuf.TimestampH\000B\026\n\024consis" + - "tency_selector\"\254\001\n\031BatchGetDocumentsResp" + - "onse\022.\n\005found\030\001 \001(\0132\035.google.firestore.v" + - "1.DocumentH\000\022\021\n\007missing\030\002 \001(\tH\000\022\023\n\013trans" + - "action\030\003 \001(\014\022-\n\tread_time\030\004 \001(\0132\032.google" + - ".protobuf.TimestampB\010\n\006result\"j\n\027BeginTr" + - "ansactionRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\022" + - "8\n\007options\030\002 \001(\0132\'.google.firestore.v1.T" + - "ransactionOptions\"/\n\030BeginTransactionRes" + - "ponse\022\023\n\013transaction\030\001 \001(\014\"g\n\rCommitRequ" + - "est\022\025\n\010database\030\001 \001(\tB\003\340A\002\022*\n\006writes\030\002 \003" + - "(\0132\032.google.firestore.v1.Write\022\023\n\013transa" + - "ction\030\003 \001(\014\"z\n\016CommitResponse\0227\n\rwrite_r" + - "esults\030\001 \003(\0132 .google.firestore.v1.Write" + - "Result\022/\n\013commit_time\030\002 \001(\0132\032.google.pro" + - "tobuf.Timestamp\"B\n\017RollbackRequest\022\025\n\010da" + - "tabase\030\001 \001(\tB\003\340A\002\022\030\n\013transaction\030\002 \001(\014B\003" + - "\340A\002\"\232\002\n\017RunQueryRequest\022\023\n\006parent\030\001 \001(\tB" + - "\003\340A\002\022@\n\020structured_query\030\002 \001(\0132$.google." + - "firestore.v1.StructuredQueryH\000\022\025\n\013transa" + - "ction\030\005 \001(\014H\001\022B\n\017new_transaction\030\006 \001(\0132\'" + - ".google.firestore.v1.TransactionOptionsH" + - "\001\022/\n\tread_time\030\007 \001(\0132\032.google.protobuf.T" + - "imestampH\001B\014\n\nquery_typeB\026\n\024consistency_" + - "selector\"\311\001\n\020RunQueryResponse\022\023\n\013transac" + - "tion\030\002 \001(\014\022/\n\010document\030\001 \001(\0132\035.google.fi" + - "restore.v1.Document\022-\n\tread_time\030\003 \001(\0132\032" + - ".google.protobuf.Timestamp\022\027\n\017skipped_re" + - "sults\030\004 \001(\005\022\016\n\004done\030\006 \001(\010H\000B\027\n\025continuat" + - "ion_selector\"\274\002\n\032RunAggregationQueryRequ" + - "est\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022W\n\034structured_a" + - "ggregation_query\030\002 \001(\0132/.google.firestor" + - "e.v1.StructuredAggregationQueryH\000\022\025\n\013tra" + - "nsaction\030\004 \001(\014H\001\022B\n\017new_transaction\030\005 \001(" + - "\0132\'.google.firestore.v1.TransactionOptio" + - "nsH\001\022/\n\tread_time\030\006 \001(\0132\032.google.protobu" + - "f.TimestampH\001B\014\n\nquery_typeB\026\n\024consisten" + - "cy_selector\"\231\001\n\033RunAggregationQueryRespo" + - "nse\0226\n\006result\030\001 \001(\0132&.google.firestore.v" + - "1.AggregationResult\022\023\n\013transaction\030\002 \001(\014" + - "\022-\n\tread_time\030\003 \001(\0132\032.google.protobuf.Ti" + - "mestamp\"\205\002\n\025PartitionQueryRequest\022\023\n\006par" + - "ent\030\001 \001(\tB\003\340A\002\022@\n\020structured_query\030\002 \001(\013" + - "2$.google.firestore.v1.StructuredQueryH\000" + - "\022\027\n\017partition_count\030\003 \001(\003\022\022\n\npage_token\030" + - "\004 \001(\t\022\021\n\tpage_size\030\005 \001(\005\022/\n\tread_time\030\006 " + - "\001(\0132\032.google.protobuf.TimestampH\001B\014\n\nque" + - "ry_typeB\026\n\024consistency_selector\"b\n\026Parti" + - "tionQueryResponse\022/\n\npartitions\030\001 \003(\0132\033." + - "google.firestore.v1.Cursor\022\027\n\017next_page_" + - "token\030\002 \001(\t\"\350\001\n\014WriteRequest\022\025\n\010database" + - "\030\001 \001(\tB\003\340A\002\022\021\n\tstream_id\030\002 \001(\t\022*\n\006writes" + - "\030\003 \003(\0132\032.google.firestore.v1.Write\022\024\n\014st" + - "ream_token\030\004 \001(\014\022=\n\006labels\030\005 \003(\0132-.googl" + - "e.firestore.v1.WriteRequest.LabelsEntry\032" + - "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + - "(\t:\0028\001\"\242\001\n\rWriteResponse\022\021\n\tstream_id\030\001 " + - "\001(\t\022\024\n\014stream_token\030\002 \001(\014\0227\n\rwrite_resul" + - "ts\030\003 \003(\0132 .google.firestore.v1.WriteResu" + - "lt\022/\n\013commit_time\030\004 \001(\0132\032.google.protobu" + - "f.Timestamp\"\362\001\n\rListenRequest\022\025\n\010databas" + - "e\030\001 \001(\tB\003\340A\002\0221\n\nadd_target\030\002 \001(\0132\033.googl" + - "e.firestore.v1.TargetH\000\022\027\n\rremove_target" + - "\030\003 \001(\005H\000\022>\n\006labels\030\004 \003(\0132..google.firest" + - "ore.v1.ListenRequest.LabelsEntry\032-\n\013Labe" + - "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B" + - "\017\n\rtarget_change\"\325\002\n\016ListenResponse\022:\n\rt" + - "arget_change\030\002 \001(\0132!.google.firestore.v1" + - ".TargetChangeH\000\022>\n\017document_change\030\003 \001(\013" + - "2#.google.firestore.v1.DocumentChangeH\000\022" + - ">\n\017document_delete\030\004 \001(\0132#.google.firest" + - "ore.v1.DocumentDeleteH\000\022>\n\017document_remo" + - "ve\030\006 \001(\0132#.google.firestore.v1.DocumentR" + - "emoveH\000\0226\n\006filter\030\005 \001(\0132$.google.firesto" + - "re.v1.ExistenceFilterH\000B\017\n\rresponse_type" + - "\"\241\003\n\006Target\0228\n\005query\030\002 \001(\0132\'.google.fire" + - "store.v1.Target.QueryTargetH\000\022@\n\tdocumen" + - "ts\030\003 \001(\0132+.google.firestore.v1.Target.Do" + - "cumentsTargetH\000\022\026\n\014resume_token\030\004 \001(\014H\001\022" + - "/\n\tread_time\030\013 \001(\0132\032.google.protobuf.Tim" + - "estampH\001\022\021\n\ttarget_id\030\005 \001(\005\022\014\n\004once\030\006 \001(" + - "\010\032$\n\017DocumentsTarget\022\021\n\tdocuments\030\002 \003(\t\032" + - "m\n\013QueryTarget\022\016\n\006parent\030\001 \001(\t\022@\n\020struct" + - "ured_query\030\002 \001(\0132$.google.firestore.v1.S" + - "tructuredQueryH\000B\014\n\nquery_typeB\r\n\013target" + - "_typeB\r\n\013resume_type\"\252\002\n\014TargetChange\022N\n" + - "\022target_change_type\030\001 \001(\01622.google.fires" + - "tore.v1.TargetChange.TargetChangeType\022\022\n" + - "\ntarget_ids\030\002 \003(\005\022!\n\005cause\030\003 \001(\0132\022.googl" + - "e.rpc.Status\022\024\n\014resume_token\030\004 \001(\014\022-\n\tre" + - "ad_time\030\006 \001(\0132\032.google.protobuf.Timestam" + - "p\"N\n\020TargetChangeType\022\r\n\tNO_CHANGE\020\000\022\007\n\003" + - "ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n\007CURRENT\020\003\022\t\n\005RESET\020" + - "\004\"\237\001\n\030ListCollectionIdsRequest\022\023\n\006parent" + - "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + - "oken\030\003 \001(\t\022/\n\tread_time\030\004 \001(\0132\032.google.p" + - "rotobuf.TimestampH\000B\026\n\024consistency_selec" + - "tor\"L\n\031ListCollectionIdsResponse\022\026\n\016coll" + - "ection_ids\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(" + - "\t\"\311\001\n\021BatchWriteRequest\022\025\n\010database\030\001 \001(" + - "\tB\003\340A\002\022*\n\006writes\030\002 \003(\0132\032.google.firestor" + - "e.v1.Write\022B\n\006labels\030\003 \003(\01322.google.fire" + - "store.v1.BatchWriteRequest.LabelsEntry\032-" + - "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + - "\t:\0028\001\"q\n\022BatchWriteResponse\0227\n\rwrite_res" + - "ults\030\001 \003(\0132 .google.firestore.v1.WriteRe" + - "sult\022\"\n\006status\030\002 \003(\0132\022.google.rpc.Status" + - "2\332\031\n\tFirestore\022\217\001\n\013GetDocument\022\'.google." + - "firestore.v1.GetDocumentRequest\032\035.google" + - ".firestore.v1.Document\"8\202\323\344\223\0022\0220/v1/{nam" + - "e=projects/*/databases/*/documents/*/**}" + - "\022\365\001\n\rListDocuments\022).google.firestore.v1" + - ".ListDocumentsRequest\032*.google.firestore" + - ".v1.ListDocumentsResponse\"\214\001\202\323\344\223\002\205\001\022B/v1" + - "/{parent=projects/*/databases/*/document" + - "s/*/**}/{collection_id}Z?\022=/v1/{parent=p" + - "rojects/*/databases/*/documents}/{collec" + - "tion_id}\022\277\001\n\016UpdateDocument\022*.google.fir" + - "estore.v1.UpdateDocumentRequest\032\035.google" + - ".firestore.v1.Document\"b\202\323\344\223\002E29/v1/{doc" + - "ument.name=projects/*/databases/*/docume" + - "nts/*/**}:\010document\332A\024document,update_ma" + - "sk\022\225\001\n\016DeleteDocument\022*.google.firestore" + - ".v1.DeleteDocumentRequest\032\026.google.proto" + - "buf.Empty\"?\202\323\344\223\0022*0/v1/{name=projects/*/" + - "databases/*/documents/*/**}\332A\004name\022\271\001\n\021B" + - "atchGetDocuments\022-.google.firestore.v1.B" + - "atchGetDocumentsRequest\032..google.firesto" + - "re.v1.BatchGetDocumentsResponse\"C\202\323\344\223\002=\"" + - "8/v1/{database=projects/*/databases/*}/d" + - "ocuments:batchGet:\001*0\001\022\307\001\n\020BeginTransact" + - "ion\022,.google.firestore.v1.BeginTransacti" + - "onRequest\032-.google.firestore.v1.BeginTra" + - "nsactionResponse\"V\202\323\344\223\002E\"@/v1/{database=" + - "projects/*/databases/*}/documents:beginT" + - "ransaction:\001*\332A\010database\022\246\001\n\006Commit\022\".go" + - "ogle.firestore.v1.CommitRequest\032#.google" + - ".firestore.v1.CommitResponse\"S\202\323\344\223\002;\"6/v" + - "1/{database=projects/*/databases/*}/docu" + - "ments:commit:\001*\332A\017database,writes\022\244\001\n\010Ro" + - "llback\022$.google.firestore.v1.RollbackReq" + - "uest\032\026.google.protobuf.Empty\"Z\202\323\344\223\002=\"8/v" + - "1/{database=projects/*/databases/*}/docu" + - "ments:rollback:\001*\332A\024database,transaction" + - "\022\337\001\n\010RunQuery\022$.google.firestore.v1.RunQ" + - "ueryRequest\032%.google.firestore.v1.RunQue" + - "ryResponse\"\203\001\202\323\344\223\002}\"6/v1/{parent=project" + - "s/*/databases/*/documents}:runQuery:\001*Z@" + - "\";/v1/{parent=projects/*/databases/*/doc" + - "uments/*/**}:runQuery:\001*0\001\022\227\002\n\023RunAggreg" + - "ationQuery\022/.google.firestore.v1.RunAggr" + - "egationQueryRequest\0320.google.firestore.v" + - "1.RunAggregationQueryResponse\"\232\001\202\323\344\223\002\223\001\"" + - "A/v1/{parent=projects/*/databases/*/docu" + - "ments}:runAggregationQuery:\001*ZK\"F/v1/{pa" + - "rent=projects/*/databases/*/documents/*/" + - "**}:runAggregationQuery:\001*0\001\022\374\001\n\016Partiti" + - "onQuery\022*.google.firestore.v1.PartitionQ" + - "ueryRequest\032+.google.firestore.v1.Partit" + - "ionQueryResponse\"\220\001\202\323\344\223\002\211\001\" * The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex]. *
* * Protobuf type {@code google.firestore.admin.v1.CreateIndexRequest} */ -public final class CreateIndexRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateIndexRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.CreateIndexRequest) CreateIndexRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateIndexRequest.newBuilder() to construct. private CreateIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateIndexRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.CreateIndexRequest.class, com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); + com.google.firestore.admin.v1.CreateIndexRequest.class, + com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,11 +127,15 @@ public java.lang.String getParent() { public static final int INDEX_FIELD_NUMBER = 2; private com.google.firestore.admin.v1.Index index_; /** + * + * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the index field is set. */ @java.lang.Override @@ -112,11 +143,15 @@ public boolean hasIndex() { return index_ != null; } /** + * + * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The index. */ @java.lang.Override @@ -124,11 +159,14 @@ public com.google.firestore.admin.v1.Index getIndex() { return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } /** + * + * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { @@ -136,6 +174,7 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -168,8 +206,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (index_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getIndex()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIndex()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -179,19 +216,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.CreateIndexRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.CreateIndexRequest other = (com.google.firestore.admin.v1.CreateIndexRequest) obj; + com.google.firestore.admin.v1.CreateIndexRequest other = + (com.google.firestore.admin.v1.CreateIndexRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasIndex() != other.hasIndex()) return false; if (hasIndex()) { - if (!getIndex() - .equals(other.getIndex())) return false; + if (!getIndex().equals(other.getIndex())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -215,130 +251,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.CreateIndexRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.CreateIndexRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.CreateIndexRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.CreateIndexRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
    * 
* * Protobuf type {@code google.firestore.admin.v1.CreateIndexRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.CreateIndexRequest) com.google.firestore.admin.v1.CreateIndexRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.CreateIndexRequest.class, com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); + com.google.firestore.admin.v1.CreateIndexRequest.class, + com.google.firestore.admin.v1.CreateIndexRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.CreateIndexRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -353,9 +395,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor; } @java.lang.Override @@ -374,8 +416,11 @@ public com.google.firestore.admin.v1.CreateIndexRequest build() { @java.lang.Override public com.google.firestore.admin.v1.CreateIndexRequest buildPartial() { - com.google.firestore.admin.v1.CreateIndexRequest result = new com.google.firestore.admin.v1.CreateIndexRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.CreateIndexRequest result = + new com.google.firestore.admin.v1.CreateIndexRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -386,9 +431,7 @@ private void buildPartial0(com.google.firestore.admin.v1.CreateIndexRequest resu result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.index_ = indexBuilder_ == null - ? index_ - : indexBuilder_.build(); + result.index_ = indexBuilder_ == null ? index_ : indexBuilder_.build(); } } @@ -396,38 +439,39 @@ private void buildPartial0(com.google.firestore.admin.v1.CreateIndexRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.CreateIndexRequest) { - return mergeFrom((com.google.firestore.admin.v1.CreateIndexRequest)other); + return mergeFrom((com.google.firestore.admin.v1.CreateIndexRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +479,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.CreateIndexRequest other) { - if (other == com.google.firestore.admin.v1.CreateIndexRequest.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.CreateIndexRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -470,24 +515,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getIndexFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getIndexFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,23 +543,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -522,21 +573,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -544,30 +598,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -577,18 +642,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -598,24 +669,35 @@ public Builder setParentBytes( private com.google.firestore.admin.v1.Index index_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> indexBuilder_; + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder> + indexBuilder_; /** + * + * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the index field is set. */ public boolean hasIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The index. */ public com.google.firestore.admin.v1.Index getIndex() { @@ -626,11 +708,14 @@ public com.google.firestore.admin.v1.Index getIndex() { } } /** + * + * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setIndex(com.google.firestore.admin.v1.Index value) { if (indexBuilder_ == null) { @@ -646,14 +731,16 @@ public Builder setIndex(com.google.firestore.admin.v1.Index value) { return this; } /** + * + * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setIndex( - com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexBuilder_ == null) { index_ = builderForValue.build(); } else { @@ -664,17 +751,20 @@ public Builder setIndex( return this; } /** + * + * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { if (indexBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - index_ != null && - index_ != com.google.firestore.admin.v1.Index.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && index_ != null + && index_ != com.google.firestore.admin.v1.Index.getDefaultInstance()) { getIndexBuilder().mergeFrom(value); } else { index_ = value; @@ -687,11 +777,14 @@ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { return this; } /** + * + * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearIndex() { bitField0_ = (bitField0_ & ~0x00000002); @@ -704,11 +797,14 @@ public Builder clearIndex() { return this; } /** + * + * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.firestore.admin.v1.Index.Builder getIndexBuilder() { bitField0_ |= 0x00000002; @@ -716,43 +812,51 @@ public com.google.firestore.admin.v1.Index.Builder getIndexBuilder() { return getIndexFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { if (indexBuilder_ != null) { return indexBuilder_.getMessageOrBuilder(); } else { - return index_ == null ? - com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; + return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } } /** + * + * *
      * Required. The composite index to create.
      * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder> getIndexFieldBuilder() { if (indexBuilder_ == null) { - indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( - getIndex(), - getParentForChildren(), - isClean()); + indexBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder>( + getIndex(), getParentForChildren(), isClean()); index_ = null; } return indexBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,12 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.CreateIndexRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.CreateIndexRequest) private static final com.google.firestore.admin.v1.CreateIndexRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.CreateIndexRequest(); } @@ -776,27 +880,27 @@ public static com.google.firestore.admin.v1.CreateIndexRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateIndexRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateIndexRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -811,6 +915,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.CreateIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java index 619b76dea..664eb18a5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface CreateIndexRequestOrBuilder extends +public interface CreateIndexRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.CreateIndexRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the index field is set. */ boolean hasIndex(); /** + * + * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The index. */ com.google.firestore.admin.v1.Index getIndex(); /** + * + * *
    * Required. The composite index to create.
    * 
* - * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java index 2991206be..f3356a3ef 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/database.proto package com.google.firestore.admin.v1; /** + * + * *
  * A Cloud Firestore Database.
  * Currently only one database is allowed per cloud project; this database
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Database}
  */
-public final class Database extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Database extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Database)
     DatabaseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Database.newBuilder() to construct.
   private Database(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Database() {
     name_ = "";
     locationId_ = "";
@@ -33,30 +51,33 @@ private Database() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Database();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.DatabaseProto
+        .internal_static_google_firestore_admin_v1_Database_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
+    return com.google.firestore.admin.v1.DatabaseProto
+        .internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Database.class, com.google.firestore.admin.v1.Database.Builder.class);
+            com.google.firestore.admin.v1.Database.class,
+            com.google.firestore.admin.v1.Database.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -66,9 +87,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.firestore.admin.v1.Database.DatabaseType}
    */
-  public enum DatabaseType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DatabaseType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The default value. This value is used if the database type is omitted.
      * 
@@ -77,6 +99,8 @@ public enum DatabaseType */ DATABASE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Firestore Native Mode
      * 
@@ -85,6 +109,8 @@ public enum DatabaseType */ FIRESTORE_NATIVE(1), /** + * + * *
      * Firestore in Datastore Mode.
      * 
@@ -96,6 +122,8 @@ public enum DatabaseType ; /** + * + * *
      * The default value. This value is used if the database type is omitted.
      * 
@@ -104,6 +132,8 @@ public enum DatabaseType */ public static final int DATABASE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Firestore Native Mode
      * 
@@ -112,6 +142,8 @@ public enum DatabaseType */ public static final int FIRESTORE_NATIVE_VALUE = 1; /** + * + * *
      * Firestore in Datastore Mode.
      * 
@@ -120,7 +152,6 @@ public enum DatabaseType */ public static final int DATASTORE_MODE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -145,49 +176,49 @@ public static DatabaseType valueOf(int value) { */ public static DatabaseType forNumber(int value) { switch (value) { - case 0: return DATABASE_TYPE_UNSPECIFIED; - case 1: return FIRESTORE_NATIVE; - case 2: return DATASTORE_MODE; - default: return null; + case 0: + return DATABASE_TYPE_UNSPECIFIED; + case 1: + return FIRESTORE_NATIVE; + case 2: + return DATASTORE_MODE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DatabaseType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseType findValueByNumber(int number) { - return DatabaseType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DatabaseType findValueByNumber(int number) { + return DatabaseType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(0); } private static final DatabaseType[] VALUES = values(); - public static DatabaseType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -205,15 +236,18 @@ private DatabaseType(int value) { } /** + * + * *
    * The type of concurrency control mode for transactions.
    * 
* * Protobuf enum {@code google.firestore.admin.v1.Database.ConcurrencyMode} */ - public enum ConcurrencyMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -222,6 +256,8 @@ public enum ConcurrencyMode */ CONCURRENCY_MODE_UNSPECIFIED(0), /** + * + * *
      * Use optimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -231,6 +267,8 @@ public enum ConcurrencyMode
      */
     OPTIMISTIC(1),
     /**
+     *
+     *
      * 
      * Use pessimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -241,6 +279,8 @@ public enum ConcurrencyMode
      */
     PESSIMISTIC(2),
     /**
+     *
+     *
      * 
      * Use optimistic concurrency control with entity groups by default.
      * This is the only available mode for Cloud Datastore.
@@ -255,6 +295,8 @@ public enum ConcurrencyMode
     ;
 
     /**
+     *
+     *
      * 
      * Not used.
      * 
@@ -263,6 +305,8 @@ public enum ConcurrencyMode */ public static final int CONCURRENCY_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use optimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -272,6 +316,8 @@ public enum ConcurrencyMode
      */
     public static final int OPTIMISTIC_VALUE = 1;
     /**
+     *
+     *
      * 
      * Use pessimistic concurrency control by default. This mode is available
      * for Cloud Firestore databases.
@@ -282,6 +328,8 @@ public enum ConcurrencyMode
      */
     public static final int PESSIMISTIC_VALUE = 2;
     /**
+     *
+     *
      * 
      * Use optimistic concurrency control with entity groups by default.
      * This is the only available mode for Cloud Datastore.
@@ -293,7 +341,6 @@ public enum ConcurrencyMode
      */
     public static final int OPTIMISTIC_WITH_ENTITY_GROUPS_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -318,40 +365,44 @@ public static ConcurrencyMode valueOf(int value) {
      */
     public static ConcurrencyMode forNumber(int value) {
       switch (value) {
-        case 0: return CONCURRENCY_MODE_UNSPECIFIED;
-        case 1: return OPTIMISTIC;
-        case 2: return PESSIMISTIC;
-        case 3: return OPTIMISTIC_WITH_ENTITY_GROUPS;
-        default: return null;
+        case 0:
+          return CONCURRENCY_MODE_UNSPECIFIED;
+        case 1:
+          return OPTIMISTIC;
+        case 2:
+          return PESSIMISTIC;
+        case 3:
+          return OPTIMISTIC_WITH_ENTITY_GROUPS;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        ConcurrencyMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ConcurrencyMode findValueByNumber(int number) {
-              return ConcurrencyMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ConcurrencyMode findValueByNumber(int number) {
+                return ConcurrencyMode.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -360,8 +411,7 @@ public ConcurrencyMode findValueByNumber(int number) {
     public static ConcurrencyMode valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -379,15 +429,18 @@ private ConcurrencyMode(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The type of App Engine integration mode.
    * 
* * Protobuf enum {@code google.firestore.admin.v1.Database.AppEngineIntegrationMode} */ - public enum AppEngineIntegrationMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum AppEngineIntegrationMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not used.
      * 
@@ -396,6 +449,8 @@ public enum AppEngineIntegrationMode */ APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED(0), /** + * + * *
      * If an App Engine application exists in the same region as this database,
      * App Engine configuration will impact this database. This includes
@@ -407,6 +462,8 @@ public enum AppEngineIntegrationMode
      */
     ENABLED(1),
     /**
+     *
+     *
      * 
      * Appengine has no affect on the ability of this database to serve
      * requests.
@@ -419,6 +476,8 @@ public enum AppEngineIntegrationMode
     ;
 
     /**
+     *
+     *
      * 
      * Not used.
      * 
@@ -427,6 +486,8 @@ public enum AppEngineIntegrationMode */ public static final int APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * If an App Engine application exists in the same region as this database,
      * App Engine configuration will impact this database. This includes
@@ -438,6 +499,8 @@ public enum AppEngineIntegrationMode
      */
     public static final int ENABLED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Appengine has no affect on the ability of this database to serve
      * requests.
@@ -447,7 +510,6 @@ public enum AppEngineIntegrationMode
      */
     public static final int DISABLED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -472,10 +534,14 @@ public static AppEngineIntegrationMode valueOf(int value) {
      */
     public static AppEngineIntegrationMode forNumber(int value) {
       switch (value) {
-        case 0: return APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED;
-        case 1: return ENABLED;
-        case 2: return DISABLED;
-        default: return null;
+        case 0:
+          return APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED;
+        case 1:
+          return ENABLED;
+        case 2:
+          return DISABLED;
+        default:
+          return null;
       }
     }
 
@@ -483,28 +549,28 @@ public static AppEngineIntegrationMode forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        AppEngineIntegrationMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AppEngineIntegrationMode findValueByNumber(int number) {
-              return AppEngineIntegrationMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public AppEngineIntegrationMode findValueByNumber(int number) {
+                return AppEngineIntegrationMode.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.admin.v1.Database.getDescriptor().getEnumTypes().get(2);
     }
 
@@ -513,8 +579,7 @@ public AppEngineIntegrationMode findValueByNumber(int number) {
     public static AppEngineIntegrationMode valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -532,15 +597,19 @@ private AppEngineIntegrationMode(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -549,30 +618,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -581,15 +650,19 @@ public java.lang.String getName() { } public static final int LOCATION_ID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object locationId_ = ""; /** + * + * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; + * * @return The locationId. */ @java.lang.Override @@ -598,30 +671,30 @@ public java.lang.String getLocationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; } } /** + * + * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; + * * @return The bytes for locationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -632,6 +705,8 @@ public java.lang.String getLocationId() { public static final int TYPE_FIELD_NUMBER = 10; private int type_ = 0; /** + * + * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -639,12 +714,16 @@ public java.lang.String getLocationId() {
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -652,69 +731,105 @@ public java.lang.String getLocationId() {
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @return The type. */ - @java.lang.Override public com.google.firestore.admin.v1.Database.DatabaseType getType() { - com.google.firestore.admin.v1.Database.DatabaseType result = com.google.firestore.admin.v1.Database.DatabaseType.forNumber(type_); - return result == null ? com.google.firestore.admin.v1.Database.DatabaseType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.admin.v1.Database.DatabaseType getType() { + com.google.firestore.admin.v1.Database.DatabaseType result = + com.google.firestore.admin.v1.Database.DatabaseType.forNumber(type_); + return result == null + ? com.google.firestore.admin.v1.Database.DatabaseType.UNRECOGNIZED + : result; } public static final int CONCURRENCY_MODE_FIELD_NUMBER = 15; private int concurrencyMode_ = 0; /** + * + * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @return The enum numeric value on the wire for concurrencyMode. */ - @java.lang.Override public int getConcurrencyModeValue() { + @java.lang.Override + public int getConcurrencyModeValue() { return concurrencyMode_; } /** + * + * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @return The concurrencyMode. */ - @java.lang.Override public com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode() { - com.google.firestore.admin.v1.Database.ConcurrencyMode result = com.google.firestore.admin.v1.Database.ConcurrencyMode.forNumber(concurrencyMode_); - return result == null ? com.google.firestore.admin.v1.Database.ConcurrencyMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode() { + com.google.firestore.admin.v1.Database.ConcurrencyMode result = + com.google.firestore.admin.v1.Database.ConcurrencyMode.forNumber(concurrencyMode_); + return result == null + ? com.google.firestore.admin.v1.Database.ConcurrencyMode.UNRECOGNIZED + : result; } public static final int APP_ENGINE_INTEGRATION_MODE_FIELD_NUMBER = 19; private int appEngineIntegrationMode_ = 0; /** + * + * *
    * The App Engine integration mode to use for this database.
    * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @return The enum numeric value on the wire for appEngineIntegrationMode. */ - @java.lang.Override public int getAppEngineIntegrationModeValue() { + @java.lang.Override + public int getAppEngineIntegrationModeValue() { return appEngineIntegrationMode_; } /** + * + * *
    * The App Engine integration mode to use for this database.
    * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @return The appEngineIntegrationMode. */ - @java.lang.Override public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode getAppEngineIntegrationMode() { - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.forNumber(appEngineIntegrationMode_); - return result == null ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode + getAppEngineIntegrationMode() { + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.forNumber( + appEngineIntegrationMode_); + return result == null + ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED + : result; } public static final int KEY_PREFIX_FIELD_NUMBER = 20; + @SuppressWarnings("serial") private volatile java.lang.Object keyPrefix_ = ""; /** + * + * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -725,6 +840,7 @@ public java.lang.String getLocationId() {
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The keyPrefix. */ @java.lang.Override @@ -733,14 +849,15 @@ public java.lang.String getKeyPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyPrefix_ = s; return s; } } /** + * + * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -751,16 +868,15 @@ public java.lang.String getKeyPrefix() {
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for keyPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyPrefixBytes() { + public com.google.protobuf.ByteString getKeyPrefixBytes() { java.lang.Object ref = keyPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); keyPrefix_ = b; return b; } else { @@ -769,9 +885,12 @@ public java.lang.String getKeyPrefix() { } public static final int ETAG_FIELD_NUMBER = 99; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -779,6 +898,7 @@ public java.lang.String getKeyPrefix() {
    * 
* * string etag = 99; + * * @return The etag. */ @java.lang.Override @@ -787,14 +907,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -802,16 +923,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 99; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -820,6 +940,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -831,21 +952,27 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, locationId_); } - if (type_ != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(10, type_); } - if (concurrencyMode_ != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { + if (concurrencyMode_ + != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(15, concurrencyMode_); } - if (appEngineIntegrationMode_ != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED.getNumber()) { + if (appEngineIntegrationMode_ + != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode + .APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(19, appEngineIntegrationMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyPrefix_)) { @@ -869,17 +996,21 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(locationId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, locationId_); } - if (type_ != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, type_); + if (type_ + != com.google.firestore.admin.v1.Database.DatabaseType.DATABASE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, type_); } - if (concurrencyMode_ != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(15, concurrencyMode_); + if (concurrencyMode_ + != com.google.firestore.admin.v1.Database.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, concurrencyMode_); } - if (appEngineIntegrationMode_ != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(19, appEngineIntegrationMode_); + if (appEngineIntegrationMode_ + != com.google.firestore.admin.v1.Database.AppEngineIntegrationMode + .APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(19, appEngineIntegrationMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, keyPrefix_); @@ -895,24 +1026,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Database)) { return super.equals(obj); } com.google.firestore.admin.v1.Database other = (com.google.firestore.admin.v1.Database) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getLocationId() - .equals(other.getLocationId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getLocationId().equals(other.getLocationId())) return false; if (type_ != other.type_) return false; if (concurrencyMode_ != other.concurrencyMode_) return false; if (appEngineIntegrationMode_ != other.appEngineIntegrationMode_) return false; - if (!getKeyPrefix() - .equals(other.getKeyPrefix())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getKeyPrefix().equals(other.getKeyPrefix())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -943,97 +1070,104 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.Database parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Database parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Database parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Database parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Database parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Database parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Database parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Database parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Database parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Database parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Database parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Database parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Database parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.Database prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Cloud Firestore Database.
    * Currently only one database is allowed per cloud project; this database
@@ -1042,33 +1176,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.admin.v1.Database}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Database)
       com.google.firestore.admin.v1.DatabaseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.DatabaseProto
+          .internal_static_google_firestore_admin_v1_Database_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
+      return com.google.firestore.admin.v1.DatabaseProto
+          .internal_static_google_firestore_admin_v1_Database_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Database.class, com.google.firestore.admin.v1.Database.Builder.class);
+              com.google.firestore.admin.v1.Database.class,
+              com.google.firestore.admin.v1.Database.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Database.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1084,9 +1217,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.DatabaseProto.internal_static_google_firestore_admin_v1_Database_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.DatabaseProto
+          .internal_static_google_firestore_admin_v1_Database_descriptor;
     }
 
     @java.lang.Override
@@ -1105,8 +1238,11 @@ public com.google.firestore.admin.v1.Database build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.Database buildPartial() {
-      com.google.firestore.admin.v1.Database result = new com.google.firestore.admin.v1.Database(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.admin.v1.Database result =
+          new com.google.firestore.admin.v1.Database(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1140,38 +1276,39 @@ private void buildPartial0(com.google.firestore.admin.v1.Database result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.Database) {
-        return mergeFrom((com.google.firestore.admin.v1.Database)other);
+        return mergeFrom((com.google.firestore.admin.v1.Database) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1235,47 +1372,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 74: {
-              locationId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 74
-            case 80: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 80
-            case 120: {
-              concurrencyMode_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 120
-            case 152: {
-              appEngineIntegrationMode_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 152
-            case 162: {
-              keyPrefix_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 162
-            case 794: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 794
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 74:
+              {
+                locationId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 74
+            case 80:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 80
+            case 120:
+              {
+                concurrencyMode_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 120
+            case 152:
+              {
+                appEngineIntegrationMode_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 152
+            case 162:
+              {
+                keyPrefix_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 162
+            case 794:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 794
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1285,23 +1430,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1310,21 +1458,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1332,30 +1481,37 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1365,18 +1521,22 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the Database.
      * Format: `projects/{project}/databases/{database}`
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1386,19 +1546,21 @@ public Builder setNameBytes( private java.lang.Object locationId_ = ""; /** + * + * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; + * * @return The locationId. */ public java.lang.String getLocationId() { java.lang.Object ref = locationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); locationId_ = s; return s; @@ -1407,21 +1569,22 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; + * * @return The bytes for locationId. */ - public com.google.protobuf.ByteString - getLocationIdBytes() { + public com.google.protobuf.ByteString getLocationIdBytes() { java.lang.Object ref = locationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); locationId_ = b; return b; } else { @@ -1429,30 +1592,37 @@ public java.lang.String getLocationId() { } } /** + * + * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; + * * @param value The locationId to set. * @return This builder for chaining. */ - public Builder setLocationId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } locationId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; + * * @return This builder for chaining. */ public Builder clearLocationId() { @@ -1462,18 +1632,22 @@ public Builder clearLocationId() { return this; } /** + * + * *
      * The location of the database. Available databases are listed at
      * https://cloud.google.com/firestore/docs/locations.
      * 
* * string location_id = 9; + * * @param value The bytes for locationId to set. * @return This builder for chaining. */ - public Builder setLocationIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); locationId_ = value; bitField0_ |= 0x00000002; @@ -1483,6 +1657,8 @@ public Builder setLocationIdBytes( private int type_ = 0; /** + * + * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1490,12 +1666,16 @@ public Builder setLocationIdBytes(
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1503,6 +1683,7 @@ public Builder setLocationIdBytes(
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1513,6 +1694,8 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1520,14 +1703,20 @@ public Builder setTypeValue(int value) {
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @return The type. */ @java.lang.Override public com.google.firestore.admin.v1.Database.DatabaseType getType() { - com.google.firestore.admin.v1.Database.DatabaseType result = com.google.firestore.admin.v1.Database.DatabaseType.forNumber(type_); - return result == null ? com.google.firestore.admin.v1.Database.DatabaseType.UNRECOGNIZED : result; + com.google.firestore.admin.v1.Database.DatabaseType result = + com.google.firestore.admin.v1.Database.DatabaseType.forNumber(type_); + return result == null + ? com.google.firestore.admin.v1.Database.DatabaseType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1535,6 +1724,7 @@ public com.google.firestore.admin.v1.Database.DatabaseType getType() {
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1548,6 +1738,8 @@ public Builder setType(com.google.firestore.admin.v1.Database.DatabaseType value return this; } /** + * + * *
      * The type of the database.
      * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -1555,6 +1747,7 @@ public Builder setType(com.google.firestore.admin.v1.Database.DatabaseType value
      * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1566,22 +1759,29 @@ public Builder clearType() { private int concurrencyMode_ = 0; /** + * + * *
      * The concurrency control mode to use for this database.
      * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @return The enum numeric value on the wire for concurrencyMode. */ - @java.lang.Override public int getConcurrencyModeValue() { + @java.lang.Override + public int getConcurrencyModeValue() { return concurrencyMode_; } /** + * + * *
      * The concurrency control mode to use for this database.
      * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @param value The enum numeric value on the wire for concurrencyMode to set. * @return This builder for chaining. */ @@ -1592,28 +1792,38 @@ public Builder setConcurrencyModeValue(int value) { return this; } /** + * + * *
      * The concurrency control mode to use for this database.
      * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @return The concurrencyMode. */ @java.lang.Override public com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode() { - com.google.firestore.admin.v1.Database.ConcurrencyMode result = com.google.firestore.admin.v1.Database.ConcurrencyMode.forNumber(concurrencyMode_); - return result == null ? com.google.firestore.admin.v1.Database.ConcurrencyMode.UNRECOGNIZED : result; + com.google.firestore.admin.v1.Database.ConcurrencyMode result = + com.google.firestore.admin.v1.Database.ConcurrencyMode.forNumber(concurrencyMode_); + return result == null + ? com.google.firestore.admin.v1.Database.ConcurrencyMode.UNRECOGNIZED + : result; } /** + * + * *
      * The concurrency control mode to use for this database.
      * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @param value The concurrencyMode to set. * @return This builder for chaining. */ - public Builder setConcurrencyMode(com.google.firestore.admin.v1.Database.ConcurrencyMode value) { + public Builder setConcurrencyMode( + com.google.firestore.admin.v1.Database.ConcurrencyMode value) { if (value == null) { throw new NullPointerException(); } @@ -1623,11 +1833,14 @@ public Builder setConcurrencyMode(com.google.firestore.admin.v1.Database.Concurr return this; } /** + * + * *
      * The concurrency control mode to use for this database.
      * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @return This builder for chaining. */ public Builder clearConcurrencyMode() { @@ -1639,22 +1852,33 @@ public Builder clearConcurrencyMode() { private int appEngineIntegrationMode_ = 0; /** + * + * *
      * The App Engine integration mode to use for this database.
      * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @return The enum numeric value on the wire for appEngineIntegrationMode. */ - @java.lang.Override public int getAppEngineIntegrationModeValue() { + @java.lang.Override + public int getAppEngineIntegrationModeValue() { return appEngineIntegrationMode_; } /** + * + * *
      * The App Engine integration mode to use for this database.
      * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @param value The enum numeric value on the wire for appEngineIntegrationMode to set. * @return This builder for chaining. */ @@ -1665,28 +1889,44 @@ public Builder setAppEngineIntegrationModeValue(int value) { return this; } /** + * + * *
      * The App Engine integration mode to use for this database.
      * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @return The appEngineIntegrationMode. */ @java.lang.Override - public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode getAppEngineIntegrationMode() { - com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.forNumber(appEngineIntegrationMode_); - return result == null ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED : result; + public com.google.firestore.admin.v1.Database.AppEngineIntegrationMode + getAppEngineIntegrationMode() { + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode result = + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.forNumber( + appEngineIntegrationMode_); + return result == null + ? com.google.firestore.admin.v1.Database.AppEngineIntegrationMode.UNRECOGNIZED + : result; } /** + * + * *
      * The App Engine integration mode to use for this database.
      * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @param value The appEngineIntegrationMode to set. * @return This builder for chaining. */ - public Builder setAppEngineIntegrationMode(com.google.firestore.admin.v1.Database.AppEngineIntegrationMode value) { + public Builder setAppEngineIntegrationMode( + com.google.firestore.admin.v1.Database.AppEngineIntegrationMode value) { if (value == null) { throw new NullPointerException(); } @@ -1696,11 +1936,16 @@ public Builder setAppEngineIntegrationMode(com.google.firestore.admin.v1.Databas return this; } /** + * + * *
      * The App Engine integration mode to use for this database.
      * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @return This builder for chaining. */ public Builder clearAppEngineIntegrationMode() { @@ -1712,6 +1957,8 @@ public Builder clearAppEngineIntegrationMode() { private java.lang.Object keyPrefix_ = ""; /** + * + * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -1722,13 +1969,13 @@ public Builder clearAppEngineIntegrationMode() {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The keyPrefix. */ public java.lang.String getKeyPrefix() { java.lang.Object ref = keyPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyPrefix_ = s; return s; @@ -1737,6 +1984,8 @@ public java.lang.String getKeyPrefix() { } } /** + * + * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -1747,15 +1996,14 @@ public java.lang.String getKeyPrefix() {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for keyPrefix. */ - public com.google.protobuf.ByteString - getKeyPrefixBytes() { + public com.google.protobuf.ByteString getKeyPrefixBytes() { java.lang.Object ref = keyPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); keyPrefix_ = b; return b; } else { @@ -1763,6 +2011,8 @@ public java.lang.String getKeyPrefix() { } } /** + * + * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -1773,18 +2023,22 @@ public java.lang.String getKeyPrefix() {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The keyPrefix to set. * @return This builder for chaining. */ - public Builder setKeyPrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKeyPrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } keyPrefix_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -1795,6 +2049,7 @@ public Builder setKeyPrefix(
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearKeyPrefix() { @@ -1804,6 +2059,8 @@ public Builder clearKeyPrefix() { return this; } /** + * + * *
      * Output only. The key_prefix for this database. This key_prefix is used, in combination
      * with the project id ("<key prefix>~<project id>") to construct the
@@ -1814,12 +2071,14 @@ public Builder clearKeyPrefix() {
      * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for keyPrefix to set. * @return This builder for chaining. */ - public Builder setKeyPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKeyPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); keyPrefix_ = value; bitField0_ |= 0x00000020; @@ -1829,6 +2088,8 @@ public Builder setKeyPrefixBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -1836,13 +2097,13 @@ public Builder setKeyPrefixBytes(
      * 
* * string etag = 99; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -1851,6 +2112,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -1858,15 +2121,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 99; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -1874,6 +2136,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -1881,18 +2145,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 99; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -1900,6 +2168,7 @@ public Builder setEtag(
      * 
* * string etag = 99; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1909,6 +2178,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * This checksum is computed by the server based on the value of other
      * fields, and may be sent on update and delete requests to ensure the
@@ -1916,21 +2187,23 @@ public Builder clearEtag() {
      * 
* * string etag = 99; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1940,12 +2213,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Database) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Database) private static final com.google.firestore.admin.v1.Database DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Database(); } @@ -1954,27 +2227,27 @@ public static com.google.firestore.admin.v1.Database getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Database parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Database parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1989,6 +2262,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Database getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java index a564e80d6..c47da06ff 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java @@ -1,57 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/database.proto package com.google.firestore.admin.v1; -public interface DatabaseOrBuilder extends +public interface DatabaseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Database) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the Database.
    * Format: `projects/{project}/databases/{database}`
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; + * * @return The locationId. */ java.lang.String getLocationId(); /** + * + * *
    * The location of the database. Available databases are listed at
    * https://cloud.google.com/firestore/docs/locations.
    * 
* * string location_id = 9; + * * @return The bytes for locationId. */ - com.google.protobuf.ByteString - getLocationIdBytes(); + com.google.protobuf.ByteString getLocationIdBytes(); /** + * + * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -59,10 +87,13 @@ public interface DatabaseOrBuilder extends
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The type of the database.
    * See https://cloud.google.com/datastore/docs/firestore-or-datastore for
@@ -70,49 +101,68 @@ public interface DatabaseOrBuilder extends
    * 
* * .google.firestore.admin.v1.Database.DatabaseType type = 10; + * * @return The type. */ com.google.firestore.admin.v1.Database.DatabaseType getType(); /** + * + * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @return The enum numeric value on the wire for concurrencyMode. */ int getConcurrencyModeValue(); /** + * + * *
    * The concurrency control mode to use for this database.
    * 
* * .google.firestore.admin.v1.Database.ConcurrencyMode concurrency_mode = 15; + * * @return The concurrencyMode. */ com.google.firestore.admin.v1.Database.ConcurrencyMode getConcurrencyMode(); /** + * + * *
    * The App Engine integration mode to use for this database.
    * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @return The enum numeric value on the wire for appEngineIntegrationMode. */ int getAppEngineIntegrationModeValue(); /** + * + * *
    * The App Engine integration mode to use for this database.
    * 
* - * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * .google.firestore.admin.v1.Database.AppEngineIntegrationMode app_engine_integration_mode = 19; + * + * * @return The appEngineIntegrationMode. */ com.google.firestore.admin.v1.Database.AppEngineIntegrationMode getAppEngineIntegrationMode(); /** + * + * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -123,10 +173,13 @@ public interface DatabaseOrBuilder extends
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The keyPrefix. */ java.lang.String getKeyPrefix(); /** + * + * *
    * Output only. The key_prefix for this database. This key_prefix is used, in combination
    * with the project id ("<key prefix>~<project id>") to construct the
@@ -137,12 +190,14 @@ public interface DatabaseOrBuilder extends
    * 
* * string key_prefix = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for keyPrefix. */ - com.google.protobuf.ByteString - getKeyPrefixBytes(); + com.google.protobuf.ByteString getKeyPrefixBytes(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -150,10 +205,13 @@ public interface DatabaseOrBuilder extends
    * 
* * string etag = 99; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * This checksum is computed by the server based on the value of other
    * fields, and may be sent on update and delete requests to ensure the
@@ -161,8 +219,8 @@ public interface DatabaseOrBuilder extends
    * 
* * string etag = 99; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java new file mode 100644 index 000000000..31611a689 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/database.proto + +package com.google.firestore.admin.v1; + +public final class DatabaseProto { + private DatabaseProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Database_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Database_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/firestore/admin/v1/database.pro" + + "to\022\031google.firestore.admin.v1\032\037google/ap" + + "i/field_behavior.proto\032\031google/api/resou" + + "rce.proto\"\320\005\n\010Database\022\014\n\004name\030\001 \001(\t\022\023\n\013" + + "location_id\030\t \001(\t\022>\n\004type\030\n \001(\01620.google" + + ".firestore.admin.v1.Database.DatabaseTyp" + + "e\022M\n\020concurrency_mode\030\017 \001(\01623.google.fir" + + "estore.admin.v1.Database.ConcurrencyMode" + + "\022a\n\033app_engine_integration_mode\030\023 \001(\0162<." + + "google.firestore.admin.v1.Database.AppEn" + + "gineIntegrationMode\022\027\n\nkey_prefix\030\024 \001(\tB" + + "\003\340A\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031DA" + + "TABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_N" + + "ATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurren" + + "cyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020\000" + + "\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OPT" + + "IMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngin" + + "eIntegrationMode\022+\n\'APP_ENGINE_INTEGRATI" + + "ON_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DI" + + "SABLED\020\002:R\352AO\n!firestore.googleapis.com/" + + "Database\022\'projects/{project}/databases/{" + + "database}R\001\001B\334\001\n\035com.google.firestore.ad" + + "min.v1B\rDatabaseProtoP\001Z9cloud.google.co" + + "m/go/firestore/apiv1/admin/adminpb;admin" + + "pb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Admin" + + ".V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002#" + + "Google::Cloud::Firestore::Admin::V1b\006pro" + + "to3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_firestore_admin_v1_Database_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_Database_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Database_descriptor, + new java.lang.String[] { + "Name", + "LocationId", + "Type", + "ConcurrencyMode", + "AppEngineIntegrationMode", + "KeyPrefix", + "Etag", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java index e25c37d98..e34a62929 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
  * 
* * Protobuf type {@code google.firestore.admin.v1.DeleteIndexRequest} */ -public final class DeleteIndexRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteIndexRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.DeleteIndexRequest) DeleteIndexRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteIndexRequest.newBuilder() to construct. private DeleteIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteIndexRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.DeleteIndexRequest.class, com.google.firestore.admin.v1.DeleteIndexRequest.Builder.class); + com.google.firestore.admin.v1.DeleteIndexRequest.class, + com.google.firestore.admin.v1.DeleteIndexRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.DeleteIndexRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.DeleteIndexRequest other = (com.google.firestore.admin.v1.DeleteIndexRequest) obj; + com.google.firestore.admin.v1.DeleteIndexRequest other = + (com.google.firestore.admin.v1.DeleteIndexRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.DeleteIndexRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.DeleteIndexRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.DeleteIndexRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.DeleteIndexRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.DeleteIndexRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
    * 
* * Protobuf type {@code google.firestore.admin.v1.DeleteIndexRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.DeleteIndexRequest) com.google.firestore.admin.v1.DeleteIndexRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.DeleteIndexRequest.class, com.google.firestore.admin.v1.DeleteIndexRequest.Builder.class); + com.google.firestore.admin.v1.DeleteIndexRequest.class, + com.google.firestore.admin.v1.DeleteIndexRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.DeleteIndexRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; } @java.lang.Override @@ -315,8 +348,11 @@ public com.google.firestore.admin.v1.DeleteIndexRequest build() { @java.lang.Override public com.google.firestore.admin.v1.DeleteIndexRequest buildPartial() { - com.google.firestore.admin.v1.DeleteIndexRequest result = new com.google.firestore.admin.v1.DeleteIndexRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.DeleteIndexRequest result = + new com.google.firestore.admin.v1.DeleteIndexRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +368,39 @@ private void buildPartial0(com.google.firestore.admin.v1.DeleteIndexRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.DeleteIndexRequest) { - return mergeFrom((com.google.firestore.admin.v1.DeleteIndexRequest)other); + return mergeFrom((com.google.firestore.admin.v1.DeleteIndexRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.DeleteIndexRequest other) { - if (other == com.google.firestore.admin.v1.DeleteIndexRequest.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.DeleteIndexRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,23 +463,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +493,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +518,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +562,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.DeleteIndexRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.DeleteIndexRequest) private static final com.google.firestore.admin.v1.DeleteIndexRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.DeleteIndexRequest(); } @@ -547,27 +612,27 @@ public static com.google.firestore.admin.v1.DeleteIndexRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteIndexRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteIndexRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.DeleteIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java new file mode 100644 index 000000000..360e0535c --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface DeleteIndexRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.DeleteIndexRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java index 549da58da..5ff8a3111 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** + * + * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsMetadata}
  */
-public final class ExportDocumentsMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportDocumentsMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsMetadata)
     ExportDocumentsMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportDocumentsMetadata.newBuilder() to construct.
   private ExportDocumentsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExportDocumentsMetadata() {
     operationState_ = 0;
     collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -28,37 +46,41 @@ private ExportDocumentsMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportDocumentsMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.ExportDocumentsMetadata.class, com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
+            com.google.firestore.admin.v1.ExportDocumentsMetadata.class,
+            com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
+   *
+   *
    * 
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -66,11 +88,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -78,6 +103,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -92,12 +119,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -105,12 +135,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -118,6 +151,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -133,37 +168,49 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int OPERATION_STATE_FIELD_NUMBER = 3;
   private int operationState_ = 0;
   /**
+   *
+   *
    * 
    * The state of the export operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The enum numeric value on the wire for operationState. */ - @java.lang.Override public int getOperationStateValue() { + @java.lang.Override + public int getOperationStateValue() { return operationState_; } /** + * + * *
    * The state of the export operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The operationState. */ - @java.lang.Override public com.google.firestore.admin.v1.OperationState getOperationState() { - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(operationState_); + @java.lang.Override + public com.google.firestore.admin.v1.OperationState getOperationState() { + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.forNumber(operationState_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } public static final int PROGRESS_DOCUMENTS_FIELD_NUMBER = 4; private com.google.firestore.admin.v1.Progress progressDocuments_; /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return Whether the progressDocuments field is set. */ @java.lang.Override @@ -171,18 +218,25 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } /** + * + * *
    * The progress, in documents, of this operation.
    * 
@@ -191,17 +245,22 @@ public com.google.firestore.admin.v1.Progress getProgressDocuments() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder() { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 5; private com.google.firestore.admin.v1.Progress progressBytes_; /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -209,18 +268,25 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } /** + * + * *
    * The progress, in bytes, of this operation.
    * 
@@ -229,41 +295,52 @@ public com.google.firestore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } public static final int COLLECTION_IDS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList collectionIds_; /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_; } /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -271,28 +348,34 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } public static final int OUTPUT_URI_PREFIX_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object outputUriPrefix_ = ""; /** + * + * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; + * * @return The outputUriPrefix. */ @java.lang.Override @@ -301,29 +384,29 @@ public java.lang.String getOutputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; } } /** + * + * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; + * * @return The bytes for outputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -332,6 +415,7 @@ public java.lang.String getOutputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -343,15 +427,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } if (endTime_ != null) { output.writeMessage(2, getEndTime()); } - if (operationState_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + if (operationState_ + != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, operationState_); } if (progressDocuments_ != null) { @@ -376,24 +460,20 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } - if (operationState_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, operationState_); + if (operationState_ + != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationState_); } if (progressDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getProgressDocuments()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgressDocuments()); } if (progressBytes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProgressBytes()); } { int dataSize = 0; @@ -414,38 +494,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ExportDocumentsMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.ExportDocumentsMetadata other = (com.google.firestore.admin.v1.ExportDocumentsMetadata) obj; + com.google.firestore.admin.v1.ExportDocumentsMetadata other = + (com.google.firestore.admin.v1.ExportDocumentsMetadata) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (operationState_ != other.operationState_) return false; if (hasProgressDocuments() != other.hasProgressDocuments()) return false; if (hasProgressDocuments()) { - if (!getProgressDocuments() - .equals(other.getProgressDocuments())) return false; + if (!getProgressDocuments().equals(other.getProgressDocuments())) return false; } if (hasProgressBytes() != other.hasProgressBytes()) return false; if (hasProgressBytes()) { - if (!getProgressBytes() - .equals(other.getProgressBytes())) return false; + if (!getProgressBytes().equals(other.getProgressBytes())) return false; } - if (!getCollectionIdsList() - .equals(other.getCollectionIdsList())) return false; - if (!getOutputUriPrefix() - .equals(other.getOutputUriPrefix())) return false; + if (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; + if (!getOutputUriPrefix().equals(other.getOutputUriPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -487,96 +562,104 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ExportDocumentsMetadata prototype) { + + public static Builder newBuilder( + com.google.firestore.admin.v1.ExportDocumentsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
    * [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
@@ -584,33 +667,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ExportDocumentsMetadata)
       com.google.firestore.admin.v1.ExportDocumentsMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.ExportDocumentsMetadata.class, com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
+              com.google.firestore.admin.v1.ExportDocumentsMetadata.class,
+              com.google.firestore.admin.v1.ExportDocumentsMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.ExportDocumentsMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -643,9 +725,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -664,14 +746,18 @@ public com.google.firestore.admin.v1.ExportDocumentsMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.ExportDocumentsMetadata buildPartial() {
-      com.google.firestore.admin.v1.ExportDocumentsMetadata result = new com.google.firestore.admin.v1.ExportDocumentsMetadata(this);
+      com.google.firestore.admin.v1.ExportDocumentsMetadata result =
+          new com.google.firestore.admin.v1.ExportDocumentsMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ExportDocumentsMetadata result) {
+    private void buildPartialRepeatedFields(
+        com.google.firestore.admin.v1.ExportDocumentsMetadata result) {
       if (((bitField0_ & 0x00000020) != 0)) {
         collectionIds_ = collectionIds_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000020);
@@ -682,27 +768,23 @@ private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ExportDocu
     private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.operationState_ = operationState_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.progressDocuments_ = progressDocumentsBuilder_ == null
-            ? progressDocuments_
-            : progressDocumentsBuilder_.build();
+        result.progressDocuments_ =
+            progressDocumentsBuilder_ == null
+                ? progressDocuments_
+                : progressDocumentsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.progressBytes_ = progressBytesBuilder_ == null
-            ? progressBytes_
-            : progressBytesBuilder_.build();
+        result.progressBytes_ =
+            progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.outputUriPrefix_ = outputUriPrefix_;
@@ -713,38 +795,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsMetadata
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.ExportDocumentsMetadata) {
-        return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsMetadata)other);
+        return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -752,7 +835,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsMetadata other) {
-      if (other == com.google.firestore.admin.v1.ExportDocumentsMetadata.getDefaultInstance()) return this;
+      if (other == com.google.firestore.admin.v1.ExportDocumentsMetadata.getDefaultInstance())
+        return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -809,56 +893,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              operationState_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getProgressDocumentsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getProgressBytesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureCollectionIdsIsMutable();
-              collectionIds_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              outputUriPrefix_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                operationState_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(
+                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureCollectionIdsIsMutable();
+                collectionIds_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                outputUriPrefix_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -868,28 +953,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        startTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -900,6 +995,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -920,14 +1017,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -938,6 +1036,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -946,9 +1046,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -961,6 +1061,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -978,6 +1080,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -990,6 +1094,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -1000,11 +1106,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * The time this operation started.
      * 
@@ -1012,14 +1119,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1027,26 +1137,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1057,6 +1176,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1078,6 +1199,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1085,8 +1208,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -1097,6 +1219,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1106,9 +1230,9 @@ public Builder setEndTime(
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          endTime_ != null &&
-          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && endTime_ != null
+            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -1121,6 +1245,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1139,6 +1265,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1152,6 +1280,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1163,11 +1293,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1176,14 +1307,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1191,22 +1325,29 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private int operationState_ = 0;
     /**
+     *
+     *
      * 
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The enum numeric value on the wire for operationState. */ - @java.lang.Override public int getOperationStateValue() { + @java.lang.Override + public int getOperationStateValue() { return operationState_; } /** + * + * *
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @param value The enum numeric value on the wire for operationState to set. * @return This builder for chaining. */ @@ -1217,24 +1358,31 @@ public Builder setOperationStateValue(int value) { return this; } /** + * + * *
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The operationState. */ @java.lang.Override public com.google.firestore.admin.v1.OperationState getOperationState() { - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(operationState_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.forNumber(operationState_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } /** + * + * *
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @param value The operationState to set. * @return This builder for chaining. */ @@ -1248,11 +1396,14 @@ public Builder setOperationState(com.google.firestore.admin.v1.OperationState va return this; } /** + * + * *
      * The state of the export operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return This builder for chaining. */ public Builder clearOperationState() { @@ -1264,34 +1415,47 @@ public Builder clearOperationState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> + progressDocumentsBuilder_; /** + * + * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return The progressDocuments. */ public com.google.firestore.admin.v1.Progress getProgressDocuments() { if (progressDocumentsBuilder_ == null) { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } else { return progressDocumentsBuilder_.getMessage(); } } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1312,6 +1476,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1330,6 +1496,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1338,9 +1506,9 @@ public Builder setProgressDocuments( */ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress value) { if (progressDocumentsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - progressDocuments_ != null && - progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && progressDocuments_ != null + && progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressDocumentsBuilder().mergeFrom(value); } else { progressDocuments_ = value; @@ -1353,6 +1521,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1370,6 +1540,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1382,6 +1554,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1392,11 +1566,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null ? - com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1404,14 +1581,17 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), - getParentForChildren(), - isClean()); + progressDocumentsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), getParentForChildren(), isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -1419,34 +1599,47 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> + progressBytesBuilder_; /** + * + * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return The progressBytes. */ public com.google.firestore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1467,6 +1660,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1485,6 +1680,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1493,9 +1690,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - progressBytes_ != null && - progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && progressBytes_ != null + && progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -1508,6 +1705,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1525,6 +1724,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1537,6 +1738,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1547,11 +1750,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null ? - com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1559,55 +1765,68 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), - getParentForChildren(), - isClean()); + progressBytesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), getParentForChildren(), isClean()); progressBytes_ = null; } return progressBytesBuilder_; } - private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList collectionIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -1615,76 +1834,90 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCollectionIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds( - java.lang.Iterable values) { + public Builder addAllCollectionIds(java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -1694,17 +1927,21 @@ public Builder clearCollectionIds() { return this; } /** + * + * *
      * Which collection ids are being exported.
      * 
* * repeated string collection_ids = 6; + * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); @@ -1714,18 +1951,20 @@ public Builder addCollectionIdsBytes( private java.lang.Object outputUriPrefix_ = ""; /** + * + * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; + * * @return The outputUriPrefix. */ public java.lang.String getOutputUriPrefix() { java.lang.Object ref = outputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; @@ -1734,20 +1973,21 @@ public java.lang.String getOutputUriPrefix() { } } /** + * + * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; + * * @return The bytes for outputUriPrefix. */ - public com.google.protobuf.ByteString - getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -1755,28 +1995,35 @@ public java.lang.String getOutputUriPrefix() { } } /** + * + * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; + * * @param value The outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUriPrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } outputUriPrefix_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; + * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { @@ -1786,26 +2033,30 @@ public Builder clearOutputUriPrefix() { return this; } /** + * + * *
      * Where the entities are being exported to.
      * 
* * string output_uri_prefix = 7; + * * @param value The bytes for outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); outputUriPrefix_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1815,12 +2066,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ExportDocumentsMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ExportDocumentsMetadata) private static final com.google.firestore.admin.v1.ExportDocumentsMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ExportDocumentsMetadata(); } @@ -1829,27 +2080,27 @@ public static com.google.firestore.admin.v1.ExportDocumentsMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportDocumentsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportDocumentsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1864,6 +2115,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ExportDocumentsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java index 86ee7df28..6668efc0d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface ExportDocumentsMetadataOrBuilder extends +public interface ExportDocumentsMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ExportDocumentsMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time this operation started.
    * 
@@ -35,26 +59,34 @@ public interface ExportDocumentsMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -65,43 +97,57 @@ public interface ExportDocumentsMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The state of the export operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The enum numeric value on the wire for operationState. */ int getOperationStateValue(); /** + * + * *
    * The state of the export operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The operationState. */ com.google.firestore.admin.v1.OperationState getOperationState(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
@@ -111,24 +157,32 @@ public interface ExportDocumentsMetadataOrBuilder extends com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
@@ -138,63 +192,78 @@ public interface ExportDocumentsMetadataOrBuilder extends com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @return A list containing the collectionIds. */ - java.util.List - getCollectionIdsList(); + java.util.List getCollectionIdsList(); /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** + * + * *
    * Which collection ids are being exported.
    * 
* * repeated string collection_ids = 6; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString - getCollectionIdsBytes(int index); + com.google.protobuf.ByteString getCollectionIdsBytes(int index); /** + * + * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; + * * @return The outputUriPrefix. */ java.lang.String getOutputUriPrefix(); /** + * + * *
    * Where the entities are being exported to.
    * 
* * string output_uri_prefix = 7; + * * @return The bytes for outputUriPrefix. */ - com.google.protobuf.ByteString - getOutputUriPrefixBytes(); + com.google.protobuf.ByteString getOutputUriPrefixBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java index d1e0ed437..52d0ea19a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsRequest} */ -public final class ExportDocumentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsRequest) ExportDocumentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportDocumentsRequest.newBuilder() to construct. private ExportDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportDocumentsRequest() { name_ = ""; collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -27,39 +45,46 @@ private ExportDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsRequest.class, com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsRequest.class, + com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Database to export. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,30 +93,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Database to export. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,37 +127,46 @@ public java.lang.String getName() { } public static final int COLLECTION_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList collectionIds_; /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_; } /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -138,23 +174,28 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } public static final int OUTPUT_URI_PREFIX_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object outputUriPrefix_ = ""; /** + * + * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -167,6 +208,7 @@ public java.lang.String getCollectionIds(int index) {
    * 
* * string output_uri_prefix = 3; + * * @return The outputUriPrefix. */ @java.lang.Override @@ -175,14 +217,15 @@ public java.lang.String getOutputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; } } /** + * + * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -195,16 +238,15 @@ public java.lang.String getOutputUriPrefix() {
    * 
* * string output_uri_prefix = 3; + * * @return The bytes for outputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -213,6 +255,7 @@ public java.lang.String getOutputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -266,19 +308,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ExportDocumentsRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.ExportDocumentsRequest other = (com.google.firestore.admin.v1.ExportDocumentsRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getCollectionIdsList() - .equals(other.getCollectionIdsList())) return false; - if (!getOutputUriPrefix() - .equals(other.getOutputUriPrefix())) return false; + com.google.firestore.admin.v1.ExportDocumentsRequest other = + (com.google.firestore.admin.v1.ExportDocumentsRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; + if (!getOutputUriPrefix().equals(other.getOutputUriPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,129 +344,135 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ExportDocumentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ExportDocumentsRequest) com.google.firestore.admin.v1.ExportDocumentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsRequest.class, com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsRequest.class, + com.google.firestore.admin.v1.ExportDocumentsRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ExportDocumentsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; } @java.lang.Override @@ -460,14 +506,18 @@ public com.google.firestore.admin.v1.ExportDocumentsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ExportDocumentsRequest buildPartial() { - com.google.firestore.admin.v1.ExportDocumentsRequest result = new com.google.firestore.admin.v1.ExportDocumentsRequest(this); + com.google.firestore.admin.v1.ExportDocumentsRequest result = + new com.google.firestore.admin.v1.ExportDocumentsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ExportDocumentsRequest result) { + private void buildPartialRepeatedFields( + com.google.firestore.admin.v1.ExportDocumentsRequest result) { if (((bitField0_ & 0x00000002) != 0)) { collectionIds_ = collectionIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); @@ -489,38 +539,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ExportDocumentsRequest) { - return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsRequest)other); + return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsRequest) other); } else { super.mergeFrom(other); return this; @@ -528,7 +579,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsRequest other) { - if (other == com.google.firestore.admin.v1.ExportDocumentsRequest.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.ExportDocumentsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -575,28 +627,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCollectionIdsIsMutable(); - collectionIds_.add(s); - break; - } // case 18 - case 26: { - outputUriPrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCollectionIdsIsMutable(); + collectionIds_.add(s); + break; + } // case 18 + case 26: + { + outputUriPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -606,23 +662,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -631,21 +692,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -653,30 +717,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -686,18 +761,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Database to export. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -705,42 +786,52 @@ public Builder setNameBytes( return this; } - private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList collectionIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -748,76 +839,90 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCollectionIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds( - java.lang.Iterable values) { + public Builder addAllCollectionIds(java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -827,17 +932,21 @@ public Builder clearCollectionIds() { return this; } /** + * + * *
      * Which collection ids to export. Unspecified means all collections.
      * 
* * repeated string collection_ids = 2; + * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); @@ -847,6 +956,8 @@ public Builder addCollectionIdsBytes( private java.lang.Object outputUriPrefix_ = ""; /** + * + * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -859,13 +970,13 @@ public Builder addCollectionIdsBytes(
      * 
* * string output_uri_prefix = 3; + * * @return The outputUriPrefix. */ public java.lang.String getOutputUriPrefix() { java.lang.Object ref = outputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; @@ -874,6 +985,8 @@ public java.lang.String getOutputUriPrefix() { } } /** + * + * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -886,15 +999,14 @@ public java.lang.String getOutputUriPrefix() {
      * 
* * string output_uri_prefix = 3; + * * @return The bytes for outputUriPrefix. */ - public com.google.protobuf.ByteString - getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -902,6 +1014,8 @@ public java.lang.String getOutputUriPrefix() { } } /** + * + * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -914,18 +1028,22 @@ public java.lang.String getOutputUriPrefix() {
      * 
* * string output_uri_prefix = 3; + * * @param value The outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUriPrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } outputUriPrefix_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -938,6 +1056,7 @@ public Builder setOutputUriPrefix(
      * 
* * string output_uri_prefix = 3; + * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { @@ -947,6 +1066,8 @@ public Builder clearOutputUriPrefix() { return this; } /** + * + * *
      * The output URI. Currently only supports Google Cloud Storage URIs of the
      * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -959,21 +1080,23 @@ public Builder clearOutputUriPrefix() {
      * 
* * string output_uri_prefix = 3; + * * @param value The bytes for outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); outputUriPrefix_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -983,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ExportDocumentsRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ExportDocumentsRequest) private static final com.google.firestore.admin.v1.ExportDocumentsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ExportDocumentsRequest(); } @@ -997,27 +1120,27 @@ public static com.google.firestore.admin.v1.ExportDocumentsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportDocumentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportDocumentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1032,6 +1155,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ExportDocumentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java index c26d90150..bafc4a089 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsRequestOrBuilder.java @@ -1,76 +1,113 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ExportDocumentsRequestOrBuilder extends +public interface ExportDocumentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ExportDocumentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Database to export. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Database to export. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @return A list containing the collectionIds. */ - java.util.List - getCollectionIdsList(); + java.util.List getCollectionIdsList(); /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** + * + * *
    * Which collection ids to export. Unspecified means all collections.
    * 
* * repeated string collection_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString - getCollectionIdsBytes(int index); + com.google.protobuf.ByteString getCollectionIdsBytes(int index); /** + * + * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -83,10 +120,13 @@ public interface ExportDocumentsRequestOrBuilder extends
    * 
* * string output_uri_prefix = 3; + * * @return The outputUriPrefix. */ java.lang.String getOutputUriPrefix(); /** + * + * *
    * The output URI. Currently only supports Google Cloud Storage URIs of the
    * form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
@@ -99,8 +139,8 @@ public interface ExportDocumentsRequestOrBuilder extends
    * 
* * string output_uri_prefix = 3; + * * @return The bytes for outputUriPrefix. */ - com.google.protobuf.ByteString - getOutputUriPrefixBytes(); + com.google.protobuf.ByteString getOutputUriPrefixBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java index a092853cf..2a17e0d00 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponse.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** + * + * *
  * Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsResponse} */ -public final class ExportDocumentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportDocumentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ExportDocumentsResponse) ExportDocumentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportDocumentsResponse.newBuilder() to construct. private ExportDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportDocumentsResponse() { outputUriPrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportDocumentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsResponse.class, com.google.firestore.admin.v1.ExportDocumentsResponse.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsResponse.class, + com.google.firestore.admin.v1.ExportDocumentsResponse.Builder.class); } public static final int OUTPUT_URI_PREFIX_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object outputUriPrefix_ = ""; /** + * + * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string output_uri_prefix = 1; + * * @return The outputUriPrefix. */ @java.lang.Override @@ -67,14 +90,15 @@ public java.lang.String getOutputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; } } /** + * + * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -82,16 +106,15 @@ public java.lang.String getOutputUriPrefix() {
    * 
* * string output_uri_prefix = 1; + * * @return The bytes for outputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -100,6 +123,7 @@ public java.lang.String getOutputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUriPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputUriPrefix_); } @@ -136,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ExportDocumentsResponse)) { return super.equals(obj); } - com.google.firestore.admin.v1.ExportDocumentsResponse other = (com.google.firestore.admin.v1.ExportDocumentsResponse) obj; + com.google.firestore.admin.v1.ExportDocumentsResponse other = + (com.google.firestore.admin.v1.ExportDocumentsResponse) obj; - if (!getOutputUriPrefix() - .equals(other.getOutputUriPrefix())) return false; + if (!getOutputUriPrefix().equals(other.getOutputUriPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,129 +187,136 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ExportDocumentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ExportDocumentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ExportDocumentsResponse prototype) { + + public static Builder newBuilder( + com.google.firestore.admin.v1.ExportDocumentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
    * 
* * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ExportDocumentsResponse) com.google.firestore.admin.v1.ExportDocumentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ExportDocumentsResponse.class, com.google.firestore.admin.v1.ExportDocumentsResponse.Builder.class); + com.google.firestore.admin.v1.ExportDocumentsResponse.class, + com.google.firestore.admin.v1.ExportDocumentsResponse.Builder.class); } // Construct using com.google.firestore.admin.v1.ExportDocumentsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; } @java.lang.Override @@ -317,8 +347,11 @@ public com.google.firestore.admin.v1.ExportDocumentsResponse build() { @java.lang.Override public com.google.firestore.admin.v1.ExportDocumentsResponse buildPartial() { - com.google.firestore.admin.v1.ExportDocumentsResponse result = new com.google.firestore.admin.v1.ExportDocumentsResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.ExportDocumentsResponse result = + new com.google.firestore.admin.v1.ExportDocumentsResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,38 +367,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ExportDocumentsResponse) { - return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsResponse)other); + return mergeFrom((com.google.firestore.admin.v1.ExportDocumentsResponse) other); } else { super.mergeFrom(other); return this; @@ -373,7 +407,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsResponse other) { - if (other == com.google.firestore.admin.v1.ExportDocumentsResponse.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.ExportDocumentsResponse.getDefaultInstance()) + return this; if (!other.getOutputUriPrefix().isEmpty()) { outputUriPrefix_ = other.outputUriPrefix_; bitField0_ |= 0x00000001; @@ -405,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - outputUriPrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + outputUriPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,10 +462,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object outputUriPrefix_ = ""; /** + * + * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -436,13 +476,13 @@ public Builder mergeFrom(
      * 
* * string output_uri_prefix = 1; + * * @return The outputUriPrefix. */ public java.lang.String getOutputUriPrefix() { java.lang.Object ref = outputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUriPrefix_ = s; return s; @@ -451,6 +491,8 @@ public java.lang.String getOutputUriPrefix() { } } /** + * + * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -458,15 +500,14 @@ public java.lang.String getOutputUriPrefix() {
      * 
* * string output_uri_prefix = 1; + * * @return The bytes for outputUriPrefix. */ - public com.google.protobuf.ByteString - getOutputUriPrefixBytes() { + public com.google.protobuf.ByteString getOutputUriPrefixBytes() { java.lang.Object ref = outputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUriPrefix_ = b; return b; } else { @@ -474,6 +515,8 @@ public java.lang.String getOutputUriPrefix() { } } /** + * + * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -481,18 +524,22 @@ public java.lang.String getOutputUriPrefix() {
      * 
* * string output_uri_prefix = 1; + * * @param value The outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUriPrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } outputUriPrefix_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -500,6 +547,7 @@ public Builder setOutputUriPrefix(
      * 
* * string output_uri_prefix = 1; + * * @return This builder for chaining. */ public Builder clearOutputUriPrefix() { @@ -509,6 +557,8 @@ public Builder clearOutputUriPrefix() { return this; } /** + * + * *
      * Location of the output files. This can be used to begin an import
      * into Cloud Firestore (this project or another project) after the operation
@@ -516,21 +566,23 @@ public Builder clearOutputUriPrefix() {
      * 
* * string output_uri_prefix = 1; + * * @param value The bytes for outputUriPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUriPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); outputUriPrefix_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -540,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ExportDocumentsResponse) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ExportDocumentsResponse) private static final com.google.firestore.admin.v1.ExportDocumentsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ExportDocumentsResponse(); } @@ -554,27 +606,27 @@ public static com.google.firestore.admin.v1.ExportDocumentsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportDocumentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportDocumentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -589,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ExportDocumentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java index 86ce311b5..e4588c346 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface ExportDocumentsResponseOrBuilder extends +public interface ExportDocumentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ExportDocumentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -15,10 +33,13 @@ public interface ExportDocumentsResponseOrBuilder extends
    * 
* * string output_uri_prefix = 1; + * * @return The outputUriPrefix. */ java.lang.String getOutputUriPrefix(); /** + * + * *
    * Location of the output files. This can be used to begin an import
    * into Cloud Firestore (this project or another project) after the operation
@@ -26,8 +47,8 @@ public interface ExportDocumentsResponseOrBuilder extends
    * 
* * string output_uri_prefix = 1; + * * @return The bytes for outputUriPrefix. */ - com.google.protobuf.ByteString - getOutputUriPrefixBytes(); + com.google.protobuf.ByteString getOutputUriPrefixBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java index 2684e8483..c19498436 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Field.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/field.proto package com.google.firestore.admin.v1; /** + * + * *
  * Represents a single field in the database.
  * Fields are grouped by their "Collection Group", which represent all
@@ -12,58 +29,64 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Field}
  */
-public final class Field extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Field extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field)
     FieldOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Field.newBuilder() to construct.
   private Field(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Field() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Field();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.FieldProto
+        .internal_static_google_firestore_admin_v1_Field_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
+    return com.google.firestore.admin.v1.FieldProto
+        .internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Field.class, com.google.firestore.admin.v1.Field.Builder.class);
+            com.google.firestore.admin.v1.Field.class,
+            com.google.firestore.admin.v1.Field.Builder.class);
   }
 
-  public interface IndexConfigOrBuilder extends
+  public interface IndexConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Field.IndexConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List - getIndexesList(); + java.util.List getIndexesList(); /** + * + * *
      * The indexes supported for this field.
      * 
@@ -72,6 +95,8 @@ public interface IndexConfigOrBuilder extends */ com.google.firestore.admin.v1.Index getIndexes(int index); /** + * + * *
      * The indexes supported for this field.
      * 
@@ -80,25 +105,30 @@ public interface IndexConfigOrBuilder extends */ int getIndexesCount(); /** + * + * *
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List + java.util.List getIndexesOrBuilderList(); /** + * + * *
      * The indexes supported for this field.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( - int index); + com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index); /** + * + * *
      * Output only. When true, the `Field`'s index configuration is set from the
      * configuration specified by the `ancestor_field`.
@@ -106,11 +136,14 @@ com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * bool uses_ancestor_config = 2; + * * @return The usesAncestorConfig. */ boolean getUsesAncestorConfig(); /** + * + * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -119,10 +152,13 @@ com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * string ancestor_field = 3; + * * @return The ancestorField. */ java.lang.String getAncestorField(); /** + * + * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -131,12 +167,14 @@ com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * string ancestor_field = 3; + * * @return The bytes for ancestorField. */ - com.google.protobuf.ByteString - getAncestorFieldBytes(); + com.google.protobuf.ByteString getAncestorFieldBytes(); /** + * + * *
      * Output only
      * When true, the `Field`'s index configuration is in the process of being
@@ -146,26 +184,30 @@ com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * bool reverting = 4; + * * @return The reverting. */ boolean getReverting(); } /** + * + * *
    * The index configuration for this field.
    * 
* * Protobuf type {@code google.firestore.admin.v1.Field.IndexConfig} */ - public static final class IndexConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IndexConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field.IndexConfig) IndexConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndexConfig.newBuilder() to construct. private IndexConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IndexConfig() { indexes_ = java.util.Collections.emptyList(); ancestorField_ = ""; @@ -173,33 +215,37 @@ private IndexConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IndexConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FieldProto + .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable + return com.google.firestore.admin.v1.FieldProto + .internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.Field.IndexConfig.class, com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); + com.google.firestore.admin.v1.Field.IndexConfig.class, + com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); } public static final int INDEXES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List indexes_; /** + * + * *
      * The indexes supported for this field.
      * 
@@ -211,6 +257,8 @@ public java.util.List getIndexesList() { return indexes_; } /** + * + * *
      * The indexes supported for this field.
      * 
@@ -218,11 +266,13 @@ public java.util.List getIndexesList() { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIndexesOrBuilderList() { return indexes_; } /** + * + * *
      * The indexes supported for this field.
      * 
@@ -234,6 +284,8 @@ public int getIndexesCount() { return indexes_.size(); } /** + * + * *
      * The indexes supported for this field.
      * 
@@ -245,6 +297,8 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** + * + * *
      * The indexes supported for this field.
      * 
@@ -252,14 +306,15 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( - int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { return indexes_.get(index); } public static final int USES_ANCESTOR_CONFIG_FIELD_NUMBER = 2; private boolean usesAncestorConfig_ = false; /** + * + * *
      * Output only. When true, the `Field`'s index configuration is set from the
      * configuration specified by the `ancestor_field`.
@@ -267,6 +322,7 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(
      * 
* * bool uses_ancestor_config = 2; + * * @return The usesAncestorConfig. */ @java.lang.Override @@ -275,9 +331,12 @@ public boolean getUsesAncestorConfig() { } public static final int ANCESTOR_FIELD_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object ancestorField_ = ""; /** + * + * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -286,6 +345,7 @@ public boolean getUsesAncestorConfig() {
      * 
* * string ancestor_field = 3; + * * @return The ancestorField. */ @java.lang.Override @@ -294,14 +354,15 @@ public java.lang.String getAncestorField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ancestorField_ = s; return s; } } /** + * + * *
      * Output only. Specifies the resource name of the `Field` from which this field's
      * index configuration is set (when `uses_ancestor_config` is true),
@@ -310,16 +371,15 @@ public java.lang.String getAncestorField() {
      * 
* * string ancestor_field = 3; + * * @return The bytes for ancestorField. */ @java.lang.Override - public com.google.protobuf.ByteString - getAncestorFieldBytes() { + public com.google.protobuf.ByteString getAncestorFieldBytes() { java.lang.Object ref = ancestorField_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ancestorField_ = b; return b; } else { @@ -330,6 +390,8 @@ public java.lang.String getAncestorField() { public static final int REVERTING_FIELD_NUMBER = 4; private boolean reverting_ = false; /** + * + * *
      * Output only
      * When true, the `Field`'s index configuration is in the process of being
@@ -339,6 +401,7 @@ public java.lang.String getAncestorField() {
      * 
* * bool reverting = 4; + * * @return The reverting. */ @java.lang.Override @@ -347,6 +410,7 @@ public boolean getReverting() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,8 +422,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < indexes_.size(); i++) { output.writeMessage(1, indexes_.get(i)); } @@ -382,19 +445,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < indexes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, indexes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, indexes_.get(i)); } if (usesAncestorConfig_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, usesAncestorConfig_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, usesAncestorConfig_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ancestorField_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ancestorField_); } if (reverting_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, reverting_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, reverting_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -404,21 +464,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Field.IndexConfig)) { return super.equals(obj); } - com.google.firestore.admin.v1.Field.IndexConfig other = (com.google.firestore.admin.v1.Field.IndexConfig) obj; + com.google.firestore.admin.v1.Field.IndexConfig other = + (com.google.firestore.admin.v1.Field.IndexConfig) obj; - if (!getIndexesList() - .equals(other.getIndexesList())) return false; - if (getUsesAncestorConfig() - != other.getUsesAncestorConfig()) return false; - if (!getAncestorField() - .equals(other.getAncestorField())) return false; - if (getReverting() - != other.getReverting()) return false; + if (!getIndexesList().equals(other.getIndexesList())) return false; + if (getUsesAncestorConfig() != other.getUsesAncestorConfig()) return false; + if (!getAncestorField().equals(other.getAncestorField())) return false; + if (getReverting() != other.getReverting()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -435,100 +492,104 @@ public int hashCode() { hash = (53 * hash) + getIndexesList().hashCode(); } hash = (37 * hash) + USES_ANCESTOR_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUsesAncestorConfig()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUsesAncestorConfig()); hash = (37 * hash) + ANCESTOR_FIELD_FIELD_NUMBER; hash = (53 * hash) + getAncestorField().hashCode(); hash = (37 * hash) + REVERTING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReverting()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReverting()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Field.IndexConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.Field.IndexConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Field.IndexConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Field.IndexConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.Field.IndexConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -538,39 +599,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The index configuration for this field.
      * 
* * Protobuf type {@code google.firestore.admin.v1.Field.IndexConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Field.IndexConfig) com.google.firestore.admin.v1.Field.IndexConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FieldProto + .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable + return com.google.firestore.admin.v1.FieldProto + .internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.Field.IndexConfig.class, com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); + com.google.firestore.admin.v1.Field.IndexConfig.class, + com.google.firestore.admin.v1.Field.IndexConfig.Builder.class); } // Construct using com.google.firestore.admin.v1.Field.IndexConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -589,9 +652,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FieldProto + .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; } @java.lang.Override @@ -610,14 +673,18 @@ public com.google.firestore.admin.v1.Field.IndexConfig build() { @java.lang.Override public com.google.firestore.admin.v1.Field.IndexConfig buildPartial() { - com.google.firestore.admin.v1.Field.IndexConfig result = new com.google.firestore.admin.v1.Field.IndexConfig(this); + com.google.firestore.admin.v1.Field.IndexConfig result = + new com.google.firestore.admin.v1.Field.IndexConfig(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.firestore.admin.v1.Field.IndexConfig result) { + private void buildPartialRepeatedFields( + com.google.firestore.admin.v1.Field.IndexConfig result) { if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { indexes_ = java.util.Collections.unmodifiableList(indexes_); @@ -646,38 +713,41 @@ private void buildPartial0(com.google.firestore.admin.v1.Field.IndexConfig resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.Field.IndexConfig) { - return mergeFrom((com.google.firestore.admin.v1.Field.IndexConfig)other); + return mergeFrom((com.google.firestore.admin.v1.Field.IndexConfig) other); } else { super.mergeFrom(other); return this; @@ -685,7 +755,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.Field.IndexConfig other) { - if (other == com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()) + return this; if (indexesBuilder_ == null) { if (!other.indexes_.isEmpty()) { if (indexes_.isEmpty()) { @@ -704,9 +775,10 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Field.IndexConfig other) indexesBuilder_ = null; indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000001); - indexesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIndexesFieldBuilder() : null; + indexesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIndexesFieldBuilder() + : null; } else { indexesBuilder_.addAllMessages(other.indexes_); } @@ -749,40 +821,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.firestore.admin.v1.Index m = - input.readMessage( - com.google.firestore.admin.v1.Index.parser(), - extensionRegistry); - if (indexesBuilder_ == null) { - ensureIndexesIsMutable(); - indexes_.add(m); - } else { - indexesBuilder_.addMessage(m); - } - break; - } // case 10 - case 16: { - usesAncestorConfig_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - ancestorField_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - reverting_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.firestore.admin.v1.Index m = + input.readMessage( + com.google.firestore.admin.v1.Index.parser(), extensionRegistry); + if (indexesBuilder_ == null) { + ensureIndexesIsMutable(); + indexes_.add(m); + } else { + indexesBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: + { + usesAncestorConfig_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + ancestorField_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + reverting_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -792,21 +868,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List indexes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIndexesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { indexes_ = new java.util.ArrayList(indexes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> indexesBuilder_; + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder> + indexesBuilder_; /** + * + * *
        * The indexes supported for this field.
        * 
@@ -821,6 +904,8 @@ public java.util.List getIndexesList() { } } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -835,6 +920,8 @@ public int getIndexesCount() { } } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -849,14 +936,15 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { } } /** + * + * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder setIndexes( - int index, com.google.firestore.admin.v1.Index value) { + public Builder setIndexes(int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -870,6 +958,8 @@ public Builder setIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -888,6 +978,8 @@ public Builder setIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -908,14 +1000,15 @@ public Builder addIndexes(com.google.firestore.admin.v1.Index value) { return this; } /** + * + * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes( - int index, com.google.firestore.admin.v1.Index value) { + public Builder addIndexes(int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -929,14 +1022,15 @@ public Builder addIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes( - com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder addIndexes(com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(builderForValue.build()); @@ -947,6 +1041,8 @@ public Builder addIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -965,6 +1061,8 @@ public Builder addIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -975,8 +1073,7 @@ public Builder addAllIndexes( java.lang.Iterable values) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, indexes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexes_); onChanged(); } else { indexesBuilder_.addAllMessages(values); @@ -984,6 +1081,8 @@ public Builder addAllIndexes( return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -1001,6 +1100,8 @@ public Builder clearIndexes() { return this; } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -1018,39 +1119,44 @@ public Builder removeIndexes(int index) { return this; } /** + * + * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder( - int index) { + public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder(int index) { return getIndexesFieldBuilder().getBuilder(index); } /** + * + * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( - int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { if (indexesBuilder_ == null) { - return indexes_.get(index); } else { + return indexes_.get(index); + } else { return indexesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List - getIndexesOrBuilderList() { + public java.util.List + getIndexesOrBuilderList() { if (indexesBuilder_ != null) { return indexesBuilder_.getMessageOrBuilderList(); } else { @@ -1058,6 +1164,8 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( } } /** + * + * *
        * The indexes supported for this field.
        * 
@@ -1065,49 +1173,56 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( * repeated .google.firestore.admin.v1.Index indexes = 1; */ public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder() { - return getIndexesFieldBuilder().addBuilder( - com.google.firestore.admin.v1.Index.getDefaultInstance()); + return getIndexesFieldBuilder() + .addBuilder(com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** + * + * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder( - int index) { - return getIndexesFieldBuilder().addBuilder( - index, com.google.firestore.admin.v1.Index.getDefaultInstance()); + public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder(int index) { + return getIndexesFieldBuilder() + .addBuilder(index, com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** + * + * *
        * The indexes supported for this field.
        * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List - getIndexesBuilderList() { + public java.util.List getIndexesBuilderList() { return getIndexesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { - indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( - indexes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + indexesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder>( + indexes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); indexes_ = null; } return indexesBuilder_; } - private boolean usesAncestorConfig_ ; + private boolean usesAncestorConfig_; /** + * + * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1115,6 +1230,7 @@ public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder(
        * 
* * bool uses_ancestor_config = 2; + * * @return The usesAncestorConfig. */ @java.lang.Override @@ -1122,6 +1238,8 @@ public boolean getUsesAncestorConfig() { return usesAncestorConfig_; } /** + * + * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1129,17 +1247,20 @@ public boolean getUsesAncestorConfig() {
        * 
* * bool uses_ancestor_config = 2; + * * @param value The usesAncestorConfig to set. * @return This builder for chaining. */ public Builder setUsesAncestorConfig(boolean value) { - + usesAncestorConfig_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Output only. When true, the `Field`'s index configuration is set from the
        * configuration specified by the `ancestor_field`.
@@ -1147,6 +1268,7 @@ public Builder setUsesAncestorConfig(boolean value) {
        * 
* * bool uses_ancestor_config = 2; + * * @return This builder for chaining. */ public Builder clearUsesAncestorConfig() { @@ -1158,6 +1280,8 @@ public Builder clearUsesAncestorConfig() { private java.lang.Object ancestorField_ = ""; /** + * + * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1166,13 +1290,13 @@ public Builder clearUsesAncestorConfig() {
        * 
* * string ancestor_field = 3; + * * @return The ancestorField. */ public java.lang.String getAncestorField() { java.lang.Object ref = ancestorField_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ancestorField_ = s; return s; @@ -1181,6 +1305,8 @@ public java.lang.String getAncestorField() { } } /** + * + * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1189,15 +1315,14 @@ public java.lang.String getAncestorField() {
        * 
* * string ancestor_field = 3; + * * @return The bytes for ancestorField. */ - public com.google.protobuf.ByteString - getAncestorFieldBytes() { + public com.google.protobuf.ByteString getAncestorFieldBytes() { java.lang.Object ref = ancestorField_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ancestorField_ = b; return b; } else { @@ -1205,6 +1330,8 @@ public java.lang.String getAncestorField() { } } /** + * + * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1213,18 +1340,22 @@ public java.lang.String getAncestorField() {
        * 
* * string ancestor_field = 3; + * * @param value The ancestorField to set. * @return This builder for chaining. */ - public Builder setAncestorField( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAncestorField(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ancestorField_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1233,6 +1364,7 @@ public Builder setAncestorField(
        * 
* * string ancestor_field = 3; + * * @return This builder for chaining. */ public Builder clearAncestorField() { @@ -1242,6 +1374,8 @@ public Builder clearAncestorField() { return this; } /** + * + * *
        * Output only. Specifies the resource name of the `Field` from which this field's
        * index configuration is set (when `uses_ancestor_config` is true),
@@ -1250,12 +1384,14 @@ public Builder clearAncestorField() {
        * 
* * string ancestor_field = 3; + * * @param value The bytes for ancestorField to set. * @return This builder for chaining. */ - public Builder setAncestorFieldBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAncestorFieldBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ancestorField_ = value; bitField0_ |= 0x00000004; @@ -1263,8 +1399,10 @@ public Builder setAncestorFieldBytes( return this; } - private boolean reverting_ ; + private boolean reverting_; /** + * + * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1274,6 +1412,7 @@ public Builder setAncestorFieldBytes(
        * 
* * bool reverting = 4; + * * @return The reverting. */ @java.lang.Override @@ -1281,6 +1420,8 @@ public boolean getReverting() { return reverting_; } /** + * + * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1290,17 +1431,20 @@ public boolean getReverting() {
        * 
* * bool reverting = 4; + * * @param value The reverting to set. * @return This builder for chaining. */ public Builder setReverting(boolean value) { - + reverting_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Output only
        * When true, the `Field`'s index configuration is in the process of being
@@ -1310,6 +1454,7 @@ public Builder setReverting(boolean value) {
        * 
* * bool reverting = 4; + * * @return This builder for chaining. */ public Builder clearReverting() { @@ -1318,6 +1463,7 @@ public Builder clearReverting() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1330,12 +1476,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Field.IndexConfig) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Field.IndexConfig) private static final com.google.firestore.admin.v1.Field.IndexConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Field.IndexConfig(); } @@ -1344,27 +1490,28 @@ public static com.google.firestore.admin.v1.Field.IndexConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1379,33 +1526,45 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Field.IndexConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TtlConfigOrBuilder extends + public interface TtlConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Field.TtlConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The state of the TTL configuration.
      * 
* - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Output only. The state of the TTL configuration.
      * 
* - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.firestore.admin.v1.Field.TtlConfig.State getState(); } /** + * + * *
    * The TTL (time-to-live) configuration for documents that have this `Field`
    * set.
@@ -1416,54 +1575,59 @@ public interface TtlConfigOrBuilder extends
    *
    * Protobuf type {@code google.firestore.admin.v1.Field.TtlConfig}
    */
-  public static final class TtlConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class TtlConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Field.TtlConfig)
       TtlConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use TtlConfig.newBuilder() to construct.
     private TtlConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private TtlConfig() {
       state_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new TtlConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.FieldProto
+          .internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable
+      return com.google.firestore.admin.v1.FieldProto
+          .internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Field.TtlConfig.class, com.google.firestore.admin.v1.Field.TtlConfig.Builder.class);
+              com.google.firestore.admin.v1.Field.TtlConfig.class,
+              com.google.firestore.admin.v1.Field.TtlConfig.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The state of applying the TTL configuration to all documents.
      * 
* * Protobuf enum {@code google.firestore.admin.v1.Field.TtlConfig.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The state is unspecified or unknown.
        * 
@@ -1472,6 +1636,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * The TTL is being applied. There is an active long-running operation to
        * track the change. Newly written documents will have TTLs applied as
@@ -1484,6 +1650,8 @@ public enum State
        */
       CREATING(1),
       /**
+       *
+       *
        * 
        * The TTL is active for all documents.
        * 
@@ -1492,6 +1660,8 @@ public enum State */ ACTIVE(2), /** + * + * *
        * The TTL configuration could not be enabled for all existing documents.
        * Newly written documents will continue to have their TTL applied.
@@ -1506,6 +1676,8 @@ public enum State
       ;
 
       /**
+       *
+       *
        * 
        * The state is unspecified or unknown.
        * 
@@ -1514,6 +1686,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The TTL is being applied. There is an active long-running operation to
        * track the change. Newly written documents will have TTLs applied as
@@ -1526,6 +1700,8 @@ public enum State
        */
       public static final int CREATING_VALUE = 1;
       /**
+       *
+       *
        * 
        * The TTL is active for all documents.
        * 
@@ -1534,6 +1710,8 @@ public enum State */ public static final int ACTIVE_VALUE = 2; /** + * + * *
        * The TTL configuration could not be enabled for all existing documents.
        * Newly written documents will continue to have their TTL applied.
@@ -1545,7 +1723,6 @@ public enum State
        */
       public static final int NEEDS_REPAIR_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1570,50 +1747,51 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0: return STATE_UNSPECIFIED;
-          case 1: return CREATING;
-          case 2: return ACTIVE;
-          case 3: return NEEDS_REPAIR;
-          default: return null;
+          case 0:
+            return STATE_UNSPECIFIED;
+          case 1:
+            return CREATING;
+          case 2:
+            return ACTIVE;
+          case 3:
+            return NEEDS_REPAIR;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          State> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public State findValueByNumber(int number) {
-                return State.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
         return com.google.firestore.admin.v1.Field.TtlConfig.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -1633,30 +1811,46 @@ private State(int value) {
     public static final int STATE_FIELD_NUMBER = 1;
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of the TTL configuration.
      * 
* - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The state of the TTL configuration.
      * 
* - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.firestore.admin.v1.Field.TtlConfig.State getState() { - com.google.firestore.admin.v1.Field.TtlConfig.State result = com.google.firestore.admin.v1.Field.TtlConfig.State.forNumber(state_); - return result == null ? com.google.firestore.admin.v1.Field.TtlConfig.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.admin.v1.Field.TtlConfig.State getState() { + com.google.firestore.admin.v1.Field.TtlConfig.State result = + com.google.firestore.admin.v1.Field.TtlConfig.State.forNumber(state_); + return result == null + ? com.google.firestore.admin.v1.Field.TtlConfig.State.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1668,9 +1862,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (state_ != com.google.firestore.admin.v1.Field.TtlConfig.State.STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (state_ + != com.google.firestore.admin.v1.Field.TtlConfig.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } getUnknownFields().writeTo(output); @@ -1682,9 +1876,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ != com.google.firestore.admin.v1.Field.TtlConfig.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + if (state_ + != com.google.firestore.admin.v1.Field.TtlConfig.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1694,12 +1888,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Field.TtlConfig)) { return super.equals(obj); } - com.google.firestore.admin.v1.Field.TtlConfig other = (com.google.firestore.admin.v1.Field.TtlConfig) obj; + com.google.firestore.admin.v1.Field.TtlConfig other = + (com.google.firestore.admin.v1.Field.TtlConfig) obj; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1720,88 +1915,94 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Field.TtlConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.Field.TtlConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Field.TtlConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Field.TtlConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.Field.TtlConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1811,6 +2012,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The TTL (time-to-live) configuration for documents that have this `Field`
      * set.
@@ -1821,33 +2024,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.firestore.admin.v1.Field.TtlConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Field.TtlConfig)
         com.google.firestore.admin.v1.Field.TtlConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.firestore.admin.v1.FieldProto
+            .internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable
+        return com.google.firestore.admin.v1.FieldProto
+            .internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.firestore.admin.v1.Field.TtlConfig.class, com.google.firestore.admin.v1.Field.TtlConfig.Builder.class);
+                com.google.firestore.admin.v1.Field.TtlConfig.class,
+                com.google.firestore.admin.v1.Field.TtlConfig.Builder.class);
       }
 
       // Construct using com.google.firestore.admin.v1.Field.TtlConfig.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1857,9 +2060,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.firestore.admin.v1.FieldProto
+            .internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
       }
 
       @java.lang.Override
@@ -1878,8 +2081,11 @@ public com.google.firestore.admin.v1.Field.TtlConfig build() {
 
       @java.lang.Override
       public com.google.firestore.admin.v1.Field.TtlConfig buildPartial() {
-        com.google.firestore.admin.v1.Field.TtlConfig result = new com.google.firestore.admin.v1.Field.TtlConfig(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.firestore.admin.v1.Field.TtlConfig result =
+            new com.google.firestore.admin.v1.Field.TtlConfig(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -1895,38 +2101,41 @@ private void buildPartial0(com.google.firestore.admin.v1.Field.TtlConfig result)
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.firestore.admin.v1.Field.TtlConfig) {
-          return mergeFrom((com.google.firestore.admin.v1.Field.TtlConfig)other);
+          return mergeFrom((com.google.firestore.admin.v1.Field.TtlConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1934,7 +2143,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.firestore.admin.v1.Field.TtlConfig other) {
-        if (other == com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()) return this;
+        if (other == com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance())
+          return this;
         if (other.state_ != 0) {
           setStateValue(other.getStateValue());
         }
@@ -1964,17 +2174,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  state_ = input.readEnum();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1984,26 +2196,38 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private int state_ = 0;
       /**
+       *
+       *
        * 
        * Output only. The state of the TTL configuration.
        * 
* - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Output only. The state of the TTL configuration.
        * 
* - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2014,24 +2238,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
        * Output only. The state of the TTL configuration.
        * 
* - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.firestore.admin.v1.Field.TtlConfig.State getState() { - com.google.firestore.admin.v1.Field.TtlConfig.State result = com.google.firestore.admin.v1.Field.TtlConfig.State.forNumber(state_); - return result == null ? com.google.firestore.admin.v1.Field.TtlConfig.State.UNRECOGNIZED : result; + com.google.firestore.admin.v1.Field.TtlConfig.State result = + com.google.firestore.admin.v1.Field.TtlConfig.State.forNumber(state_); + return result == null + ? com.google.firestore.admin.v1.Field.TtlConfig.State.UNRECOGNIZED + : result; } /** + * + * *
        * Output only. The state of the TTL configuration.
        * 
* - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2045,11 +2282,16 @@ public Builder setState(com.google.firestore.admin.v1.Field.TtlConfig.State valu return this; } /** + * + * *
        * Output only. The state of the TTL configuration.
        * 
* - * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.firestore.admin.v1.Field.TtlConfig.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2058,6 +2300,7 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2070,12 +2313,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Field.TtlConfig) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Field.TtlConfig) private static final com.google.firestore.admin.v1.Field.TtlConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Field.TtlConfig(); } @@ -2084,27 +2327,28 @@ public static com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TtlConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TtlConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2119,13 +2363,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2152,6 +2398,7 @@ public com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstanceForType()
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -2160,14 +2407,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2194,16 +2442,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2214,6 +2461,8 @@ public java.lang.String getName() { public static final int INDEX_CONFIG_FIELD_NUMBER = 2; private com.google.firestore.admin.v1.Field.IndexConfig indexConfig_; /** + * + * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -2222,6 +2471,7 @@ public java.lang.String getName() {
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; + * * @return Whether the indexConfig field is set. */ @java.lang.Override @@ -2229,6 +2479,8 @@ public boolean hasIndexConfig() { return indexConfig_ != null; } /** + * + * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -2237,13 +2489,18 @@ public boolean hasIndexConfig() {
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; + * * @return The indexConfig. */ @java.lang.Override public com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig() { - return indexConfig_ == null ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_; + return indexConfig_ == null + ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() + : indexConfig_; } /** + * + * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -2255,12 +2512,16 @@ public com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig() {
    */
   @java.lang.Override
   public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOrBuilder() {
-    return indexConfig_ == null ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_;
+    return indexConfig_ == null
+        ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()
+        : indexConfig_;
   }
 
   public static final int TTL_CONFIG_FIELD_NUMBER = 3;
   private com.google.firestore.admin.v1.Field.TtlConfig ttlConfig_;
   /**
+   *
+   *
    * 
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -2268,6 +2529,7 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; + * * @return Whether the ttlConfig field is set. */ @java.lang.Override @@ -2275,6 +2537,8 @@ public boolean hasTtlConfig() { return ttlConfig_ != null; } /** + * + * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -2282,13 +2546,18 @@ public boolean hasTtlConfig() {
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; + * * @return The ttlConfig. */ @java.lang.Override public com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig() { - return ttlConfig_ == null ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_; + return ttlConfig_ == null + ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() + : ttlConfig_; } /** + * + * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -2299,10 +2568,13 @@ public com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig() {
    */
   @java.lang.Override
   public com.google.firestore.admin.v1.Field.TtlConfigOrBuilder getTtlConfigOrBuilder() {
-    return ttlConfig_ == null ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_;
+    return ttlConfig_ == null
+        ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()
+        : ttlConfig_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2314,8 +2586,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -2338,12 +2609,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (indexConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getIndexConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIndexConfig());
     }
     if (ttlConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getTtlConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTtlConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2353,24 +2622,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.admin.v1.Field)) {
       return super.equals(obj);
     }
     com.google.firestore.admin.v1.Field other = (com.google.firestore.admin.v1.Field) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasIndexConfig() != other.hasIndexConfig()) return false;
     if (hasIndexConfig()) {
-      if (!getIndexConfig()
-          .equals(other.getIndexConfig())) return false;
+      if (!getIndexConfig().equals(other.getIndexConfig())) return false;
     }
     if (hasTtlConfig() != other.hasTtlConfig()) return false;
     if (hasTtlConfig()) {
-      if (!getTtlConfig()
-          .equals(other.getTtlConfig())) return false;
+      if (!getTtlConfig().equals(other.getTtlConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -2398,97 +2664,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.admin.v1.Field parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.admin.v1.Field parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.admin.v1.Field parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.admin.v1.Field parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.Field parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.Field parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.Field parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.admin.v1.Field prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Represents a single field in the database.
    * Fields are grouped by their "Collection Group", which represent all
@@ -2497,33 +2769,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.admin.v1.Field}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Field)
       com.google.firestore.admin.v1.FieldOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.FieldProto
+          .internal_static_google_firestore_admin_v1_Field_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
+      return com.google.firestore.admin.v1.FieldProto
+          .internal_static_google_firestore_admin_v1_Field_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Field.class, com.google.firestore.admin.v1.Field.Builder.class);
+              com.google.firestore.admin.v1.Field.class,
+              com.google.firestore.admin.v1.Field.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Field.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2543,9 +2814,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.FieldProto.internal_static_google_firestore_admin_v1_Field_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.FieldProto
+          .internal_static_google_firestore_admin_v1_Field_descriptor;
     }
 
     @java.lang.Override
@@ -2565,7 +2836,9 @@ public com.google.firestore.admin.v1.Field build() {
     @java.lang.Override
     public com.google.firestore.admin.v1.Field buildPartial() {
       com.google.firestore.admin.v1.Field result = new com.google.firestore.admin.v1.Field(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -2576,14 +2849,11 @@ private void buildPartial0(com.google.firestore.admin.v1.Field result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.indexConfig_ = indexConfigBuilder_ == null
-            ? indexConfig_
-            : indexConfigBuilder_.build();
+        result.indexConfig_ =
+            indexConfigBuilder_ == null ? indexConfig_ : indexConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.ttlConfig_ = ttlConfigBuilder_ == null
-            ? ttlConfig_
-            : ttlConfigBuilder_.build();
+        result.ttlConfig_ = ttlConfigBuilder_ == null ? ttlConfig_ : ttlConfigBuilder_.build();
       }
     }
 
@@ -2591,38 +2861,39 @@ private void buildPartial0(com.google.firestore.admin.v1.Field result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.Field) {
-        return mergeFrom((com.google.firestore.admin.v1.Field)other);
+        return mergeFrom((com.google.firestore.admin.v1.Field) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2668,31 +2939,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getIndexConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getTtlConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getIndexConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getTtlConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2702,10 +2973,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2732,13 +3006,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2747,6 +3021,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2773,15 +3049,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2789,6 +3064,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2815,18 +3092,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2853,6 +3134,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2862,6 +3144,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. A field name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -2888,12 +3172,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2903,8 +3189,13 @@ public Builder setNameBytes( private com.google.firestore.admin.v1.Field.IndexConfig indexConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Field.IndexConfig, com.google.firestore.admin.v1.Field.IndexConfig.Builder, com.google.firestore.admin.v1.Field.IndexConfigOrBuilder> indexConfigBuilder_; + com.google.firestore.admin.v1.Field.IndexConfig, + com.google.firestore.admin.v1.Field.IndexConfig.Builder, + com.google.firestore.admin.v1.Field.IndexConfigOrBuilder> + indexConfigBuilder_; /** + * + * *
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -2913,12 +3204,15 @@ public Builder setNameBytes(
      * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; + * * @return Whether the indexConfig field is set. */ public boolean hasIndexConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -2927,16 +3221,21 @@ public boolean hasIndexConfig() {
      * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; + * * @return The indexConfig. */ public com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig() { if (indexConfigBuilder_ == null) { - return indexConfig_ == null ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_; + return indexConfig_ == null + ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() + : indexConfig_; } else { return indexConfigBuilder_.getMessage(); } } /** + * + * *
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -2960,6 +3259,8 @@ public Builder setIndexConfig(com.google.firestore.admin.v1.Field.IndexConfig va
       return this;
     }
     /**
+     *
+     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -2981,6 +3282,8 @@ public Builder setIndexConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -2992,9 +3295,10 @@ public Builder setIndexConfig(
      */
     public Builder mergeIndexConfig(com.google.firestore.admin.v1.Field.IndexConfig value) {
       if (indexConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          indexConfig_ != null &&
-          indexConfig_ != com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && indexConfig_ != null
+            && indexConfig_
+                != com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()) {
           getIndexConfigBuilder().mergeFrom(value);
         } else {
           indexConfig_ = value;
@@ -3007,6 +3311,8 @@ public Builder mergeIndexConfig(com.google.firestore.admin.v1.Field.IndexConfig
       return this;
     }
     /**
+     *
+     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3027,6 +3333,8 @@ public Builder clearIndexConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3042,6 +3350,8 @@ public com.google.firestore.admin.v1.Field.IndexConfig.Builder getIndexConfigBui
       return getIndexConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3055,11 +3365,14 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
       if (indexConfigBuilder_ != null) {
         return indexConfigBuilder_.getMessageOrBuilder();
       } else {
-        return indexConfig_ == null ?
-            com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance() : indexConfig_;
+        return indexConfig_ == null
+            ? com.google.firestore.admin.v1.Field.IndexConfig.getDefaultInstance()
+            : indexConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * The index configuration for this field. If unset, field indexing will
      * revert to the configuration defined by the `ancestor_field`. To
@@ -3070,14 +3383,17 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
      * .google.firestore.admin.v1.Field.IndexConfig index_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.admin.v1.Field.IndexConfig, com.google.firestore.admin.v1.Field.IndexConfig.Builder, com.google.firestore.admin.v1.Field.IndexConfigOrBuilder> 
+            com.google.firestore.admin.v1.Field.IndexConfig,
+            com.google.firestore.admin.v1.Field.IndexConfig.Builder,
+            com.google.firestore.admin.v1.Field.IndexConfigOrBuilder>
         getIndexConfigFieldBuilder() {
       if (indexConfigBuilder_ == null) {
-        indexConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.admin.v1.Field.IndexConfig, com.google.firestore.admin.v1.Field.IndexConfig.Builder, com.google.firestore.admin.v1.Field.IndexConfigOrBuilder>(
-                getIndexConfig(),
-                getParentForChildren(),
-                isClean());
+        indexConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.admin.v1.Field.IndexConfig,
+                com.google.firestore.admin.v1.Field.IndexConfig.Builder,
+                com.google.firestore.admin.v1.Field.IndexConfigOrBuilder>(
+                getIndexConfig(), getParentForChildren(), isClean());
         indexConfig_ = null;
       }
       return indexConfigBuilder_;
@@ -3085,8 +3401,13 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
 
     private com.google.firestore.admin.v1.Field.TtlConfig ttlConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.admin.v1.Field.TtlConfig, com.google.firestore.admin.v1.Field.TtlConfig.Builder, com.google.firestore.admin.v1.Field.TtlConfigOrBuilder> ttlConfigBuilder_;
+            com.google.firestore.admin.v1.Field.TtlConfig,
+            com.google.firestore.admin.v1.Field.TtlConfig.Builder,
+            com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>
+        ttlConfigBuilder_;
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3094,12 +3415,15 @@ public com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOr
      * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; + * * @return Whether the ttlConfig field is set. */ public boolean hasTtlConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3107,16 +3431,21 @@ public boolean hasTtlConfig() {
      * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; + * * @return The ttlConfig. */ public com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig() { if (ttlConfigBuilder_ == null) { - return ttlConfig_ == null ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_; + return ttlConfig_ == null + ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() + : ttlConfig_; } else { return ttlConfigBuilder_.getMessage(); } } /** + * + * *
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3139,6 +3468,8 @@ public Builder setTtlConfig(com.google.firestore.admin.v1.Field.TtlConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3159,6 +3490,8 @@ public Builder setTtlConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3169,9 +3502,9 @@ public Builder setTtlConfig(
      */
     public Builder mergeTtlConfig(com.google.firestore.admin.v1.Field.TtlConfig value) {
       if (ttlConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          ttlConfig_ != null &&
-          ttlConfig_ != com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && ttlConfig_ != null
+            && ttlConfig_ != com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()) {
           getTtlConfigBuilder().mergeFrom(value);
         } else {
           ttlConfig_ = value;
@@ -3184,6 +3517,8 @@ public Builder mergeTtlConfig(com.google.firestore.admin.v1.Field.TtlConfig valu
       return this;
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3203,6 +3538,8 @@ public Builder clearTtlConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3217,6 +3554,8 @@ public com.google.firestore.admin.v1.Field.TtlConfig.Builder getTtlConfigBuilder
       return getTtlConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3229,11 +3568,14 @@ public com.google.firestore.admin.v1.Field.TtlConfigOrBuilder getTtlConfigOrBuil
       if (ttlConfigBuilder_ != null) {
         return ttlConfigBuilder_.getMessageOrBuilder();
       } else {
-        return ttlConfig_ == null ?
-            com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance() : ttlConfig_;
+        return ttlConfig_ == null
+            ? com.google.firestore.admin.v1.Field.TtlConfig.getDefaultInstance()
+            : ttlConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * The TTL configuration for this `Field`.
      * Setting or unsetting this will enable or disable the TTL for
@@ -3243,21 +3585,24 @@ public com.google.firestore.admin.v1.Field.TtlConfigOrBuilder getTtlConfigOrBuil
      * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.admin.v1.Field.TtlConfig, com.google.firestore.admin.v1.Field.TtlConfig.Builder, com.google.firestore.admin.v1.Field.TtlConfigOrBuilder> 
+            com.google.firestore.admin.v1.Field.TtlConfig,
+            com.google.firestore.admin.v1.Field.TtlConfig.Builder,
+            com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>
         getTtlConfigFieldBuilder() {
       if (ttlConfigBuilder_ == null) {
-        ttlConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.admin.v1.Field.TtlConfig, com.google.firestore.admin.v1.Field.TtlConfig.Builder, com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>(
-                getTtlConfig(),
-                getParentForChildren(),
-                isClean());
+        ttlConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.admin.v1.Field.TtlConfig,
+                com.google.firestore.admin.v1.Field.TtlConfig.Builder,
+                com.google.firestore.admin.v1.Field.TtlConfigOrBuilder>(
+                getTtlConfig(), getParentForChildren(), isClean());
         ttlConfig_ = null;
       }
       return ttlConfigBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3267,12 +3612,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Field)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Field)
   private static final com.google.firestore.admin.v1.Field DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Field();
   }
@@ -3281,27 +3626,27 @@ public static com.google.firestore.admin.v1.Field getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Field parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Field parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3316,6 +3661,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.admin.v1.Field getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
index 4a06a06ed..a675dfac8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/operation.proto
 
 package com.google.firestore.admin.v1;
 
 /**
+ *
+ *
  * 
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata}
  */
-public final class FieldOperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FieldOperationMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata)
     FieldOperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FieldOperationMetadata.newBuilder() to construct.
   private FieldOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private FieldOperationMetadata() {
     field_ = "";
     indexConfigDeltas_ = java.util.Collections.emptyList();
@@ -28,71 +46,92 @@ private FieldOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FieldOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.FieldOperationMetadata.class, com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
+            com.google.firestore.admin.v1.FieldOperationMetadata.class,
+            com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
   }
 
-  public interface IndexConfigDeltaOrBuilder extends
+  public interface IndexConfigDeltaOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Specifies how the index is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @return The enum numeric value on the wire for changeType. */ int getChangeTypeValue(); /** + * + * *
      * Specifies how the index is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @return The changeType. */ - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType(); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + getChangeType(); /** + * + * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return Whether the index field is set. */ boolean hasIndex(); /** + * + * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return The index. */ com.google.firestore.admin.v1.Index getIndex(); /** + * + * *
      * The index being changed.
      * 
@@ -102,60 +141,68 @@ public interface IndexConfigDeltaOrBuilder extends com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder(); } /** + * + * *
    * Information about an index configuration change.
    * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta} */ - public static final class IndexConfigDelta extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IndexConfigDelta extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) IndexConfigDeltaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndexConfigDelta.newBuilder() to construct. private IndexConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IndexConfigDelta() { changeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IndexConfigDelta(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder.class); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder.class); } /** + * + * *
      * Specifies how the index is changing.
      * 
* - * Protobuf enum {@code google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType} + * Protobuf enum {@code + * google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType} */ - public enum ChangeType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The type of change is not specified or known.
        * 
@@ -164,6 +211,8 @@ public enum ChangeType */ CHANGE_TYPE_UNSPECIFIED(0), /** + * + * *
        * The single field index is being added.
        * 
@@ -172,6 +221,8 @@ public enum ChangeType */ ADD(1), /** + * + * *
        * The single field index is being removed.
        * 
@@ -183,6 +234,8 @@ public enum ChangeType ; /** + * + * *
        * The type of change is not specified or known.
        * 
@@ -191,6 +244,8 @@ public enum ChangeType */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The single field index is being added.
        * 
@@ -199,6 +254,8 @@ public enum ChangeType */ public static final int ADD_VALUE = 1; /** + * + * *
        * The single field index is being removed.
        * 
@@ -207,7 +264,6 @@ public enum ChangeType */ public static final int REMOVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -232,49 +288,51 @@ public static ChangeType valueOf(int value) { */ public static ChangeType forNumber(int value) { switch (value) { - case 0: return CHANGE_TYPE_UNSPECIFIED; - case 1: return ADD; - case 2: return REMOVE; - default: return null; + case 0: + return CHANGE_TYPE_UNSPECIFIED; + case 1: + return ADD; + case 2: + return REMOVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ChangeType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeType findValueByNumber(int number) { - return ChangeType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeType findValueByNumber(int number) { + return ChangeType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDescriptor() + .getEnumTypes() + .get(0); } private static final ChangeType[] VALUES = values(); - public static ChangeType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ChangeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -294,37 +352,58 @@ private ChangeType(int value) { public static final int CHANGE_TYPE_FIELD_NUMBER = 1; private int changeType_ = 0; /** + * + * *
      * Specifies how the index is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override public int getChangeTypeValue() { + @java.lang.Override + public int getChangeTypeValue() { return changeType_; } /** + * + * *
      * Specifies how the index is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @return The changeType. */ - @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType() { - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.forNumber(changeType_); - return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + getChangeType() { + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + .forNumber(changeType_); + return result == null + ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + .UNRECOGNIZED + : result; } public static final int INDEX_FIELD_NUMBER = 2; private com.google.firestore.admin.v1.Index index_; /** + * + * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return Whether the index field is set. */ @java.lang.Override @@ -332,11 +411,14 @@ public boolean hasIndex() { return index_ != null; } /** + * + * *
      * The index being changed.
      * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return The index. */ @java.lang.Override @@ -344,6 +426,8 @@ public com.google.firestore.admin.v1.Index getIndex() { return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } /** + * + * *
      * The index being changed.
      * 
@@ -356,6 +440,7 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,9 +452,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (changeType_ != com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (changeType_ + != com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + .CHANGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, changeType_); } if (index_ != null) { @@ -384,13 +471,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (changeType_ != com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, changeType_); + if (changeType_ + != com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + .CHANGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, changeType_); } if (index_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getIndex()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getIndex()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -400,18 +488,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta)) { return super.equals(obj); } - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta other = (com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) obj; + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta other = + (com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) obj; if (changeType_ != other.changeType_) return false; if (hasIndex() != other.hasIndex()) return false; if (hasIndex()) { - if (!getIndex() - .equals(other.getIndex())) return false; + if (!getIndex().equals(other.getIndex())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -436,87 +524,95 @@ public int hashCode() { } public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta prototype) { + + public static Builder newBuilder( + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -526,39 +622,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information about an index configuration change.
      * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder.class); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.class, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder + .class); } - // Construct using com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.newBuilder() - private Builder() { + // Construct using + // com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -573,19 +673,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getDefaultInstanceForType() { - return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance(); + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + getDefaultInstanceForType() { + return com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + .getDefaultInstance(); } @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta build() { - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = buildPartial(); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -594,21 +697,23 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta bui @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta buildPartial() { - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result = + new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result) { + private void buildPartial0( + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.changeType_ = changeType_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.index_ = indexBuilder_ == null - ? index_ - : indexBuilder_.build(); + result.index_ = indexBuilder_ == null ? index_ : indexBuilder_.build(); } } @@ -616,46 +721,54 @@ private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) { - return mergeFrom((com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta)other); + if (other + instanceof com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) { + return mergeFrom( + (com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta other) { - if (other == com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta other) { + if (other + == com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + .getDefaultInstance()) return this; if (other.changeType_ != 0) { setChangeTypeValue(other.getChangeTypeValue()); } @@ -688,24 +801,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - changeType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getIndexFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + changeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getIndexFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -715,26 +829,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int changeType_ = 0; /** + * + * *
        * Specifies how the index is changing.
        * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override public int getChangeTypeValue() { + @java.lang.Override + public int getChangeTypeValue() { return changeType_; } /** + * + * *
        * Specifies how the index is changing.
        * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @param value The enum numeric value on the wire for changeType to set. * @return This builder for chaining. */ @@ -745,28 +871,45 @@ public Builder setChangeTypeValue(int value) { return this; } /** + * + * *
        * Specifies how the index is changing.
        * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @return The changeType. */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType getChangeType() { - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.forNumber(changeType_); - return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType.UNRECOGNIZED : result; + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + getChangeType() { + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType result = + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + .forNumber(changeType_); + return result == null + ? com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType + .UNRECOGNIZED + : result; } /** + * + * *
        * Specifies how the index is changing.
        * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @param value The changeType to set. * @return This builder for chaining. */ - public Builder setChangeType(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType value) { + public Builder setChangeType( + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType value) { if (value == null) { throw new NullPointerException(); } @@ -776,11 +919,16 @@ public Builder setChangeType(com.google.firestore.admin.v1.FieldOperationMetadat return this; } /** + * + * *
        * Specifies how the index is changing.
        * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType change_type = 1; + * + * * @return This builder for chaining. */ public Builder clearChangeType() { @@ -792,24 +940,33 @@ public Builder clearChangeType() { private com.google.firestore.admin.v1.Index index_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> indexBuilder_; + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder> + indexBuilder_; /** + * + * *
        * The index being changed.
        * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return Whether the index field is set. */ public boolean hasIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The index being changed.
        * 
* * .google.firestore.admin.v1.Index index = 2; + * * @return The index. */ public com.google.firestore.admin.v1.Index getIndex() { @@ -820,6 +977,8 @@ public com.google.firestore.admin.v1.Index getIndex() { } } /** + * + * *
        * The index being changed.
        * 
@@ -840,14 +999,15 @@ public Builder setIndex(com.google.firestore.admin.v1.Index value) { return this; } /** + * + * *
        * The index being changed.
        * 
* * .google.firestore.admin.v1.Index index = 2; */ - public Builder setIndex( - com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder setIndex(com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexBuilder_ == null) { index_ = builderForValue.build(); } else { @@ -858,6 +1018,8 @@ public Builder setIndex( return this; } /** + * + * *
        * The index being changed.
        * 
@@ -866,9 +1028,9 @@ public Builder setIndex( */ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { if (indexBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - index_ != null && - index_ != com.google.firestore.admin.v1.Index.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && index_ != null + && index_ != com.google.firestore.admin.v1.Index.getDefaultInstance()) { getIndexBuilder().mergeFrom(value); } else { index_ = value; @@ -881,6 +1043,8 @@ public Builder mergeIndex(com.google.firestore.admin.v1.Index value) { return this; } /** + * + * *
        * The index being changed.
        * 
@@ -898,6 +1062,8 @@ public Builder clearIndex() { return this; } /** + * + * *
        * The index being changed.
        * 
@@ -910,6 +1076,8 @@ public com.google.firestore.admin.v1.Index.Builder getIndexBuilder() { return getIndexFieldBuilder().getBuilder(); } /** + * + * *
        * The index being changed.
        * 
@@ -920,11 +1088,12 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { if (indexBuilder_ != null) { return indexBuilder_.getMessageOrBuilder(); } else { - return index_ == null ? - com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; + return index_ == null ? com.google.firestore.admin.v1.Index.getDefaultInstance() : index_; } } /** + * + * *
        * The index being changed.
        * 
@@ -932,18 +1101,22 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexOrBuilder() { * .google.firestore.admin.v1.Index index = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder> getIndexFieldBuilder() { if (indexBuilder_ == null) { - indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( - getIndex(), - getParentForChildren(), - isClean()); + indexBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder>( + getIndex(), getParentForChildren(), isClean()); index_ = null; } return indexBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -956,41 +1129,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta) - private static final com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta DEFAULT_INSTANCE; + private static final com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(); + DEFAULT_INSTANCE = + new com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta(); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getDefaultInstance() { + public static com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexConfigDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexConfigDelta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,90 +1179,109 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getDefaultInstanceForType() { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TtlConfigDeltaOrBuilder extends + public interface TtlConfigDeltaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Specifies how the TTL configuration is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @return The enum numeric value on the wire for changeType. */ int getChangeTypeValue(); /** + * + * *
      * Specifies how the TTL configuration is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @return The changeType. */ com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType(); } /** + * + * *
    * Information about an TTL configuration change.
    * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta} */ - public static final class TtlConfigDelta extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class TtlConfigDelta extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) TtlConfigDeltaOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TtlConfigDelta.newBuilder() to construct. private TtlConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TtlConfigDelta() { changeType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TtlConfigDelta(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); } /** + * + * *
      * Specifies how the TTL config is changing.
      * 
* - * Protobuf enum {@code google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType} + * Protobuf enum {@code + * google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType} */ - public enum ChangeType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ChangeType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The type of change is not specified or known.
        * 
@@ -1094,6 +1290,8 @@ public enum ChangeType */ CHANGE_TYPE_UNSPECIFIED(0), /** + * + * *
        * The TTL config is being added.
        * 
@@ -1102,6 +1300,8 @@ public enum ChangeType */ ADD(1), /** + * + * *
        * The TTL config is being removed.
        * 
@@ -1113,6 +1313,8 @@ public enum ChangeType ; /** + * + * *
        * The type of change is not specified or known.
        * 
@@ -1121,6 +1323,8 @@ public enum ChangeType */ public static final int CHANGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The TTL config is being added.
        * 
@@ -1129,6 +1333,8 @@ public enum ChangeType */ public static final int ADD_VALUE = 1; /** + * + * *
        * The TTL config is being removed.
        * 
@@ -1137,7 +1343,6 @@ public enum ChangeType */ public static final int REMOVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1162,49 +1367,51 @@ public static ChangeType valueOf(int value) { */ public static ChangeType forNumber(int value) { switch (value) { - case 0: return CHANGE_TYPE_UNSPECIFIED; - case 1: return ADD; - case 2: return REMOVE; - default: return null; + case 0: + return CHANGE_TYPE_UNSPECIFIED; + case 1: + return ADD; + case 2: + return REMOVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ChangeType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChangeType findValueByNumber(int number) { - return ChangeType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChangeType findValueByNumber(int number) { + return ChangeType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDescriptor() + .getEnumTypes() + .get(0); } private static final ChangeType[] VALUES = values(); - public static ChangeType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ChangeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1224,30 +1431,49 @@ private ChangeType(int value) { public static final int CHANGE_TYPE_FIELD_NUMBER = 1; private int changeType_ = 0; /** + * + * *
      * Specifies how the TTL configuration is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override public int getChangeTypeValue() { + @java.lang.Override + public int getChangeTypeValue() { return changeType_; } /** + * + * *
      * Specifies how the TTL configuration is changing.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @return The changeType. */ - @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType() { - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.forNumber(changeType_); - return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType + getChangeType() { + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.forNumber( + changeType_); + return result == null + ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1259,9 +1485,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (changeType_ != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (changeType_ + != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType + .CHANGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, changeType_); } getUnknownFields().writeTo(output); @@ -1273,9 +1501,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (changeType_ != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.CHANGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, changeType_); + if (changeType_ + != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType + .CHANGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, changeType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1285,12 +1515,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta)) { return super.equals(obj); } - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta other = (com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) obj; + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta other = + (com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) obj; if (changeType_ != other.changeType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1312,87 +1543,95 @@ public int hashCode() { } public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta prototype) { + + public static Builder newBuilder( + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1402,39 +1641,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Information about an TTL configuration change.
      * 
* * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.class, + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder.class); } - // Construct using com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.newBuilder() - private Builder() { - - } + // Construct using + // com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1444,14 +1686,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.OperationProto + .internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getDefaultInstanceForType() { - return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance(); + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + getDefaultInstanceForType() { + return com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + .getDefaultInstance(); } @java.lang.Override @@ -1465,13 +1709,17 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta build @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta buildPartial() { - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta result = new com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta result = + new com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta result) { + private void buildPartial0( + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.changeType_ = changeType_; @@ -1482,46 +1730,53 @@ private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) { - return mergeFrom((com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta)other); + return mergeFrom( + (com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta other) { - if (other == com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta other) { + if (other + == com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + .getDefaultInstance()) return this; if (other.changeType_ != 0) { setChangeTypeValue(other.getChangeTypeValue()); } @@ -1551,17 +1806,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - changeType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + changeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1571,26 +1828,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int changeType_ = 0; /** + * + * *
        * Specifies how the TTL configuration is changing.
        * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @return The enum numeric value on the wire for changeType. */ - @java.lang.Override public int getChangeTypeValue() { + @java.lang.Override + public int getChangeTypeValue() { return changeType_; } /** + * + * *
        * Specifies how the TTL configuration is changing.
        * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @param value The enum numeric value on the wire for changeType to set. * @return This builder for chaining. */ @@ -1601,28 +1870,45 @@ public Builder setChangeTypeValue(int value) { return this; } /** + * + * *
        * Specifies how the TTL configuration is changing.
        * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @return The changeType. */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType getChangeType() { - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.forNumber(changeType_); - return result == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType.UNRECOGNIZED : result; + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType + getChangeType() { + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType result = + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType + .forNumber(changeType_); + return result == null + ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType + .UNRECOGNIZED + : result; } /** + * + * *
        * Specifies how the TTL configuration is changing.
        * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @param value The changeType to set. * @return This builder for chaining. */ - public Builder setChangeType(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType value) { + public Builder setChangeType( + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType value) { if (value == null) { throw new NullPointerException(); } @@ -1632,11 +1918,16 @@ public Builder setChangeType(com.google.firestore.admin.v1.FieldOperationMetadat return this; } /** + * + * *
        * Specifies how the TTL configuration is changing.
        * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType change_type = 1; + * + * * @return This builder for chaining. */ public Builder clearChangeType() { @@ -1645,6 +1936,7 @@ public Builder clearChangeType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1657,41 +1949,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta) - private static final com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta DEFAULT_INSTANCE; + private static final com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta(); } - public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getDefaultInstance() { + public static com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TtlConfigDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TtlConfigDelta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1703,20 +1998,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getDefaultInstanceForType() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -1724,11 +2022,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -1736,6 +2037,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -1750,12 +2053,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -1763,12 +2069,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -1776,6 +2085,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -1789,15 +2100,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   public static final int FIELD_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object field_ = "";
   /**
+   *
+   *
    * 
    * The field resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
    * 
* * string field = 3; + * * @return The field. */ @java.lang.Override @@ -1806,30 +2121,30 @@ public java.lang.String getField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; } } /** + * + * *
    * The field resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
    * 
* * string field = 3; + * * @return The bytes for field. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldBytes() { + public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); field_ = b; return b; } else { @@ -1838,105 +2153,142 @@ public java.lang.String getField() { } public static final int INDEX_CONFIG_DELTAS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") - private java.util.List indexConfigDeltas_; + private java.util.List + indexConfigDeltas_; /** + * + * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ @java.lang.Override - public java.util.List getIndexConfigDeltasList() { + public java.util.List + getIndexConfigDeltasList() { return indexConfigDeltas_; } /** + * + * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> getIndexConfigDeltasOrBuilderList() { return indexConfigDeltas_; } /** + * + * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ @java.lang.Override public int getIndexConfigDeltasCount() { return indexConfigDeltas_.size(); } /** + * + * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas( + int index) { return indexConfigDeltas_.get(index); } /** + * + * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder( - int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder + getIndexConfigDeltasOrBuilder(int index) { return indexConfigDeltas_.get(index); } public static final int STATE_FIELD_NUMBER = 5; private int state_ = 0; /** + * + * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 5; + * * @return The state. */ - @java.lang.Override public com.google.firestore.admin.v1.OperationState getState() { - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(state_); + @java.lang.Override + public com.google.firestore.admin.v1.OperationState getState() { + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.forNumber(state_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } public static final int PROGRESS_DOCUMENTS_FIELD_NUMBER = 6; private com.google.firestore.admin.v1.Progress progressDocuments_; /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; + * * @return Whether the progressDocuments field is set. */ @java.lang.Override @@ -1944,18 +2296,25 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; + * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } /** + * + * *
    * The progress, in documents, of this operation.
    * 
@@ -1964,17 +2323,22 @@ public com.google.firestore.admin.v1.Progress getProgressDocuments() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder() { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 7; private com.google.firestore.admin.v1.Progress progressBytes_; /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; + * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -1982,18 +2346,25 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; + * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } /** + * + * *
    * The progress, in bytes, of this operation.
    * 
@@ -2002,17 +2373,23 @@ public com.google.firestore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } public static final int TTL_CONFIG_DELTA_FIELD_NUMBER = 8; private com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttlConfigDelta_; /** + * + * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * + * * @return Whether the ttlConfigDelta field is set. */ @java.lang.Override @@ -2020,30 +2397,43 @@ public boolean hasTtlConfigDelta() { return ttlConfigDelta_ != null; } /** + * + * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * + * * @return The ttlConfigDelta. */ @java.lang.Override public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getTtlConfigDelta() { - return ttlConfigDelta_ == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() : ttlConfigDelta_; + return ttlConfigDelta_ == null + ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() + : ttlConfigDelta_; } /** + * + * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder getTtlConfigDeltaOrBuilder() { - return ttlConfigDelta_ == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() : ttlConfigDelta_; + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder + getTtlConfigDeltaOrBuilder() { + return ttlConfigDelta_ == null + ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() + : ttlConfigDelta_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2055,8 +2445,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -2069,7 +2458,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < indexConfigDeltas_.size(); i++) { output.writeMessage(4, indexConfigDeltas_.get(i)); } - if (state_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } if (progressDocuments_ != null) { @@ -2091,35 +2481,30 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(field_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, field_); } for (int i = 0; i < indexConfigDeltas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, indexConfigDeltas_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, indexConfigDeltas_.get(i)); } - if (state_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + if (state_ + != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } if (progressDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getProgressDocuments()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getProgressDocuments()); } if (progressBytes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getProgressBytes()); } if (ttlConfigDelta_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTtlConfigDelta()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTtlConfigDelta()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2129,42 +2514,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.FieldOperationMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.FieldOperationMetadata other = (com.google.firestore.admin.v1.FieldOperationMetadata) obj; + com.google.firestore.admin.v1.FieldOperationMetadata other = + (com.google.firestore.admin.v1.FieldOperationMetadata) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } - if (!getField() - .equals(other.getField())) return false; - if (!getIndexConfigDeltasList() - .equals(other.getIndexConfigDeltasList())) return false; + if (!getField().equals(other.getField())) return false; + if (!getIndexConfigDeltasList().equals(other.getIndexConfigDeltasList())) return false; if (state_ != other.state_) return false; if (hasProgressDocuments() != other.hasProgressDocuments()) return false; if (hasProgressDocuments()) { - if (!getProgressDocuments() - .equals(other.getProgressDocuments())) return false; + if (!getProgressDocuments().equals(other.getProgressDocuments())) return false; } if (hasProgressBytes() != other.hasProgressBytes()) return false; if (hasProgressBytes()) { - if (!getProgressBytes() - .equals(other.getProgressBytes())) return false; + if (!getProgressBytes().equals(other.getProgressBytes())) return false; } if (hasTtlConfigDelta() != other.hasTtlConfigDelta()) return false; if (hasTtlConfigDelta()) { - if (!getTtlConfigDelta() - .equals(other.getTtlConfigDelta())) return false; + if (!getTtlConfigDelta().equals(other.getTtlConfigDelta())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2211,96 +2590,103 @@ public int hashCode() { } public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.FieldOperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.FieldOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.FieldOperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.FieldOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.FieldOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
    * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
@@ -2308,33 +2694,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.admin.v1.FieldOperationMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.FieldOperationMetadata)
       com.google.firestore.admin.v1.FieldOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.FieldOperationMetadata.class, com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
+              com.google.firestore.admin.v1.FieldOperationMetadata.class,
+              com.google.firestore.admin.v1.FieldOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.FieldOperationMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2377,9 +2762,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -2398,14 +2783,18 @@ public com.google.firestore.admin.v1.FieldOperationMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.FieldOperationMetadata buildPartial() {
-      com.google.firestore.admin.v1.FieldOperationMetadata result = new com.google.firestore.admin.v1.FieldOperationMetadata(this);
+      com.google.firestore.admin.v1.FieldOperationMetadata result =
+          new com.google.firestore.admin.v1.FieldOperationMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.firestore.admin.v1.FieldOperationMetadata result) {
+    private void buildPartialRepeatedFields(
+        com.google.firestore.admin.v1.FieldOperationMetadata result) {
       if (indexConfigDeltasBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           indexConfigDeltas_ = java.util.Collections.unmodifiableList(indexConfigDeltas_);
@@ -2420,14 +2809,10 @@ private void buildPartialRepeatedFields(com.google.firestore.admin.v1.FieldOpera
     private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.field_ = field_;
@@ -2436,19 +2821,18 @@ private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.progressDocuments_ = progressDocumentsBuilder_ == null
-            ? progressDocuments_
-            : progressDocumentsBuilder_.build();
+        result.progressDocuments_ =
+            progressDocumentsBuilder_ == null
+                ? progressDocuments_
+                : progressDocumentsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.progressBytes_ = progressBytesBuilder_ == null
-            ? progressBytes_
-            : progressBytesBuilder_.build();
+        result.progressBytes_ =
+            progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.ttlConfigDelta_ = ttlConfigDeltaBuilder_ == null
-            ? ttlConfigDelta_
-            : ttlConfigDeltaBuilder_.build();
+        result.ttlConfigDelta_ =
+            ttlConfigDeltaBuilder_ == null ? ttlConfigDelta_ : ttlConfigDeltaBuilder_.build();
       }
     }
 
@@ -2456,38 +2840,39 @@ private void buildPartial0(com.google.firestore.admin.v1.FieldOperationMetadata
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.FieldOperationMetadata) {
-        return mergeFrom((com.google.firestore.admin.v1.FieldOperationMetadata)other);
+        return mergeFrom((com.google.firestore.admin.v1.FieldOperationMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2495,7 +2880,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata other) {
-      if (other == com.google.firestore.admin.v1.FieldOperationMetadata.getDefaultInstance()) return this;
+      if (other == com.google.firestore.admin.v1.FieldOperationMetadata.getDefaultInstance())
+        return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -2525,9 +2911,10 @@ public Builder mergeFrom(com.google.firestore.admin.v1.FieldOperationMetadata ot
             indexConfigDeltasBuilder_ = null;
             indexConfigDeltas_ = other.indexConfigDeltas_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            indexConfigDeltasBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getIndexConfigDeltasFieldBuilder() : null;
+            indexConfigDeltasBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getIndexConfigDeltasFieldBuilder()
+                    : null;
           } else {
             indexConfigDeltasBuilder_.addAllMessages(other.indexConfigDeltas_);
           }
@@ -2571,70 +2958,71 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              field_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta m =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.parser(),
-                      extensionRegistry);
-              if (indexConfigDeltasBuilder_ == null) {
-                ensureIndexConfigDeltasIsMutable();
-                indexConfigDeltas_.add(m);
-              } else {
-                indexConfigDeltasBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            case 40: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getProgressDocumentsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getProgressBytesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getTtlConfigDeltaFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                field_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta m =
+                    input.readMessage(
+                        com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta
+                            .parser(),
+                        extensionRegistry);
+                if (indexConfigDeltasBuilder_ == null) {
+                  ensureIndexConfigDeltasIsMutable();
+                  indexConfigDeltas_.add(m);
+                } else {
+                  indexConfigDeltasBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            case 40:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(
+                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getTtlConfigDeltaFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2644,28 +3032,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        startTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2676,6 +3074,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -2696,14 +3096,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -2714,6 +3115,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -2722,9 +3125,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2737,6 +3140,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -2754,6 +3159,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -2766,6 +3173,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -2776,11 +3185,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * The time this operation started.
      * 
@@ -2788,14 +3198,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2803,26 +3216,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2833,6 +3255,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2854,6 +3278,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2861,8 +3287,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -2873,6 +3298,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2882,9 +3309,9 @@ public Builder setEndTime(
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          endTime_ != null &&
-          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && endTime_ != null
+            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -2897,6 +3324,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2915,6 +3344,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2928,6 +3359,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2939,11 +3372,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -2952,14 +3386,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -2967,19 +3404,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object field_ = "";
     /**
+     *
+     *
      * 
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; + * * @return The field. */ public java.lang.String getField() { java.lang.Object ref = field_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; @@ -2988,21 +3427,22 @@ public java.lang.String getField() { } } /** + * + * *
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; + * * @return The bytes for field. */ - public com.google.protobuf.ByteString - getFieldBytes() { + public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); field_ = b; return b; } else { @@ -3010,30 +3450,37 @@ public java.lang.String getField() { } } /** + * + * *
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; + * * @param value The field to set. * @return This builder for chaining. */ - public Builder setField( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setField(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } field_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; + * * @return This builder for chaining. */ public Builder clearField() { @@ -3043,18 +3490,22 @@ public Builder clearField() { return this; } /** + * + * *
      * The field resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
      * 
* * string field = 3; + * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); field_ = value; bitField0_ |= 0x00000004; @@ -3062,27 +3513,39 @@ public Builder setFieldBytes( return this; } - private java.util.List indexConfigDeltas_ = - java.util.Collections.emptyList(); + private java.util.List + indexConfigDeltas_ = java.util.Collections.emptyList(); + private void ensureIndexConfigDeltasIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - indexConfigDeltas_ = new java.util.ArrayList(indexConfigDeltas_); + indexConfigDeltas_ = + new java.util.ArrayList< + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta>( + indexConfigDeltas_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> indexConfigDeltasBuilder_; + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> + indexConfigDeltasBuilder_; /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - public java.util.List getIndexConfigDeltasList() { + public java.util.List + getIndexConfigDeltasList() { if (indexConfigDeltasBuilder_ == null) { return java.util.Collections.unmodifiableList(indexConfigDeltas_); } else { @@ -3090,12 +3553,16 @@ public java.util.List * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this * operation. *
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ public int getIndexConfigDeltasCount() { if (indexConfigDeltasBuilder_ == null) { @@ -3105,14 +3572,19 @@ public int getIndexConfigDeltasCount() { } } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + getIndexConfigDeltas(int index) { if (indexConfigDeltasBuilder_ == null) { return indexConfigDeltas_.get(index); } else { @@ -3120,12 +3592,16 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta get } } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ public Builder setIndexConfigDeltas( int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { @@ -3142,15 +3618,21 @@ public Builder setIndexConfigDeltas( return this; } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ public Builder setIndexConfigDeltas( - int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder builderForValue) { + int index, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder + builderForValue) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); indexConfigDeltas_.set(index, builderForValue.build()); @@ -3161,14 +3643,19 @@ public Builder setIndexConfigDeltas( return this; } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - public Builder addIndexConfigDeltas(com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { + public Builder addIndexConfigDeltas( + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { if (indexConfigDeltasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3182,12 +3669,16 @@ public Builder addIndexConfigDeltas(com.google.firestore.admin.v1.FieldOperation return this; } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ public Builder addIndexConfigDeltas( int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta value) { @@ -3204,15 +3695,20 @@ public Builder addIndexConfigDeltas( return this; } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ public Builder addIndexConfigDeltas( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder builderForValue) { + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder + builderForValue) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); indexConfigDeltas_.add(builderForValue.build()); @@ -3223,15 +3719,21 @@ public Builder addIndexConfigDeltas( return this; } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ public Builder addIndexConfigDeltas( - int index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder builderForValue) { + int index, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder + builderForValue) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); indexConfigDeltas_.add(index, builderForValue.build()); @@ -3242,19 +3744,24 @@ public Builder addIndexConfigDeltas( return this; } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ public Builder addAllIndexConfigDeltas( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta> + values) { if (indexConfigDeltasBuilder_ == null) { ensureIndexConfigDeltasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, indexConfigDeltas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexConfigDeltas_); onChanged(); } else { indexConfigDeltasBuilder_.addAllMessages(values); @@ -3262,12 +3769,16 @@ public Builder addAllIndexConfigDeltas( return this; } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ public Builder clearIndexConfigDeltas() { if (indexConfigDeltasBuilder_ == null) { @@ -3280,12 +3791,16 @@ public Builder clearIndexConfigDeltas() { return this; } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ public Builder removeIndexConfigDeltas(int index) { if (indexConfigDeltasBuilder_ == null) { @@ -3298,42 +3813,57 @@ public Builder removeIndexConfigDeltas(int index) { return this; } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder getIndexConfigDeltasBuilder( - int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder + getIndexConfigDeltasBuilder(int index) { return getIndexConfigDeltasFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder( - int index) { + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder + getIndexConfigDeltasOrBuilder(int index) { if (indexConfigDeltasBuilder_ == null) { - return indexConfigDeltas_.get(index); } else { + return indexConfigDeltas_.get(index); + } else { return indexConfigDeltasBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - public java.util.List - getIndexConfigDeltasOrBuilderList() { + public java.util.List< + ? extends + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> + getIndexConfigDeltasOrBuilderList() { if (indexConfigDeltasBuilder_ != null) { return indexConfigDeltasBuilder_.getMessageOrBuilderList(); } else { @@ -3341,48 +3871,73 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBu } } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder addIndexConfigDeltasBuilder() { - return getIndexConfigDeltasFieldBuilder().addBuilder( - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance()); + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder + addIndexConfigDeltasBuilder() { + return getIndexConfigDeltasFieldBuilder() + .addBuilder( + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + .getDefaultInstance()); } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder addIndexConfigDeltasBuilder( - int index) { - return getIndexConfigDeltasFieldBuilder().addBuilder( - index, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.getDefaultInstance()); + public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder + addIndexConfigDeltasBuilder(int index) { + return getIndexConfigDeltasFieldBuilder() + .addBuilder( + index, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta + .getDefaultInstance()); } /** + * + * *
      * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
      * operation.
      * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - public java.util.List - getIndexConfigDeltasBuilderList() { + public java.util.List< + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder> + getIndexConfigDeltasBuilderList() { return getIndexConfigDeltasFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> getIndexConfigDeltasFieldBuilder() { if (indexConfigDeltasBuilder_ == null) { - indexConfigDeltasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder>( + indexConfigDeltasBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Builder, + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder>( indexConfigDeltas_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -3394,22 +3949,29 @@ public com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.Bui private int state_ = 0; /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3420,24 +3982,31 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; + * * @return The state. */ @java.lang.Override public com.google.firestore.admin.v1.OperationState getState() { - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(state_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.forNumber(state_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; + * * @param value The state to set. * @return This builder for chaining. */ @@ -3451,11 +4020,14 @@ public Builder setState(com.google.firestore.admin.v1.OperationState value) { return this; } /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 5; + * * @return This builder for chaining. */ public Builder clearState() { @@ -3467,34 +4039,47 @@ public Builder clearState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> + progressDocumentsBuilder_; /** + * + * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; + * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; + * * @return The progressDocuments. */ public com.google.firestore.admin.v1.Progress getProgressDocuments() { if (progressDocumentsBuilder_ == null) { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } else { return progressDocumentsBuilder_.getMessage(); } } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3515,6 +4100,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3533,6 +4120,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3541,9 +4130,9 @@ public Builder setProgressDocuments( */ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress value) { if (progressDocumentsBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - progressDocuments_ != null && - progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && progressDocuments_ != null + && progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressDocumentsBuilder().mergeFrom(value); } else { progressDocuments_ = value; @@ -3556,6 +4145,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3573,6 +4164,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3585,6 +4178,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3595,11 +4190,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null ? - com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -3607,14 +4205,17 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), - getParentForChildren(), - isClean()); + progressDocumentsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), getParentForChildren(), isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -3622,34 +4223,47 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> + progressBytesBuilder_; /** + * + * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; + * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; + * * @return The progressBytes. */ public com.google.firestore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3670,6 +4284,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3688,6 +4304,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3696,9 +4314,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - progressBytes_ != null && - progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && progressBytes_ != null + && progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -3711,6 +4329,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3728,6 +4348,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3740,6 +4362,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3750,11 +4374,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null ? - com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -3762,14 +4389,17 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), - getParentForChildren(), - isClean()); + progressBytesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), getParentForChildren(), isClean()); progressBytes_ = null; } return progressBytesBuilder_; @@ -3777,41 +4407,59 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder private com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttlConfigDelta_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder> ttlConfigDeltaBuilder_; + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder> + ttlConfigDeltaBuilder_; /** + * + * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * + * * @return Whether the ttlConfigDelta field is set. */ public boolean hasTtlConfigDelta() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * + * * @return The ttlConfigDelta. */ public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getTtlConfigDelta() { if (ttlConfigDeltaBuilder_ == null) { - return ttlConfigDelta_ == null ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() : ttlConfigDelta_; + return ttlConfigDelta_ == null + ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + .getDefaultInstance() + : ttlConfigDelta_; } else { return ttlConfigDeltaBuilder_.getMessage(); } } /** + * + * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * */ - public Builder setTtlConfigDelta(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta value) { + public Builder setTtlConfigDelta( + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta value) { if (ttlConfigDeltaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3825,14 +4473,18 @@ public Builder setTtlConfigDelta(com.google.firestore.admin.v1.FieldOperationMet return this; } /** + * + * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * */ public Builder setTtlConfigDelta( - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder builderForValue) { + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder + builderForValue) { if (ttlConfigDeltaBuilder_ == null) { ttlConfigDelta_ = builderForValue.build(); } else { @@ -3843,17 +4495,23 @@ public Builder setTtlConfigDelta( return this; } /** + * + * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * */ - public Builder mergeTtlConfigDelta(com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta value) { + public Builder mergeTtlConfigDelta( + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta value) { if (ttlConfigDeltaBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - ttlConfigDelta_ != null && - ttlConfigDelta_ != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && ttlConfigDelta_ != null + && ttlConfigDelta_ + != com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + .getDefaultInstance()) { getTtlConfigDeltaBuilder().mergeFrom(value); } else { ttlConfigDelta_ = value; @@ -3866,11 +4524,14 @@ public Builder mergeTtlConfigDelta(com.google.firestore.admin.v1.FieldOperationM return this; } /** + * + * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * */ public Builder clearTtlConfigDelta() { bitField0_ = (bitField0_ & ~0x00000080); @@ -3883,55 +4544,71 @@ public Builder clearTtlConfigDelta() { return this; } /** + * + * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * */ - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder getTtlConfigDeltaBuilder() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder + getTtlConfigDeltaBuilder() { bitField0_ |= 0x00000080; onChanged(); return getTtlConfigDeltaFieldBuilder().getBuilder(); } /** + * + * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * */ - public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder getTtlConfigDeltaOrBuilder() { + public com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder + getTtlConfigDeltaOrBuilder() { if (ttlConfigDeltaBuilder_ != null) { return ttlConfigDeltaBuilder_.getMessageOrBuilder(); } else { - return ttlConfigDelta_ == null ? - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.getDefaultInstance() : ttlConfigDelta_; + return ttlConfigDelta_ == null + ? com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta + .getDefaultInstance() + : ttlConfigDelta_; } } /** + * + * *
      * Describes the deltas of TTL configuration.
      * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder> + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder> getTtlConfigDeltaFieldBuilder() { if (ttlConfigDeltaBuilder_ == null) { - ttlConfigDeltaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder>( - getTtlConfigDelta(), - getParentForChildren(), - isClean()); + ttlConfigDeltaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta, + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.Builder, + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder>( + getTtlConfigDelta(), getParentForChildren(), isClean()); ttlConfigDelta_ = null; } return ttlConfigDeltaBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3941,12 +4618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.FieldOperationMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.FieldOperationMetadata) private static final com.google.firestore.admin.v1.FieldOperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.FieldOperationMetadata(); } @@ -3955,27 +4632,27 @@ public static com.google.firestore.admin.v1.FieldOperationMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3990,6 +4667,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.FieldOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java index 474eb64f9..0af121235 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface FieldOperationMetadataOrBuilder extends +public interface FieldOperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.FieldOperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time this operation started.
    * 
@@ -35,26 +59,34 @@ public interface FieldOperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -65,114 +97,155 @@ public interface FieldOperationMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The field resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
    * 
* * string field = 3; + * * @return The field. */ java.lang.String getField(); /** + * + * *
    * The field resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
    * 
* * string field = 3; + * * @return The bytes for field. */ - com.google.protobuf.ByteString - getFieldBytes(); + com.google.protobuf.ByteString getFieldBytes(); /** + * + * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - java.util.List + java.util.List getIndexConfigDeltasList(); /** + * + * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas( + int index); /** + * + * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ int getIndexConfigDeltasCount(); /** + * + * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - java.util.List + java.util.List< + ? extends com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder> getIndexConfigDeltasOrBuilderList(); /** + * + * *
    * A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
    * operation.
    * 
* - * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * + * repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4; + * */ - com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder( - int index); + com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder + getIndexConfigDeltasOrBuilder(int index); /** + * + * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 5; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 5; + * * @return The state. */ com.google.firestore.admin.v1.OperationState getState(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; + * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 6; + * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
@@ -182,24 +255,32 @@ com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder g com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; + * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 7; + * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
@@ -209,29 +290,41 @@ com.google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDeltaOrBuilder g com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** + * + * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * + * * @return Whether the ttlConfigDelta field is set. */ boolean hasTtlConfigDelta(); /** + * + * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * + * * @return The ttlConfigDelta. */ com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta getTtlConfigDelta(); /** + * + * *
    * Describes the deltas of TTL configuration.
    * 
* - * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * .google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta ttl_config_delta = 8; + * */ - com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder getTtlConfigDeltaOrBuilder(); + com.google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDeltaOrBuilder + getTtlConfigDeltaOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java similarity index 87% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java index 24cf894a4..10f855658 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/field.proto package com.google.firestore.admin.v1; -public interface FieldOrBuilder extends +public interface FieldOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Field) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -34,10 +52,13 @@ public interface FieldOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. A field name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
@@ -64,12 +85,14 @@ public interface FieldOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -78,10 +101,13 @@ public interface FieldOrBuilder extends
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; + * * @return Whether the indexConfig field is set. */ boolean hasIndexConfig(); /** + * + * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -90,10 +116,13 @@ public interface FieldOrBuilder extends
    * 
* * .google.firestore.admin.v1.Field.IndexConfig index_config = 2; + * * @return The indexConfig. */ com.google.firestore.admin.v1.Field.IndexConfig getIndexConfig(); /** + * + * *
    * The index configuration for this field. If unset, field indexing will
    * revert to the configuration defined by the `ancestor_field`. To
@@ -106,6 +135,8 @@ public interface FieldOrBuilder extends
   com.google.firestore.admin.v1.Field.IndexConfigOrBuilder getIndexConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -113,10 +144,13 @@ public interface FieldOrBuilder extends
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; + * * @return Whether the ttlConfig field is set. */ boolean hasTtlConfig(); /** + * + * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
@@ -124,10 +158,13 @@ public interface FieldOrBuilder extends
    * 
* * .google.firestore.admin.v1.Field.TtlConfig ttl_config = 3; + * * @return The ttlConfig. */ com.google.firestore.admin.v1.Field.TtlConfig getTtlConfig(); /** + * + * *
    * The TTL configuration for this `Field`.
    * Setting or unsetting this will enable or disable the TTL for
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
new file mode 100644
index 000000000..996ab05b9
--- /dev/null
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
@@ -0,0 +1,121 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/admin/v1/field.proto
+
+package com.google.firestore.admin.v1;
+
+public final class FieldProto {
+  private FieldProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_Field_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n%google/firestore/admin/v1/field.proto\022"
+          + "\031google.firestore.admin.v1\032\037google/api/f"
+          + "ield_behavior.proto\032\031google/api/resource"
+          + ".proto\032%google/firestore/admin/v1/index."
+          + "proto\"\305\004\n\005Field\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\014in"
+          + "dex_config\030\002 \001(\0132,.google.firestore.admi"
+          + "n.v1.Field.IndexConfig\022>\n\nttl_config\030\003 \001"
+          + "(\0132*.google.firestore.admin.v1.Field.Ttl"
+          + "Config\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\0132"
+          + " .google.firestore.admin.v1.Index\022\034\n\024use"
+          + "s_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fiel"
+          + "d\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\235\001\n\tTtlConfig"
+          + "\022D\n\005state\030\001 \001(\01620.google.firestore.admin"
+          + ".v1.Field.TtlConfig.StateB\003\340A\003\"J\n\005State\022"
+          + "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006"
+          + "ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036firesto"
+          + "re.googleapis.com/Field\022Tprojects/{proje"
+          + "ct}/databases/{database}/collectionGroup"
+          + "s/{collection}/fields/{field}B\331\001\n\035com.go"
+          + "ogle.firestore.admin.v1B\nFieldProtoP\001Z9c"
+          + "loud.google.com/go/firestore/apiv1/admin"
+          + "/adminpb;adminpb\242\002\004GCFS\252\002\037Google.Cloud.F"
+          + "irestore.Admin.V1\312\002\037Google\\Cloud\\Firesto"
+          + "re\\Admin\\V1\352\002#Google::Cloud::Firestore::"
+          + "Admin::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.firestore.admin.v1.IndexProto.getDescriptor(),
+            });
+    internal_static_google_firestore_admin_v1_Field_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_admin_v1_Field_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_Field_descriptor,
+            new java.lang.String[] {
+              "Name", "IndexConfig", "TtlConfig",
+            });
+    internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor =
+        internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_admin_v1_Field_IndexConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor,
+            new java.lang.String[] {
+              "Indexes", "UsesAncestorConfig", "AncestorField", "Reverting",
+            });
+    internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor =
+        internal_static_google_firestore_admin_v1_Field_descriptor.getNestedTypes().get(1);
+    internal_static_google_firestore_admin_v1_Field_TtlConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor,
+            new java.lang.String[] {
+              "State",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.firestore.admin.v1.IndexProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
new file mode 100644
index 000000000..3f9bb06d7
--- /dev/null
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
@@ -0,0 +1,394 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/admin/v1/firestore_admin.proto
+
+package com.google.firestore.admin.v1;
+
+public final class FirestoreAdminProto {
+  private FirestoreAdminProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n/google/firestore/admin/v1/firestore_ad"
+          + "min.proto\022\031google.firestore.admin.v1\032\034go"
+          + "ogle/api/annotations.proto\032\027google/api/c"
+          + "lient.proto\032\037google/api/field_behavior.p"
+          + "roto\032\031google/api/resource.proto\032(google/"
+          + "firestore/admin/v1/database.proto\032%googl"
+          + "e/firestore/admin/v1/field.proto\032%google"
+          + "/firestore/admin/v1/index.proto\032#google/"
+          + "longrunning/operations.proto\032\033google/pro"
+          + "tobuf/empty.proto\032 google/protobuf/field"
+          + "_mask.proto\"Q\n\024ListDatabasesRequest\0229\n\006p"
+          + "arent\030\001 \001(\tB)\340A\002\372A#\022!firestore.googleapi"
+          + "s.com/Database\"O\n\025ListDatabasesResponse\022"
+          + "6\n\tdatabases\030\001 \003(\0132#.google.firestore.ad"
+          + "min.v1.Database\"M\n\022GetDatabaseRequest\0227\n"
+          + "\004name\030\001 \001(\tB)\340A\002\372A#\n!firestore.googleapi"
+          + "s.com/Database\"\204\001\n\025UpdateDatabaseRequest"
+          + "\022:\n\010database\030\001 \001(\0132#.google.firestore.ad"
+          + "min.v1.DatabaseB\003\340A\002\022/\n\013update_mask\030\002 \001("
+          + "\0132\032.google.protobuf.FieldMask\"\030\n\026UpdateD"
+          + "atabaseMetadata\"\214\001\n\022CreateIndexRequest\022@"
+          + "\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(firestore.google"
+          + "apis.com/CollectionGroup\0224\n\005index\030\002 \001(\0132"
+          + " .google.firestore.admin.v1.IndexB\003\340A\002\"\215"
+          + "\001\n\022ListIndexesRequest\022@\n\006parent\030\001 \001(\tB0\340"
+          + "A\002\372A*\n(firestore.googleapis.com/Collecti"
+          + "onGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001"
+          + "(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListIndexesRes"
+          + "ponse\0221\n\007indexes\030\001 \003(\0132 .google.firestor"
+          + "e.admin.v1.Index\022\027\n\017next_page_token\030\002 \001("
+          + "\t\"G\n\017GetIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372"
+          + "A \n\036firestore.googleapis.com/Index\"J\n\022De"
+          + "leteIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036"
+          + "firestore.googleapis.com/Index\"{\n\022Update"
+          + "FieldRequest\0224\n\005field\030\001 \001(\0132 .google.fir"
+          + "estore.admin.v1.FieldB\003\340A\002\022/\n\013update_mas"
+          + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"G\n\017G"
+          + "etFieldRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036fi"
+          + "restore.googleapis.com/Field\"\214\001\n\021ListFie"
+          + "ldsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(fire"
+          + "store.googleapis.com/CollectionGroup\022\016\n\006"
+          + "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_"
+          + "token\030\004 \001(\t\"_\n\022ListFieldsResponse\0220\n\006fie"
+          + "lds\030\001 \003(\0132 .google.firestore.admin.v1.Fi"
+          + "eld\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\026ExportD"
+          + "ocumentsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!f"
+          + "irestore.googleapis.com/Database\022\026\n\016coll"
+          + "ection_ids\030\002 \003(\t\022\031\n\021output_uri_prefix\030\003 "
+          + "\001(\t\"\203\001\n\026ImportDocumentsRequest\0227\n\004name\030\001"
+          + " \001(\tB)\340A\002\372A#\n!firestore.googleapis.com/D"
+          + "atabase\022\026\n\016collection_ids\030\002 \003(\t\022\030\n\020input"
+          + "_uri_prefix\030\003 \001(\t2\222\023\n\016FirestoreAdmin\022\333\001\n"
+          + "\013CreateIndex\022-.google.firestore.admin.v1"
+          + ".CreateIndexRequest\032\035.google.longrunning"
+          + ".Operation\"~\202\323\344\223\002G\">/v1/{parent=projects"
+          + "/*/databases/*/collectionGroups/*}/index"
+          + "es:\005index\332A\014parent,index\312A\037\n\005Index\022\026Inde"
+          + "xOperationMetadata\022\275\001\n\013ListIndexes\022-.goo"
+          + "gle.firestore.admin.v1.ListIndexesReques"
+          + "t\032..google.firestore.admin.v1.ListIndexe"
+          + "sResponse\"O\202\323\344\223\002@\022>/v1/{parent=projects/"
+          + "*/databases/*/collectionGroups/*}/indexe"
+          + "s\332A\006parent\022\247\001\n\010GetIndex\022*.google.firesto"
+          + "re.admin.v1.GetIndexRequest\032 .google.fir"
+          + "estore.admin.v1.Index\"M\202\323\344\223\002@\022>/v1/{name"
+          + "=projects/*/databases/*/collectionGroups"
+          + "/*/indexes/*}\332A\004name\022\243\001\n\013DeleteIndex\022-.g"
+          + "oogle.firestore.admin.v1.DeleteIndexRequ"
+          + "est\032\026.google.protobuf.Empty\"M\202\323\344\223\002@*>/v1"
+          + "/{name=projects/*/databases/*/collection"
+          + "Groups/*/indexes/*}\332A\004name\022\246\001\n\010GetField\022"
+          + "*.google.firestore.admin.v1.GetFieldRequ"
+          + "est\032 .google.firestore.admin.v1.Field\"L\202"
+          + "\323\344\223\002?\022=/v1/{name=projects/*/databases/*/"
+          + "collectionGroups/*/fields/*}\332A\004name\022\331\001\n\013"
+          + "UpdateField\022-.google.firestore.admin.v1."
+          + "UpdateFieldRequest\032\035.google.longrunning."
+          + "Operation\"|\202\323\344\223\002L2C/v1/{field.name=proje"
+          + "cts/*/databases/*/collectionGroups/*/fie"
+          + "lds/*}:\005field\332A\005field\312A\037\n\005Field\022\026FieldOp"
+          + "erationMetadata\022\271\001\n\nListFields\022,.google."
+          + "firestore.admin.v1.ListFieldsRequest\032-.g"
+          + "oogle.firestore.admin.v1.ListFieldsRespo"
+          + "nse\"N\202\323\344\223\002?\022=/v1/{parent=projects/*/data"
+          + "bases/*/collectionGroups/*}/fields\332A\006par"
+          + "ent\022\335\001\n\017ExportDocuments\0221.google.firesto"
+          + "re.admin.v1.ExportDocumentsRequest\032\035.goo"
+          + "gle.longrunning.Operation\"x\202\323\344\223\0026\"1/v1/{"
+          + "name=projects/*/databases/*}:exportDocum"
+          + "ents:\001*\332A\004name\312A2\n\027ExportDocumentsRespon"
+          + "se\022\027ExportDocumentsMetadata\022\333\001\n\017ImportDo"
+          + "cuments\0221.google.firestore.admin.v1.Impo"
+          + "rtDocumentsRequest\032\035.google.longrunning."
+          + "Operation\"v\202\323\344\223\0026\"1/v1/{name=projects/*/"
+          + "databases/*}:importDocuments:\001*\332A\004name\312A"
+          + "0\n\025google.protobuf.Empty\022\027ImportDocument"
+          + "sMetadata\022\223\001\n\013GetDatabase\022-.google.fires"
+          + "tore.admin.v1.GetDatabaseRequest\032#.googl"
+          + "e.firestore.admin.v1.Database\"0\202\323\344\223\002#\022!/"
+          + "v1/{name=projects/*/databases/*}\332A\004name\022"
+          + "\246\001\n\rListDatabases\022/.google.firestore.adm"
+          + "in.v1.ListDatabasesRequest\0320.google.fire"
+          + "store.admin.v1.ListDatabasesResponse\"2\202\323"
+          + "\344\223\002#\022!/v1/{parent=projects/*}/databases\332"
+          + "A\006parent\022\333\001\n\016UpdateDatabase\0220.google.fir"
+          + "estore.admin.v1.UpdateDatabaseRequest\032\035."
+          + "google.longrunning.Operation\"x\202\323\344\223\00262*/v"
+          + "1/{database.name=projects/*/databases/*}"
+          + ":\010database\332A\024database,update_mask\312A\"\n\010Da"
+          + "tabase\022\026UpdateDatabaseMetadata\032v\312A\030fires"
+          + "tore.googleapis.com\322AXhttps://www.google"
+          + "apis.com/auth/cloud-platform,https://www"
+          + ".googleapis.com/auth/datastoreB\245\003\n\035com.g"
+          + "oogle.firestore.admin.v1B\023FirestoreAdmin"
+          + "ProtoP\001Z9cloud.google.com/go/firestore/a"
+          + "piv1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Goog"
+          + "le.Cloud.Firestore.Admin.V1\312\002\037Google\\Clo"
+          + "ud\\Firestore\\Admin\\V1\352\002#Google::Cloud::F"
+          + "irestore::Admin::V1\352AL\n!firestore.google"
+          + "apis.com/Location\022\'projects/{project}/lo"
+          + "cations/{location}\352Aq\n(firestore.googlea"
+          + "pis.com/CollectionGroup\022Eprojects/{proje"
+          + "ct}/databases/{database}/collectionGroup"
+          + "s/{collection}b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.firestore.admin.v1.DatabaseProto.getDescriptor(),
+              com.google.firestore.admin.v1.FieldProto.getDescriptor(),
+              com.google.firestore.admin.v1.IndexProto.getDescriptor(),
+              com.google.longrunning.OperationsProto.getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+              com.google.protobuf.FieldMaskProto.getDescriptor(),
+            });
+    internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent",
+            });
+    internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor,
+            new java.lang.String[] {
+              "Databases",
+            });
+    internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor,
+            new java.lang.String[] {
+              "Database", "UpdateMask",
+            });
+    internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor,
+            new java.lang.String[] {});
+    internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Index",
+            });
+    internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Filter", "PageSize", "PageToken",
+            });
+    internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor,
+            new java.lang.String[] {
+              "Indexes", "NextPageToken",
+            });
+    internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor,
+            new java.lang.String[] {
+              "Field", "UpdateMask",
+            });
+    internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Filter", "PageSize", "PageToken",
+            });
+    internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor,
+            new java.lang.String[] {
+              "Fields", "NextPageToken",
+            });
+    internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "CollectionIds", "OutputUriPrefix",
+            });
+    internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(15);
+    internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "CollectionIds", "InputUriPrefix",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.methodSignature);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceDefinition);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    registry.add(com.google.longrunning.OperationsProto.operationInfo);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.firestore.admin.v1.DatabaseProto.getDescriptor();
+    com.google.firestore.admin.v1.FieldProto.getDescriptor();
+    com.google.firestore.admin.v1.IndexProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+    com.google.protobuf.FieldMaskProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
similarity index 62%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
index d6d435cce..313947634 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
@@ -1,63 +1,88 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/firestore_admin.proto
 
 package com.google.firestore.admin.v1;
 
 /**
+ *
+ *
  * 
  * The request for [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetDatabaseRequest} */ -public final class GetDatabaseRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetDatabaseRequest) GetDatabaseRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDatabaseRequest.newBuilder() to construct. private GetDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDatabaseRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetDatabaseRequest.class, com.google.firestore.admin.v1.GetDatabaseRequest.Builder.class); + com.google.firestore.admin.v1.GetDatabaseRequest.class, + com.google.firestore.admin.v1.GetDatabaseRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.GetDatabaseRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.GetDatabaseRequest other = (com.google.firestore.admin.v1.GetDatabaseRequest) obj; + com.google.firestore.admin.v1.GetDatabaseRequest other = + (com.google.firestore.admin.v1.GetDatabaseRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.GetDatabaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.GetDatabaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.GetDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.GetDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.GetDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
    * 
* * Protobuf type {@code google.firestore.admin.v1.GetDatabaseRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.GetDatabaseRequest) com.google.firestore.admin.v1.GetDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetDatabaseRequest.class, com.google.firestore.admin.v1.GetDatabaseRequest.Builder.class); + com.google.firestore.admin.v1.GetDatabaseRequest.class, + com.google.firestore.admin.v1.GetDatabaseRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.GetDatabaseRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor; } @java.lang.Override @@ -315,8 +348,11 @@ public com.google.firestore.admin.v1.GetDatabaseRequest build() { @java.lang.Override public com.google.firestore.admin.v1.GetDatabaseRequest buildPartial() { - com.google.firestore.admin.v1.GetDatabaseRequest result = new com.google.firestore.admin.v1.GetDatabaseRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.GetDatabaseRequest result = + new com.google.firestore.admin.v1.GetDatabaseRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +368,39 @@ private void buildPartial0(com.google.firestore.admin.v1.GetDatabaseRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.GetDatabaseRequest) { - return mergeFrom((com.google.firestore.admin.v1.GetDatabaseRequest)other); + return mergeFrom((com.google.firestore.admin.v1.GetDatabaseRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.GetDatabaseRequest other) { - if (other == com.google.firestore.admin.v1.GetDatabaseRequest.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.GetDatabaseRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -403,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,23 +463,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +493,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +518,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +562,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.GetDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.GetDatabaseRequest) private static final com.google.firestore.admin.v1.GetDatabaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.GetDatabaseRequest(); } @@ -547,27 +612,27 @@ public static com.google.firestore.admin.v1.GetDatabaseRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.GetDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java new file mode 100644 index 000000000..e6bebb265 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface GetDatabaseRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetDatabaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java index 45a04de88..734d3818c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetFieldRequest} */ -public final class GetFieldRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFieldRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetFieldRequest) GetFieldRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFieldRequest.newBuilder() to construct. private GetFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFieldRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFieldRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetFieldRequest.class, com.google.firestore.admin.v1.GetFieldRequest.Builder.class); + com.google.firestore.admin.v1.GetFieldRequest.class, + com.google.firestore.admin.v1.GetFieldRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.GetFieldRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.GetFieldRequest other = (com.google.firestore.admin.v1.GetFieldRequest) obj; + com.google.firestore.admin.v1.GetFieldRequest other = + (com.google.firestore.admin.v1.GetFieldRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.GetFieldRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.GetFieldRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.GetFieldRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.GetFieldRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.GetFieldRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
    * 
* * Protobuf type {@code google.firestore.admin.v1.GetFieldRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.GetFieldRequest) com.google.firestore.admin.v1.GetFieldRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetFieldRequest.class, com.google.firestore.admin.v1.GetFieldRequest.Builder.class); + com.google.firestore.admin.v1.GetFieldRequest.class, + com.google.firestore.admin.v1.GetFieldRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.GetFieldRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor; } @java.lang.Override @@ -315,8 +348,11 @@ public com.google.firestore.admin.v1.GetFieldRequest build() { @java.lang.Override public com.google.firestore.admin.v1.GetFieldRequest buildPartial() { - com.google.firestore.admin.v1.GetFieldRequest result = new com.google.firestore.admin.v1.GetFieldRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.GetFieldRequest result = + new com.google.firestore.admin.v1.GetFieldRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +368,39 @@ private void buildPartial0(com.google.firestore.admin.v1.GetFieldRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.GetFieldRequest) { - return mergeFrom((com.google.firestore.admin.v1.GetFieldRequest)other); + return mergeFrom((com.google.firestore.admin.v1.GetFieldRequest) other); } else { super.mergeFrom(other); return this; @@ -403,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,23 +462,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +492,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +517,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +561,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +597,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.GetFieldRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.GetFieldRequest) private static final com.google.firestore.admin.v1.GetFieldRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.GetFieldRequest(); } @@ -547,27 +611,27 @@ public static com.google.firestore.admin.v1.GetFieldRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFieldRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFieldRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +646,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.GetFieldRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java new file mode 100644 index 000000000..f5eaff563 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface GetFieldRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetFieldRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java index e038ca30c..1e6741144 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
  * 
* * Protobuf type {@code google.firestore.admin.v1.GetIndexRequest} */ -public final class GetIndexRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetIndexRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.GetIndexRequest) GetIndexRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetIndexRequest.newBuilder() to construct. private GetIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetIndexRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetIndexRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetIndexRequest.class, com.google.firestore.admin.v1.GetIndexRequest.Builder.class); + com.google.firestore.admin.v1.GetIndexRequest.class, + com.google.firestore.admin.v1.GetIndexRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.GetIndexRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.GetIndexRequest other = (com.google.firestore.admin.v1.GetIndexRequest) obj; + com.google.firestore.admin.v1.GetIndexRequest other = + (com.google.firestore.admin.v1.GetIndexRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.GetIndexRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.GetIndexRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.GetIndexRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.GetIndexRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.GetIndexRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
    * 
* * Protobuf type {@code google.firestore.admin.v1.GetIndexRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.GetIndexRequest) com.google.firestore.admin.v1.GetIndexRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.GetIndexRequest.class, com.google.firestore.admin.v1.GetIndexRequest.Builder.class); + com.google.firestore.admin.v1.GetIndexRequest.class, + com.google.firestore.admin.v1.GetIndexRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.GetIndexRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor; } @java.lang.Override @@ -315,8 +348,11 @@ public com.google.firestore.admin.v1.GetIndexRequest build() { @java.lang.Override public com.google.firestore.admin.v1.GetIndexRequest buildPartial() { - com.google.firestore.admin.v1.GetIndexRequest result = new com.google.firestore.admin.v1.GetIndexRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.GetIndexRequest result = + new com.google.firestore.admin.v1.GetIndexRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +368,39 @@ private void buildPartial0(com.google.firestore.admin.v1.GetIndexRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.GetIndexRequest) { - return mergeFrom((com.google.firestore.admin.v1.GetIndexRequest)other); + return mergeFrom((com.google.firestore.admin.v1.GetIndexRequest) other); } else { super.mergeFrom(other); return this; @@ -403,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,23 +462,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,21 +492,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -470,30 +517,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -503,27 +561,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. A name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +597,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.GetIndexRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.GetIndexRequest) private static final com.google.firestore.admin.v1.GetIndexRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.GetIndexRequest(); } @@ -547,27 +611,27 @@ public static com.google.firestore.admin.v1.GetIndexRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetIndexRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIndexRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +646,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.GetIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java new file mode 100644 index 000000000..82ae93d22 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface GetIndexRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.GetIndexRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the form
+   * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java index 5332c418e..d9f95bf20 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** + * + * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsMetadata}
  */
-public final class ImportDocumentsMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportDocumentsMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ImportDocumentsMetadata)
     ImportDocumentsMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportDocumentsMetadata.newBuilder() to construct.
   private ImportDocumentsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ImportDocumentsMetadata() {
     operationState_ = 0;
     collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -28,37 +46,41 @@ private ImportDocumentsMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ImportDocumentsMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.ImportDocumentsMetadata.class, com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
+            com.google.firestore.admin.v1.ImportDocumentsMetadata.class,
+            com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
+   *
+   *
    * 
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -66,11 +88,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -78,6 +103,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -92,12 +119,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -105,12 +135,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -118,6 +151,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -133,37 +168,49 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int OPERATION_STATE_FIELD_NUMBER = 3;
   private int operationState_ = 0;
   /**
+   *
+   *
    * 
    * The state of the import operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The enum numeric value on the wire for operationState. */ - @java.lang.Override public int getOperationStateValue() { + @java.lang.Override + public int getOperationStateValue() { return operationState_; } /** + * + * *
    * The state of the import operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The operationState. */ - @java.lang.Override public com.google.firestore.admin.v1.OperationState getOperationState() { - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(operationState_); + @java.lang.Override + public com.google.firestore.admin.v1.OperationState getOperationState() { + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.forNumber(operationState_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } public static final int PROGRESS_DOCUMENTS_FIELD_NUMBER = 4; private com.google.firestore.admin.v1.Progress progressDocuments_; /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return Whether the progressDocuments field is set. */ @java.lang.Override @@ -171,18 +218,25 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } /** + * + * *
    * The progress, in documents, of this operation.
    * 
@@ -191,17 +245,22 @@ public com.google.firestore.admin.v1.Progress getProgressDocuments() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder() { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 5; private com.google.firestore.admin.v1.Progress progressBytes_; /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -209,18 +268,25 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } /** + * + * *
    * The progress, in bytes, of this operation.
    * 
@@ -229,41 +295,52 @@ public com.google.firestore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } public static final int COLLECTION_IDS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList collectionIds_; /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_; } /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -271,28 +348,34 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } public static final int INPUT_URI_PREFIX_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object inputUriPrefix_ = ""; /** + * + * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; + * * @return The inputUriPrefix. */ @java.lang.Override @@ -301,29 +384,29 @@ public java.lang.String getInputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; } } /** + * + * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; + * * @return The bytes for inputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getInputUriPrefixBytes() { + public com.google.protobuf.ByteString getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -332,6 +415,7 @@ public java.lang.String getInputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -343,15 +427,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } if (endTime_ != null) { output.writeMessage(2, getEndTime()); } - if (operationState_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + if (operationState_ + != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(3, operationState_); } if (progressDocuments_ != null) { @@ -376,24 +460,20 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } - if (operationState_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, operationState_); + if (operationState_ + != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationState_); } if (progressDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getProgressDocuments()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgressDocuments()); } if (progressBytes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProgressBytes()); } { int dataSize = 0; @@ -414,38 +494,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ImportDocumentsMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.ImportDocumentsMetadata other = (com.google.firestore.admin.v1.ImportDocumentsMetadata) obj; + com.google.firestore.admin.v1.ImportDocumentsMetadata other = + (com.google.firestore.admin.v1.ImportDocumentsMetadata) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (operationState_ != other.operationState_) return false; if (hasProgressDocuments() != other.hasProgressDocuments()) return false; if (hasProgressDocuments()) { - if (!getProgressDocuments() - .equals(other.getProgressDocuments())) return false; + if (!getProgressDocuments().equals(other.getProgressDocuments())) return false; } if (hasProgressBytes() != other.hasProgressBytes()) return false; if (hasProgressBytes()) { - if (!getProgressBytes() - .equals(other.getProgressBytes())) return false; + if (!getProgressBytes().equals(other.getProgressBytes())) return false; } - if (!getCollectionIdsList() - .equals(other.getCollectionIdsList())) return false; - if (!getInputUriPrefix() - .equals(other.getInputUriPrefix())) return false; + if (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; + if (!getInputUriPrefix().equals(other.getInputUriPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -487,96 +562,104 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ImportDocumentsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.admin.v1.ImportDocumentsMetadata prototype) { + + public static Builder newBuilder( + com.google.firestore.admin.v1.ImportDocumentsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
    * [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
@@ -584,33 +667,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ImportDocumentsMetadata)
       com.google.firestore.admin.v1.ImportDocumentsMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.ImportDocumentsMetadata.class, com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
+              com.google.firestore.admin.v1.ImportDocumentsMetadata.class,
+              com.google.firestore.admin.v1.ImportDocumentsMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.ImportDocumentsMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -643,9 +725,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -664,14 +746,18 @@ public com.google.firestore.admin.v1.ImportDocumentsMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.ImportDocumentsMetadata buildPartial() {
-      com.google.firestore.admin.v1.ImportDocumentsMetadata result = new com.google.firestore.admin.v1.ImportDocumentsMetadata(this);
+      com.google.firestore.admin.v1.ImportDocumentsMetadata result =
+          new com.google.firestore.admin.v1.ImportDocumentsMetadata(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ImportDocumentsMetadata result) {
+    private void buildPartialRepeatedFields(
+        com.google.firestore.admin.v1.ImportDocumentsMetadata result) {
       if (((bitField0_ & 0x00000020) != 0)) {
         collectionIds_ = collectionIds_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000020);
@@ -682,27 +768,23 @@ private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ImportDocu
     private void buildPartial0(com.google.firestore.admin.v1.ImportDocumentsMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.operationState_ = operationState_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.progressDocuments_ = progressDocumentsBuilder_ == null
-            ? progressDocuments_
-            : progressDocumentsBuilder_.build();
+        result.progressDocuments_ =
+            progressDocumentsBuilder_ == null
+                ? progressDocuments_
+                : progressDocumentsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.progressBytes_ = progressBytesBuilder_ == null
-            ? progressBytes_
-            : progressBytesBuilder_.build();
+        result.progressBytes_ =
+            progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.inputUriPrefix_ = inputUriPrefix_;
@@ -713,38 +795,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ImportDocumentsMetadata
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.ImportDocumentsMetadata) {
-        return mergeFrom((com.google.firestore.admin.v1.ImportDocumentsMetadata)other);
+        return mergeFrom((com.google.firestore.admin.v1.ImportDocumentsMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -752,7 +835,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.ImportDocumentsMetadata other) {
-      if (other == com.google.firestore.admin.v1.ImportDocumentsMetadata.getDefaultInstance()) return this;
+      if (other == com.google.firestore.admin.v1.ImportDocumentsMetadata.getDefaultInstance())
+        return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -809,56 +893,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              operationState_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getProgressDocumentsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getProgressBytesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureCollectionIdsIsMutable();
-              collectionIds_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              inputUriPrefix_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                operationState_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(
+                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureCollectionIdsIsMutable();
+                collectionIds_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                inputUriPrefix_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -868,28 +953,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        startTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -900,6 +995,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -920,14 +1017,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -938,6 +1036,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -946,9 +1046,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -961,6 +1061,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -978,6 +1080,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -990,6 +1094,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -1000,11 +1106,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * The time this operation started.
      * 
@@ -1012,14 +1119,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1027,26 +1137,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1057,6 +1176,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1078,6 +1199,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1085,8 +1208,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -1097,6 +1219,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1106,9 +1230,9 @@ public Builder setEndTime(
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          endTime_ != null &&
-          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && endTime_ != null
+            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -1121,6 +1245,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1139,6 +1265,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1152,6 +1280,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1163,11 +1293,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1176,14 +1307,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1191,22 +1325,29 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private int operationState_ = 0;
     /**
+     *
+     *
      * 
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The enum numeric value on the wire for operationState. */ - @java.lang.Override public int getOperationStateValue() { + @java.lang.Override + public int getOperationStateValue() { return operationState_; } /** + * + * *
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @param value The enum numeric value on the wire for operationState to set. * @return This builder for chaining. */ @@ -1217,24 +1358,31 @@ public Builder setOperationStateValue(int value) { return this; } /** + * + * *
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The operationState. */ @java.lang.Override public com.google.firestore.admin.v1.OperationState getOperationState() { - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(operationState_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.forNumber(operationState_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } /** + * + * *
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @param value The operationState to set. * @return This builder for chaining. */ @@ -1248,11 +1396,14 @@ public Builder setOperationState(com.google.firestore.admin.v1.OperationState va return this; } /** + * + * *
      * The state of the import operation.
      * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return This builder for chaining. */ public Builder clearOperationState() { @@ -1264,34 +1415,47 @@ public Builder clearOperationState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> + progressDocumentsBuilder_; /** + * + * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return The progressDocuments. */ public com.google.firestore.admin.v1.Progress getProgressDocuments() { if (progressDocumentsBuilder_ == null) { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } else { return progressDocumentsBuilder_.getMessage(); } } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1312,6 +1476,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1330,6 +1496,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1338,9 +1506,9 @@ public Builder setProgressDocuments( */ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress value) { if (progressDocumentsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - progressDocuments_ != null && - progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && progressDocuments_ != null + && progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressDocumentsBuilder().mergeFrom(value); } else { progressDocuments_ = value; @@ -1353,6 +1521,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1370,6 +1540,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1382,6 +1554,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1392,11 +1566,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null ? - com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1404,14 +1581,17 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), - getParentForChildren(), - isClean()); + progressDocumentsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), getParentForChildren(), isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -1419,34 +1599,47 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> + progressBytesBuilder_; /** + * + * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return The progressBytes. */ public com.google.firestore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1467,6 +1660,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1485,6 +1680,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1493,9 +1690,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - progressBytes_ != null && - progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && progressBytes_ != null + && progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -1508,6 +1705,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1525,6 +1724,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1537,6 +1738,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1547,11 +1750,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null ? - com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1559,55 +1765,68 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), - getParentForChildren(), - isClean()); + progressBytesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), getParentForChildren(), isClean()); progressBytes_ = null; } return progressBytesBuilder_; } - private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList collectionIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -1615,76 +1834,90 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCollectionIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds( - java.lang.Iterable values) { + public Builder addAllCollectionIds(java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -1694,17 +1927,21 @@ public Builder clearCollectionIds() { return this; } /** + * + * *
      * Which collection ids are being imported.
      * 
* * repeated string collection_ids = 6; + * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); @@ -1714,18 +1951,20 @@ public Builder addCollectionIdsBytes( private java.lang.Object inputUriPrefix_ = ""; /** + * + * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; + * * @return The inputUriPrefix. */ public java.lang.String getInputUriPrefix() { java.lang.Object ref = inputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; @@ -1734,20 +1973,21 @@ public java.lang.String getInputUriPrefix() { } } /** + * + * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; + * * @return The bytes for inputUriPrefix. */ - public com.google.protobuf.ByteString - getInputUriPrefixBytes() { + public com.google.protobuf.ByteString getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -1755,28 +1995,35 @@ public java.lang.String getInputUriPrefix() { } } /** + * + * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; + * * @param value The inputUriPrefix to set. * @return This builder for chaining. */ - public Builder setInputUriPrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInputUriPrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } inputUriPrefix_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; + * * @return This builder for chaining. */ public Builder clearInputUriPrefix() { @@ -1786,26 +2033,30 @@ public Builder clearInputUriPrefix() { return this; } /** + * + * *
      * The location of the documents being imported.
      * 
* * string input_uri_prefix = 7; + * * @param value The bytes for inputUriPrefix to set. * @return This builder for chaining. */ - public Builder setInputUriPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInputUriPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); inputUriPrefix_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1815,12 +2066,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ImportDocumentsMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ImportDocumentsMetadata) private static final com.google.firestore.admin.v1.ImportDocumentsMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ImportDocumentsMetadata(); } @@ -1829,27 +2080,27 @@ public static com.google.firestore.admin.v1.ImportDocumentsMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportDocumentsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportDocumentsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1864,6 +2115,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ImportDocumentsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java index 79cbc4ceb..dc9f0242f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface ImportDocumentsMetadataOrBuilder extends +public interface ImportDocumentsMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ImportDocumentsMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time this operation started.
    * 
@@ -35,26 +59,34 @@ public interface ImportDocumentsMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -65,43 +97,57 @@ public interface ImportDocumentsMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The state of the import operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The enum numeric value on the wire for operationState. */ int getOperationStateValue(); /** + * + * *
    * The state of the import operation.
    * 
* * .google.firestore.admin.v1.OperationState operation_state = 3; + * * @return The operationState. */ com.google.firestore.admin.v1.OperationState getOperationState(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 4; + * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
@@ -111,24 +157,32 @@ public interface ImportDocumentsMetadataOrBuilder extends com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 5; + * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
@@ -138,63 +192,78 @@ public interface ImportDocumentsMetadataOrBuilder extends com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @return A list containing the collectionIds. */ - java.util.List - getCollectionIdsList(); + java.util.List getCollectionIdsList(); /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** + * + * *
    * Which collection ids are being imported.
    * 
* * repeated string collection_ids = 6; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString - getCollectionIdsBytes(int index); + com.google.protobuf.ByteString getCollectionIdsBytes(int index); /** + * + * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; + * * @return The inputUriPrefix. */ java.lang.String getInputUriPrefix(); /** + * + * *
    * The location of the documents being imported.
    * 
* * string input_uri_prefix = 7; + * * @return The bytes for inputUriPrefix. */ - com.google.protobuf.ByteString - getInputUriPrefixBytes(); + com.google.protobuf.ByteString getInputUriPrefixBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java index e6c99eef4..cb41bb110 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsRequest} */ -public final class ImportDocumentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportDocumentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ImportDocumentsRequest) ImportDocumentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportDocumentsRequest.newBuilder() to construct. private ImportDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportDocumentsRequest() { name_ = ""; collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -27,39 +45,46 @@ private ImportDocumentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportDocumentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ImportDocumentsRequest.class, com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ImportDocumentsRequest.class, + com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Database to import into. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,30 +93,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Database to import into. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,40 +127,49 @@ public java.lang.String getName() { } public static final int COLLECTION_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList collectionIds_; /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_; } /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -141,24 +177,29 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } public static final int INPUT_URI_PREFIX_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object inputUriPrefix_ = ""; /** + * + * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -168,6 +209,7 @@ public java.lang.String getCollectionIds(int index) {
    * 
* * string input_uri_prefix = 3; + * * @return The inputUriPrefix. */ @java.lang.Override @@ -176,14 +218,15 @@ public java.lang.String getInputUriPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; } } /** + * + * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -193,16 +236,15 @@ public java.lang.String getInputUriPrefix() {
    * 
* * string input_uri_prefix = 3; + * * @return The bytes for inputUriPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getInputUriPrefixBytes() { + public com.google.protobuf.ByteString getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -211,6 +253,7 @@ public java.lang.String getInputUriPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -264,19 +306,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ImportDocumentsRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.ImportDocumentsRequest other = (com.google.firestore.admin.v1.ImportDocumentsRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getCollectionIdsList() - .equals(other.getCollectionIdsList())) return false; - if (!getInputUriPrefix() - .equals(other.getInputUriPrefix())) return false; + com.google.firestore.admin.v1.ImportDocumentsRequest other = + (com.google.firestore.admin.v1.ImportDocumentsRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; + if (!getInputUriPrefix().equals(other.getInputUriPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,129 +342,135 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ImportDocumentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ImportDocumentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ImportDocumentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ImportDocumentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ImportDocumentsRequest) com.google.firestore.admin.v1.ImportDocumentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ImportDocumentsRequest.class, com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); + com.google.firestore.admin.v1.ImportDocumentsRequest.class, + com.google.firestore.admin.v1.ImportDocumentsRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ImportDocumentsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor; } @java.lang.Override @@ -458,14 +504,18 @@ public com.google.firestore.admin.v1.ImportDocumentsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ImportDocumentsRequest buildPartial() { - com.google.firestore.admin.v1.ImportDocumentsRequest result = new com.google.firestore.admin.v1.ImportDocumentsRequest(this); + com.google.firestore.admin.v1.ImportDocumentsRequest result = + new com.google.firestore.admin.v1.ImportDocumentsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ImportDocumentsRequest result) { + private void buildPartialRepeatedFields( + com.google.firestore.admin.v1.ImportDocumentsRequest result) { if (((bitField0_ & 0x00000002) != 0)) { collectionIds_ = collectionIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); @@ -487,38 +537,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ImportDocumentsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ImportDocumentsRequest) { - return mergeFrom((com.google.firestore.admin.v1.ImportDocumentsRequest)other); + return mergeFrom((com.google.firestore.admin.v1.ImportDocumentsRequest) other); } else { super.mergeFrom(other); return this; @@ -526,7 +577,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ImportDocumentsRequest other) { - if (other == com.google.firestore.admin.v1.ImportDocumentsRequest.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.ImportDocumentsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -573,28 +625,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCollectionIdsIsMutable(); - collectionIds_.add(s); - break; - } // case 18 - case 26: { - inputUriPrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCollectionIdsIsMutable(); + collectionIds_.add(s); + break; + } // case 18 + case 26: + { + inputUriPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -604,23 +660,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -629,21 +690,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -651,30 +715,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -684,18 +759,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Database to import into. Should be of the form:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -703,45 +784,55 @@ public Builder setNameBytes( return this; } - private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList collectionIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCollectionIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -749,81 +840,95 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCollectionIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds( - java.lang.Iterable values) { + public Builder addAllCollectionIds(java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -833,18 +938,22 @@ public Builder clearCollectionIds() { return this; } /** + * + * *
      * Which collection ids to import. Unspecified means all collections included
      * in the import.
      * 
* * repeated string collection_ids = 2; + * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); @@ -854,6 +963,8 @@ public Builder addCollectionIdsBytes( private java.lang.Object inputUriPrefix_ = ""; /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -863,13 +974,13 @@ public Builder addCollectionIdsBytes(
      * 
* * string input_uri_prefix = 3; + * * @return The inputUriPrefix. */ public java.lang.String getInputUriPrefix() { java.lang.Object ref = inputUriPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUriPrefix_ = s; return s; @@ -878,6 +989,8 @@ public java.lang.String getInputUriPrefix() { } } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -887,15 +1000,14 @@ public java.lang.String getInputUriPrefix() {
      * 
* * string input_uri_prefix = 3; + * * @return The bytes for inputUriPrefix. */ - public com.google.protobuf.ByteString - getInputUriPrefixBytes() { + public com.google.protobuf.ByteString getInputUriPrefixBytes() { java.lang.Object ref = inputUriPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputUriPrefix_ = b; return b; } else { @@ -903,6 +1015,8 @@ public java.lang.String getInputUriPrefix() { } } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -912,18 +1026,22 @@ public java.lang.String getInputUriPrefix() {
      * 
* * string input_uri_prefix = 3; + * * @param value The inputUriPrefix to set. * @return This builder for chaining. */ - public Builder setInputUriPrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInputUriPrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } inputUriPrefix_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -933,6 +1051,7 @@ public Builder setInputUriPrefix(
      * 
* * string input_uri_prefix = 3; + * * @return This builder for chaining. */ public Builder clearInputUriPrefix() { @@ -942,6 +1061,8 @@ public Builder clearInputUriPrefix() { return this; } /** + * + * *
      * Location of the exported files.
      * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -951,21 +1072,23 @@ public Builder clearInputUriPrefix() {
      * 
* * string input_uri_prefix = 3; + * * @param value The bytes for inputUriPrefix to set. * @return This builder for chaining. */ - public Builder setInputUriPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInputUriPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); inputUriPrefix_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -975,12 +1098,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ImportDocumentsRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ImportDocumentsRequest) private static final com.google.firestore.admin.v1.ImportDocumentsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ImportDocumentsRequest(); } @@ -989,27 +1112,27 @@ public static com.google.firestore.admin.v1.ImportDocumentsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportDocumentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportDocumentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1024,6 +1147,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ImportDocumentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java index 6c2092a57..28b8df488 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java @@ -1,80 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ImportDocumentsRequestOrBuilder extends +public interface ImportDocumentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ImportDocumentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Database to import into. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. Database to import into. Should be of the form:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @return A list containing the collectionIds. */ - java.util.List - getCollectionIdsList(); + java.util.List getCollectionIdsList(); /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** + * + * *
    * Which collection ids to import. Unspecified means all collections included
    * in the import.
    * 
* * repeated string collection_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString - getCollectionIdsBytes(int index); + com.google.protobuf.ByteString getCollectionIdsBytes(int index); /** + * + * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -84,10 +121,13 @@ public interface ImportDocumentsRequestOrBuilder extends
    * 
* * string input_uri_prefix = 3; + * * @return The inputUriPrefix. */ java.lang.String getInputUriPrefix(); /** + * + * *
    * Location of the exported files.
    * This must match the output_uri_prefix of an ExportDocumentsResponse from
@@ -97,8 +137,8 @@ public interface ImportDocumentsRequestOrBuilder extends
    * 
* * string input_uri_prefix = 3; + * * @return The bytes for inputUriPrefix. */ - com.google.protobuf.ByteString - getInputUriPrefixBytes(); + com.google.protobuf.ByteString getInputUriPrefixBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java index 6c7828ff7..11fc1332b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/index.proto package com.google.firestore.admin.v1; /** + * + * *
  * Cloud Firestore indexes enable simple and complex queries against
  * documents in a database.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Index}
  */
-public final class Index extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Index extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Index)
     IndexOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Index.newBuilder() to construct.
   private Index(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Index() {
     name_ = "";
     queryScope_ = 0;
@@ -29,30 +47,33 @@ private Index() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Index();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.IndexProto
+        .internal_static_google_firestore_admin_v1_Index_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
+    return com.google.firestore.admin.v1.IndexProto
+        .internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Index.class, com.google.firestore.admin.v1.Index.Builder.class);
+            com.google.firestore.admin.v1.Index.class,
+            com.google.firestore.admin.v1.Index.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Query Scope defines the scope at which a query is run. This is specified on
    * a StructuredQuery's `from` field.
@@ -60,9 +81,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.firestore.admin.v1.Index.QueryScope}
    */
-  public enum QueryScope
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum QueryScope implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The query scope is unspecified. Not a valid option.
      * 
@@ -71,6 +93,8 @@ public enum QueryScope */ QUERY_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified
@@ -81,6 +105,8 @@ public enum QueryScope
      */
     COLLECTION(1),
     /**
+     *
+     *
      * 
      * Indexes with a collection group query scope specified allow queries
      * against all collections that has the collection id specified by the
@@ -94,6 +120,8 @@ public enum QueryScope
     ;
 
     /**
+     *
+     *
      * 
      * The query scope is unspecified. Not a valid option.
      * 
@@ -102,6 +130,8 @@ public enum QueryScope */ public static final int QUERY_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified
@@ -112,6 +142,8 @@ public enum QueryScope
      */
     public static final int COLLECTION_VALUE = 1;
     /**
+     *
+     *
      * 
      * Indexes with a collection group query scope specified allow queries
      * against all collections that has the collection id specified by the
@@ -122,7 +154,6 @@ public enum QueryScope
      */
     public static final int COLLECTION_GROUP_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -147,49 +178,49 @@ public static QueryScope valueOf(int value) {
      */
     public static QueryScope forNumber(int value) {
       switch (value) {
-        case 0: return QUERY_SCOPE_UNSPECIFIED;
-        case 1: return COLLECTION;
-        case 2: return COLLECTION_GROUP;
-        default: return null;
+        case 0:
+          return QUERY_SCOPE_UNSPECIFIED;
+        case 1:
+          return COLLECTION;
+        case 2:
+          return COLLECTION_GROUP;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        QueryScope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public QueryScope findValueByNumber(int number) {
-              return QueryScope.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public QueryScope findValueByNumber(int number) {
+            return QueryScope.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.admin.v1.Index.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final QueryScope[] VALUES = values();
 
-    public static QueryScope valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static QueryScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -207,6 +238,8 @@ private QueryScope(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The state of an index. During index creation, an index will be in the
    * `CREATING` state. If the index is created successfully, it will transition
@@ -216,9 +249,10 @@ private QueryScope(int value) {
    *
    * Protobuf enum {@code google.firestore.admin.v1.Index.State}
    */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The state is unspecified.
      * 
@@ -227,6 +261,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The index is being created.
      * There is an active long-running operation for the index.
@@ -238,6 +274,8 @@ public enum State
      */
     CREATING(1),
     /**
+     *
+     *
      * 
      * The index is ready to be used.
      * The index is updated when writing a document.
@@ -248,6 +286,8 @@ public enum State
      */
     READY(2),
     /**
+     *
+     *
      * 
      * The index was being created, but something went wrong.
      * There is no active long-running operation for the index,
@@ -266,6 +306,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is unspecified.
      * 
@@ -274,6 +316,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The index is being created.
      * There is an active long-running operation for the index.
@@ -285,6 +329,8 @@ public enum State
      */
     public static final int CREATING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The index is ready to be used.
      * The index is updated when writing a document.
@@ -295,6 +341,8 @@ public enum State
      */
     public static final int READY_VALUE = 2;
     /**
+     *
+     *
      * 
      * The index was being created, but something went wrong.
      * There is no active long-running operation for the index,
@@ -310,7 +358,6 @@ public enum State
      */
     public static final int NEEDS_REPAIR_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -335,50 +382,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return CREATING;
-        case 2: return READY;
-        case 3: return NEEDS_REPAIR;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return CREATING;
+        case 2:
+          return READY;
+        case 3:
+          return NEEDS_REPAIR;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.admin.v1.Index.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -395,11 +443,14 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.firestore.admin.v1.Index.State)
   }
 
-  public interface IndexFieldOrBuilder extends
+  public interface IndexFieldOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Index.IndexField)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -407,10 +458,13 @@ public interface IndexFieldOrBuilder extends
      * 
* * string field_path = 1; + * * @return The fieldPath. */ java.lang.String getFieldPath(); /** + * + * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -418,66 +472,84 @@ public interface IndexFieldOrBuilder extends
      * 
* * string field_path = 1; + * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString - getFieldPathBytes(); + com.google.protobuf.ByteString getFieldPathBytes(); /** + * + * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return Whether the order field is set. */ boolean hasOrder(); /** + * + * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return The enum numeric value on the wire for order. */ int getOrderValue(); /** + * + * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return The order. */ com.google.firestore.admin.v1.Index.IndexField.Order getOrder(); /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return Whether the arrayConfig field is set. */ boolean hasArrayConfig(); /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return The enum numeric value on the wire for arrayConfig. */ int getArrayConfigValue(); /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return The arrayConfig. */ com.google.firestore.admin.v1.Index.IndexField.ArrayConfig getArrayConfig(); @@ -485,6 +557,8 @@ public interface IndexFieldOrBuilder extends public com.google.firestore.admin.v1.Index.IndexField.ValueModeCase getValueModeCase(); } /** + * + * *
    * A field in an index.
    * The field_path describes which field is indexed, the value_mode describes
@@ -493,54 +567,59 @@ public interface IndexFieldOrBuilder extends
    *
    * Protobuf type {@code google.firestore.admin.v1.Index.IndexField}
    */
-  public static final class IndexField extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class IndexField extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Index.IndexField)
       IndexFieldOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use IndexField.newBuilder() to construct.
     private IndexField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private IndexField() {
       fieldPath_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new IndexField();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.IndexProto
+          .internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
+      return com.google.firestore.admin.v1.IndexProto
+          .internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Index.IndexField.class, com.google.firestore.admin.v1.Index.IndexField.Builder.class);
+              com.google.firestore.admin.v1.Index.IndexField.class,
+              com.google.firestore.admin.v1.Index.IndexField.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The supported orderings.
      * 
* * Protobuf enum {@code google.firestore.admin.v1.Index.IndexField.Order} */ - public enum Order - implements com.google.protobuf.ProtocolMessageEnum { + public enum Order implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The ordering is unspecified. Not a valid option.
        * 
@@ -549,6 +628,8 @@ public enum Order */ ORDER_UNSPECIFIED(0), /** + * + * *
        * The field is ordered by ascending field value.
        * 
@@ -557,6 +638,8 @@ public enum Order */ ASCENDING(1), /** + * + * *
        * The field is ordered by descending field value.
        * 
@@ -568,6 +651,8 @@ public enum Order ; /** + * + * *
        * The ordering is unspecified. Not a valid option.
        * 
@@ -576,6 +661,8 @@ public enum Order */ public static final int ORDER_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The field is ordered by ascending field value.
        * 
@@ -584,6 +671,8 @@ public enum Order */ public static final int ASCENDING_VALUE = 1; /** + * + * *
        * The field is ordered by descending field value.
        * 
@@ -592,7 +681,6 @@ public enum Order */ public static final int DESCENDING_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -617,49 +705,49 @@ public static Order valueOf(int value) { */ public static Order forNumber(int value) { switch (value) { - case 0: return ORDER_UNSPECIFIED; - case 1: return ASCENDING; - case 2: return DESCENDING; - default: return null; + case 0: + return ORDER_UNSPECIFIED; + case 1: + return ASCENDING; + case 2: + return DESCENDING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Order> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Order findValueByNumber(int number) { - return Order.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Order findValueByNumber(int number) { + return Order.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.firestore.admin.v1.Index.IndexField.getDescriptor().getEnumTypes().get(0); } private static final Order[] VALUES = values(); - public static Order valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Order valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -677,15 +765,18 @@ private Order(int value) { } /** + * + * *
      * The supported array value configurations.
      * 
* * Protobuf enum {@code google.firestore.admin.v1.Index.IndexField.ArrayConfig} */ - public enum ArrayConfig - implements com.google.protobuf.ProtocolMessageEnum { + public enum ArrayConfig implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The index does not support additional array queries.
        * 
@@ -694,6 +785,8 @@ public enum ArrayConfig */ ARRAY_CONFIG_UNSPECIFIED(0), /** + * + * *
        * The index supports array containment queries.
        * 
@@ -705,6 +798,8 @@ public enum ArrayConfig ; /** + * + * *
        * The index does not support additional array queries.
        * 
@@ -713,6 +808,8 @@ public enum ArrayConfig */ public static final int ARRAY_CONFIG_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The index supports array containment queries.
        * 
@@ -721,7 +818,6 @@ public enum ArrayConfig */ public static final int CONTAINS_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -746,48 +842,47 @@ public static ArrayConfig valueOf(int value) { */ public static ArrayConfig forNumber(int value) { switch (value) { - case 0: return ARRAY_CONFIG_UNSPECIFIED; - case 1: return CONTAINS; - default: return null; + case 0: + return ARRAY_CONFIG_UNSPECIFIED; + case 1: + return CONTAINS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ArrayConfig> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ArrayConfig findValueByNumber(int number) { - return ArrayConfig.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ArrayConfig findValueByNumber(int number) { + return ArrayConfig.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.firestore.admin.v1.Index.IndexField.getDescriptor().getEnumTypes().get(1); } private static final ArrayConfig[] VALUES = values(); - public static ArrayConfig valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ArrayConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -806,13 +901,16 @@ private ArrayConfig(int value) { private int valueModeCase_ = 0; private java.lang.Object valueMode_; + public enum ValueModeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ORDER(2), ARRAY_CONFIG(3), VALUEMODE_NOT_SET(0); private final int value; + private ValueModeCase(int value) { this.value = value; } @@ -828,27 +926,33 @@ public static ValueModeCase valueOf(int value) { public static ValueModeCase forNumber(int value) { switch (value) { - case 2: return ORDER; - case 3: return ARRAY_CONFIG; - case 0: return VALUEMODE_NOT_SET; - default: return null; + case 2: + return ORDER; + case 3: + return ARRAY_CONFIG; + case 0: + return VALUEMODE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueModeCase - getValueModeCase() { - return ValueModeCase.forNumber( - valueModeCase_); + public ValueModeCase getValueModeCase() { + return ValueModeCase.forNumber(valueModeCase_); } public static final int FIELD_PATH_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object fieldPath_ = ""; /** + * + * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -856,6 +960,7 @@ public int getNumber() {
      * 
* * string field_path = 1; + * * @return The fieldPath. */ @java.lang.Override @@ -864,14 +969,15 @@ public java.lang.String getFieldPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; } } /** + * + * *
      * Can be __name__.
      * For single field indexes, this must match the name of the field or may
@@ -879,16 +985,15 @@ public java.lang.String getFieldPath() {
      * 
* * string field_path = 1; + * * @return The bytes for fieldPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldPathBytes() { + public com.google.protobuf.ByteString getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -898,24 +1003,30 @@ public java.lang.String getFieldPath() { public static final int ORDER_FIELD_NUMBER = 2; /** + * + * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return Whether the order field is set. */ public boolean hasOrder() { return valueModeCase_ == 2; } /** + * + * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return The enum numeric value on the wire for order. */ public int getOrderValue() { @@ -925,41 +1036,53 @@ public int getOrderValue() { return 0; } /** + * + * *
      * Indicates that this field supports ordering by the specified order or
      * comparing using =, !=, <, <=, >, >=.
      * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return The order. */ public com.google.firestore.admin.v1.Index.IndexField.Order getOrder() { if (valueModeCase_ == 2) { - com.google.firestore.admin.v1.Index.IndexField.Order result = com.google.firestore.admin.v1.Index.IndexField.Order.forNumber( - (java.lang.Integer) valueMode_); - return result == null ? com.google.firestore.admin.v1.Index.IndexField.Order.UNRECOGNIZED : result; + com.google.firestore.admin.v1.Index.IndexField.Order result = + com.google.firestore.admin.v1.Index.IndexField.Order.forNumber( + (java.lang.Integer) valueMode_); + return result == null + ? com.google.firestore.admin.v1.Index.IndexField.Order.UNRECOGNIZED + : result; } return com.google.firestore.admin.v1.Index.IndexField.Order.ORDER_UNSPECIFIED; } public static final int ARRAY_CONFIG_FIELD_NUMBER = 3; /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return Whether the arrayConfig field is set. */ public boolean hasArrayConfig() { return valueModeCase_ == 3; } /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return The enum numeric value on the wire for arrayConfig. */ public int getArrayConfigValue() { @@ -969,23 +1092,30 @@ public int getArrayConfigValue() { return 0; } /** + * + * *
      * Indicates that this field supports operations on `array_value`s.
      * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return The arrayConfig. */ public com.google.firestore.admin.v1.Index.IndexField.ArrayConfig getArrayConfig() { if (valueModeCase_ == 3) { - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.forNumber( - (java.lang.Integer) valueMode_); - return result == null ? com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.UNRECOGNIZED : result; + com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = + com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.forNumber( + (java.lang.Integer) valueMode_); + return result == null + ? com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.UNRECOGNIZED + : result; } return com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.ARRAY_CONFIG_UNSPECIFIED; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -997,8 +1127,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPath_); } @@ -1021,12 +1150,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldPath_); } if (valueModeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, ((java.lang.Integer) valueMode_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 2, ((java.lang.Integer) valueMode_)); } if (valueModeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, ((java.lang.Integer) valueMode_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 3, ((java.lang.Integer) valueMode_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1036,24 +1167,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Index.IndexField)) { return super.equals(obj); } - com.google.firestore.admin.v1.Index.IndexField other = (com.google.firestore.admin.v1.Index.IndexField) obj; + com.google.firestore.admin.v1.Index.IndexField other = + (com.google.firestore.admin.v1.Index.IndexField) obj; - if (!getFieldPath() - .equals(other.getFieldPath())) return false; + if (!getFieldPath().equals(other.getFieldPath())) return false; if (!getValueModeCase().equals(other.getValueModeCase())) return false; switch (valueModeCase_) { case 2: - if (getOrderValue() - != other.getOrderValue()) return false; + if (getOrderValue() != other.getOrderValue()) return false; break; case 3: - if (getArrayConfigValue() - != other.getArrayConfigValue()) return false; + if (getArrayConfigValue() != other.getArrayConfigValue()) return false; break; case 0: default: @@ -1088,88 +1217,94 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Index.IndexField parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Index.IndexField parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.Index.IndexField parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.Index.IndexField parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Index.IndexField parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Index.IndexField parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.Index.IndexField prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1179,6 +1314,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A field in an index.
      * The field_path describes which field is indexed, the value_mode describes
@@ -1187,33 +1324,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.firestore.admin.v1.Index.IndexField}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Index.IndexField)
         com.google.firestore.admin.v1.Index.IndexFieldOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.firestore.admin.v1.IndexProto
+            .internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
+        return com.google.firestore.admin.v1.IndexProto
+            .internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.firestore.admin.v1.Index.IndexField.class, com.google.firestore.admin.v1.Index.IndexField.Builder.class);
+                com.google.firestore.admin.v1.Index.IndexField.class,
+                com.google.firestore.admin.v1.Index.IndexField.Builder.class);
       }
 
       // Construct using com.google.firestore.admin.v1.Index.IndexField.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1225,9 +1362,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.firestore.admin.v1.IndexProto
+            .internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
       }
 
       @java.lang.Override
@@ -1246,8 +1383,11 @@ public com.google.firestore.admin.v1.Index.IndexField build() {
 
       @java.lang.Override
       public com.google.firestore.admin.v1.Index.IndexField buildPartial() {
-        com.google.firestore.admin.v1.Index.IndexField result = new com.google.firestore.admin.v1.Index.IndexField(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.firestore.admin.v1.Index.IndexField result =
+            new com.google.firestore.admin.v1.Index.IndexField(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         buildPartialOneofs(result);
         onBuilt();
         return result;
@@ -1269,38 +1409,41 @@ private void buildPartialOneofs(com.google.firestore.admin.v1.Index.IndexField r
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.firestore.admin.v1.Index.IndexField) {
-          return mergeFrom((com.google.firestore.admin.v1.Index.IndexField)other);
+          return mergeFrom((com.google.firestore.admin.v1.Index.IndexField) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1308,24 +1451,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.firestore.admin.v1.Index.IndexField other) {
-        if (other == com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance()) return this;
+        if (other == com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance())
+          return this;
         if (!other.getFieldPath().isEmpty()) {
           fieldPath_ = other.fieldPath_;
           bitField0_ |= 0x00000001;
           onChanged();
         }
         switch (other.getValueModeCase()) {
-          case ORDER: {
-            setOrderValue(other.getOrderValue());
-            break;
-          }
-          case ARRAY_CONFIG: {
-            setArrayConfigValue(other.getArrayConfigValue());
-            break;
-          }
-          case VALUEMODE_NOT_SET: {
-            break;
-          }
+          case ORDER:
+            {
+              setOrderValue(other.getOrderValue());
+              break;
+            }
+          case ARRAY_CONFIG:
+            {
+              setArrayConfigValue(other.getArrayConfigValue());
+              break;
+            }
+          case VALUEMODE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1353,29 +1500,33 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                fieldPath_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 16: {
-                int rawValue = input.readEnum();
-                valueModeCase_ = 2;
-                valueMode_ = rawValue;
-                break;
-              } // case 16
-              case 24: {
-                int rawValue = input.readEnum();
-                valueModeCase_ = 3;
-                valueMode_ = rawValue;
-                break;
-              } // case 24
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  fieldPath_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 16:
+                {
+                  int rawValue = input.readEnum();
+                  valueModeCase_ = 2;
+                  valueMode_ = rawValue;
+                  break;
+                } // case 16
+              case 24:
+                {
+                  int rawValue = input.readEnum();
+                  valueModeCase_ = 3;
+                  valueMode_ = rawValue;
+                  break;
+                } // case 24
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1385,12 +1536,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int valueModeCase_ = 0;
       private java.lang.Object valueMode_;
-      public ValueModeCase
-          getValueModeCase() {
-        return ValueModeCase.forNumber(
-            valueModeCase_);
+
+      public ValueModeCase getValueModeCase() {
+        return ValueModeCase.forNumber(valueModeCase_);
       }
 
       public Builder clearValueMode() {
@@ -1404,6 +1555,8 @@ public Builder clearValueMode() {
 
       private java.lang.Object fieldPath_ = "";
       /**
+       *
+       *
        * 
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1411,13 +1564,13 @@ public Builder clearValueMode() {
        * 
* * string field_path = 1; + * * @return The fieldPath. */ public java.lang.String getFieldPath() { java.lang.Object ref = fieldPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; @@ -1426,6 +1579,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1433,15 +1588,14 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 1; + * * @return The bytes for fieldPath. */ - public com.google.protobuf.ByteString - getFieldPathBytes() { + public com.google.protobuf.ByteString getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -1449,6 +1603,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1456,18 +1612,22 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 1; + * * @param value The fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fieldPath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1475,6 +1635,7 @@ public Builder setFieldPath(
        * 
* * string field_path = 1; + * * @return This builder for chaining. */ public Builder clearFieldPath() { @@ -1484,6 +1645,8 @@ public Builder clearFieldPath() { return this; } /** + * + * *
        * Can be __name__.
        * For single field indexes, this must match the name of the field or may
@@ -1491,12 +1654,14 @@ public Builder clearFieldPath() {
        * 
* * string field_path = 1; + * * @param value The bytes for fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fieldPath_ = value; bitField0_ |= 0x00000001; @@ -1505,12 +1670,15 @@ public Builder setFieldPathBytes( } /** + * + * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return Whether the order field is set. */ @java.lang.Override @@ -1518,12 +1686,15 @@ public boolean hasOrder() { return valueModeCase_ == 2; } /** + * + * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return The enum numeric value on the wire for order. */ @java.lang.Override @@ -1534,12 +1705,15 @@ public int getOrderValue() { return 0; } /** + * + * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @param value The enum numeric value on the wire for order to set. * @return This builder for chaining. */ @@ -1550,30 +1724,39 @@ public Builder setOrderValue(int value) { return this; } /** + * + * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return The order. */ @java.lang.Override public com.google.firestore.admin.v1.Index.IndexField.Order getOrder() { if (valueModeCase_ == 2) { - com.google.firestore.admin.v1.Index.IndexField.Order result = com.google.firestore.admin.v1.Index.IndexField.Order.forNumber( - (java.lang.Integer) valueMode_); - return result == null ? com.google.firestore.admin.v1.Index.IndexField.Order.UNRECOGNIZED : result; + com.google.firestore.admin.v1.Index.IndexField.Order result = + com.google.firestore.admin.v1.Index.IndexField.Order.forNumber( + (java.lang.Integer) valueMode_); + return result == null + ? com.google.firestore.admin.v1.Index.IndexField.Order.UNRECOGNIZED + : result; } return com.google.firestore.admin.v1.Index.IndexField.Order.ORDER_UNSPECIFIED; } /** + * + * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @param value The order to set. * @return This builder for chaining. */ @@ -1587,12 +1770,15 @@ public Builder setOrder(com.google.firestore.admin.v1.Index.IndexField.Order val return this; } /** + * + * *
        * Indicates that this field supports ordering by the specified order or
        * comparing using =, !=, <, <=, >, >=.
        * 
* * .google.firestore.admin.v1.Index.IndexField.Order order = 2; + * * @return This builder for chaining. */ public Builder clearOrder() { @@ -1605,11 +1791,14 @@ public Builder clearOrder() { } /** + * + * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return Whether the arrayConfig field is set. */ @java.lang.Override @@ -1617,11 +1806,14 @@ public boolean hasArrayConfig() { return valueModeCase_ == 3; } /** + * + * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return The enum numeric value on the wire for arrayConfig. */ @java.lang.Override @@ -1632,11 +1824,14 @@ public int getArrayConfigValue() { return 0; } /** + * + * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @param value The enum numeric value on the wire for arrayConfig to set. * @return This builder for chaining. */ @@ -1647,32 +1842,42 @@ public Builder setArrayConfigValue(int value) { return this; } /** + * + * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return The arrayConfig. */ @java.lang.Override public com.google.firestore.admin.v1.Index.IndexField.ArrayConfig getArrayConfig() { if (valueModeCase_ == 3) { - com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.forNumber( - (java.lang.Integer) valueMode_); - return result == null ? com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.UNRECOGNIZED : result; + com.google.firestore.admin.v1.Index.IndexField.ArrayConfig result = + com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.forNumber( + (java.lang.Integer) valueMode_); + return result == null + ? com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.UNRECOGNIZED + : result; } return com.google.firestore.admin.v1.Index.IndexField.ArrayConfig.ARRAY_CONFIG_UNSPECIFIED; } /** + * + * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @param value The arrayConfig to set. * @return This builder for chaining. */ - public Builder setArrayConfig(com.google.firestore.admin.v1.Index.IndexField.ArrayConfig value) { + public Builder setArrayConfig( + com.google.firestore.admin.v1.Index.IndexField.ArrayConfig value) { if (value == null) { throw new NullPointerException(); } @@ -1682,11 +1887,14 @@ public Builder setArrayConfig(com.google.firestore.admin.v1.Index.IndexField.Arr return this; } /** + * + * *
        * Indicates that this field supports operations on `array_value`s.
        * 
* * .google.firestore.admin.v1.Index.IndexField.ArrayConfig array_config = 3; + * * @return This builder for chaining. */ public Builder clearArrayConfig() { @@ -1697,6 +1905,7 @@ public Builder clearArrayConfig() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1709,12 +1918,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Index.IndexField) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Index.IndexField) private static final com.google.firestore.admin.v1.Index.IndexField DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Index.IndexField(); } @@ -1723,27 +1932,28 @@ public static com.google.firestore.admin.v1.Index.IndexField getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexField parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexField parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1758,13 +1968,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Index.IndexField getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -1773,6 +1985,7 @@ public com.google.firestore.admin.v1.Index.IndexField getDefaultInstanceForType(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1781,14 +1994,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -1797,16 +2011,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1817,6 +2030,8 @@ public java.lang.String getName() { public static final int QUERY_SCOPE_FIELD_NUMBER = 2; private int queryScope_ = 0; /** + * + * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -1827,12 +2042,16 @@ public java.lang.String getName() {
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @return The enum numeric value on the wire for queryScope. */ - @java.lang.Override public int getQueryScopeValue() { + @java.lang.Override + public int getQueryScopeValue() { return queryScope_; } /** + * + * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -1843,17 +2062,23 @@ public java.lang.String getName() {
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @return The queryScope. */ - @java.lang.Override public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() { - com.google.firestore.admin.v1.Index.QueryScope result = com.google.firestore.admin.v1.Index.QueryScope.forNumber(queryScope_); + @java.lang.Override + public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() { + com.google.firestore.admin.v1.Index.QueryScope result = + com.google.firestore.admin.v1.Index.QueryScope.forNumber(queryScope_); return result == null ? com.google.firestore.admin.v1.Index.QueryScope.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -1873,6 +2098,8 @@ public java.util.List getFieldsL
     return fields_;
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -1888,11 +2115,13 @@ public java.util.List getFieldsL
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getFieldsOrBuilderList() {
     return fields_;
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -1912,6 +2141,8 @@ public int getFieldsCount() {
     return fields_.size();
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -1931,6 +2162,8 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
     return fields_.get(index);
   }
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -1946,38 +2179,47 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
   @java.lang.Override
-  public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(
-      int index) {
+  public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(int index) {
     return fields_.get(index);
   }
 
   public static final int STATE_FIELD_NUMBER = 4;
   private int state_ = 0;
   /**
+   *
+   *
    * 
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @return The state. */ - @java.lang.Override public com.google.firestore.admin.v1.Index.State getState() { - com.google.firestore.admin.v1.Index.State result = com.google.firestore.admin.v1.Index.State.forNumber(state_); + @java.lang.Override + public com.google.firestore.admin.v1.Index.State getState() { + com.google.firestore.admin.v1.Index.State result = + com.google.firestore.admin.v1.Index.State.forNumber(state_); return result == null ? com.google.firestore.admin.v1.Index.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1989,12 +2231,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (queryScope_ != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { + if (queryScope_ + != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, queryScope_); } for (int i = 0; i < fields_.size(); i++) { @@ -2015,17 +2257,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (queryScope_ != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, queryScope_); + if (queryScope_ + != com.google.firestore.admin.v1.Index.QueryScope.QUERY_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, queryScope_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, fields_.get(i)); } if (state_ != com.google.firestore.admin.v1.Index.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2035,18 +2275,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Index)) { return super.equals(obj); } com.google.firestore.admin.v1.Index other = (com.google.firestore.admin.v1.Index) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (queryScope_ != other.queryScope_) return false; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2074,97 +2312,103 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.Index parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Index parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Index parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.Index parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.admin.v1.Index parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Index parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Index parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Index parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Index parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Index parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Index parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Index parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Index parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Index parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.Index prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Cloud Firestore indexes enable simple and complex queries against
    * documents in a database.
@@ -2172,33 +2416,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.admin.v1.Index}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Index)
       com.google.firestore.admin.v1.IndexOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.IndexProto
+          .internal_static_google_firestore_admin_v1_Index_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
+      return com.google.firestore.admin.v1.IndexProto
+          .internal_static_google_firestore_admin_v1_Index_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Index.class, com.google.firestore.admin.v1.Index.Builder.class);
+              com.google.firestore.admin.v1.Index.class,
+              com.google.firestore.admin.v1.Index.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Index.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2217,9 +2460,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.IndexProto.internal_static_google_firestore_admin_v1_Index_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.IndexProto
+          .internal_static_google_firestore_admin_v1_Index_descriptor;
     }
 
     @java.lang.Override
@@ -2240,7 +2483,9 @@ public com.google.firestore.admin.v1.Index build() {
     public com.google.firestore.admin.v1.Index buildPartial() {
       com.google.firestore.admin.v1.Index result = new com.google.firestore.admin.v1.Index(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -2274,38 +2519,39 @@ private void buildPartial0(com.google.firestore.admin.v1.Index result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.Index) {
-        return mergeFrom((com.google.firestore.admin.v1.Index)other);
+        return mergeFrom((com.google.firestore.admin.v1.Index) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2340,9 +2586,10 @@ public Builder mergeFrom(com.google.firestore.admin.v1.Index other) {
             fieldsBuilder_ = null;
             fields_ = other.fields_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            fieldsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFieldsFieldBuilder() : null;
+            fieldsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFieldsFieldBuilder()
+                    : null;
           } else {
             fieldsBuilder_.addAllMessages(other.fields_);
           }
@@ -2377,40 +2624,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              queryScope_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              com.google.firestore.admin.v1.Index.IndexField m =
-                  input.readMessage(
-                      com.google.firestore.admin.v1.Index.IndexField.parser(),
-                      extensionRegistry);
-              if (fieldsBuilder_ == null) {
-                ensureFieldsIsMutable();
-                fields_.add(m);
-              } else {
-                fieldsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 32: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                queryScope_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                com.google.firestore.admin.v1.Index.IndexField m =
+                    input.readMessage(
+                        com.google.firestore.admin.v1.Index.IndexField.parser(), extensionRegistry);
+                if (fieldsBuilder_ == null) {
+                  ensureFieldsIsMutable();
+                  fields_.add(m);
+                } else {
+                  fieldsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 32:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2420,10 +2671,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2432,13 +2686,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2447,6 +2701,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2455,15 +2711,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2471,6 +2726,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2479,18 +2736,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2499,6 +2760,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2508,6 +2770,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. A server defined name for this index.
      * The form of this name for composite indexes will be:
@@ -2516,12 +2780,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2531,6 +2797,8 @@ public Builder setNameBytes( private int queryScope_ = 0; /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2541,12 +2809,16 @@ public Builder setNameBytes(
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @return The enum numeric value on the wire for queryScope. */ - @java.lang.Override public int getQueryScopeValue() { + @java.lang.Override + public int getQueryScopeValue() { return queryScope_; } /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2557,6 +2829,7 @@ public Builder setNameBytes(
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @param value The enum numeric value on the wire for queryScope to set. * @return This builder for chaining. */ @@ -2567,6 +2840,8 @@ public Builder setQueryScopeValue(int value) { return this; } /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2577,14 +2852,18 @@ public Builder setQueryScopeValue(int value) {
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @return The queryScope. */ @java.lang.Override public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() { - com.google.firestore.admin.v1.Index.QueryScope result = com.google.firestore.admin.v1.Index.QueryScope.forNumber(queryScope_); + com.google.firestore.admin.v1.Index.QueryScope result = + com.google.firestore.admin.v1.Index.QueryScope.forNumber(queryScope_); return result == null ? com.google.firestore.admin.v1.Index.QueryScope.UNRECOGNIZED : result; } /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2595,6 +2874,7 @@ public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() {
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @param value The queryScope to set. * @return This builder for chaining. */ @@ -2608,6 +2888,8 @@ public Builder setQueryScope(com.google.firestore.admin.v1.Index.QueryScope valu return this; } /** + * + * *
      * Indexes with a collection query scope specified allow queries
      * against a collection that is the child of a specific document, specified at
@@ -2618,6 +2900,7 @@ public Builder setQueryScope(com.google.firestore.admin.v1.Index.QueryScope valu
      * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @return This builder for chaining. */ public Builder clearQueryScope() { @@ -2628,18 +2911,24 @@ public Builder clearQueryScope() { } private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index.IndexField, com.google.firestore.admin.v1.Index.IndexField.Builder, com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> fieldsBuilder_; + com.google.firestore.admin.v1.Index.IndexField, + com.google.firestore.admin.v1.Index.IndexField.Builder, + com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> + fieldsBuilder_; /** + * + * *
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2662,6 +2951,8 @@ public java.util.List getFieldsL
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2684,6 +2975,8 @@ public int getFieldsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2706,6 +2999,8 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2720,8 +3015,7 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public Builder setFields(
-        int index, com.google.firestore.admin.v1.Index.IndexField value) {
+    public Builder setFields(int index, com.google.firestore.admin.v1.Index.IndexField value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2735,6 +3029,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2761,6 +3057,8 @@ public Builder setFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2789,6 +3087,8 @@ public Builder addFields(com.google.firestore.admin.v1.Index.IndexField value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2803,8 +3103,7 @@ public Builder addFields(com.google.firestore.admin.v1.Index.IndexField value) {
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public Builder addFields(
-        int index, com.google.firestore.admin.v1.Index.IndexField value) {
+    public Builder addFields(int index, com.google.firestore.admin.v1.Index.IndexField value) {
       if (fieldsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2818,6 +3117,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2844,6 +3145,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2870,6 +3173,8 @@ public Builder addFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2888,8 +3193,7 @@ public Builder addAllFields(
         java.lang.Iterable values) {
       if (fieldsBuilder_ == null) {
         ensureFieldsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, fields_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_);
         onChanged();
       } else {
         fieldsBuilder_.addAllMessages(values);
@@ -2897,6 +3201,8 @@ public Builder addAllFields(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2922,6 +3228,8 @@ public Builder clearFields() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2947,6 +3255,8 @@ public Builder removeFields(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2961,11 +3271,12 @@ public Builder removeFields(int index) {
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(
-        int index) {
+    public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(int index) {
       return getFieldsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -2980,14 +3291,16 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(
-        int index) {
+    public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(int index) {
       if (fieldsBuilder_ == null) {
-        return fields_.get(index);  } else {
+        return fields_.get(index);
+      } else {
         return fieldsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3002,8 +3315,8 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public java.util.List 
-         getFieldsOrBuilderList() {
+    public java.util.List
+        getFieldsOrBuilderList() {
       if (fieldsBuilder_ != null) {
         return fieldsBuilder_.getMessageOrBuilderList();
       } else {
@@ -3011,6 +3324,8 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3026,10 +3341,12 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
     public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder() {
-      return getFieldsFieldBuilder().addBuilder(
-          com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
+      return getFieldsFieldBuilder()
+          .addBuilder(com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3044,12 +3361,13 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder()
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(
-        int index) {
-      return getFieldsFieldBuilder().addBuilder(
-          index, com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
+    public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(int index) {
+      return getFieldsFieldBuilder()
+          .addBuilder(index, com.google.firestore.admin.v1.Index.IndexField.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The fields supported by this index.
      * For composite indexes, this is always 2 or more fields.
@@ -3064,20 +3382,23 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(
      *
      * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
      */
-    public java.util.List 
-         getFieldsBuilderList() {
+    public java.util.List
+        getFieldsBuilderList() {
       return getFieldsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.admin.v1.Index.IndexField, com.google.firestore.admin.v1.Index.IndexField.Builder, com.google.firestore.admin.v1.Index.IndexFieldOrBuilder> 
+            com.google.firestore.admin.v1.Index.IndexField,
+            com.google.firestore.admin.v1.Index.IndexField.Builder,
+            com.google.firestore.admin.v1.Index.IndexFieldOrBuilder>
         getFieldsFieldBuilder() {
       if (fieldsBuilder_ == null) {
-        fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.admin.v1.Index.IndexField, com.google.firestore.admin.v1.Index.IndexField.Builder, com.google.firestore.admin.v1.Index.IndexFieldOrBuilder>(
-                fields_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        fieldsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.admin.v1.Index.IndexField,
+                com.google.firestore.admin.v1.Index.IndexField.Builder,
+                com.google.firestore.admin.v1.Index.IndexFieldOrBuilder>(
+                fields_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         fields_ = null;
       }
       return fieldsBuilder_;
@@ -3085,22 +3406,29 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3111,24 +3439,31 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @return The state. */ @java.lang.Override public com.google.firestore.admin.v1.Index.State getState() { - com.google.firestore.admin.v1.Index.State result = com.google.firestore.admin.v1.Index.State.forNumber(state_); + com.google.firestore.admin.v1.Index.State result = + com.google.firestore.admin.v1.Index.State.forNumber(state_); return result == null ? com.google.firestore.admin.v1.Index.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @param value The state to set. * @return This builder for chaining. */ @@ -3142,11 +3477,14 @@ public Builder setState(com.google.firestore.admin.v1.Index.State value) { return this; } /** + * + * *
      * Output only. The serving state of the index.
      * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @return This builder for chaining. */ public Builder clearState() { @@ -3155,9 +3493,9 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3167,12 +3505,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Index) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Index) private static final com.google.firestore.admin.v1.Index DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Index(); } @@ -3181,27 +3519,27 @@ public static com.google.firestore.admin.v1.Index getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Index parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Index parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3216,6 +3554,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Index getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java index 109a29297..0f58c8d9a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** + * + * *
  * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
  * [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.IndexOperationMetadata}
  */
-public final class IndexOperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IndexOperationMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.IndexOperationMetadata)
     IndexOperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IndexOperationMetadata.newBuilder() to construct.
   private IndexOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private IndexOperationMetadata() {
     index_ = "";
     state_ = 0;
@@ -27,37 +45,41 @@ private IndexOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IndexOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.IndexOperationMetadata.class, com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
+            com.google.firestore.admin.v1.IndexOperationMetadata.class,
+            com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
   }
 
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
+   *
+   *
    * 
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -65,11 +87,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -77,6 +102,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time this operation started.
    * 
@@ -91,12 +118,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -104,12 +134,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -117,6 +150,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -130,15 +165,19 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   public static final int INDEX_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object index_ = "";
   /**
+   *
+   *
    * 
    * The index resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* * string index = 3; + * * @return The index. */ @java.lang.Override @@ -147,30 +186,30 @@ public java.lang.String getIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; } } /** + * + * *
    * The index resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* * string index = 3; + * * @return The bytes for index. */ @java.lang.Override - public com.google.protobuf.ByteString - getIndexBytes() { + public com.google.protobuf.ByteString getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); index_ = b; return b; } else { @@ -181,37 +220,49 @@ public java.lang.String getIndex() { public static final int STATE_FIELD_NUMBER = 4; private int state_ = 0; /** + * + * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 4; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 4; + * * @return The state. */ - @java.lang.Override public com.google.firestore.admin.v1.OperationState getState() { - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(state_); + @java.lang.Override + public com.google.firestore.admin.v1.OperationState getState() { + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.forNumber(state_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } public static final int PROGRESS_DOCUMENTS_FIELD_NUMBER = 5; private com.google.firestore.admin.v1.Progress progressDocuments_; /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; + * * @return Whether the progressDocuments field is set. */ @java.lang.Override @@ -219,18 +270,25 @@ public boolean hasProgressDocuments() { return progressDocuments_ != null; } /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; + * * @return The progressDocuments. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressDocuments() { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } /** + * + * *
    * The progress, in documents, of this operation.
    * 
@@ -239,17 +297,22 @@ public com.google.firestore.admin.v1.Progress getProgressDocuments() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder() { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 6; private com.google.firestore.admin.v1.Progress progressBytes_; /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; + * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -257,18 +320,25 @@ public boolean hasProgressBytes() { return progressBytes_ != null; } /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; + * * @return The progressBytes. */ @java.lang.Override public com.google.firestore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } /** + * + * *
    * The progress, in bytes, of this operation.
    * 
@@ -277,10 +347,13 @@ public com.google.firestore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,8 +365,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -303,7 +375,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, index_); } - if (state_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (progressDocuments_ != null) { @@ -322,27 +395,23 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(index_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, index_); } - if (state_ != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.firestore.admin.v1.OperationState.OPERATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (progressDocuments_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getProgressDocuments()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProgressDocuments()); } if (progressBytes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getProgressBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -352,35 +421,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.IndexOperationMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.IndexOperationMetadata other = (com.google.firestore.admin.v1.IndexOperationMetadata) obj; + com.google.firestore.admin.v1.IndexOperationMetadata other = + (com.google.firestore.admin.v1.IndexOperationMetadata) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } - if (!getIndex() - .equals(other.getIndex())) return false; + if (!getIndex().equals(other.getIndex())) return false; if (state_ != other.state_) return false; if (hasProgressDocuments() != other.hasProgressDocuments()) return false; if (hasProgressDocuments()) { - if (!getProgressDocuments() - .equals(other.getProgressDocuments())) return false; + if (!getProgressDocuments().equals(other.getProgressDocuments())) return false; } if (hasProgressBytes() != other.hasProgressBytes()) return false; if (hasProgressBytes()) { - if (!getProgressBytes() - .equals(other.getProgressBytes())) return false; + if (!getProgressBytes().equals(other.getProgressBytes())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -419,96 +484,103 @@ public int hashCode() { } public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.IndexOperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.IndexOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.IndexOperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.IndexOperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.IndexOperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
    * [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
@@ -516,33 +588,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.admin.v1.IndexOperationMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.IndexOperationMetadata)
       com.google.firestore.admin.v1.IndexOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.IndexOperationMetadata.class, com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
+              com.google.firestore.admin.v1.IndexOperationMetadata.class,
+              com.google.firestore.admin.v1.IndexOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.IndexOperationMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -573,9 +644,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -594,8 +665,11 @@ public com.google.firestore.admin.v1.IndexOperationMetadata build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.IndexOperationMetadata buildPartial() {
-      com.google.firestore.admin.v1.IndexOperationMetadata result = new com.google.firestore.admin.v1.IndexOperationMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.admin.v1.IndexOperationMetadata result =
+          new com.google.firestore.admin.v1.IndexOperationMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -603,14 +677,10 @@ public com.google.firestore.admin.v1.IndexOperationMetadata buildPartial() {
     private void buildPartial0(com.google.firestore.admin.v1.IndexOperationMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.index_ = index_;
@@ -619,14 +689,14 @@ private void buildPartial0(com.google.firestore.admin.v1.IndexOperationMetadata
         result.state_ = state_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.progressDocuments_ = progressDocumentsBuilder_ == null
-            ? progressDocuments_
-            : progressDocumentsBuilder_.build();
+        result.progressDocuments_ =
+            progressDocumentsBuilder_ == null
+                ? progressDocuments_
+                : progressDocumentsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.progressBytes_ = progressBytesBuilder_ == null
-            ? progressBytes_
-            : progressBytesBuilder_.build();
+        result.progressBytes_ =
+            progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build();
       }
     }
 
@@ -634,38 +704,39 @@ private void buildPartial0(com.google.firestore.admin.v1.IndexOperationMetadata
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.IndexOperationMetadata) {
-        return mergeFrom((com.google.firestore.admin.v1.IndexOperationMetadata)other);
+        return mergeFrom((com.google.firestore.admin.v1.IndexOperationMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -673,7 +744,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.admin.v1.IndexOperationMetadata other) {
-      if (other == com.google.firestore.admin.v1.IndexOperationMetadata.getDefaultInstance()) return this;
+      if (other == com.google.firestore.admin.v1.IndexOperationMetadata.getDefaultInstance())
+        return this;
       if (other.hasStartTime()) {
         mergeStartTime(other.getStartTime());
       }
@@ -720,50 +792,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              index_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getProgressDocumentsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getProgressBytesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                index_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(
+                    getProgressDocumentsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -773,28 +845,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.Timestamp startTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        startTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -805,6 +887,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time this operation started.
      * 
@@ -825,14 +909,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -843,6 +928,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -851,9 +938,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -866,6 +953,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -883,6 +972,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time this operation started.
      * 
@@ -895,6 +986,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time this operation started.
      * 
@@ -905,11 +998,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * The time this operation started.
      * 
@@ -917,14 +1011,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -932,26 +1029,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -962,6 +1068,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -983,6 +1091,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -990,8 +1100,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -1002,6 +1111,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1011,9 +1122,9 @@ public Builder setEndTime(
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          endTime_ != null &&
-          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && endTime_ != null
+            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -1026,6 +1137,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1044,6 +1157,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1057,6 +1172,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1068,11 +1185,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time this operation completed. Will be unset if operation still in
      * progress.
@@ -1081,14 +1199,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -1096,19 +1217,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private java.lang.Object index_ = "";
     /**
+     *
+     *
      * 
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; + * * @return The index. */ public java.lang.String getIndex() { java.lang.Object ref = index_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); index_ = s; return s; @@ -1117,21 +1240,22 @@ public java.lang.String getIndex() { } } /** + * + * *
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; + * * @return The bytes for index. */ - public com.google.protobuf.ByteString - getIndexBytes() { + public com.google.protobuf.ByteString getIndexBytes() { java.lang.Object ref = index_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); index_ = b; return b; } else { @@ -1139,30 +1263,37 @@ public java.lang.String getIndex() { } } /** + * + * *
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; + * * @param value The index to set. * @return This builder for chaining. */ - public Builder setIndex( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } index_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; + * * @return This builder for chaining. */ public Builder clearIndex() { @@ -1172,18 +1303,22 @@ public Builder clearIndex() { return this; } /** + * + * *
      * The index resource that this operation is acting on. For example:
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
      * 
* * string index = 3; + * * @param value The bytes for index to set. * @return This builder for chaining. */ - public Builder setIndexBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); index_ = value; bitField0_ |= 0x00000004; @@ -1193,22 +1328,29 @@ public Builder setIndexBytes( private int state_ = 0; /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1219,24 +1361,31 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; + * * @return The state. */ @java.lang.Override public com.google.firestore.admin.v1.OperationState getState() { - com.google.firestore.admin.v1.OperationState result = com.google.firestore.admin.v1.OperationState.forNumber(state_); + com.google.firestore.admin.v1.OperationState result = + com.google.firestore.admin.v1.OperationState.forNumber(state_); return result == null ? com.google.firestore.admin.v1.OperationState.UNRECOGNIZED : result; } /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1250,11 +1399,14 @@ public Builder setState(com.google.firestore.admin.v1.OperationState value) { return this; } /** + * + * *
      * The state of the operation.
      * 
* * .google.firestore.admin.v1.OperationState state = 4; + * * @return This builder for chaining. */ public Builder clearState() { @@ -1266,34 +1418,47 @@ public Builder clearState() { private com.google.firestore.admin.v1.Progress progressDocuments_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressDocumentsBuilder_; + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> + progressDocumentsBuilder_; /** + * + * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; + * * @return Whether the progressDocuments field is set. */ public boolean hasProgressDocuments() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; + * * @return The progressDocuments. */ public com.google.firestore.admin.v1.Progress getProgressDocuments() { if (progressDocumentsBuilder_ == null) { - return progressDocuments_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } else { return progressDocumentsBuilder_.getMessage(); } } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1314,6 +1479,8 @@ public Builder setProgressDocuments(com.google.firestore.admin.v1.Progress value return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1332,6 +1499,8 @@ public Builder setProgressDocuments( return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1340,9 +1509,9 @@ public Builder setProgressDocuments( */ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress value) { if (progressDocumentsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - progressDocuments_ != null && - progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && progressDocuments_ != null + && progressDocuments_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressDocumentsBuilder().mergeFrom(value); } else { progressDocuments_ = value; @@ -1355,6 +1524,8 @@ public Builder mergeProgressDocuments(com.google.firestore.admin.v1.Progress val return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1372,6 +1543,8 @@ public Builder clearProgressDocuments() { return this; } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1384,6 +1557,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressDocumentsBuilde return getProgressDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1394,11 +1569,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui if (progressDocumentsBuilder_ != null) { return progressDocumentsBuilder_.getMessageOrBuilder(); } else { - return progressDocuments_ == null ? - com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressDocuments_; + return progressDocuments_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressDocuments_; } } /** + * + * *
      * The progress, in documents, of this operation.
      * 
@@ -1406,14 +1584,17 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui * .google.firestore.admin.v1.Progress progress_documents = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> getProgressDocumentsFieldBuilder() { if (progressDocumentsBuilder_ == null) { - progressDocumentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressDocuments(), - getParentForChildren(), - isClean()); + progressDocumentsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressDocuments(), getParentForChildren(), isClean()); progressDocuments_ = null; } return progressDocumentsBuilder_; @@ -1421,34 +1602,47 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBui private com.google.firestore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> + progressBytesBuilder_; /** + * + * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; + * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; + * * @return The progressBytes. */ public com.google.firestore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null ? com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1469,6 +1663,8 @@ public Builder setProgressBytes(com.google.firestore.admin.v1.Progress value) { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1487,6 +1683,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1495,9 +1693,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - progressBytes_ != null && - progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && progressBytes_ != null + && progressBytes_ != com.google.firestore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -1510,6 +1708,8 @@ public Builder mergeProgressBytes(com.google.firestore.admin.v1.Progress value) return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1527,6 +1727,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1539,6 +1741,8 @@ public com.google.firestore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1549,11 +1753,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null ? - com.google.firestore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.firestore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } } /** + * + * *
      * The progress, in bytes, of this operation.
      * 
@@ -1561,21 +1768,24 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.firestore.admin.v1.Progress progress_bytes = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder> + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Progress, com.google.firestore.admin.v1.Progress.Builder, com.google.firestore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), - getParentForChildren(), - isClean()); + progressBytesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Progress, + com.google.firestore.admin.v1.Progress.Builder, + com.google.firestore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), getParentForChildren(), isClean()); progressBytes_ = null; } return progressBytesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1585,12 +1795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.IndexOperationMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.IndexOperationMetadata) private static final com.google.firestore.admin.v1.IndexOperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.IndexOperationMetadata(); } @@ -1599,27 +1809,27 @@ public static com.google.firestore.admin.v1.IndexOperationMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1634,6 +1844,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.IndexOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java index ed223fcf7..1a4a29da2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; -public interface IndexOperationMetadataOrBuilder extends +public interface IndexOperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.IndexOperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time this operation started.
    * 
@@ -35,26 +59,34 @@ public interface IndexOperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time this operation completed. Will be unset if operation still in
    * progress.
@@ -65,65 +97,84 @@ public interface IndexOperationMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The index resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* * string index = 3; + * * @return The index. */ java.lang.String getIndex(); /** + * + * *
    * The index resource that this operation is acting on. For example:
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
    * 
* * string index = 3; + * * @return The bytes for index. */ - com.google.protobuf.ByteString - getIndexBytes(); + com.google.protobuf.ByteString getIndexBytes(); /** + * + * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 4; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The state of the operation.
    * 
* * .google.firestore.admin.v1.OperationState state = 4; + * * @return The state. */ com.google.firestore.admin.v1.OperationState getState(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; + * * @return Whether the progressDocuments field is set. */ boolean hasProgressDocuments(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_documents = 5; + * * @return The progressDocuments. */ com.google.firestore.admin.v1.Progress getProgressDocuments(); /** + * + * *
    * The progress, in documents, of this operation.
    * 
@@ -133,24 +184,32 @@ public interface IndexOperationMetadataOrBuilder extends com.google.firestore.admin.v1.ProgressOrBuilder getProgressDocumentsOrBuilder(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; + * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
* * .google.firestore.admin.v1.Progress progress_bytes = 6; + * * @return The progressBytes. */ com.google.firestore.admin.v1.Progress getProgressBytes(); /** + * + * *
    * The progress, in bytes, of this operation.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java similarity index 88% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java index 82872c483..498fa9136 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/index.proto package com.google.firestore.admin.v1; -public interface IndexOrBuilder extends +public interface IndexOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Index) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -16,10 +34,13 @@ public interface IndexOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. A server defined name for this index.
    * The form of this name for composite indexes will be:
@@ -28,12 +49,14 @@ public interface IndexOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -44,10 +67,13 @@ public interface IndexOrBuilder extends
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @return The enum numeric value on the wire for queryScope. */ int getQueryScopeValue(); /** + * + * *
    * Indexes with a collection query scope specified allow queries
    * against a collection that is the child of a specific document, specified at
@@ -58,11 +84,14 @@ public interface IndexOrBuilder extends
    * 
* * .google.firestore.admin.v1.Index.QueryScope query_scope = 2; + * * @return The queryScope. */ com.google.firestore.admin.v1.Index.QueryScope getQueryScope(); /** + * + * *
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -77,9 +106,10 @@ public interface IndexOrBuilder extends
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  java.util.List 
-      getFieldsList();
+  java.util.List getFieldsList();
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -96,6 +126,8 @@ public interface IndexOrBuilder extends
    */
   com.google.firestore.admin.v1.Index.IndexField getFields(int index);
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -112,6 +144,8 @@ public interface IndexOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -126,9 +160,11 @@ public interface IndexOrBuilder extends
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  java.util.List 
+  java.util.List
       getFieldsOrBuilderList();
   /**
+   *
+   *
    * 
    * The fields supported by this index.
    * For composite indexes, this is always 2 or more fields.
@@ -143,24 +179,29 @@ public interface IndexOrBuilder extends
    *
    * repeated .google.firestore.admin.v1.Index.IndexField fields = 3;
    */
-  com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(
-      int index);
+  com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The serving state of the index.
    * 
* * .google.firestore.admin.v1.Index.State state = 4; + * * @return The state. */ com.google.firestore.admin.v1.Index.State getState(); diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java new file mode 100644 index 000000000..9ea30f336 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java @@ -0,0 +1,108 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/index.proto + +package com.google.firestore.admin.v1; + +public final class IndexProto { + private IndexProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Index_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Index_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n%google/firestore/admin/v1/index.proto\022" + + "\031google.firestore.admin.v1\032\031google/api/r" + + "esource.proto\"\243\006\n\005Index\022\014\n\004name\030\001 \001(\t\022@\n" + + "\013query_scope\030\002 \001(\0162+.google.firestore.ad" + + "min.v1.Index.QueryScope\022;\n\006fields\030\003 \003(\0132" + + "+.google.firestore.admin.v1.Index.IndexF" + + "ield\0225\n\005state\030\004 \001(\0162&.google.firestore.a" + + "dmin.v1.Index.State\032\275\002\n\nIndexField\022\022\n\nfi" + + "eld_path\030\001 \001(\t\022B\n\005order\030\002 \001(\01621.google.f" + + "irestore.admin.v1.Index.IndexField.Order" + + "H\000\022O\n\014array_config\030\003 \001(\01627.google.firest" + + "ore.admin.v1.Index.IndexField.ArrayConfi" + + "gH\000\"=\n\005Order\022\025\n\021ORDER_UNSPECIFIED\020\000\022\r\n\tA" + + "SCENDING\020\001\022\016\n\nDESCENDING\020\002\"9\n\013ArrayConfi" + + "g\022\034\n\030ARRAY_CONFIG_UNSPECIFIED\020\000\022\014\n\010CONTA" + + "INS\020\001B\014\n\nvalue_mode\"O\n\nQueryScope\022\033\n\027QUE" + + "RY_SCOPE_UNSPECIFIED\020\000\022\016\n\nCOLLECTION\020\001\022\024" + + "\n\020COLLECTION_GROUP\020\002\"I\n\005State\022\025\n\021STATE_U" + + "NSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002\022\020\n" + + "\014NEEDS_REPAIR\020\003:z\352Aw\n\036firestore.googleap" + + "is.com/Index\022Uprojects/{project}/databas" + + "es/{database}/collectionGroups/{collecti" + + "on}/indexes/{index}B\331\001\n\035com.google.fires" + + "tore.admin.v1B\nIndexProtoP\001Z9cloud.googl" + + "e.com/go/firestore/apiv1/admin/adminpb;a" + + "dminpb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.A" + + "dmin.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V" + + "1\352\002#Google::Cloud::Firestore::Admin::V1b" + + "\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_firestore_admin_v1_Index_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_Index_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Index_descriptor, + new java.lang.String[] { + "Name", "QueryScope", "Fields", "State", + }); + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor = + internal_static_google_firestore_admin_v1_Index_descriptor.getNestedTypes().get(0); + internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Index_IndexField_descriptor, + new java.lang.String[] { + "FieldPath", "Order", "ArrayConfig", "ValueMode", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java index 538729971..67d39c0b4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java @@ -1,63 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * A request to list the Firestore Databases in all locations for a project.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesRequest} */ -public final class ListDatabasesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDatabasesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListDatabasesRequest) ListDatabasesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDatabasesRequest.newBuilder() to construct. private ListDatabasesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDatabasesRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDatabasesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListDatabasesRequest.class, com.google.firestore.admin.v1.ListDatabasesRequest.Builder.class); + com.google.firestore.admin.v1.ListDatabasesRequest.class, + com.google.firestore.admin.v1.ListDatabasesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,6 +125,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -134,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListDatabasesRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListDatabasesRequest other = (com.google.firestore.admin.v1.ListDatabasesRequest) obj; + com.google.firestore.admin.v1.ListDatabasesRequest other = + (com.google.firestore.admin.v1.ListDatabasesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,129 +189,135 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListDatabasesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListDatabasesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListDatabasesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListDatabasesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ListDatabasesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request to list the Firestore Databases in all locations for a project.
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListDatabasesRequest) com.google.firestore.admin.v1.ListDatabasesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListDatabasesRequest.class, com.google.firestore.admin.v1.ListDatabasesRequest.Builder.class); + com.google.firestore.admin.v1.ListDatabasesRequest.class, + com.google.firestore.admin.v1.ListDatabasesRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ListDatabasesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -294,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor; } @java.lang.Override @@ -315,8 +348,11 @@ public com.google.firestore.admin.v1.ListDatabasesRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ListDatabasesRequest buildPartial() { - com.google.firestore.admin.v1.ListDatabasesRequest result = new com.google.firestore.admin.v1.ListDatabasesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.ListDatabasesRequest result = + new com.google.firestore.admin.v1.ListDatabasesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -332,38 +368,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ListDatabasesRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListDatabasesRequest) { - return mergeFrom((com.google.firestore.admin.v1.ListDatabasesRequest)other); + return mergeFrom((com.google.firestore.admin.v1.ListDatabasesRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListDatabasesRequest other) { - if (other == com.google.firestore.admin.v1.ListDatabasesRequest.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.ListDatabasesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -403,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -423,23 +463,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -448,21 +493,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -470,30 +518,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -503,27 +562,33 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListDatabasesRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListDatabasesRequest) private static final com.google.firestore.admin.v1.ListDatabasesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListDatabasesRequest(); } @@ -547,27 +612,27 @@ public static com.google.firestore.admin.v1.ListDatabasesRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabasesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabasesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListDatabasesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java new file mode 100644 index 000000000..5af6e0293 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface ListDatabasesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListDatabasesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A parent name of the form
+   * `projects/{project_id}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. A parent name of the form
+   * `projects/{project_id}`
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java index c2258eb34..628702743 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The list of databases for a project.
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesResponse} */ -public final class ListDatabasesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDatabasesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListDatabasesResponse) ListDatabasesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDatabasesResponse.newBuilder() to construct. private ListDatabasesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDatabasesResponse() { databases_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDatabasesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListDatabasesResponse.class, com.google.firestore.admin.v1.ListDatabasesResponse.Builder.class); + com.google.firestore.admin.v1.ListDatabasesResponse.class, + com.google.firestore.admin.v1.ListDatabasesResponse.Builder.class); } public static final int DATABASES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List databases_; /** + * + * *
    * The databases in the project.
    * 
@@ -63,6 +85,8 @@ public java.util.List getDatabasesList() return databases_; } /** + * + * *
    * The databases in the project.
    * 
@@ -70,11 +94,13 @@ public java.util.List getDatabasesList() * repeated .google.firestore.admin.v1.Database databases = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDatabasesOrBuilderList() { return databases_; } /** + * + * *
    * The databases in the project.
    * 
@@ -86,6 +112,8 @@ public int getDatabasesCount() { return databases_.size(); } /** + * + * *
    * The databases in the project.
    * 
@@ -97,6 +125,8 @@ public com.google.firestore.admin.v1.Database getDatabases(int index) { return databases_.get(index); } /** + * + * *
    * The databases in the project.
    * 
@@ -104,12 +134,12 @@ public com.google.firestore.admin.v1.Database getDatabases(int index) { * repeated .google.firestore.admin.v1.Database databases = 1; */ @java.lang.Override - public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( - int index) { + public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { return databases_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +151,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < databases_.size(); i++) { output.writeMessage(1, databases_.get(i)); } @@ -136,8 +165,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < databases_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, databases_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, databases_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +175,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListDatabasesResponse)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListDatabasesResponse other = (com.google.firestore.admin.v1.ListDatabasesResponse) obj; + com.google.firestore.admin.v1.ListDatabasesResponse other = + (com.google.firestore.admin.v1.ListDatabasesResponse) obj; - if (!getDatabasesList() - .equals(other.getDatabasesList())) return false; + if (!getDatabasesList().equals(other.getDatabasesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,129 +205,135 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListDatabasesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListDatabasesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListDatabasesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListDatabasesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ListDatabasesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The list of databases for a project.
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListDatabasesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListDatabasesResponse) com.google.firestore.admin.v1.ListDatabasesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListDatabasesResponse.class, com.google.firestore.admin.v1.ListDatabasesResponse.Builder.class); + com.google.firestore.admin.v1.ListDatabasesResponse.class, + com.google.firestore.admin.v1.ListDatabasesResponse.Builder.class); } // Construct using com.google.firestore.admin.v1.ListDatabasesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor; } @java.lang.Override @@ -336,14 +370,18 @@ public com.google.firestore.admin.v1.ListDatabasesResponse build() { @java.lang.Override public com.google.firestore.admin.v1.ListDatabasesResponse buildPartial() { - com.google.firestore.admin.v1.ListDatabasesResponse result = new com.google.firestore.admin.v1.ListDatabasesResponse(this); + com.google.firestore.admin.v1.ListDatabasesResponse result = + new com.google.firestore.admin.v1.ListDatabasesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ListDatabasesResponse result) { + private void buildPartialRepeatedFields( + com.google.firestore.admin.v1.ListDatabasesResponse result) { if (databasesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { databases_ = java.util.Collections.unmodifiableList(databases_); @@ -363,38 +401,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ListDatabasesResponse r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListDatabasesResponse) { - return mergeFrom((com.google.firestore.admin.v1.ListDatabasesResponse)other); + return mergeFrom((com.google.firestore.admin.v1.ListDatabasesResponse) other); } else { super.mergeFrom(other); return this; @@ -402,7 +441,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListDatabasesResponse other) { - if (other == com.google.firestore.admin.v1.ListDatabasesResponse.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.ListDatabasesResponse.getDefaultInstance()) + return this; if (databasesBuilder_ == null) { if (!other.databases_.isEmpty()) { if (databases_.isEmpty()) { @@ -421,9 +461,10 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListDatabasesResponse oth databasesBuilder_ = null; databases_ = other.databases_; bitField0_ = (bitField0_ & ~0x00000001); - databasesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDatabasesFieldBuilder() : null; + databasesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDatabasesFieldBuilder() + : null; } else { databasesBuilder_.addAllMessages(other.databases_); } @@ -455,25 +496,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.firestore.admin.v1.Database m = - input.readMessage( - com.google.firestore.admin.v1.Database.parser(), - extensionRegistry); - if (databasesBuilder_ == null) { - ensureDatabasesIsMutable(); - databases_.add(m); - } else { - databasesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.firestore.admin.v1.Database m = + input.readMessage( + com.google.firestore.admin.v1.Database.parser(), extensionRegistry); + if (databasesBuilder_ == null) { + ensureDatabasesIsMutable(); + databases_.add(m); + } else { + databasesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,21 +525,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List databases_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDatabasesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { databases_ = new java.util.ArrayList(databases_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder> databasesBuilder_; + com.google.firestore.admin.v1.Database, + com.google.firestore.admin.v1.Database.Builder, + com.google.firestore.admin.v1.DatabaseOrBuilder> + databasesBuilder_; /** + * + * *
      * The databases in the project.
      * 
@@ -512,6 +561,8 @@ public java.util.List getDatabasesList() } } /** + * + * *
      * The databases in the project.
      * 
@@ -526,6 +577,8 @@ public int getDatabasesCount() { } } /** + * + * *
      * The databases in the project.
      * 
@@ -540,14 +593,15 @@ public com.google.firestore.admin.v1.Database getDatabases(int index) { } } /** + * + * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public Builder setDatabases( - int index, com.google.firestore.admin.v1.Database value) { + public Builder setDatabases(int index, com.google.firestore.admin.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,6 +615,8 @@ public Builder setDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -579,6 +635,8 @@ public Builder setDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -599,14 +657,15 @@ public Builder addDatabases(com.google.firestore.admin.v1.Database value) { return this; } /** + * + * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public Builder addDatabases( - int index, com.google.firestore.admin.v1.Database value) { + public Builder addDatabases(int index, com.google.firestore.admin.v1.Database value) { if (databasesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,14 +679,15 @@ public Builder addDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public Builder addDatabases( - com.google.firestore.admin.v1.Database.Builder builderForValue) { + public Builder addDatabases(com.google.firestore.admin.v1.Database.Builder builderForValue) { if (databasesBuilder_ == null) { ensureDatabasesIsMutable(); databases_.add(builderForValue.build()); @@ -638,6 +698,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -656,6 +718,8 @@ public Builder addDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -666,8 +730,7 @@ public Builder addAllDatabases( java.lang.Iterable values) { if (databasesBuilder_ == null) { ensureDatabasesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, databases_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databases_); onChanged(); } else { databasesBuilder_.addAllMessages(values); @@ -675,6 +738,8 @@ public Builder addAllDatabases( return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -692,6 +757,8 @@ public Builder clearDatabases() { return this; } /** + * + * *
      * The databases in the project.
      * 
@@ -709,39 +776,44 @@ public Builder removeDatabases(int index) { return this; } /** + * + * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public com.google.firestore.admin.v1.Database.Builder getDatabasesBuilder( - int index) { + public com.google.firestore.admin.v1.Database.Builder getDatabasesBuilder(int index) { return getDatabasesFieldBuilder().getBuilder(index); } /** + * + * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( - int index) { + public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index) { if (databasesBuilder_ == null) { - return databases_.get(index); } else { + return databases_.get(index); + } else { return databasesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public java.util.List - getDatabasesOrBuilderList() { + public java.util.List + getDatabasesOrBuilderList() { if (databasesBuilder_ != null) { return databasesBuilder_.getMessageOrBuilderList(); } else { @@ -749,6 +821,8 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( } } /** + * + * *
      * The databases in the project.
      * 
@@ -756,49 +830,55 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( * repeated .google.firestore.admin.v1.Database databases = 1; */ public com.google.firestore.admin.v1.Database.Builder addDatabasesBuilder() { - return getDatabasesFieldBuilder().addBuilder( - com.google.firestore.admin.v1.Database.getDefaultInstance()); + return getDatabasesFieldBuilder() + .addBuilder(com.google.firestore.admin.v1.Database.getDefaultInstance()); } /** + * + * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public com.google.firestore.admin.v1.Database.Builder addDatabasesBuilder( - int index) { - return getDatabasesFieldBuilder().addBuilder( - index, com.google.firestore.admin.v1.Database.getDefaultInstance()); + public com.google.firestore.admin.v1.Database.Builder addDatabasesBuilder(int index) { + return getDatabasesFieldBuilder() + .addBuilder(index, com.google.firestore.admin.v1.Database.getDefaultInstance()); } /** + * + * *
      * The databases in the project.
      * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - public java.util.List - getDatabasesBuilderList() { + public java.util.List + getDatabasesBuilderList() { return getDatabasesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder> + com.google.firestore.admin.v1.Database, + com.google.firestore.admin.v1.Database.Builder, + com.google.firestore.admin.v1.DatabaseOrBuilder> getDatabasesFieldBuilder() { if (databasesBuilder_ == null) { - databasesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder>( - databases_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + databasesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Database, + com.google.firestore.admin.v1.Database.Builder, + com.google.firestore.admin.v1.DatabaseOrBuilder>( + databases_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); databases_ = null; } return databasesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,12 +888,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListDatabasesResponse) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListDatabasesResponse) private static final com.google.firestore.admin.v1.ListDatabasesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListDatabasesResponse(); } @@ -822,27 +902,27 @@ public static com.google.firestore.admin.v1.ListDatabasesResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDatabasesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDatabasesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,6 +937,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListDatabasesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java index 6f8c2438d..251d16fad 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListDatabasesResponseOrBuilder extends +public interface ListDatabasesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListDatabasesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The databases in the project.
    * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - java.util.List - getDatabasesList(); + java.util.List getDatabasesList(); /** + * + * *
    * The databases in the project.
    * 
@@ -25,6 +44,8 @@ public interface ListDatabasesResponseOrBuilder extends */ com.google.firestore.admin.v1.Database getDatabases(int index); /** + * + * *
    * The databases in the project.
    * 
@@ -33,21 +54,24 @@ public interface ListDatabasesResponseOrBuilder extends */ int getDatabasesCount(); /** + * + * *
    * The databases in the project.
    * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - java.util.List + java.util.List getDatabasesOrBuilderList(); /** + * + * *
    * The databases in the project.
    * 
* * repeated .google.firestore.admin.v1.Database databases = 1; */ - com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder( - int index); + com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java index 6c250835c..40b2c012b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsRequest} */ -public final class ListFieldsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFieldsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListFieldsRequest) ListFieldsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFieldsRequest.newBuilder() to construct. private ListFieldsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFieldsRequest() { parent_ = ""; filter_ = ""; @@ -27,39 +45,46 @@ private ListFieldsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFieldsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsRequest.class, com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); + com.google.firestore.admin.v1.ListFieldsRequest.class, + com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,30 +93,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,9 +127,12 @@ public java.lang.String getParent() { } public static final int FILTER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -112,6 +142,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -120,14 +151,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -137,16 +169,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -157,11 +188,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * The number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -170,9 +204,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -180,6 +217,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -188,14 +226,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -203,16 +242,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -221,6 +259,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -262,8 +300,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -276,21 +313,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListFieldsRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListFieldsRequest other = (com.google.firestore.admin.v1.ListFieldsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.firestore.admin.v1.ListFieldsRequest other = + (com.google.firestore.admin.v1.ListFieldsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -315,130 +349,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListFieldsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListFieldsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ListFieldsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListFieldsRequest) com.google.firestore.admin.v1.ListFieldsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsRequest.class, com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); + com.google.firestore.admin.v1.ListFieldsRequest.class, + com.google.firestore.admin.v1.ListFieldsRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ListFieldsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +491,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor; } @java.lang.Override @@ -472,8 +512,11 @@ public com.google.firestore.admin.v1.ListFieldsRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ListFieldsRequest buildPartial() { - com.google.firestore.admin.v1.ListFieldsRequest result = new com.google.firestore.admin.v1.ListFieldsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.ListFieldsRequest result = + new com.google.firestore.admin.v1.ListFieldsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -498,38 +541,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ListFieldsRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListFieldsRequest) { - return mergeFrom((com.google.firestore.admin.v1.ListFieldsRequest)other); + return mergeFrom((com.google.firestore.admin.v1.ListFieldsRequest) other); } else { super.mergeFrom(other); return this; @@ -537,7 +581,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsRequest other) { - if (other == com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.ListFieldsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -582,32 +627,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -617,23 +667,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -642,21 +697,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -664,30 +722,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -697,18 +766,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -718,6 +793,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -727,13 +804,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -742,6 +819,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -751,15 +830,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -767,6 +845,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -776,18 +856,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -797,6 +881,7 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -806,6 +891,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * The filter to apply to list results. Currently,
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -815,12 +902,14 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -828,13 +917,16 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -842,27 +934,33 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -874,6 +972,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -881,13 +981,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -896,6 +996,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -903,15 +1005,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -919,6 +1020,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -926,18 +1029,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -945,6 +1052,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -954,6 +1062,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -961,21 +1071,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -985,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListFieldsRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListFieldsRequest) private static final com.google.firestore.admin.v1.ListFieldsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListFieldsRequest(); } @@ -999,27 +1111,27 @@ public static com.google.firestore.admin.v1.ListFieldsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFieldsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFieldsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1034,6 +1146,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListFieldsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java index 3b4e824ec..b92a37ddd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListFieldsRequestOrBuilder extends +public interface ListFieldsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListFieldsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -39,10 +66,13 @@ public interface ListFieldsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The filter to apply to list results. Currently,
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
@@ -52,22 +82,27 @@ public interface ListFieldsRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -75,10 +110,13 @@ public interface ListFieldsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
@@ -86,8 +124,8 @@ public interface ListFieldsRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java index 843b33af4..0ec5ec8a4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsResponse} */ -public final class ListFieldsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFieldsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListFieldsResponse) ListFieldsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFieldsResponse.newBuilder() to construct. private ListFieldsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFieldsResponse() { fields_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListFieldsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFieldsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsResponse.class, com.google.firestore.admin.v1.ListFieldsResponse.Builder.class); + com.google.firestore.admin.v1.ListFieldsResponse.class, + com.google.firestore.admin.v1.ListFieldsResponse.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
    * The requested fields.
    * 
@@ -64,6 +86,8 @@ public java.util.List getFieldsList() { return fields_; } /** + * + * *
    * The requested fields.
    * 
@@ -71,11 +95,13 @@ public java.util.List getFieldsList() { * repeated .google.firestore.admin.v1.Field fields = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** + * + * *
    * The requested fields.
    * 
@@ -87,6 +113,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * The requested fields.
    * 
@@ -98,6 +126,8 @@ public com.google.firestore.admin.v1.Field getFields(int index) { return fields_.get(index); } /** + * + * *
    * The requested fields.
    * 
@@ -105,21 +135,24 @@ public com.google.firestore.admin.v1.Field getFields(int index) { * repeated .google.firestore.admin.v1.Field fields = 1; */ @java.lang.Override - public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( - int index) { + public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index) { return fields_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < fields_.size(); i++) { output.writeMessage(1, fields_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListFieldsResponse)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListFieldsResponse other = (com.google.firestore.admin.v1.ListFieldsResponse) obj; + com.google.firestore.admin.v1.ListFieldsResponse other = + (com.google.firestore.admin.v1.ListFieldsResponse) obj; - if (!getFieldsList() - .equals(other.getFieldsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -236,130 +267,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListFieldsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListFieldsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListFieldsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListFieldsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ListFieldsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListFieldsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListFieldsResponse) com.google.firestore.admin.v1.ListFieldsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListFieldsResponse.class, com.google.firestore.admin.v1.ListFieldsResponse.Builder.class); + com.google.firestore.admin.v1.ListFieldsResponse.class, + com.google.firestore.admin.v1.ListFieldsResponse.Builder.class); } // Construct using com.google.firestore.admin.v1.ListFieldsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +413,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor; } @java.lang.Override @@ -397,14 +434,18 @@ public com.google.firestore.admin.v1.ListFieldsResponse build() { @java.lang.Override public com.google.firestore.admin.v1.ListFieldsResponse buildPartial() { - com.google.firestore.admin.v1.ListFieldsResponse result = new com.google.firestore.admin.v1.ListFieldsResponse(this); + com.google.firestore.admin.v1.ListFieldsResponse result = + new com.google.firestore.admin.v1.ListFieldsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ListFieldsResponse result) { + private void buildPartialRepeatedFields( + com.google.firestore.admin.v1.ListFieldsResponse result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -427,38 +468,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ListFieldsResponse resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListFieldsResponse) { - return mergeFrom((com.google.firestore.admin.v1.ListFieldsResponse)other); + return mergeFrom((com.google.firestore.admin.v1.ListFieldsResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +508,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsResponse other) { - if (other == com.google.firestore.admin.v1.ListFieldsResponse.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.ListFieldsResponse.getDefaultInstance()) + return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { @@ -485,9 +528,10 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListFieldsResponse other) fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -524,30 +568,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.firestore.admin.v1.Field m = - input.readMessage( - com.google.firestore.admin.v1.Field.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.firestore.admin.v1.Field m = + input.readMessage( + com.google.firestore.admin.v1.Field.parser(), extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -557,21 +603,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder> fieldsBuilder_; + com.google.firestore.admin.v1.Field, + com.google.firestore.admin.v1.Field.Builder, + com.google.firestore.admin.v1.FieldOrBuilder> + fieldsBuilder_; /** + * + * *
      * The requested fields.
      * 
@@ -586,6 +639,8 @@ public java.util.List getFieldsList() { } } /** + * + * *
      * The requested fields.
      * 
@@ -600,6 +655,8 @@ public int getFieldsCount() { } } /** + * + * *
      * The requested fields.
      * 
@@ -614,14 +671,15 @@ public com.google.firestore.admin.v1.Field getFields(int index) { } } /** + * + * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public Builder setFields( - int index, com.google.firestore.admin.v1.Field value) { + public Builder setFields(int index, com.google.firestore.admin.v1.Field value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +693,8 @@ public Builder setFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -653,6 +713,8 @@ public Builder setFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -673,14 +735,15 @@ public Builder addFields(com.google.firestore.admin.v1.Field value) { return this; } /** + * + * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public Builder addFields( - int index, com.google.firestore.admin.v1.Field value) { + public Builder addFields(int index, com.google.firestore.admin.v1.Field value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,14 +757,15 @@ public Builder addFields( return this; } /** + * + * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public Builder addFields( - com.google.firestore.admin.v1.Field.Builder builderForValue) { + public Builder addFields(com.google.firestore.admin.v1.Field.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); @@ -712,6 +776,8 @@ public Builder addFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -730,6 +796,8 @@ public Builder addFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -740,8 +808,7 @@ public Builder addAllFields( java.lang.Iterable values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -749,6 +816,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * The requested fields.
      * 
@@ -766,6 +835,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * The requested fields.
      * 
@@ -783,39 +854,44 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public com.google.firestore.admin.v1.Field.Builder getFieldsBuilder( - int index) { + public com.google.firestore.admin.v1.Field.Builder getFieldsBuilder(int index) { return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( - int index) { + public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); } else { + return fields_.get(index); + } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +899,8 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( } } /** + * + * *
      * The requested fields.
      * 
@@ -830,42 +908,47 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( * repeated .google.firestore.admin.v1.Field fields = 1; */ public com.google.firestore.admin.v1.Field.Builder addFieldsBuilder() { - return getFieldsFieldBuilder().addBuilder( - com.google.firestore.admin.v1.Field.getDefaultInstance()); + return getFieldsFieldBuilder() + .addBuilder(com.google.firestore.admin.v1.Field.getDefaultInstance()); } /** + * + * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public com.google.firestore.admin.v1.Field.Builder addFieldsBuilder( - int index) { - return getFieldsFieldBuilder().addBuilder( - index, com.google.firestore.admin.v1.Field.getDefaultInstance()); + public com.google.firestore.admin.v1.Field.Builder addFieldsBuilder(int index) { + return getFieldsFieldBuilder() + .addBuilder(index, com.google.firestore.admin.v1.Field.getDefaultInstance()); } /** + * + * *
      * The requested fields.
      * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder> + com.google.firestore.admin.v1.Field, + com.google.firestore.admin.v1.Field.Builder, + com.google.firestore.admin.v1.FieldOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder>( - fields_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Field, + com.google.firestore.admin.v1.Field.Builder, + com.google.firestore.admin.v1.FieldOrBuilder>( + fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; @@ -873,19 +956,21 @@ public com.google.firestore.admin.v1.Field.Builder addFieldsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +979,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1002,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -949,27 +1042,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1076,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListFieldsResponse) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListFieldsResponse) private static final com.google.firestore.admin.v1.ListFieldsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListFieldsResponse(); } @@ -993,27 +1090,27 @@ public static com.google.firestore.admin.v1.ListFieldsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFieldsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFieldsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,6 +1125,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListFieldsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java index 48e953d23..f855d32e5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListFieldsResponseOrBuilder extends +public interface ListFieldsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListFieldsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The requested fields.
    * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - java.util.List - getFieldsList(); + java.util.List getFieldsList(); /** + * + * *
    * The requested fields.
    * 
@@ -25,6 +44,8 @@ public interface ListFieldsResponseOrBuilder extends */ com.google.firestore.admin.v1.Field getFields(int index); /** + * + * *
    * The requested fields.
    * 
@@ -33,43 +54,50 @@ public interface ListFieldsResponseOrBuilder extends */ int getFieldsCount(); /** + * + * *
    * The requested fields.
    * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - java.util.List - getFieldsOrBuilderList(); + java.util.List getFieldsOrBuilderList(); /** + * + * *
    * The requested fields.
    * 
* * repeated .google.firestore.admin.v1.Field fields = 1; */ - com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder( - int index); + com.google.firestore.admin.v1.FieldOrBuilder getFieldsOrBuilder(int index); /** + * + * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java index ed797cba2..3e7633be6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesRequest} */ -public final class ListIndexesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListIndexesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListIndexesRequest) ListIndexesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListIndexesRequest.newBuilder() to construct. private ListIndexesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListIndexesRequest() { parent_ = ""; filter_ = ""; @@ -27,39 +45,46 @@ private ListIndexesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIndexesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesRequest.class, com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); + com.google.firestore.admin.v1.ListIndexesRequest.class, + com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,30 +93,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,14 +127,18 @@ public java.lang.String getParent() { } public static final int FILTER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -116,29 +147,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -149,11 +180,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * The number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -162,9 +196,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -172,6 +209,7 @@ public int getPageSize() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -180,14 +218,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -195,16 +234,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -213,6 +251,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -254,8 +292,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -268,21 +305,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListIndexesRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListIndexesRequest other = (com.google.firestore.admin.v1.ListIndexesRequest) obj; + com.google.firestore.admin.v1.ListIndexesRequest other = + (com.google.firestore.admin.v1.ListIndexesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -307,130 +341,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListIndexesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ListIndexesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListIndexesRequest) com.google.firestore.admin.v1.ListIndexesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesRequest.class, com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); + com.google.firestore.admin.v1.ListIndexesRequest.class, + com.google.firestore.admin.v1.ListIndexesRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.ListIndexesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor; } @java.lang.Override @@ -464,8 +504,11 @@ public com.google.firestore.admin.v1.ListIndexesRequest build() { @java.lang.Override public com.google.firestore.admin.v1.ListIndexesRequest buildPartial() { - com.google.firestore.admin.v1.ListIndexesRequest result = new com.google.firestore.admin.v1.ListIndexesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.ListIndexesRequest result = + new com.google.firestore.admin.v1.ListIndexesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -490,38 +533,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ListIndexesRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListIndexesRequest) { - return mergeFrom((com.google.firestore.admin.v1.ListIndexesRequest)other); + return mergeFrom((com.google.firestore.admin.v1.ListIndexesRequest) other); } else { super.mergeFrom(other); return this; @@ -529,7 +573,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesRequest other) { - if (other == com.google.firestore.admin.v1.ListIndexesRequest.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.ListIndexesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -574,32 +619,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -609,23 +659,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -634,21 +689,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -656,30 +714,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -689,18 +758,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. A parent name of the form
      * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -710,18 +785,20 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -730,20 +807,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -751,28 +829,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -782,17 +867,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * The filter to apply to list results.
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -800,13 +889,16 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -814,27 +906,33 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The number of results to return.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -846,6 +944,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -853,13 +953,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -868,6 +968,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -875,15 +977,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -891,6 +992,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -898,18 +1001,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -917,6 +1024,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -926,6 +1034,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, returned from a previous call to
      * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -933,21 +1043,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -957,12 +1069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListIndexesRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListIndexesRequest) private static final com.google.firestore.admin.v1.ListIndexesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListIndexesRequest(); } @@ -971,27 +1083,27 @@ public static com.google.firestore.admin.v1.ListIndexesRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIndexesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIndexesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,6 +1118,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListIndexesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java index 9fb9cfe3d..abf086c2a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java @@ -1,65 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListIndexesRequestOrBuilder extends +public interface ListIndexesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListIndexesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. A parent name of the form
    * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * The filter to apply to list results.
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The number of results to return.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -67,10 +102,13 @@ public interface ListIndexesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, returned from a previous call to
    * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
@@ -78,8 +116,8 @@ public interface ListIndexesRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java index 5ceabee65..eec16b8c7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
  * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesResponse} */ -public final class ListIndexesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListIndexesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.ListIndexesResponse) ListIndexesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListIndexesResponse.newBuilder() to construct. private ListIndexesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListIndexesResponse() { indexes_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,33 +44,37 @@ private ListIndexesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListIndexesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesResponse.class, com.google.firestore.admin.v1.ListIndexesResponse.Builder.class); + com.google.firestore.admin.v1.ListIndexesResponse.class, + com.google.firestore.admin.v1.ListIndexesResponse.Builder.class); } public static final int INDEXES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List indexes_; /** + * + * *
    * The requested indexes.
    * 
@@ -64,6 +86,8 @@ public java.util.List getIndexesList() { return indexes_; } /** + * + * *
    * The requested indexes.
    * 
@@ -71,11 +95,13 @@ public java.util.List getIndexesList() { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIndexesOrBuilderList() { return indexes_; } /** + * + * *
    * The requested indexes.
    * 
@@ -87,6 +113,8 @@ public int getIndexesCount() { return indexes_.size(); } /** + * + * *
    * The requested indexes.
    * 
@@ -98,6 +126,8 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** + * + * *
    * The requested indexes.
    * 
@@ -105,21 +135,24 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { * repeated .google.firestore.admin.v1.Index indexes = 1; */ @java.lang.Override - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( - int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { return indexes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,30 +161,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -160,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < indexes_.size(); i++) { output.writeMessage(1, indexes_.get(i)); } @@ -189,8 +222,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < indexes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, indexes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, indexes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -203,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.ListIndexesResponse)) { return super.equals(obj); } - com.google.firestore.admin.v1.ListIndexesResponse other = (com.google.firestore.admin.v1.ListIndexesResponse) obj; + com.google.firestore.admin.v1.ListIndexesResponse other = + (com.google.firestore.admin.v1.ListIndexesResponse) obj; - if (!getIndexesList() - .equals(other.getIndexesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getIndexesList().equals(other.getIndexesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,129 +268,135 @@ public int hashCode() { } public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.ListIndexesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.ListIndexesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListIndexesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.ListIndexesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.ListIndexesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
    * 
* * Protobuf type {@code google.firestore.admin.v1.ListIndexesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.ListIndexesResponse) com.google.firestore.admin.v1.ListIndexesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.ListIndexesResponse.class, com.google.firestore.admin.v1.ListIndexesResponse.Builder.class); + com.google.firestore.admin.v1.ListIndexesResponse.class, + com.google.firestore.admin.v1.ListIndexesResponse.Builder.class); } // Construct using com.google.firestore.admin.v1.ListIndexesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +413,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor; } @java.lang.Override @@ -397,14 +434,18 @@ public com.google.firestore.admin.v1.ListIndexesResponse build() { @java.lang.Override public com.google.firestore.admin.v1.ListIndexesResponse buildPartial() { - com.google.firestore.admin.v1.ListIndexesResponse result = new com.google.firestore.admin.v1.ListIndexesResponse(this); + com.google.firestore.admin.v1.ListIndexesResponse result = + new com.google.firestore.admin.v1.ListIndexesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.firestore.admin.v1.ListIndexesResponse result) { + private void buildPartialRepeatedFields( + com.google.firestore.admin.v1.ListIndexesResponse result) { if (indexesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { indexes_ = java.util.Collections.unmodifiableList(indexes_); @@ -427,38 +468,39 @@ private void buildPartial0(com.google.firestore.admin.v1.ListIndexesResponse res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.ListIndexesResponse) { - return mergeFrom((com.google.firestore.admin.v1.ListIndexesResponse)other); + return mergeFrom((com.google.firestore.admin.v1.ListIndexesResponse) other); } else { super.mergeFrom(other); return this; @@ -466,7 +508,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesResponse other) { - if (other == com.google.firestore.admin.v1.ListIndexesResponse.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.ListIndexesResponse.getDefaultInstance()) + return this; if (indexesBuilder_ == null) { if (!other.indexes_.isEmpty()) { if (indexes_.isEmpty()) { @@ -485,9 +528,10 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ListIndexesResponse other indexesBuilder_ = null; indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000001); - indexesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIndexesFieldBuilder() : null; + indexesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIndexesFieldBuilder() + : null; } else { indexesBuilder_.addAllMessages(other.indexes_); } @@ -524,30 +568,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.firestore.admin.v1.Index m = - input.readMessage( - com.google.firestore.admin.v1.Index.parser(), - extensionRegistry); - if (indexesBuilder_ == null) { - ensureIndexesIsMutable(); - indexes_.add(m); - } else { - indexesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.firestore.admin.v1.Index m = + input.readMessage( + com.google.firestore.admin.v1.Index.parser(), extensionRegistry); + if (indexesBuilder_ == null) { + ensureIndexesIsMutable(); + indexes_.add(m); + } else { + indexesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -557,21 +603,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List indexes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIndexesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { indexes_ = new java.util.ArrayList(indexes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> indexesBuilder_; + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder> + indexesBuilder_; /** + * + * *
      * The requested indexes.
      * 
@@ -586,6 +639,8 @@ public java.util.List getIndexesList() { } } /** + * + * *
      * The requested indexes.
      * 
@@ -600,6 +655,8 @@ public int getIndexesCount() { } } /** + * + * *
      * The requested indexes.
      * 
@@ -614,14 +671,15 @@ public com.google.firestore.admin.v1.Index getIndexes(int index) { } } /** + * + * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder setIndexes( - int index, com.google.firestore.admin.v1.Index value) { + public Builder setIndexes(int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -635,6 +693,8 @@ public Builder setIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -653,6 +713,8 @@ public Builder setIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -673,14 +735,15 @@ public Builder addIndexes(com.google.firestore.admin.v1.Index value) { return this; } /** + * + * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes( - int index, com.google.firestore.admin.v1.Index value) { + public Builder addIndexes(int index, com.google.firestore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -694,14 +757,15 @@ public Builder addIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public Builder addIndexes( - com.google.firestore.admin.v1.Index.Builder builderForValue) { + public Builder addIndexes(com.google.firestore.admin.v1.Index.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(builderForValue.build()); @@ -712,6 +776,8 @@ public Builder addIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -730,6 +796,8 @@ public Builder addIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -740,8 +808,7 @@ public Builder addAllIndexes( java.lang.Iterable values) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, indexes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexes_); onChanged(); } else { indexesBuilder_.addAllMessages(values); @@ -749,6 +816,8 @@ public Builder addAllIndexes( return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -766,6 +835,8 @@ public Builder clearIndexes() { return this; } /** + * + * *
      * The requested indexes.
      * 
@@ -783,39 +854,44 @@ public Builder removeIndexes(int index) { return this; } /** + * + * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder( - int index) { + public com.google.firestore.admin.v1.Index.Builder getIndexesBuilder(int index) { return getIndexesFieldBuilder().getBuilder(index); } /** + * + * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( - int index) { + public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { if (indexesBuilder_ == null) { - return indexes_.get(index); } else { + return indexes_.get(index); + } else { return indexesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List - getIndexesOrBuilderList() { + public java.util.List + getIndexesOrBuilderList() { if (indexesBuilder_ != null) { return indexesBuilder_.getMessageOrBuilderList(); } else { @@ -823,6 +899,8 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( } } /** + * + * *
      * The requested indexes.
      * 
@@ -830,42 +908,47 @@ public com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( * repeated .google.firestore.admin.v1.Index indexes = 1; */ public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder() { - return getIndexesFieldBuilder().addBuilder( - com.google.firestore.admin.v1.Index.getDefaultInstance()); + return getIndexesFieldBuilder() + .addBuilder(com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** + * + * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder( - int index) { - return getIndexesFieldBuilder().addBuilder( - index, com.google.firestore.admin.v1.Index.getDefaultInstance()); + public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder(int index) { + return getIndexesFieldBuilder() + .addBuilder(index, com.google.firestore.admin.v1.Index.getDefaultInstance()); } /** + * + * *
      * The requested indexes.
      * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - public java.util.List - getIndexesBuilderList() { + public java.util.List getIndexesBuilderList() { return getIndexesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder> + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { - indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.admin.v1.Index, com.google.firestore.admin.v1.Index.Builder, com.google.firestore.admin.v1.IndexOrBuilder>( - indexes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + indexesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.admin.v1.Index, + com.google.firestore.admin.v1.Index.Builder, + com.google.firestore.admin.v1.IndexOrBuilder>( + indexes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); indexes_ = null; } return indexesBuilder_; @@ -873,19 +956,21 @@ public com.google.firestore.admin.v1.Index.Builder addIndexesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -894,21 +979,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -916,30 +1002,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -949,27 +1042,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A page token that may be used to request another page of results. If blank,
      * this is the last page.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1076,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.ListIndexesResponse) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.ListIndexesResponse) private static final com.google.firestore.admin.v1.ListIndexesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.ListIndexesResponse(); } @@ -993,27 +1090,27 @@ public static com.google.firestore.admin.v1.ListIndexesResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListIndexesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListIndexesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,6 +1125,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.ListIndexesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java index c714ffcee..88a0ab846 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface ListIndexesResponseOrBuilder extends +public interface ListIndexesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.ListIndexesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The requested indexes.
    * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List - getIndexesList(); + java.util.List getIndexesList(); /** + * + * *
    * The requested indexes.
    * 
@@ -25,6 +44,8 @@ public interface ListIndexesResponseOrBuilder extends */ com.google.firestore.admin.v1.Index getIndexes(int index); /** + * + * *
    * The requested indexes.
    * 
@@ -33,43 +54,50 @@ public interface ListIndexesResponseOrBuilder extends */ int getIndexesCount(); /** + * + * *
    * The requested indexes.
    * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - java.util.List - getIndexesOrBuilderList(); + java.util.List getIndexesOrBuilderList(); /** + * + * *
    * The requested indexes.
    * 
* * repeated .google.firestore.admin.v1.Index indexes = 1; */ - com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder( - int index); + com.google.firestore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index); /** + * + * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A page token that may be used to request another page of results. If blank,
    * this is the last page.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java index c19a390ed..b7a9b1c2f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java @@ -1,53 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/location.proto package com.google.firestore.admin.v1; /** + * + * *
  * The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata].
  * 
* * Protobuf type {@code google.firestore.admin.v1.LocationMetadata} */ -public final class LocationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LocationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.LocationMetadata) LocationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LocationMetadata.newBuilder() to construct. private LocationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LocationMetadata() { - } + + private LocationMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LocationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.LocationProto + .internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.LocationProto + .internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.LocationMetadata.class, com.google.firestore.admin.v1.LocationMetadata.Builder.class); + com.google.firestore.admin.v1.LocationMetadata.class, + com.google.firestore.admin.v1.LocationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.LocationMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.LocationMetadata other = (com.google.firestore.admin.v1.LocationMetadata) obj; + com.google.firestore.admin.v1.LocationMetadata other = + (com.google.firestore.admin.v1.LocationMetadata) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -101,130 +120,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.LocationMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.LocationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.LocationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.LocationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.LocationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.LocationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata].
    * 
* * Protobuf type {@code google.firestore.admin.v1.LocationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.LocationMetadata) com.google.firestore.admin.v1.LocationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.LocationProto + .internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.LocationProto + .internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.LocationMetadata.class, com.google.firestore.admin.v1.LocationMetadata.Builder.class); + com.google.firestore.admin.v1.LocationMetadata.class, + com.google.firestore.admin.v1.LocationMetadata.Builder.class); } // Construct using com.google.firestore.admin.v1.LocationMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +257,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.LocationProto.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.LocationProto + .internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; } @java.lang.Override @@ -253,7 +278,8 @@ public com.google.firestore.admin.v1.LocationMetadata build() { @java.lang.Override public com.google.firestore.admin.v1.LocationMetadata buildPartial() { - com.google.firestore.admin.v1.LocationMetadata result = new com.google.firestore.admin.v1.LocationMetadata(this); + com.google.firestore.admin.v1.LocationMetadata result = + new com.google.firestore.admin.v1.LocationMetadata(this); onBuilt(); return result; } @@ -262,38 +288,39 @@ public com.google.firestore.admin.v1.LocationMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.LocationMetadata) { - return mergeFrom((com.google.firestore.admin.v1.LocationMetadata)other); + return mergeFrom((com.google.firestore.admin.v1.LocationMetadata) other); } else { super.mergeFrom(other); return this; @@ -328,12 +355,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +371,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,12 +383,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.LocationMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.LocationMetadata) private static final com.google.firestore.admin.v1.LocationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.LocationMetadata(); } @@ -369,27 +397,27 @@ public static com.google.firestore.admin.v1.LocationMetadata getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -404,6 +432,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.LocationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java new file mode 100644 index 000000000..84f402fb8 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/location.proto + +package com.google.firestore.admin.v1; + +public interface LocationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.LocationMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java new file mode 100644 index 000000000..68c8de712 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java @@ -0,0 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/location.proto + +package com.google.firestore.admin.v1; + +public final class LocationProto { + private LocationProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_LocationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/firestore/admin/v1/location.pro" + + "to\022\031google.firestore.admin.v1\"\022\n\020Locatio" + + "nMetadataB\334\001\n\035com.google.firestore.admin" + + ".v1B\rLocationProtoP\001Z9cloud.google.com/g" + + "o/firestore/apiv1/admin/adminpb;adminpb\242" + + "\002\004GCFS\252\002\037Google.Cloud.Firestore.Admin.V1" + + "\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002#Goo" + + "gle::Cloud::Firestore::Admin::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_firestore_admin_v1_LocationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_LocationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_LocationMetadata_descriptor, + new java.lang.String[] {}); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java new file mode 100644 index 000000000..4c1848d39 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java @@ -0,0 +1,237 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/operation.proto + +package com.google.firestore.admin.v1; + +public final class OperationProto { + private OperationProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_admin_v1_Progress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n)google/firestore/admin/v1/operation.pr" + + "oto\022\031google.firestore.admin.v1\032%google/f" + + "irestore/admin/v1/index.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\275\002\n\026IndexOperatio" + + "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022\r\n\005index\030\003 \001(\t\0228" + + "\n\005state\030\004 \001(\0162).google.firestore.admin.v" + + "1.OperationState\022?\n\022progress_documents\030\005" + + " \001(\0132#.google.firestore.admin.v1.Progres" + + "s\022;\n\016progress_bytes\030\006 \001(\0132#.google.fires" + + "tore.admin.v1.Progress\"\231\007\n\026FieldOperatio" + + "nMetadata\022.\n\nstart_time\030\001 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022\r\n\005field\030\003 \001(\t\022_" + + "\n\023index_config_deltas\030\004 \003(\0132B.google.fir" + + "estore.admin.v1.FieldOperationMetadata.I" + + "ndexConfigDelta\0228\n\005state\030\005 \001(\0162).google." + + "firestore.admin.v1.OperationState\022?\n\022pro" + + "gress_documents\030\006 \001(\0132#.google.firestore" + + ".admin.v1.Progress\022;\n\016progress_bytes\030\007 \001" + + "(\0132#.google.firestore.admin.v1.Progress\022" + + "Z\n\020ttl_config_delta\030\010 \001(\0132@.google.fires" + + "tore.admin.v1.FieldOperationMetadata.Ttl" + + "ConfigDelta\032\347\001\n\020IndexConfigDelta\022b\n\013chan" + + "ge_type\030\001 \001(\0162M.google.firestore.admin.v" + + "1.FieldOperationMetadata.IndexConfigDelt" + + "a.ChangeType\022/\n\005index\030\002 \001(\0132 .google.fir" + + "estore.admin.v1.Index\">\n\nChangeType\022\033\n\027C" + + "HANGE_TYPE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REM" + + "OVE\020\002\032\262\001\n\016TtlConfigDelta\022`\n\013change_type\030" + + "\001 \001(\0162K.google.firestore.admin.v1.FieldO" + + "perationMetadata.TtlConfigDelta.ChangeTy" + + "pe\">\n\nChangeType\022\033\n\027CHANGE_TYPE_UNSPECIF" + + "IED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\"\354\002\n\027ExportDoc" + + "umentsMetadata\022.\n\nstart_time\030\001 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\013" + + "2\032.google.protobuf.Timestamp\022B\n\017operatio" + + "n_state\030\003 \001(\0162).google.firestore.admin.v" + + "1.OperationState\022?\n\022progress_documents\030\004" + + " \001(\0132#.google.firestore.admin.v1.Progres" + + "s\022;\n\016progress_bytes\030\005 \001(\0132#.google.fires" + + "tore.admin.v1.Progress\022\026\n\016collection_ids" + + "\030\006 \003(\t\022\031\n\021output_uri_prefix\030\007 \001(\t\"\353\002\n\027Im" + + "portDocumentsMetadata\022.\n\nstart_time\030\001 \001(" + + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022B\n\017o" + + "peration_state\030\003 \001(\0162).google.firestore." + + "admin.v1.OperationState\022?\n\022progress_docu" + + "ments\030\004 \001(\0132#.google.firestore.admin.v1." + + "Progress\022;\n\016progress_bytes\030\005 \001(\0132#.googl" + + "e.firestore.admin.v1.Progress\022\026\n\016collect" + + "ion_ids\030\006 \003(\t\022\030\n\020input_uri_prefix\030\007 \001(\t\"" + + "4\n\027ExportDocumentsResponse\022\031\n\021output_uri" + + "_prefix\030\001 \001(\t\":\n\010Progress\022\026\n\016estimated_w" + + "ork\030\001 \001(\003\022\026\n\016completed_work\030\002 \001(\003*\236\001\n\016Op" + + "erationState\022\037\n\033OPERATION_STATE_UNSPECIF" + + "IED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022" + + "\016\n\nCANCELLING\020\003\022\016\n\nFINALIZING\020\004\022\016\n\nSUCCE" + + "SSFUL\020\005\022\n\n\006FAILED\020\006\022\r\n\tCANCELLED\020\007B\335\001\n\035c" + + "om.google.firestore.admin.v1B\016OperationP" + + "rotoP\001Z9cloud.google.com/go/firestore/ap" + + "iv1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Googl" + + "e.Cloud.Firestore.Admin.V1\312\002\037Google\\Clou" + + "d\\Firestore\\Admin\\V1\352\002#Google::Cloud::Fi" + + "restore::Admin::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.firestore.admin.v1.IndexProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_admin_v1_IndexOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", "Index", "State", "ProgressDocuments", "ProgressBytes", + }); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor, + new java.lang.String[] { + "StartTime", + "EndTime", + "Field", + "IndexConfigDeltas", + "State", + "ProgressDocuments", + "ProgressBytes", + "TtlConfigDelta", + }); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor = + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor + .getNestedTypes() + .get(0); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor, + new java.lang.String[] { + "ChangeType", "Index", + }); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor = + internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor + .getNestedTypes() + .get(1); + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor, + new java.lang.String[] { + "ChangeType", + }); + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor, + new java.lang.String[] { + "StartTime", + "EndTime", + "OperationState", + "ProgressDocuments", + "ProgressBytes", + "CollectionIds", + "OutputUriPrefix", + }); + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor, + new java.lang.String[] { + "StartTime", + "EndTime", + "OperationState", + "ProgressDocuments", + "ProgressBytes", + "CollectionIds", + "InputUriPrefix", + }); + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_ExportDocumentsResponse_descriptor, + new java.lang.String[] { + "OutputUriPrefix", + }); + internal_static_google_firestore_admin_v1_Progress_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_admin_v1_Progress_descriptor, + new java.lang.String[] { + "EstimatedWork", "CompletedWork", + }); + com.google.firestore.admin.v1.IndexProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java index 3ae41ccf8..e40f2f12b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/operation.proto package com.google.firestore.admin.v1; /** + * + * *
  * Describes the state of the operation.
  * 
* * Protobuf enum {@code google.firestore.admin.v1.OperationState} */ -public enum OperationState - implements com.google.protobuf.ProtocolMessageEnum { +public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -21,6 +39,8 @@ public enum OperationState */ OPERATION_STATE_UNSPECIFIED(0), /** + * + * *
    * Request is being prepared for processing.
    * 
@@ -29,6 +49,8 @@ public enum OperationState */ INITIALIZING(1), /** + * + * *
    * Request is actively being processed.
    * 
@@ -37,6 +59,8 @@ public enum OperationState */ PROCESSING(2), /** + * + * *
    * Request is in the process of being cancelled after user called
    * google.longrunning.Operations.CancelOperation on the operation.
@@ -46,6 +70,8 @@ public enum OperationState
    */
   CANCELLING(3),
   /**
+   *
+   *
    * 
    * Request has been processed and is in its finalization stage.
    * 
@@ -54,6 +80,8 @@ public enum OperationState */ FINALIZING(4), /** + * + * *
    * Request has completed successfully.
    * 
@@ -62,6 +90,8 @@ public enum OperationState */ SUCCESSFUL(5), /** + * + * *
    * Request has finished being processed, but encountered an error.
    * 
@@ -70,6 +100,8 @@ public enum OperationState */ FAILED(6), /** + * + * *
    * Request has finished being cancelled after user called
    * google.longrunning.Operations.CancelOperation.
@@ -82,6 +114,8 @@ public enum OperationState
   ;
 
   /**
+   *
+   *
    * 
    * Unspecified.
    * 
@@ -90,6 +124,8 @@ public enum OperationState */ public static final int OPERATION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Request is being prepared for processing.
    * 
@@ -98,6 +134,8 @@ public enum OperationState */ public static final int INITIALIZING_VALUE = 1; /** + * + * *
    * Request is actively being processed.
    * 
@@ -106,6 +144,8 @@ public enum OperationState */ public static final int PROCESSING_VALUE = 2; /** + * + * *
    * Request is in the process of being cancelled after user called
    * google.longrunning.Operations.CancelOperation on the operation.
@@ -115,6 +155,8 @@ public enum OperationState
    */
   public static final int CANCELLING_VALUE = 3;
   /**
+   *
+   *
    * 
    * Request has been processed and is in its finalization stage.
    * 
@@ -123,6 +165,8 @@ public enum OperationState */ public static final int FINALIZING_VALUE = 4; /** + * + * *
    * Request has completed successfully.
    * 
@@ -131,6 +175,8 @@ public enum OperationState */ public static final int SUCCESSFUL_VALUE = 5; /** + * + * *
    * Request has finished being processed, but encountered an error.
    * 
@@ -139,6 +185,8 @@ public enum OperationState */ public static final int FAILED_VALUE = 6; /** + * + * *
    * Request has finished being cancelled after user called
    * google.longrunning.Operations.CancelOperation.
@@ -148,7 +196,6 @@ public enum OperationState
    */
   public static final int CANCELLED_VALUE = 7;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -173,54 +220,59 @@ public static OperationState valueOf(int value) {
    */
   public static OperationState forNumber(int value) {
     switch (value) {
-      case 0: return OPERATION_STATE_UNSPECIFIED;
-      case 1: return INITIALIZING;
-      case 2: return PROCESSING;
-      case 3: return CANCELLING;
-      case 4: return FINALIZING;
-      case 5: return SUCCESSFUL;
-      case 6: return FAILED;
-      case 7: return CANCELLED;
-      default: return null;
+      case 0:
+        return OPERATION_STATE_UNSPECIFIED;
+      case 1:
+        return INITIALIZING;
+      case 2:
+        return PROCESSING;
+      case 3:
+        return CANCELLING;
+      case 4:
+        return FINALIZING;
+      case 5:
+        return SUCCESSFUL;
+      case 6:
+        return FAILED;
+      case 7:
+        return CANCELLED;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      OperationState> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public OperationState findValueByNumber(int number) {
-            return OperationState.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public OperationState findValueByNumber(int number) {
+          return OperationState.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.firestore.admin.v1.OperationProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final OperationState[] VALUES = values();
 
-  public static OperationState valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static OperationState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -236,4 +288,3 @@ private OperationState(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.firestore.admin.v1.OperationState)
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
index 211907507..3a3340c08 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/operation.proto
 
 package com.google.firestore.admin.v1;
 
 /**
+ *
+ *
  * 
  * Describes the progress of the operation.
  * Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1.Progress]
@@ -12,51 +29,55 @@
  *
  * Protobuf type {@code google.firestore.admin.v1.Progress}
  */
-public final class Progress extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Progress extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.Progress)
     ProgressOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Progress.newBuilder() to construct.
   private Progress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Progress() {
-  }
+
+  private Progress() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Progress();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_Progress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
+    return com.google.firestore.admin.v1.OperationProto
+        .internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.admin.v1.Progress.class, com.google.firestore.admin.v1.Progress.Builder.class);
+            com.google.firestore.admin.v1.Progress.class,
+            com.google.firestore.admin.v1.Progress.Builder.class);
   }
 
   public static final int ESTIMATED_WORK_FIELD_NUMBER = 1;
   private long estimatedWork_ = 0L;
   /**
+   *
+   *
    * 
    * The amount of work estimated.
    * 
* * int64 estimated_work = 1; + * * @return The estimatedWork. */ @java.lang.Override @@ -67,11 +88,14 @@ public long getEstimatedWork() { public static final int COMPLETED_WORK_FIELD_NUMBER = 2; private long completedWork_ = 0L; /** + * + * *
    * The amount of work completed.
    * 
* * int64 completed_work = 2; + * * @return The completedWork. */ @java.lang.Override @@ -80,6 +104,7 @@ public long getCompletedWork() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -91,8 +116,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (estimatedWork_ != 0L) { output.writeInt64(1, estimatedWork_); } @@ -109,12 +133,10 @@ public int getSerializedSize() { size = 0; if (estimatedWork_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, estimatedWork_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, estimatedWork_); } if (completedWork_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, completedWork_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, completedWork_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.Progress)) { return super.equals(obj); } com.google.firestore.admin.v1.Progress other = (com.google.firestore.admin.v1.Progress) obj; - if (getEstimatedWork() - != other.getEstimatedWork()) return false; - if (getCompletedWork() - != other.getCompletedWork()) return false; + if (getEstimatedWork() != other.getEstimatedWork()) return false; + if (getCompletedWork() != other.getCompletedWork()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -147,107 +167,112 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ESTIMATED_WORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEstimatedWork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedWork()); hash = (37 * hash) + COMPLETED_WORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCompletedWork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCompletedWork()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.admin.v1.Progress parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.admin.v1.Progress parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Progress parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Progress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Progress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.Progress parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.Progress parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Progress parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Progress parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Progress parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.Progress parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.Progress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.Progress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Describes the progress of the operation.
    * Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1.Progress]
@@ -256,33 +281,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.admin.v1.Progress}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.Progress)
       com.google.firestore.admin.v1.ProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_Progress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_Progress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.admin.v1.Progress.class, com.google.firestore.admin.v1.Progress.Builder.class);
+              com.google.firestore.admin.v1.Progress.class,
+              com.google.firestore.admin.v1.Progress.Builder.class);
     }
 
     // Construct using com.google.firestore.admin.v1.Progress.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -293,9 +317,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.admin.v1.OperationProto.internal_static_google_firestore_admin_v1_Progress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.admin.v1.OperationProto
+          .internal_static_google_firestore_admin_v1_Progress_descriptor;
     }
 
     @java.lang.Override
@@ -314,8 +338,11 @@ public com.google.firestore.admin.v1.Progress build() {
 
     @java.lang.Override
     public com.google.firestore.admin.v1.Progress buildPartial() {
-      com.google.firestore.admin.v1.Progress result = new com.google.firestore.admin.v1.Progress(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.admin.v1.Progress result =
+          new com.google.firestore.admin.v1.Progress(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -334,38 +361,39 @@ private void buildPartial0(com.google.firestore.admin.v1.Progress result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.admin.v1.Progress) {
-        return mergeFrom((com.google.firestore.admin.v1.Progress)other);
+        return mergeFrom((com.google.firestore.admin.v1.Progress) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -406,22 +434,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              estimatedWork_ = input.readInt64();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              completedWork_ = input.readInt64();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                estimatedWork_ = input.readInt64();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                completedWork_ = input.readInt64();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -431,15 +462,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long estimatedWork_ ;
+    private long estimatedWork_;
     /**
+     *
+     *
      * 
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; + * * @return The estimatedWork. */ @java.lang.Override @@ -447,27 +482,33 @@ public long getEstimatedWork() { return estimatedWork_; } /** + * + * *
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; + * * @param value The estimatedWork to set. * @return This builder for chaining. */ public Builder setEstimatedWork(long value) { - + estimatedWork_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The amount of work estimated.
      * 
* * int64 estimated_work = 1; + * * @return This builder for chaining. */ public Builder clearEstimatedWork() { @@ -477,13 +518,16 @@ public Builder clearEstimatedWork() { return this; } - private long completedWork_ ; + private long completedWork_; /** + * + * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; + * * @return The completedWork. */ @java.lang.Override @@ -491,27 +535,33 @@ public long getCompletedWork() { return completedWork_; } /** + * + * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; + * * @param value The completedWork to set. * @return This builder for chaining. */ public Builder setCompletedWork(long value) { - + completedWork_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The amount of work completed.
      * 
* * int64 completed_work = 2; + * * @return This builder for chaining. */ public Builder clearCompletedWork() { @@ -520,9 +570,9 @@ public Builder clearCompletedWork() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -532,12 +582,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.Progress) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.Progress) private static final com.google.firestore.admin.v1.Progress DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.Progress(); } @@ -546,27 +596,27 @@ public static com.google.firestore.admin.v1.Progress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Progress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Progress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -581,6 +631,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.Progress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java new file mode 100644 index 000000000..632606ea9 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java @@ -0,0 +1,51 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/operation.proto + +package com.google.firestore.admin.v1; + +public interface ProgressOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.Progress) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The amount of work estimated.
+   * 
+ * + * int64 estimated_work = 1; + * + * @return The estimatedWork. + */ + long getEstimatedWork(); + + /** + * + * + *
+   * The amount of work completed.
+   * 
+ * + * int64 completed_work = 2; + * + * @return The completedWork. + */ + long getCompletedWork(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java index 485f129f4..b26f63b4c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java @@ -1,53 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * Metadata related to the update database operation.
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseMetadata} */ -public final class UpdateDatabaseMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateDatabaseMetadata) UpdateDatabaseMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDatabaseMetadata.newBuilder() to construct. private UpdateDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDatabaseMetadata() { - } + + private UpdateDatabaseMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDatabaseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, + com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,12 +96,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.UpdateDatabaseMetadata)) { return super.equals(obj); } - com.google.firestore.admin.v1.UpdateDatabaseMetadata other = (com.google.firestore.admin.v1.UpdateDatabaseMetadata) obj; + com.google.firestore.admin.v1.UpdateDatabaseMetadata other = + (com.google.firestore.admin.v1.UpdateDatabaseMetadata) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -102,129 +121,135 @@ public int hashCode() { } public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.UpdateDatabaseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.UpdateDatabaseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata related to the update database operation.
    * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.UpdateDatabaseMetadata) com.google.firestore.admin.v1.UpdateDatabaseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseMetadata.class, + com.google.firestore.admin.v1.UpdateDatabaseMetadata.Builder.class); } // Construct using com.google.firestore.admin.v1.UpdateDatabaseMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +257,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor; } @java.lang.Override @@ -253,7 +278,8 @@ public com.google.firestore.admin.v1.UpdateDatabaseMetadata build() { @java.lang.Override public com.google.firestore.admin.v1.UpdateDatabaseMetadata buildPartial() { - com.google.firestore.admin.v1.UpdateDatabaseMetadata result = new com.google.firestore.admin.v1.UpdateDatabaseMetadata(this); + com.google.firestore.admin.v1.UpdateDatabaseMetadata result = + new com.google.firestore.admin.v1.UpdateDatabaseMetadata(this); onBuilt(); return result; } @@ -262,38 +288,39 @@ public com.google.firestore.admin.v1.UpdateDatabaseMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.UpdateDatabaseMetadata) { - return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseMetadata)other); + return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseMetadata) other); } else { super.mergeFrom(other); return this; @@ -301,7 +328,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.UpdateDatabaseMetadata other) { - if (other == com.google.firestore.admin.v1.UpdateDatabaseMetadata.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.UpdateDatabaseMetadata.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -328,12 +356,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +372,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,12 +384,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.UpdateDatabaseMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.UpdateDatabaseMetadata) private static final com.google.firestore.admin.v1.UpdateDatabaseMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.UpdateDatabaseMetadata(); } @@ -369,27 +398,27 @@ public static com.google.firestore.admin.v1.UpdateDatabaseMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDatabaseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDatabaseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -404,6 +433,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.UpdateDatabaseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java new file mode 100644 index 000000000..d5ff4f507 --- /dev/null +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/admin/v1/firestore_admin.proto + +package com.google.firestore.admin.v1; + +public interface UpdateDatabaseMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateDatabaseMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java index 9824b1f9a..c5814c77b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseRequest} */ -public final class UpdateDatabaseRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateDatabaseRequest) UpdateDatabaseRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDatabaseRequest.newBuilder() to construct. private UpdateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDatabaseRequest() { - } + + private UpdateDatabaseRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDatabaseRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseRequest.class, com.google.firestore.admin.v1.UpdateDatabaseRequest.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseRequest.class, + com.google.firestore.admin.v1.UpdateDatabaseRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; private com.google.firestore.admin.v1.Database database_; /** + * + * *
    * Required. The database to update.
    * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the database field is set. */ @java.lang.Override @@ -62,37 +85,53 @@ public boolean hasDatabase() { return database_ != null; } /** + * + * *
    * Required. The database to update.
    * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The database. */ @java.lang.Override public com.google.firestore.admin.v1.Database getDatabase() { - return database_ == null ? com.google.firestore.admin.v1.Database.getDefaultInstance() : database_; + return database_ == null + ? com.google.firestore.admin.v1.Database.getDefaultInstance() + : database_; } /** + * + * *
    * Required. The database to update.
    * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() { - return database_ == null ? com.google.firestore.admin.v1.Database.getDefaultInstance() : database_; + return database_ == null + ? com.google.firestore.admin.v1.Database.getDefaultInstance() + : database_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -100,11 +139,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -112,6 +154,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -124,6 +168,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (database_ != null) { output.writeMessage(1, getDatabase()); } @@ -153,12 +197,10 @@ public int getSerializedSize() { size = 0; if (database_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDatabase()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDatabase()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +210,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.admin.v1.UpdateDatabaseRequest)) { return super.equals(obj); } - com.google.firestore.admin.v1.UpdateDatabaseRequest other = (com.google.firestore.admin.v1.UpdateDatabaseRequest) obj; + com.google.firestore.admin.v1.UpdateDatabaseRequest other = + (com.google.firestore.admin.v1.UpdateDatabaseRequest) obj; if (hasDatabase() != other.hasDatabase()) return false; if (hasDatabase()) { - if (!getDatabase() - .equals(other.getDatabase())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -210,129 +251,135 @@ public int hashCode() { } public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.admin.v1.UpdateDatabaseRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.admin.v1.UpdateDatabaseRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
    * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.UpdateDatabaseRequest) com.google.firestore.admin.v1.UpdateDatabaseRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateDatabaseRequest.class, com.google.firestore.admin.v1.UpdateDatabaseRequest.Builder.class); + com.google.firestore.admin.v1.UpdateDatabaseRequest.class, + com.google.firestore.admin.v1.UpdateDatabaseRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.UpdateDatabaseRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor; } @java.lang.Override @@ -372,8 +419,11 @@ public com.google.firestore.admin.v1.UpdateDatabaseRequest build() { @java.lang.Override public com.google.firestore.admin.v1.UpdateDatabaseRequest buildPartial() { - com.google.firestore.admin.v1.UpdateDatabaseRequest result = new com.google.firestore.admin.v1.UpdateDatabaseRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.UpdateDatabaseRequest result = + new com.google.firestore.admin.v1.UpdateDatabaseRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -381,14 +431,10 @@ public com.google.firestore.admin.v1.UpdateDatabaseRequest buildPartial() { private void buildPartial0(com.google.firestore.admin.v1.UpdateDatabaseRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.database_ = databaseBuilder_ == null - ? database_ - : databaseBuilder_.build(); + result.database_ = databaseBuilder_ == null ? database_ : databaseBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,38 +442,39 @@ private void buildPartial0(com.google.firestore.admin.v1.UpdateDatabaseRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.UpdateDatabaseRequest) { - return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseRequest)other); + return mergeFrom((com.google.firestore.admin.v1.UpdateDatabaseRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +482,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.UpdateDatabaseRequest other) { - if (other == com.google.firestore.admin.v1.UpdateDatabaseRequest.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.UpdateDatabaseRequest.getDefaultInstance()) + return this; if (other.hasDatabase()) { mergeDatabase(other.getDatabase()); } @@ -468,26 +516,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDatabaseFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getDatabaseFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,43 +544,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.firestore.admin.v1.Database database_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder> databaseBuilder_; + com.google.firestore.admin.v1.Database, + com.google.firestore.admin.v1.Database.Builder, + com.google.firestore.admin.v1.DatabaseOrBuilder> + databaseBuilder_; /** + * + * *
      * Required. The database to update.
      * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the database field is set. */ public boolean hasDatabase() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The database to update.
      * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The database. */ public com.google.firestore.admin.v1.Database getDatabase() { if (databaseBuilder_ == null) { - return database_ == null ? com.google.firestore.admin.v1.Database.getDefaultInstance() : database_; + return database_ == null + ? com.google.firestore.admin.v1.Database.getDefaultInstance() + : database_; } else { return databaseBuilder_.getMessage(); } } /** + * + * *
      * Required. The database to update.
      * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDatabase(com.google.firestore.admin.v1.Database value) { if (databaseBuilder_ == null) { @@ -549,14 +616,17 @@ public Builder setDatabase(com.google.firestore.admin.v1.Database value) { return this; } /** + * + * *
      * Required. The database to update.
      * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDatabase( - com.google.firestore.admin.v1.Database.Builder builderForValue) { + public Builder setDatabase(com.google.firestore.admin.v1.Database.Builder builderForValue) { if (databaseBuilder_ == null) { database_ = builderForValue.build(); } else { @@ -567,17 +637,21 @@ public Builder setDatabase( return this; } /** + * + * *
      * Required. The database to update.
      * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDatabase(com.google.firestore.admin.v1.Database value) { if (databaseBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - database_ != null && - database_ != com.google.firestore.admin.v1.Database.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && database_ != null + && database_ != com.google.firestore.admin.v1.Database.getDefaultInstance()) { getDatabaseBuilder().mergeFrom(value); } else { database_ = value; @@ -590,11 +664,15 @@ public Builder mergeDatabase(com.google.firestore.admin.v1.Database value) { return this; } /** + * + * *
      * Required. The database to update.
      * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDatabase() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,11 +685,15 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database to update.
      * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.firestore.admin.v1.Database.Builder getDatabaseBuilder() { bitField0_ |= 0x00000001; @@ -619,36 +701,48 @@ public com.google.firestore.admin.v1.Database.Builder getDatabaseBuilder() { return getDatabaseFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The database to update.
      * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() { if (databaseBuilder_ != null) { return databaseBuilder_.getMessageOrBuilder(); } else { - return database_ == null ? - com.google.firestore.admin.v1.Database.getDefaultInstance() : database_; + return database_ == null + ? com.google.firestore.admin.v1.Database.getDefaultInstance() + : database_; } } /** + * + * *
      * Required. The database to update.
      * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder> + com.google.firestore.admin.v1.Database, + com.google.firestore.admin.v1.Database.Builder, + com.google.firestore.admin.v1.DatabaseOrBuilder> getDatabaseFieldBuilder() { if (databaseBuilder_ == null) { - databaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Database, com.google.firestore.admin.v1.Database.Builder, com.google.firestore.admin.v1.DatabaseOrBuilder>( - getDatabase(), - getParentForChildren(), - isClean()); + databaseBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Database, + com.google.firestore.admin.v1.Database.Builder, + com.google.firestore.admin.v1.DatabaseOrBuilder>( + getDatabase(), getParentForChildren(), isClean()); database_ = null; } return databaseBuilder_; @@ -656,34 +750,47 @@ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -704,14 +811,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -722,6 +830,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -730,9 +840,9 @@ public Builder setUpdateMask( */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -745,6 +855,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -762,6 +874,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -774,6 +888,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -784,11 +900,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -796,21 +915,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,12 +942,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.UpdateDatabaseRequest) } // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.UpdateDatabaseRequest) private static final com.google.firestore.admin.v1.UpdateDatabaseRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.admin.v1.UpdateDatabaseRequest(); } @@ -834,27 +956,27 @@ public static com.google.firestore.admin.v1.UpdateDatabaseRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDatabaseRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDatabaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +991,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.admin.v1.UpdateDatabaseRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java index 39db27746..fb49c8b9e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java @@ -1,58 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; -public interface UpdateDatabaseRequestOrBuilder extends +public interface UpdateDatabaseRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateDatabaseRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database to update.
    * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the database field is set. */ boolean hasDatabase(); /** + * + * *
    * Required. The database to update.
    * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The database. */ com.google.firestore.admin.v1.Database getDatabase(); /** + * + * *
    * Required. The database to update.
    * 
* - * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.firestore.admin.v1.Database database = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java index a608640f5..192c18afd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java +++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java @@ -1,60 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/admin/v1/firestore_admin.proto package com.google.firestore.admin.v1; /** + * + * *
  * The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
  * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateFieldRequest} */ -public final class UpdateFieldRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateFieldRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.UpdateFieldRequest) UpdateFieldRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateFieldRequest.newBuilder() to construct. private UpdateFieldRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateFieldRequest() { - } + + private UpdateFieldRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateFieldRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateFieldRequest.class, com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); + com.google.firestore.admin.v1.UpdateFieldRequest.class, + com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.firestore.admin.v1.Field field_; /** + * + * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasField() { return field_ != null; } /** + * + * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.firestore.admin.v1.Field getField() { return field_ == null ? com.google.firestore.admin.v1.Field.getDefaultInstance() : field_; } /** + * + * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { @@ -88,12 +117,15 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -101,12 +133,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -114,6 +149,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
@@ -127,6 +164,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -138,8 +176,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (field_ != null) {
       output.writeMessage(1, getField());
     }
@@ -156,12 +193,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (field_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getField());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -171,22 +206,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.admin.v1.UpdateFieldRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.admin.v1.UpdateFieldRequest other = (com.google.firestore.admin.v1.UpdateFieldRequest) obj;
+    com.google.firestore.admin.v1.UpdateFieldRequest other =
+        (com.google.firestore.admin.v1.UpdateFieldRequest) obj;
 
     if (hasField() != other.hasField()) return false;
     if (hasField()) {
-      if (!getField()
-          .equals(other.getField())) return false;
+      if (!getField().equals(other.getField())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,130 +246,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.admin.v1.UpdateFieldRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.admin.v1.UpdateFieldRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.admin.v1.UpdateFieldRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.admin.v1.UpdateFieldRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
    * 
* * Protobuf type {@code google.firestore.admin.v1.UpdateFieldRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.UpdateFieldRequest) com.google.firestore.admin.v1.UpdateFieldRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.admin.v1.UpdateFieldRequest.class, com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); + com.google.firestore.admin.v1.UpdateFieldRequest.class, + com.google.firestore.admin.v1.UpdateFieldRequest.Builder.class); } // Construct using com.google.firestore.admin.v1.UpdateFieldRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +394,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.admin.v1.FirestoreAdminProto.internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.admin.v1.FirestoreAdminProto + .internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor; } @java.lang.Override @@ -375,8 +415,11 @@ public com.google.firestore.admin.v1.UpdateFieldRequest build() { @java.lang.Override public com.google.firestore.admin.v1.UpdateFieldRequest buildPartial() { - com.google.firestore.admin.v1.UpdateFieldRequest result = new com.google.firestore.admin.v1.UpdateFieldRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.admin.v1.UpdateFieldRequest result = + new com.google.firestore.admin.v1.UpdateFieldRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -384,14 +427,10 @@ public com.google.firestore.admin.v1.UpdateFieldRequest buildPartial() { private void buildPartial0(com.google.firestore.admin.v1.UpdateFieldRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.field_ = fieldBuilder_ == null - ? field_ - : fieldBuilder_.build(); + result.field_ = fieldBuilder_ == null ? field_ : fieldBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -399,38 +438,39 @@ private void buildPartial0(com.google.firestore.admin.v1.UpdateFieldRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.admin.v1.UpdateFieldRequest) { - return mergeFrom((com.google.firestore.admin.v1.UpdateFieldRequest)other); + return mergeFrom((com.google.firestore.admin.v1.UpdateFieldRequest) other); } else { super.mergeFrom(other); return this; @@ -438,7 +478,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.admin.v1.UpdateFieldRequest other) { - if (other == com.google.firestore.admin.v1.UpdateFieldRequest.getDefaultInstance()) return this; + if (other == com.google.firestore.admin.v1.UpdateFieldRequest.getDefaultInstance()) + return this; if (other.hasField()) { mergeField(other.getField()); } @@ -471,26 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getFieldFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getFieldFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,28 +540,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.firestore.admin.v1.Field field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder> fieldBuilder_; + com.google.firestore.admin.v1.Field, + com.google.firestore.admin.v1.Field.Builder, + com.google.firestore.admin.v1.FieldOrBuilder> + fieldBuilder_; /** + * + * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ public boolean hasField() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ public com.google.firestore.admin.v1.Field getField() { @@ -532,11 +584,14 @@ public com.google.firestore.admin.v1.Field getField() { } } /** + * + * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setField(com.google.firestore.admin.v1.Field value) { if (fieldBuilder_ == null) { @@ -552,14 +607,16 @@ public Builder setField(com.google.firestore.admin.v1.Field value) { return this; } /** + * + * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setField( - com.google.firestore.admin.v1.Field.Builder builderForValue) { + public Builder setField(com.google.firestore.admin.v1.Field.Builder builderForValue) { if (fieldBuilder_ == null) { field_ = builderForValue.build(); } else { @@ -570,17 +627,20 @@ public Builder setField( return this; } /** + * + * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeField(com.google.firestore.admin.v1.Field value) { if (fieldBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - field_ != null && - field_ != com.google.firestore.admin.v1.Field.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && field_ != null + && field_ != com.google.firestore.admin.v1.Field.getDefaultInstance()) { getFieldBuilder().mergeFrom(value); } else { field_ = value; @@ -593,11 +653,14 @@ public Builder mergeField(com.google.firestore.admin.v1.Field value) { return this; } /** + * + * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearField() { bitField0_ = (bitField0_ & ~0x00000001); @@ -610,11 +673,14 @@ public Builder clearField() { return this; } /** + * + * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.firestore.admin.v1.Field.Builder getFieldBuilder() { bitField0_ |= 0x00000001; @@ -622,36 +688,44 @@ public com.google.firestore.admin.v1.Field.Builder getFieldBuilder() { return getFieldFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.firestore.admin.v1.Field.getDefaultInstance() : field_; + return field_ == null ? com.google.firestore.admin.v1.Field.getDefaultInstance() : field_; } } /** + * + * *
      * Required. The field to be updated.
      * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder> + com.google.firestore.admin.v1.Field, + com.google.firestore.admin.v1.Field.Builder, + com.google.firestore.admin.v1.FieldOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.admin.v1.Field, com.google.firestore.admin.v1.Field.Builder, com.google.firestore.admin.v1.FieldOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.admin.v1.Field, + com.google.firestore.admin.v1.Field.Builder, + com.google.firestore.admin.v1.FieldOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; @@ -659,36 +733,49 @@ public com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -710,6 +797,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -717,8 +806,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
       } else {
@@ -729,6 +817,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -738,9 +828,9 @@ public Builder setUpdateMask(
      */
     public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          updateMask_ != null &&
-          updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && updateMask_ != null
+            && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
           getUpdateMaskBuilder().mergeFrom(value);
         } else {
           updateMask_ = value;
@@ -753,6 +843,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -771,6 +863,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -784,6 +878,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -795,11 +891,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * A mask, relative to the field. If specified, only configuration specified
      * by this field_mask will be updated in the field.
@@ -808,21 +907,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -832,12 +934,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.UpdateFieldRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.UpdateFieldRequest)
   private static final com.google.firestore.admin.v1.UpdateFieldRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.admin.v1.UpdateFieldRequest();
   }
@@ -846,27 +948,27 @@ public static com.google.firestore.admin.v1.UpdateFieldRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateFieldRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateFieldRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -881,6 +983,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.admin.v1.UpdateFieldRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
rename to proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
index 2702c0e7c..325514988 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
@@ -1,60 +1,95 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/admin/v1/firestore_admin.proto
 
 package com.google.firestore.admin.v1;
 
-public interface UpdateFieldRequestOrBuilder extends
+public interface UpdateFieldRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.UpdateFieldRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The field. */ com.google.firestore.admin.v1.Field getField(); /** + * + * *
    * Required. The field to be updated.
    * 
* - * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.admin.v1.Field field = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.firestore.admin.v1.FieldOrBuilder getFieldOrBuilder(); /** + * + * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A mask, relative to the field. If specified, only configuration specified
    * by this field_mask will be updated in the field.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto b/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
rename to proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/database.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto b/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
rename to proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/field.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto b/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
rename to proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto b/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
rename to proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/index.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto b/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
rename to proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/location.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto b/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
rename to proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/operation.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
rename to proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
index be4071c11..81f3ec9e2 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
 /**
+ *
+ *
  * 
  * A Firestore bundle is a length-prefixed stream of JSON representations of
  * `BundleElement`.
@@ -14,47 +31,50 @@
  *
  * Protobuf type {@code google.firestore.bundle.BundleElement}
  */
-public final class BundleElement extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BundleElement extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundleElement)
     BundleElementOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BundleElement.newBuilder() to construct.
   private BundleElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private BundleElement() {
-  }
+
+  private BundleElement() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BundleElement();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.bundle.BundleProto
+        .internal_static_google_firestore_bundle_BundleElement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
+    return com.google.firestore.bundle.BundleProto
+        .internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.bundle.BundleElement.class, com.google.firestore.bundle.BundleElement.Builder.class);
+            com.google.firestore.bundle.BundleElement.class,
+            com.google.firestore.bundle.BundleElement.Builder.class);
   }
 
   private int elementTypeCase_ = 0;
   private java.lang.Object elementType_;
+
   public enum ElementTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     METADATA(1),
     NAMED_QUERY(2),
@@ -62,6 +82,7 @@ public enum ElementTypeCase
     DOCUMENT(4),
     ELEMENTTYPE_NOT_SET(0);
     private final int value;
+
     private ElementTypeCase(int value) {
       this.value = value;
     }
@@ -77,28 +98,34 @@ public static ElementTypeCase valueOf(int value) {
 
     public static ElementTypeCase forNumber(int value) {
       switch (value) {
-        case 1: return METADATA;
-        case 2: return NAMED_QUERY;
-        case 3: return DOCUMENT_METADATA;
-        case 4: return DOCUMENT;
-        case 0: return ELEMENTTYPE_NOT_SET;
-        default: return null;
+        case 1:
+          return METADATA;
+        case 2:
+          return NAMED_QUERY;
+        case 3:
+          return DOCUMENT_METADATA;
+        case 4:
+          return DOCUMENT;
+        case 0:
+          return ELEMENTTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ElementTypeCase
-  getElementTypeCase() {
-    return ElementTypeCase.forNumber(
-        elementTypeCase_);
+  public ElementTypeCase getElementTypeCase() {
+    return ElementTypeCase.forNumber(elementTypeCase_);
   }
 
   public static final int METADATA_FIELD_NUMBER = 1;
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
+   *
    * @return Whether the metadata field is set.
    */
   @java.lang.Override
@@ -107,22 +134,21 @@ public boolean hasMetadata() {
   }
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
+   *
    * @return The metadata.
    */
   @java.lang.Override
   public com.google.firestore.bundle.BundleMetadata getMetadata() {
     if (elementTypeCase_ == 1) {
-       return (com.google.firestore.bundle.BundleMetadata) elementType_;
+      return (com.google.firestore.bundle.BundleMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
   }
-  /**
-   * .google.firestore.bundle.BundleMetadata metadata = 1;
-   */
+  /** .google.firestore.bundle.BundleMetadata metadata = 1; */
   @java.lang.Override
   public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder() {
     if (elementTypeCase_ == 1) {
-       return (com.google.firestore.bundle.BundleMetadata) elementType_;
+      return (com.google.firestore.bundle.BundleMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
   }
@@ -130,6 +156,7 @@ public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder(
   public static final int NAMED_QUERY_FIELD_NUMBER = 2;
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
+   *
    * @return Whether the namedQuery field is set.
    */
   @java.lang.Override
@@ -138,22 +165,21 @@ public boolean hasNamedQuery() {
   }
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
+   *
    * @return The namedQuery.
    */
   @java.lang.Override
   public com.google.firestore.bundle.NamedQuery getNamedQuery() {
     if (elementTypeCase_ == 2) {
-       return (com.google.firestore.bundle.NamedQuery) elementType_;
+      return (com.google.firestore.bundle.NamedQuery) elementType_;
     }
     return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
   }
-  /**
-   * .google.firestore.bundle.NamedQuery named_query = 2;
-   */
+  /** .google.firestore.bundle.NamedQuery named_query = 2; */
   @java.lang.Override
   public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder() {
     if (elementTypeCase_ == 2) {
-       return (com.google.firestore.bundle.NamedQuery) elementType_;
+      return (com.google.firestore.bundle.NamedQuery) elementType_;
     }
     return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
   }
@@ -161,6 +187,7 @@ public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder()
   public static final int DOCUMENT_METADATA_FIELD_NUMBER = 3;
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   *
    * @return Whether the documentMetadata field is set.
    */
   @java.lang.Override
@@ -169,22 +196,22 @@ public boolean hasDocumentMetadata() {
   }
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   *
    * @return The documentMetadata.
    */
   @java.lang.Override
   public com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata() {
     if (elementTypeCase_ == 3) {
-       return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
+      return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
   }
-  /**
-   * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   */
+  /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
   @java.lang.Override
-  public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder() {
+  public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder
+      getDocumentMetadataOrBuilder() {
     if (elementTypeCase_ == 3) {
-       return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
+      return (com.google.firestore.bundle.BundledDocumentMetadata) elementType_;
     }
     return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
   }
@@ -192,6 +219,7 @@ public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentM
   public static final int DOCUMENT_FIELD_NUMBER = 4;
   /**
    * .google.firestore.v1.Document document = 4;
+   *
    * @return Whether the document field is set.
    */
   @java.lang.Override
@@ -200,27 +228,27 @@ public boolean hasDocument() {
   }
   /**
    * .google.firestore.v1.Document document = 4;
+   *
    * @return The document.
    */
   @java.lang.Override
   public com.google.firestore.v1.Document getDocument() {
     if (elementTypeCase_ == 4) {
-       return (com.google.firestore.v1.Document) elementType_;
+      return (com.google.firestore.v1.Document) elementType_;
     }
     return com.google.firestore.v1.Document.getDefaultInstance();
   }
-  /**
-   * .google.firestore.v1.Document document = 4;
-   */
+  /** .google.firestore.v1.Document document = 4; */
   @java.lang.Override
   public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
     if (elementTypeCase_ == 4) {
-       return (com.google.firestore.v1.Document) elementType_;
+      return (com.google.firestore.v1.Document) elementType_;
     }
     return com.google.firestore.v1.Document.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -232,8 +260,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (elementTypeCase_ == 1) {
       output.writeMessage(1, (com.google.firestore.bundle.BundleMetadata) elementType_);
     }
@@ -256,20 +283,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (elementTypeCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.firestore.bundle.BundleMetadata) elementType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.firestore.bundle.BundleMetadata) elementType_);
     }
     if (elementTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.firestore.bundle.NamedQuery) elementType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.firestore.bundle.NamedQuery) elementType_);
     }
     if (elementTypeCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.firestore.bundle.BundledDocumentMetadata) elementType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.firestore.bundle.BundledDocumentMetadata) elementType_);
     }
     if (elementTypeCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.firestore.v1.Document) elementType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.firestore.v1.Document) elementType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -279,30 +310,27 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.bundle.BundleElement)) {
       return super.equals(obj);
     }
-    com.google.firestore.bundle.BundleElement other = (com.google.firestore.bundle.BundleElement) obj;
+    com.google.firestore.bundle.BundleElement other =
+        (com.google.firestore.bundle.BundleElement) obj;
 
     if (!getElementTypeCase().equals(other.getElementTypeCase())) return false;
     switch (elementTypeCase_) {
       case 1:
-        if (!getMetadata()
-            .equals(other.getMetadata())) return false;
+        if (!getMetadata().equals(other.getMetadata())) return false;
         break;
       case 2:
-        if (!getNamedQuery()
-            .equals(other.getNamedQuery())) return false;
+        if (!getNamedQuery().equals(other.getNamedQuery())) return false;
         break;
       case 3:
-        if (!getDocumentMetadata()
-            .equals(other.getDocumentMetadata())) return false;
+        if (!getDocumentMetadata().equals(other.getDocumentMetadata())) return false;
         break;
       case 4:
-        if (!getDocument()
-            .equals(other.getDocument())) return false;
+        if (!getDocument().equals(other.getDocument())) return false;
         break;
       case 0:
       default:
@@ -343,97 +371,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.bundle.BundleElement parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.bundle.BundleElement parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.bundle.BundleElement parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.bundle.BundleElement parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.bundle.BundleElement parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.bundle.BundleElement parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.bundle.BundleElement prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A Firestore bundle is a length-prefixed stream of JSON representations of
    * `BundleElement`.
@@ -444,33 +479,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.bundle.BundleElement}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.bundle.BundleElement)
       com.google.firestore.bundle.BundleElementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.bundle.BundleProto
+          .internal_static_google_firestore_bundle_BundleElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
+      return com.google.firestore.bundle.BundleProto
+          .internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.bundle.BundleElement.class, com.google.firestore.bundle.BundleElement.Builder.class);
+              com.google.firestore.bundle.BundleElement.class,
+              com.google.firestore.bundle.BundleElement.Builder.class);
     }
 
     // Construct using com.google.firestore.bundle.BundleElement.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -493,9 +527,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleElement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.bundle.BundleProto
+          .internal_static_google_firestore_bundle_BundleElement_descriptor;
     }
 
     @java.lang.Override
@@ -514,8 +548,11 @@ public com.google.firestore.bundle.BundleElement build() {
 
     @java.lang.Override
     public com.google.firestore.bundle.BundleElement buildPartial() {
-      com.google.firestore.bundle.BundleElement result = new com.google.firestore.bundle.BundleElement(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.bundle.BundleElement result =
+          new com.google.firestore.bundle.BundleElement(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -528,20 +565,16 @@ private void buildPartial0(com.google.firestore.bundle.BundleElement result) {
     private void buildPartialOneofs(com.google.firestore.bundle.BundleElement result) {
       result.elementTypeCase_ = elementTypeCase_;
       result.elementType_ = this.elementType_;
-      if (elementTypeCase_ == 1 &&
-          metadataBuilder_ != null) {
+      if (elementTypeCase_ == 1 && metadataBuilder_ != null) {
         result.elementType_ = metadataBuilder_.build();
       }
-      if (elementTypeCase_ == 2 &&
-          namedQueryBuilder_ != null) {
+      if (elementTypeCase_ == 2 && namedQueryBuilder_ != null) {
         result.elementType_ = namedQueryBuilder_.build();
       }
-      if (elementTypeCase_ == 3 &&
-          documentMetadataBuilder_ != null) {
+      if (elementTypeCase_ == 3 && documentMetadataBuilder_ != null) {
         result.elementType_ = documentMetadataBuilder_.build();
       }
-      if (elementTypeCase_ == 4 &&
-          documentBuilder_ != null) {
+      if (elementTypeCase_ == 4 && documentBuilder_ != null) {
         result.elementType_ = documentBuilder_.build();
       }
     }
@@ -550,38 +583,39 @@ private void buildPartialOneofs(com.google.firestore.bundle.BundleElement result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.bundle.BundleElement) {
-        return mergeFrom((com.google.firestore.bundle.BundleElement)other);
+        return mergeFrom((com.google.firestore.bundle.BundleElement) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -591,25 +625,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.firestore.bundle.BundleElement other) {
       if (other == com.google.firestore.bundle.BundleElement.getDefaultInstance()) return this;
       switch (other.getElementTypeCase()) {
-        case METADATA: {
-          mergeMetadata(other.getMetadata());
-          break;
-        }
-        case NAMED_QUERY: {
-          mergeNamedQuery(other.getNamedQuery());
-          break;
-        }
-        case DOCUMENT_METADATA: {
-          mergeDocumentMetadata(other.getDocumentMetadata());
-          break;
-        }
-        case DOCUMENT: {
-          mergeDocument(other.getDocument());
-          break;
-        }
-        case ELEMENTTYPE_NOT_SET: {
-          break;
-        }
+        case METADATA:
+          {
+            mergeMetadata(other.getMetadata());
+            break;
+          }
+        case NAMED_QUERY:
+          {
+            mergeNamedQuery(other.getNamedQuery());
+            break;
+          }
+        case DOCUMENT_METADATA:
+          {
+            mergeDocumentMetadata(other.getDocumentMetadata());
+            break;
+          }
+        case DOCUMENT:
+          {
+            mergeDocument(other.getDocument());
+            break;
+          }
+        case ELEMENTTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -637,40 +676,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getMetadataFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              elementTypeCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getNamedQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              elementTypeCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getDocumentMetadataFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              elementTypeCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getDocumentFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              elementTypeCase_ = 4;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
+                elementTypeCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getNamedQueryFieldBuilder().getBuilder(), extensionRegistry);
+                elementTypeCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getDocumentMetadataFieldBuilder().getBuilder(), extensionRegistry);
+                elementTypeCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
+                elementTypeCase_ = 4;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -680,12 +717,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int elementTypeCase_ = 0;
     private java.lang.Object elementType_;
-    public ElementTypeCase
-        getElementTypeCase() {
-      return ElementTypeCase.forNumber(
-          elementTypeCase_);
+
+    public ElementTypeCase getElementTypeCase() {
+      return ElementTypeCase.forNumber(elementTypeCase_);
     }
 
     public Builder clearElementType() {
@@ -698,9 +735,13 @@ public Builder clearElementType() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.bundle.BundleMetadata, com.google.firestore.bundle.BundleMetadata.Builder, com.google.firestore.bundle.BundleMetadataOrBuilder> metadataBuilder_;
+            com.google.firestore.bundle.BundleMetadata,
+            com.google.firestore.bundle.BundleMetadata.Builder,
+            com.google.firestore.bundle.BundleMetadataOrBuilder>
+        metadataBuilder_;
     /**
      * .google.firestore.bundle.BundleMetadata metadata = 1;
+     *
      * @return Whether the metadata field is set.
      */
     @java.lang.Override
@@ -709,6 +750,7 @@ public boolean hasMetadata() {
     }
     /**
      * .google.firestore.bundle.BundleMetadata metadata = 1;
+     *
      * @return The metadata.
      */
     @java.lang.Override
@@ -725,9 +767,7 @@ public com.google.firestore.bundle.BundleMetadata getMetadata() {
         return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     public Builder setMetadata(com.google.firestore.bundle.BundleMetadata value) {
       if (metadataBuilder_ == null) {
         if (value == null) {
@@ -741,11 +781,8 @@ public Builder setMetadata(com.google.firestore.bundle.BundleMetadata value) {
       elementTypeCase_ = 1;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
-    public Builder setMetadata(
-        com.google.firestore.bundle.BundleMetadata.Builder builderForValue) {
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
+    public Builder setMetadata(com.google.firestore.bundle.BundleMetadata.Builder builderForValue) {
       if (metadataBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -755,15 +792,16 @@ public Builder setMetadata(
       elementTypeCase_ = 1;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     public Builder mergeMetadata(com.google.firestore.bundle.BundleMetadata value) {
       if (metadataBuilder_ == null) {
-        if (elementTypeCase_ == 1 &&
-            elementType_ != com.google.firestore.bundle.BundleMetadata.getDefaultInstance()) {
-          elementType_ = com.google.firestore.bundle.BundleMetadata.newBuilder((com.google.firestore.bundle.BundleMetadata) elementType_)
-              .mergeFrom(value).buildPartial();
+        if (elementTypeCase_ == 1
+            && elementType_ != com.google.firestore.bundle.BundleMetadata.getDefaultInstance()) {
+          elementType_ =
+              com.google.firestore.bundle.BundleMetadata.newBuilder(
+                      (com.google.firestore.bundle.BundleMetadata) elementType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           elementType_ = value;
         }
@@ -778,9 +816,7 @@ public Builder mergeMetadata(com.google.firestore.bundle.BundleMetadata value) {
       elementTypeCase_ = 1;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     public Builder clearMetadata() {
       if (metadataBuilder_ == null) {
         if (elementTypeCase_ == 1) {
@@ -797,15 +833,11 @@ public Builder clearMetadata() {
       }
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     public com.google.firestore.bundle.BundleMetadata.Builder getMetadataBuilder() {
       return getMetadataFieldBuilder().getBuilder();
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     @java.lang.Override
     public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder() {
       if ((elementTypeCase_ == 1) && (metadataBuilder_ != null)) {
@@ -817,18 +849,21 @@ public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder(
         return com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.bundle.BundleMetadata metadata = 1;
-     */
+    /** .google.firestore.bundle.BundleMetadata metadata = 1; */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.bundle.BundleMetadata, com.google.firestore.bundle.BundleMetadata.Builder, com.google.firestore.bundle.BundleMetadataOrBuilder> 
+            com.google.firestore.bundle.BundleMetadata,
+            com.google.firestore.bundle.BundleMetadata.Builder,
+            com.google.firestore.bundle.BundleMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
         if (!(elementTypeCase_ == 1)) {
           elementType_ = com.google.firestore.bundle.BundleMetadata.getDefaultInstance();
         }
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.bundle.BundleMetadata, com.google.firestore.bundle.BundleMetadata.Builder, com.google.firestore.bundle.BundleMetadataOrBuilder>(
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.bundle.BundleMetadata,
+                com.google.firestore.bundle.BundleMetadata.Builder,
+                com.google.firestore.bundle.BundleMetadataOrBuilder>(
                 (com.google.firestore.bundle.BundleMetadata) elementType_,
                 getParentForChildren(),
                 isClean());
@@ -840,9 +875,13 @@ public com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder(
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.bundle.NamedQuery, com.google.firestore.bundle.NamedQuery.Builder, com.google.firestore.bundle.NamedQueryOrBuilder> namedQueryBuilder_;
+            com.google.firestore.bundle.NamedQuery,
+            com.google.firestore.bundle.NamedQuery.Builder,
+            com.google.firestore.bundle.NamedQueryOrBuilder>
+        namedQueryBuilder_;
     /**
      * .google.firestore.bundle.NamedQuery named_query = 2;
+     *
      * @return Whether the namedQuery field is set.
      */
     @java.lang.Override
@@ -851,6 +890,7 @@ public boolean hasNamedQuery() {
     }
     /**
      * .google.firestore.bundle.NamedQuery named_query = 2;
+     *
      * @return The namedQuery.
      */
     @java.lang.Override
@@ -867,9 +907,7 @@ public com.google.firestore.bundle.NamedQuery getNamedQuery() {
         return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       if (namedQueryBuilder_ == null) {
         if (value == null) {
@@ -883,11 +921,8 @@ public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       elementTypeCase_ = 2;
       return this;
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
-    public Builder setNamedQuery(
-        com.google.firestore.bundle.NamedQuery.Builder builderForValue) {
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
+    public Builder setNamedQuery(com.google.firestore.bundle.NamedQuery.Builder builderForValue) {
       if (namedQueryBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -897,15 +932,16 @@ public Builder setNamedQuery(
       elementTypeCase_ = 2;
       return this;
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     public Builder mergeNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       if (namedQueryBuilder_ == null) {
-        if (elementTypeCase_ == 2 &&
-            elementType_ != com.google.firestore.bundle.NamedQuery.getDefaultInstance()) {
-          elementType_ = com.google.firestore.bundle.NamedQuery.newBuilder((com.google.firestore.bundle.NamedQuery) elementType_)
-              .mergeFrom(value).buildPartial();
+        if (elementTypeCase_ == 2
+            && elementType_ != com.google.firestore.bundle.NamedQuery.getDefaultInstance()) {
+          elementType_ =
+              com.google.firestore.bundle.NamedQuery.newBuilder(
+                      (com.google.firestore.bundle.NamedQuery) elementType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           elementType_ = value;
         }
@@ -920,9 +956,7 @@ public Builder mergeNamedQuery(com.google.firestore.bundle.NamedQuery value) {
       elementTypeCase_ = 2;
       return this;
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     public Builder clearNamedQuery() {
       if (namedQueryBuilder_ == null) {
         if (elementTypeCase_ == 2) {
@@ -939,15 +973,11 @@ public Builder clearNamedQuery() {
       }
       return this;
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     public com.google.firestore.bundle.NamedQuery.Builder getNamedQueryBuilder() {
       return getNamedQueryFieldBuilder().getBuilder();
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     @java.lang.Override
     public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder() {
       if ((elementTypeCase_ == 2) && (namedQueryBuilder_ != null)) {
@@ -959,18 +989,21 @@ public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder()
         return com.google.firestore.bundle.NamedQuery.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.bundle.NamedQuery named_query = 2;
-     */
+    /** .google.firestore.bundle.NamedQuery named_query = 2; */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.bundle.NamedQuery, com.google.firestore.bundle.NamedQuery.Builder, com.google.firestore.bundle.NamedQueryOrBuilder> 
+            com.google.firestore.bundle.NamedQuery,
+            com.google.firestore.bundle.NamedQuery.Builder,
+            com.google.firestore.bundle.NamedQueryOrBuilder>
         getNamedQueryFieldBuilder() {
       if (namedQueryBuilder_ == null) {
         if (!(elementTypeCase_ == 2)) {
           elementType_ = com.google.firestore.bundle.NamedQuery.getDefaultInstance();
         }
-        namedQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.bundle.NamedQuery, com.google.firestore.bundle.NamedQuery.Builder, com.google.firestore.bundle.NamedQueryOrBuilder>(
+        namedQueryBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.bundle.NamedQuery,
+                com.google.firestore.bundle.NamedQuery.Builder,
+                com.google.firestore.bundle.NamedQueryOrBuilder>(
                 (com.google.firestore.bundle.NamedQuery) elementType_,
                 getParentForChildren(),
                 isClean());
@@ -982,9 +1015,13 @@ public com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder()
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.bundle.BundledDocumentMetadata, com.google.firestore.bundle.BundledDocumentMetadata.Builder, com.google.firestore.bundle.BundledDocumentMetadataOrBuilder> documentMetadataBuilder_;
+            com.google.firestore.bundle.BundledDocumentMetadata,
+            com.google.firestore.bundle.BundledDocumentMetadata.Builder,
+            com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>
+        documentMetadataBuilder_;
     /**
      * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     *
      * @return Whether the documentMetadata field is set.
      */
     @java.lang.Override
@@ -993,6 +1030,7 @@ public boolean hasDocumentMetadata() {
     }
     /**
      * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+     *
      * @return The documentMetadata.
      */
     @java.lang.Override
@@ -1009,9 +1047,7 @@ public com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata()
         return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
     public Builder setDocumentMetadata(com.google.firestore.bundle.BundledDocumentMetadata value) {
       if (documentMetadataBuilder_ == null) {
         if (value == null) {
@@ -1025,9 +1061,7 @@ public Builder setDocumentMetadata(com.google.firestore.bundle.BundledDocumentMe
       elementTypeCase_ = 3;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
     public Builder setDocumentMetadata(
         com.google.firestore.bundle.BundledDocumentMetadata.Builder builderForValue) {
       if (documentMetadataBuilder_ == null) {
@@ -1039,15 +1073,18 @@ public Builder setDocumentMetadata(
       elementTypeCase_ = 3;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
-    public Builder mergeDocumentMetadata(com.google.firestore.bundle.BundledDocumentMetadata value) {
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    public Builder mergeDocumentMetadata(
+        com.google.firestore.bundle.BundledDocumentMetadata value) {
       if (documentMetadataBuilder_ == null) {
-        if (elementTypeCase_ == 3 &&
-            elementType_ != com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) {
-          elementType_ = com.google.firestore.bundle.BundledDocumentMetadata.newBuilder((com.google.firestore.bundle.BundledDocumentMetadata) elementType_)
-              .mergeFrom(value).buildPartial();
+        if (elementTypeCase_ == 3
+            && elementType_
+                != com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) {
+          elementType_ =
+              com.google.firestore.bundle.BundledDocumentMetadata.newBuilder(
+                      (com.google.firestore.bundle.BundledDocumentMetadata) elementType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           elementType_ = value;
         }
@@ -1062,9 +1099,7 @@ public Builder mergeDocumentMetadata(com.google.firestore.bundle.BundledDocument
       elementTypeCase_ = 3;
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
     public Builder clearDocumentMetadata() {
       if (documentMetadataBuilder_ == null) {
         if (elementTypeCase_ == 3) {
@@ -1081,17 +1116,15 @@ public Builder clearDocumentMetadata() {
       }
       return this;
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
-    public com.google.firestore.bundle.BundledDocumentMetadata.Builder getDocumentMetadataBuilder() {
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
+    public com.google.firestore.bundle.BundledDocumentMetadata.Builder
+        getDocumentMetadataBuilder() {
       return getDocumentMetadataFieldBuilder().getBuilder();
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
     @java.lang.Override
-    public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder() {
+    public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder
+        getDocumentMetadataOrBuilder() {
       if ((elementTypeCase_ == 3) && (documentMetadataBuilder_ != null)) {
         return documentMetadataBuilder_.getMessageOrBuilder();
       } else {
@@ -1101,18 +1134,21 @@ public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentM
         return com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-     */
+    /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.bundle.BundledDocumentMetadata, com.google.firestore.bundle.BundledDocumentMetadata.Builder, com.google.firestore.bundle.BundledDocumentMetadataOrBuilder> 
+            com.google.firestore.bundle.BundledDocumentMetadata,
+            com.google.firestore.bundle.BundledDocumentMetadata.Builder,
+            com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>
         getDocumentMetadataFieldBuilder() {
       if (documentMetadataBuilder_ == null) {
         if (!(elementTypeCase_ == 3)) {
           elementType_ = com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance();
         }
-        documentMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.bundle.BundledDocumentMetadata, com.google.firestore.bundle.BundledDocumentMetadata.Builder, com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>(
+        documentMetadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.bundle.BundledDocumentMetadata,
+                com.google.firestore.bundle.BundledDocumentMetadata.Builder,
+                com.google.firestore.bundle.BundledDocumentMetadataOrBuilder>(
                 (com.google.firestore.bundle.BundledDocumentMetadata) elementType_,
                 getParentForChildren(),
                 isClean());
@@ -1124,9 +1160,13 @@ public com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentM
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_;
+            com.google.firestore.v1.Document,
+            com.google.firestore.v1.Document.Builder,
+            com.google.firestore.v1.DocumentOrBuilder>
+        documentBuilder_;
     /**
      * .google.firestore.v1.Document document = 4;
+     *
      * @return Whether the document field is set.
      */
     @java.lang.Override
@@ -1135,6 +1175,7 @@ public boolean hasDocument() {
     }
     /**
      * .google.firestore.v1.Document document = 4;
+     *
      * @return The document.
      */
     @java.lang.Override
@@ -1151,9 +1192,7 @@ public com.google.firestore.v1.Document getDocument() {
         return com.google.firestore.v1.Document.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     public Builder setDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
         if (value == null) {
@@ -1167,11 +1206,8 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
       elementTypeCase_ = 4;
       return this;
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
-    public Builder setDocument(
-        com.google.firestore.v1.Document.Builder builderForValue) {
+    /** .google.firestore.v1.Document document = 4; */
+    public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) {
       if (documentBuilder_ == null) {
         elementType_ = builderForValue.build();
         onChanged();
@@ -1181,15 +1217,16 @@ public Builder setDocument(
       elementTypeCase_ = 4;
       return this;
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     public Builder mergeDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
-        if (elementTypeCase_ == 4 &&
-            elementType_ != com.google.firestore.v1.Document.getDefaultInstance()) {
-          elementType_ = com.google.firestore.v1.Document.newBuilder((com.google.firestore.v1.Document) elementType_)
-              .mergeFrom(value).buildPartial();
+        if (elementTypeCase_ == 4
+            && elementType_ != com.google.firestore.v1.Document.getDefaultInstance()) {
+          elementType_ =
+              com.google.firestore.v1.Document.newBuilder(
+                      (com.google.firestore.v1.Document) elementType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           elementType_ = value;
         }
@@ -1204,9 +1241,7 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       elementTypeCase_ = 4;
       return this;
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     public Builder clearDocument() {
       if (documentBuilder_ == null) {
         if (elementTypeCase_ == 4) {
@@ -1223,15 +1258,11 @@ public Builder clearDocument() {
       }
       return this;
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     public com.google.firestore.v1.Document.Builder getDocumentBuilder() {
       return getDocumentFieldBuilder().getBuilder();
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     @java.lang.Override
     public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
       if ((elementTypeCase_ == 4) && (documentBuilder_ != null)) {
@@ -1243,30 +1274,31 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
         return com.google.firestore.v1.Document.getDefaultInstance();
       }
     }
-    /**
-     * .google.firestore.v1.Document document = 4;
-     */
+    /** .google.firestore.v1.Document document = 4; */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> 
+            com.google.firestore.v1.Document,
+            com.google.firestore.v1.Document.Builder,
+            com.google.firestore.v1.DocumentOrBuilder>
         getDocumentFieldBuilder() {
       if (documentBuilder_ == null) {
         if (!(elementTypeCase_ == 4)) {
           elementType_ = com.google.firestore.v1.Document.getDefaultInstance();
         }
-        documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>(
-                (com.google.firestore.v1.Document) elementType_,
-                getParentForChildren(),
-                isClean());
+        documentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.Document,
+                com.google.firestore.v1.Document.Builder,
+                com.google.firestore.v1.DocumentOrBuilder>(
+                (com.google.firestore.v1.Document) elementType_, getParentForChildren(), isClean());
         elementType_ = null;
       }
       elementTypeCase_ = 4;
       onChanged();
       return documentBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1276,12 +1308,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.bundle.BundleElement)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.bundle.BundleElement)
   private static final com.google.firestore.bundle.BundleElement DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.bundle.BundleElement();
   }
@@ -1290,27 +1322,27 @@ public static com.google.firestore.bundle.BundleElement getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BundleElement parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BundleElement parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1325,6 +1357,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.bundle.BundleElement getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
rename to proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
index 23ff8a73b..a84a717fc 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
@@ -1,70 +1,86 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
-public interface BundleElementOrBuilder extends
+public interface BundleElementOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundleElement)
     com.google.protobuf.MessageOrBuilder {
 
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
+   *
    * @return Whether the metadata field is set.
    */
   boolean hasMetadata();
   /**
    * .google.firestore.bundle.BundleMetadata metadata = 1;
+   *
    * @return The metadata.
    */
   com.google.firestore.bundle.BundleMetadata getMetadata();
-  /**
-   * .google.firestore.bundle.BundleMetadata metadata = 1;
-   */
+  /** .google.firestore.bundle.BundleMetadata metadata = 1; */
   com.google.firestore.bundle.BundleMetadataOrBuilder getMetadataOrBuilder();
 
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
+   *
    * @return Whether the namedQuery field is set.
    */
   boolean hasNamedQuery();
   /**
    * .google.firestore.bundle.NamedQuery named_query = 2;
+   *
    * @return The namedQuery.
    */
   com.google.firestore.bundle.NamedQuery getNamedQuery();
-  /**
-   * .google.firestore.bundle.NamedQuery named_query = 2;
-   */
+  /** .google.firestore.bundle.NamedQuery named_query = 2; */
   com.google.firestore.bundle.NamedQueryOrBuilder getNamedQueryOrBuilder();
 
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   *
    * @return Whether the documentMetadata field is set.
    */
   boolean hasDocumentMetadata();
   /**
    * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
+   *
    * @return The documentMetadata.
    */
   com.google.firestore.bundle.BundledDocumentMetadata getDocumentMetadata();
-  /**
-   * .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3;
-   */
+  /** .google.firestore.bundle.BundledDocumentMetadata document_metadata = 3; */
   com.google.firestore.bundle.BundledDocumentMetadataOrBuilder getDocumentMetadataOrBuilder();
 
   /**
    * .google.firestore.v1.Document document = 4;
+   *
    * @return Whether the document field is set.
    */
   boolean hasDocument();
   /**
    * .google.firestore.v1.Document document = 4;
+   *
    * @return The document.
    */
   com.google.firestore.v1.Document getDocument();
-  /**
-   * .google.firestore.v1.Document document = 4;
-   */
+  /** .google.firestore.v1.Document document = 4; */
   com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder();
 
   public com.google.firestore.bundle.BundleElement.ElementTypeCase getElementTypeCase();
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
rename to proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
index c89f67feb..08e4d9d84 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
@@ -1,62 +1,85 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
 /**
+ *
+ *
  * 
  * Metadata describing the bundle file/stream.
  * 
* * Protobuf type {@code google.firestore.bundle.BundleMetadata} */ -public final class BundleMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BundleMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundleMetadata) BundleMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BundleMetadata.newBuilder() to construct. private BundleMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BundleMetadata() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BundleMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundleMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundleMetadata.class, com.google.firestore.bundle.BundleMetadata.Builder.class); + com.google.firestore.bundle.BundleMetadata.class, + com.google.firestore.bundle.BundleMetadata.Builder.class); } public static final int ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
    * The ID of the bundle.
    * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -65,29 +88,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * The ID of the bundle.
    * 
* * string id = 1; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -98,11 +121,14 @@ public java.lang.String getId() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -110,11 +136,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ @java.lang.Override @@ -122,6 +151,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
@@ -136,11 +167,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int VERSION_FIELD_NUMBER = 3; private int version_ = 0; /** + * + * *
    * The schema version of the bundle.
    * 
* * uint32 version = 3; + * * @return The version. */ @java.lang.Override @@ -151,11 +185,14 @@ public int getVersion() { public static final int TOTAL_DOCUMENTS_FIELD_NUMBER = 4; private int totalDocuments_ = 0; /** + * + * *
    * The number of documents in the bundle.
    * 
* * uint32 total_documents = 4; + * * @return The totalDocuments. */ @java.lang.Override @@ -166,11 +203,14 @@ public int getTotalDocuments() { public static final int TOTAL_BYTES_FIELD_NUMBER = 5; private long totalBytes_ = 0L; /** + * + * *
    * The size of the bundle in bytes, excluding this `BundleMetadata`.
    * 
* * uint64 total_bytes = 5; + * * @return The totalBytes. */ @java.lang.Override @@ -179,6 +219,7 @@ public long getTotalBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,8 +231,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -220,20 +260,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (version_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, version_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(3, version_); } if (totalDocuments_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, totalDocuments_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, totalDocuments_); } if (totalBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeUInt64Size(5, totalBytes_); + size += com.google.protobuf.CodedOutputStream.computeUInt64Size(5, totalBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -243,26 +279,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.bundle.BundleMetadata)) { return super.equals(obj); } - com.google.firestore.bundle.BundleMetadata other = (com.google.firestore.bundle.BundleMetadata) obj; + com.google.firestore.bundle.BundleMetadata other = + (com.google.firestore.bundle.BundleMetadata) obj; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (getVersion() - != other.getVersion()) return false; - if (getTotalDocuments() - != other.getTotalDocuments()) return false; - if (getTotalBytes() - != other.getTotalBytes()) return false; + if (getVersion() != other.getVersion()) return false; + if (getTotalDocuments() != other.getTotalDocuments()) return false; + if (getTotalBytes() != other.getTotalBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,137 +317,142 @@ public int hashCode() { hash = (37 * hash) + TOTAL_DOCUMENTS_FIELD_NUMBER; hash = (53 * hash) + getTotalDocuments(); hash = (37 * hash) + TOTAL_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTotalBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTotalBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.bundle.BundleMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.bundle.BundleMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.bundle.BundleMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.bundle.BundleMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.bundle.BundleMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.bundle.BundleMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.bundle.BundleMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.bundle.BundleMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.bundle.BundleMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.bundle.BundleMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.bundle.BundleMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.bundle.BundleMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.bundle.BundleMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.bundle.BundleMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.bundle.BundleMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata describing the bundle file/stream.
    * 
* * Protobuf type {@code google.firestore.bundle.BundleMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.bundle.BundleMetadata) com.google.firestore.bundle.BundleMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundleMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundleMetadata.class, com.google.firestore.bundle.BundleMetadata.Builder.class); + com.google.firestore.bundle.BundleMetadata.class, + com.google.firestore.bundle.BundleMetadata.Builder.class); } // Construct using com.google.firestore.bundle.BundleMetadata.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -433,9 +470,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundleMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundleMetadata_descriptor; } @java.lang.Override @@ -454,8 +491,11 @@ public com.google.firestore.bundle.BundleMetadata build() { @java.lang.Override public com.google.firestore.bundle.BundleMetadata buildPartial() { - com.google.firestore.bundle.BundleMetadata result = new com.google.firestore.bundle.BundleMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.bundle.BundleMetadata result = + new com.google.firestore.bundle.BundleMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -466,9 +506,7 @@ private void buildPartial0(com.google.firestore.bundle.BundleMetadata result) { result.id_ = id_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.version_ = version_; @@ -485,38 +523,39 @@ private void buildPartial0(com.google.firestore.bundle.BundleMetadata result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.bundle.BundleMetadata) { - return mergeFrom((com.google.firestore.bundle.BundleMetadata)other); + return mergeFrom((com.google.firestore.bundle.BundleMetadata) other); } else { super.mergeFrom(other); return this; @@ -568,39 +607,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - version_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - totalDocuments_ = input.readUInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - totalBytes_ = input.readUInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + version_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + totalDocuments_ = input.readUInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + totalBytes_ = input.readUInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,22 +653,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object id_ = ""; /** + * + * *
      * The ID of the bundle.
      * 
* * string id = 1; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -634,20 +680,21 @@ public java.lang.String getId() { } } /** + * + * *
      * The ID of the bundle.
      * 
* * string id = 1; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -655,28 +702,35 @@ public java.lang.String getId() { } } /** + * + * *
      * The ID of the bundle.
      * 
* * string id = 1; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The ID of the bundle.
      * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { @@ -686,17 +740,21 @@ public Builder clearId() { return this; } /** + * + * *
      * The ID of the bundle.
      * 
* * string id = 1; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -706,34 +764,47 @@ public Builder setIdBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -754,14 +825,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
* * .google.protobuf.Timestamp create_time = 2; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -772,6 +844,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -780,9 +854,9 @@ public Builder setCreateTime( */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -795,6 +869,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -812,6 +888,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -824,6 +902,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -834,11 +914,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Time at which the documents snapshot is taken for this bundle.
      * 
@@ -846,26 +929,32 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } - private int version_ ; + private int version_; /** + * + * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; + * * @return The version. */ @java.lang.Override @@ -873,27 +962,33 @@ public int getVersion() { return version_; } /** + * + * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; + * * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(int value) { - + version_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The schema version of the bundle.
      * 
* * uint32 version = 3; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -903,13 +998,16 @@ public Builder clearVersion() { return this; } - private int totalDocuments_ ; + private int totalDocuments_; /** + * + * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; + * * @return The totalDocuments. */ @java.lang.Override @@ -917,27 +1015,33 @@ public int getTotalDocuments() { return totalDocuments_; } /** + * + * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; + * * @param value The totalDocuments to set. * @return This builder for chaining. */ public Builder setTotalDocuments(int value) { - + totalDocuments_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The number of documents in the bundle.
      * 
* * uint32 total_documents = 4; + * * @return This builder for chaining. */ public Builder clearTotalDocuments() { @@ -947,13 +1051,16 @@ public Builder clearTotalDocuments() { return this; } - private long totalBytes_ ; + private long totalBytes_; /** + * + * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; + * * @return The totalBytes. */ @java.lang.Override @@ -961,27 +1068,33 @@ public long getTotalBytes() { return totalBytes_; } /** + * + * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; + * * @param value The totalBytes to set. * @return This builder for chaining. */ public Builder setTotalBytes(long value) { - + totalBytes_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The size of the bundle in bytes, excluding this `BundleMetadata`.
      * 
* * uint64 total_bytes = 5; + * * @return This builder for chaining. */ public Builder clearTotalBytes() { @@ -990,9 +1103,9 @@ public Builder clearTotalBytes() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1115,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.bundle.BundleMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.bundle.BundleMetadata) private static final com.google.firestore.bundle.BundleMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.bundle.BundleMetadata(); } @@ -1016,27 +1129,27 @@ public static com.google.firestore.bundle.BundleMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BundleMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BundleMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1051,6 +1164,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.bundle.BundleMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java rename to proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java index fa6fc0c07..73817f7a5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java +++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; -public interface BundleMetadataOrBuilder extends +public interface BundleMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundleMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The ID of the bundle.
    * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * The ID of the bundle.
    * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
* * .google.protobuf.Timestamp create_time = 2; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Time at which the documents snapshot is taken for this bundle.
    * 
@@ -55,31 +84,40 @@ public interface BundleMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The schema version of the bundle.
    * 
* * uint32 version = 3; + * * @return The version. */ int getVersion(); /** + * + * *
    * The number of documents in the bundle.
    * 
* * uint32 total_documents = 4; + * * @return The totalDocuments. */ int getTotalDocuments(); /** + * + * *
    * The size of the bundle in bytes, excluding this `BundleMetadata`.
    * 
* * uint64 total_bytes = 5; + * * @return The totalBytes. */ long getTotalBytes(); diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java new file mode 100644 index 000000000..38131535f --- /dev/null +++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java @@ -0,0 +1,145 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/bundle/bundle.proto + +package com.google.firestore.bundle; + +public final class BundleProto { + private BundleProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundledQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_NamedQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundleMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_bundle_BundleElement_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n$google/firestore/bundle/bundle.proto\022\027" + + "google.firestore.bundle\032\"google/firestor" + + "e/v1/document.proto\032\037google/firestore/v1" + + "/query.proto\032\037google/protobuf/timestamp." + + "proto\"\325\001\n\014BundledQuery\022\016\n\006parent\030\001 \001(\t\022@" + + "\n\020structured_query\030\002 \001(\0132$.google.firest" + + "ore.v1.StructuredQueryH\000\022C\n\nlimit_type\030\003" + + " \001(\0162/.google.firestore.bundle.BundledQu" + + "ery.LimitType\" \n\tLimitType\022\t\n\005FIRST\020\000\022\010\n" + + "\004LAST\020\001B\014\n\nquery_type\"\207\001\n\nNamedQuery\022\014\n\004" + + "name\030\001 \001(\t\022<\n\rbundled_query\030\002 \001(\0132%.goog" + + "le.firestore.bundle.BundledQuery\022-\n\tread" + + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" + + "w\n\027BundledDocumentMetadata\022\014\n\004name\030\001 \001(\t" + + "\022-\n\tread_time\030\002 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022\016\n\006exists\030\003 \001(\010\022\017\n\007queries\030\004 \003(\t" + + "\"\214\001\n\016BundleMetadata\022\n\n\002id\030\001 \001(\t\022/\n\013creat" + + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" + + "\022\017\n\007version\030\003 \001(\r\022\027\n\017total_documents\030\004 \001" + + "(\r\022\023\n\013total_bytes\030\005 \001(\004\"\232\002\n\rBundleElemen" + + "t\022;\n\010metadata\030\001 \001(\0132\'.google.firestore.b" + + "undle.BundleMetadataH\000\022:\n\013named_query\030\002 " + + "\001(\0132#.google.firestore.bundle.NamedQuery" + + "H\000\022M\n\021document_metadata\030\003 \001(\01320.google.f" + + "irestore.bundle.BundledDocumentMetadataH" + + "\000\0221\n\010document\030\004 \001(\0132\035.google.firestore.v" + + "1.DocumentH\000B\016\n\014element_typeB\222\001\n\033com.goo" + + "gle.firestore.bundleB\013BundleProtoP\001Z6clo" + + "ud.google.com/go/firestore/bundle/bundle" + + "pb;bundlepb\242\002\005FSTPB\252\002\020Firestore.Bundle\312\002" + + "\020Firestore\\Bundleb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.firestore.v1.DocumentProto.getDescriptor(), + com.google.firestore.v1.QueryProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_firestore_bundle_BundledQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundledQuery_descriptor, + new java.lang.String[] { + "Parent", "StructuredQuery", "LimitType", "QueryType", + }); + internal_static_google_firestore_bundle_NamedQuery_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_NamedQuery_descriptor, + new java.lang.String[] { + "Name", "BundledQuery", "ReadTime", + }); + internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor, + new java.lang.String[] { + "Name", "ReadTime", "Exists", "Queries", + }); + internal_static_google_firestore_bundle_BundleMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_firestore_bundle_BundleMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundleMetadata_descriptor, + new java.lang.String[] { + "Id", "CreateTime", "Version", "TotalDocuments", "TotalBytes", + }); + internal_static_google_firestore_bundle_BundleElement_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_firestore_bundle_BundleElement_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_bundle_BundleElement_descriptor, + new java.lang.String[] { + "Metadata", "NamedQuery", "DocumentMetadata", "Document", "ElementType", + }); + com.google.firestore.v1.DocumentProto.getDescriptor(); + com.google.firestore.v1.QueryProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java rename to proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java index 7e949d00a..d8c48814b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java +++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** + * + * *
  * Metadata describing a Firestore document saved in the bundle.
  * 
* * Protobuf type {@code google.firestore.bundle.BundledDocumentMetadata} */ -public final class BundledDocumentMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BundledDocumentMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundledDocumentMetadata) BundledDocumentMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BundledDocumentMetadata.newBuilder() to construct. private BundledDocumentMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BundledDocumentMetadata() { name_ = ""; queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,38 +44,43 @@ private BundledDocumentMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BundledDocumentMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundledDocumentMetadata.class, com.google.firestore.bundle.BundledDocumentMetadata.Builder.class); + com.google.firestore.bundle.BundledDocumentMetadata.class, + com.google.firestore.bundle.BundledDocumentMetadata.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The document key of a bundled document.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -66,29 +89,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The document key of a bundled document.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,11 +122,14 @@ public java.lang.String getName() { public static final int READ_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -111,11 +137,14 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -123,6 +152,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The snapshot version of the document data bundled.
    * 
@@ -137,11 +168,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { public static final int EXISTS_FIELD_NUMBER = 3; private boolean exists_ = false; /** + * + * *
    * Whether the document exists.
    * 
* * bool exists = 3; + * * @return The exists. */ @java.lang.Override @@ -150,37 +184,46 @@ public boolean getExists() { } public static final int QUERIES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList queries_; /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList - getQueriesList() { + public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_; } /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -188,20 +231,23 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString - getQueriesBytes(int index) { + public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -240,12 +285,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getReadTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadTime()); } if (exists_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, exists_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, exists_); } { int dataSize = 0; @@ -263,24 +306,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.bundle.BundledDocumentMetadata)) { return super.equals(obj); } - com.google.firestore.bundle.BundledDocumentMetadata other = (com.google.firestore.bundle.BundledDocumentMetadata) obj; + com.google.firestore.bundle.BundledDocumentMetadata other = + (com.google.firestore.bundle.BundledDocumentMetadata) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime() - .equals(other.getReadTime())) return false; + if (!getReadTime().equals(other.getReadTime())) return false; } - if (getExists() - != other.getExists()) return false; - if (!getQueriesList() - .equals(other.getQueriesList())) return false; + if (getExists() != other.getExists()) return false; + if (!getQueriesList().equals(other.getQueriesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,8 +339,7 @@ public int hashCode() { hash = (53 * hash) + getReadTime().hashCode(); } hash = (37 * hash) + EXISTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExists()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExists()); if (getQueriesCount() > 0) { hash = (37 * hash) + QUERIES_FIELD_NUMBER; hash = (53 * hash) + getQueriesList().hashCode(); @@ -311,129 +350,135 @@ public int hashCode() { } public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.bundle.BundledDocumentMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.bundle.BundledDocumentMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.bundle.BundledDocumentMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.bundle.BundledDocumentMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.bundle.BundledDocumentMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Metadata describing a Firestore document saved in the bundle.
    * 
* * Protobuf type {@code google.firestore.bundle.BundledDocumentMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.bundle.BundledDocumentMetadata) com.google.firestore.bundle.BundledDocumentMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledDocumentMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundledDocumentMetadata.class, com.google.firestore.bundle.BundledDocumentMetadata.Builder.class); + com.google.firestore.bundle.BundledDocumentMetadata.class, + com.google.firestore.bundle.BundledDocumentMetadata.Builder.class); } // Construct using com.google.firestore.bundle.BundledDocumentMetadata.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -451,9 +496,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor; } @java.lang.Override @@ -472,14 +517,18 @@ public com.google.firestore.bundle.BundledDocumentMetadata build() { @java.lang.Override public com.google.firestore.bundle.BundledDocumentMetadata buildPartial() { - com.google.firestore.bundle.BundledDocumentMetadata result = new com.google.firestore.bundle.BundledDocumentMetadata(this); + com.google.firestore.bundle.BundledDocumentMetadata result = + new com.google.firestore.bundle.BundledDocumentMetadata(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.firestore.bundle.BundledDocumentMetadata result) { + private void buildPartialRepeatedFields( + com.google.firestore.bundle.BundledDocumentMetadata result) { if (((bitField0_ & 0x00000008) != 0)) { queries_ = queries_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); @@ -493,9 +542,7 @@ private void buildPartial0(com.google.firestore.bundle.BundledDocumentMetadata r result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.exists_ = exists_; @@ -506,38 +553,39 @@ private void buildPartial0(com.google.firestore.bundle.BundledDocumentMetadata r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.bundle.BundledDocumentMetadata) { - return mergeFrom((com.google.firestore.bundle.BundledDocumentMetadata)other); + return mergeFrom((com.google.firestore.bundle.BundledDocumentMetadata) other); } else { super.mergeFrom(other); return this; @@ -545,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.bundle.BundledDocumentMetadata other) { - if (other == com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) return this; + if (other == com.google.firestore.bundle.BundledDocumentMetadata.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -593,35 +642,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - exists_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureQueriesIsMutable(); - queries_.add(s); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + exists_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureQueriesIsMutable(); + queries_.add(s); + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -631,22 +683,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The document key of a bundled document.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -655,20 +710,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The document key of a bundled document.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -676,28 +732,35 @@ public java.lang.String getName() { } } /** + * + * *
      * The document key of a bundled document.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The document key of a bundled document.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -707,17 +770,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The document key of a bundled document.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -727,24 +794,33 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The snapshot version of the document data bundled.
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -755,6 +831,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -775,14 +853,15 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
* * .google.protobuf.Timestamp read_time = 2; */ - public Builder setReadTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (readTimeBuilder_ == null) { readTime_ = builderForValue.build(); } else { @@ -793,6 +872,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -801,9 +882,9 @@ public Builder setReadTime( */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - readTime_ != null && - readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && readTime_ != null + && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -816,6 +897,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -833,6 +916,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -845,6 +930,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -855,11 +942,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { if (readTimeBuilder_ != null) { return readTimeBuilder_.getMessageOrBuilder(); } else { - return readTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; + return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } } /** + * + * *
      * The snapshot version of the document data bundled.
      * 
@@ -867,26 +955,32 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { * .google.protobuf.Timestamp read_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getReadTimeFieldBuilder() { if (readTimeBuilder_ == null) { - readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getReadTime(), - getParentForChildren(), - isClean()); + readTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getReadTime(), getParentForChildren(), isClean()); readTime_ = null; } return readTimeBuilder_; } - private boolean exists_ ; + private boolean exists_; /** + * + * *
      * Whether the document exists.
      * 
* * bool exists = 3; + * * @return The exists. */ @java.lang.Override @@ -894,27 +988,33 @@ public boolean getExists() { return exists_; } /** + * + * *
      * Whether the document exists.
      * 
* * bool exists = 3; + * * @param value The exists to set. * @return This builder for chaining. */ public Builder setExists(boolean value) { - + exists_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Whether the document exists.
      * 
* * bool exists = 3; + * * @return This builder for chaining. */ public Builder clearExists() { @@ -924,42 +1024,52 @@ public Builder clearExists() { return this; } - private com.google.protobuf.LazyStringList queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList queries_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureQueriesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { queries_ = new com.google.protobuf.LazyStringArrayList(queries_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList - getQueriesList() { + public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_.getUnmodifiableView(); } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -967,76 +1077,90 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString - getQueriesBytes(int index) { + public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param index The index to set the value at. * @param value The queries to set. * @return This builder for chaining. */ - public Builder setQueries( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueries(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureQueriesIsMutable(); queries_.set(index, value); onChanged(); return this; } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param value The queries to add. * @return This builder for chaining. */ - public Builder addQueries( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addQueries(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param values The queries to add. * @return This builder for chaining. */ - public Builder addAllQueries( - java.lang.Iterable values) { + public Builder addAllQueries(java.lang.Iterable values) { ensureQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queries_); onChanged(); return this; } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @return This builder for chaining. */ public Builder clearQueries() { @@ -1046,26 +1170,30 @@ public Builder clearQueries() { return this; } /** + * + * *
      * The names of the queries in this bundle that this document matches to.
      * 
* * repeated string queries = 4; + * * @param value The bytes of the queries to add. * @return This builder for chaining. */ - public Builder addQueriesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addQueriesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +1203,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.bundle.BundledDocumentMetadata) } // @@protoc_insertion_point(class_scope:google.firestore.bundle.BundledDocumentMetadata) private static final com.google.firestore.bundle.BundledDocumentMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.bundle.BundledDocumentMetadata(); } @@ -1089,27 +1217,27 @@ public static com.google.firestore.bundle.BundledDocumentMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BundledDocumentMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BundledDocumentMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1124,6 +1252,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.bundle.BundledDocumentMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java rename to proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java index 2a01a269d..bf08931cc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java +++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; -public interface BundledDocumentMetadataOrBuilder extends +public interface BundledDocumentMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundledDocumentMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The document key of a bundled document.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The document key of a bundled document.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The snapshot version of the document data bundled.
    * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The snapshot version of the document data bundled.
    * 
@@ -55,53 +84,66 @@ public interface BundledDocumentMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder(); /** + * + * *
    * Whether the document exists.
    * 
* * bool exists = 3; + * * @return The exists. */ boolean getExists(); /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - java.util.List - getQueriesList(); + java.util.List getQueriesList(); /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @return The count of queries. */ int getQueriesCount(); /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ java.lang.String getQueries(int index); /** + * + * *
    * The names of the queries in this bundle that this document matches to.
    * 
* * repeated string queries = 4; + * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - com.google.protobuf.ByteString - getQueriesBytes(int index); + com.google.protobuf.ByteString getQueriesBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java rename to proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java index bd6da96ff..9a9042dfb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java +++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** + * + * *
  * Encodes a query saved in the bundle.
  * 
* * Protobuf type {@code google.firestore.bundle.BundledQuery} */ -public final class BundledQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BundledQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.bundle.BundledQuery) BundledQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BundledQuery.newBuilder() to construct. private BundledQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BundledQuery() { parent_ = ""; limitType_ = 0; @@ -26,30 +44,33 @@ private BundledQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BundledQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundledQuery.class, com.google.firestore.bundle.BundledQuery.Builder.class); + com.google.firestore.bundle.BundledQuery.class, + com.google.firestore.bundle.BundledQuery.Builder.class); } /** + * + * *
    * If the query is a limit query, should the limit be applied to the beginning or
    * the end of results.
@@ -57,29 +78,19 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.firestore.bundle.BundledQuery.LimitType}
    */
-  public enum LimitType
-      implements com.google.protobuf.ProtocolMessageEnum {
-    /**
-     * FIRST = 0;
-     */
+  public enum LimitType implements com.google.protobuf.ProtocolMessageEnum {
+    /** FIRST = 0; */
     FIRST(0),
-    /**
-     * LAST = 1;
-     */
+    /** LAST = 1; */
     LAST(1),
     UNRECOGNIZED(-1),
     ;
 
-    /**
-     * FIRST = 0;
-     */
+    /** FIRST = 0; */
     public static final int FIRST_VALUE = 0;
-    /**
-     * LAST = 1;
-     */
+    /** LAST = 1; */
     public static final int LAST_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -104,48 +115,47 @@ public static LimitType valueOf(int value) {
      */
     public static LimitType forNumber(int value) {
       switch (value) {
-        case 0: return FIRST;
-        case 1: return LAST;
-        default: return null;
+        case 0:
+          return FIRST;
+        case 1:
+          return LAST;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        LimitType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public LimitType findValueByNumber(int number) {
-              return LimitType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public LimitType findValueByNumber(int number) {
+            return LimitType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.bundle.BundledQuery.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final LimitType[] VALUES = values();
 
-    public static LimitType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static LimitType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -164,12 +174,15 @@ private LimitType(int value) {
 
   private int queryTypeCase_ = 0;
   private java.lang.Object queryType_;
+
   public enum QueryTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STRUCTURED_QUERY(2),
     QUERYTYPE_NOT_SET(0);
     private final int value;
+
     private QueryTypeCase(int value) {
       this.value = value;
     }
@@ -185,31 +198,37 @@ public static QueryTypeCase valueOf(int value) {
 
     public static QueryTypeCase forNumber(int value) {
       switch (value) {
-        case 2: return STRUCTURED_QUERY;
-        case 0: return QUERYTYPE_NOT_SET;
-        default: return null;
+        case 2:
+          return STRUCTURED_QUERY;
+        case 0:
+          return QUERYTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public QueryTypeCase
-  getQueryTypeCase() {
-    return QueryTypeCase.forNumber(
-        queryTypeCase_);
+  public QueryTypeCase getQueryTypeCase() {
+    return QueryTypeCase.forNumber(queryTypeCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * The parent resource name.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -218,29 +237,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent resource name.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -250,11 +269,14 @@ public java.lang.String getParent() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** + * + * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -262,21 +284,26 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** + * + * *
    * A structured query.
    * 
@@ -286,7 +313,7 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } @@ -295,21 +322,29 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil private int limitType_ = 0; /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @return The enum numeric value on the wire for limitType. */ - @java.lang.Override public int getLimitTypeValue() { + @java.lang.Override + public int getLimitTypeValue() { return limitType_; } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @return The limitType. */ - @java.lang.Override public com.google.firestore.bundle.BundledQuery.LimitType getLimitType() { - com.google.firestore.bundle.BundledQuery.LimitType result = com.google.firestore.bundle.BundledQuery.LimitType.forNumber(limitType_); - return result == null ? com.google.firestore.bundle.BundledQuery.LimitType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.bundle.BundledQuery.LimitType getLimitType() { + com.google.firestore.bundle.BundledQuery.LimitType result = + com.google.firestore.bundle.BundledQuery.LimitType.forNumber(limitType_); + return result == null + ? com.google.firestore.bundle.BundledQuery.LimitType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,8 +356,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -345,12 +379,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queryTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery) queryType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.StructuredQuery) queryType_); } if (limitType_ != com.google.firestore.bundle.BundledQuery.LimitType.FIRST.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, limitType_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, limitType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -360,21 +394,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.bundle.BundledQuery)) { return super.equals(obj); } com.google.firestore.bundle.BundledQuery other = (com.google.firestore.bundle.BundledQuery) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (limitType_ != other.limitType_) return false; if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 2: - if (!getStructuredQuery() - .equals(other.getStructuredQuery())) return false; + if (!getStructuredQuery().equals(other.getStructuredQuery())) return false; break; case 0: default: @@ -407,130 +439,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.bundle.BundledQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.bundle.BundledQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.bundle.BundledQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.bundle.BundledQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.bundle.BundledQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.bundle.BundledQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.bundle.BundledQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.bundle.BundledQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.bundle.BundledQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.bundle.BundledQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.bundle.BundledQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.bundle.BundledQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.bundle.BundledQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.bundle.BundledQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.bundle.BundledQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Encodes a query saved in the bundle.
    * 
* * Protobuf type {@code google.firestore.bundle.BundledQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.bundle.BundledQuery) com.google.firestore.bundle.BundledQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.bundle.BundledQuery.class, com.google.firestore.bundle.BundledQuery.Builder.class); + com.google.firestore.bundle.BundledQuery.class, + com.google.firestore.bundle.BundledQuery.Builder.class); } // Construct using com.google.firestore.bundle.BundledQuery.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -546,9 +584,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_BundledQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.bundle.BundleProto + .internal_static_google_firestore_bundle_BundledQuery_descriptor; } @java.lang.Override @@ -567,8 +605,11 @@ public com.google.firestore.bundle.BundledQuery build() { @java.lang.Override public com.google.firestore.bundle.BundledQuery buildPartial() { - com.google.firestore.bundle.BundledQuery result = new com.google.firestore.bundle.BundledQuery(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.bundle.BundledQuery result = + new com.google.firestore.bundle.BundledQuery(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -587,8 +628,7 @@ private void buildPartial0(com.google.firestore.bundle.BundledQuery result) { private void buildPartialOneofs(com.google.firestore.bundle.BundledQuery result) { result.queryTypeCase_ = queryTypeCase_; result.queryType_ = this.queryType_; - if (queryTypeCase_ == 2 && - structuredQueryBuilder_ != null) { + if (queryTypeCase_ == 2 && structuredQueryBuilder_ != null) { result.queryType_ = structuredQueryBuilder_.build(); } } @@ -597,38 +637,39 @@ private void buildPartialOneofs(com.google.firestore.bundle.BundledQuery result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.bundle.BundledQuery) { - return mergeFrom((com.google.firestore.bundle.BundledQuery)other); + return mergeFrom((com.google.firestore.bundle.BundledQuery) other); } else { super.mergeFrom(other); return this; @@ -646,13 +687,15 @@ public Builder mergeFrom(com.google.firestore.bundle.BundledQuery other) { setLimitTypeValue(other.getLimitTypeValue()); } switch (other.getQueryTypeCase()) { - case STRUCTURED_QUERY: { - mergeStructuredQuery(other.getStructuredQuery()); - break; - } - case QUERYTYPE_NOT_SET: { - break; - } + case STRUCTURED_QUERY: + { + mergeStructuredQuery(other.getStructuredQuery()); + break; + } + case QUERYTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -680,29 +723,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getStructuredQueryFieldBuilder().getBuilder(), - extensionRegistry); - queryTypeCase_ = 2; - break; - } // case 18 - case 24: { - limitType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry); + queryTypeCase_ = 2; + break; + } // case 18 + case 24: + { + limitType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -712,12 +757,12 @@ public Builder mergeFrom( } // finally return this; } + private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public QueryTypeCase - getQueryTypeCase() { - return QueryTypeCase.forNumber( - queryTypeCase_); + + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); } public Builder clearQueryType() { @@ -731,18 +776,20 @@ public Builder clearQueryType() { private java.lang.Object parent_ = ""; /** + * + * *
      * The parent resource name.
      * 
* * string parent = 1; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -751,20 +798,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent resource name.
      * 
* * string parent = 1; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -772,28 +820,35 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent resource name.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The parent resource name.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -803,17 +858,21 @@ public Builder clearParent() { return this; } /** + * + * *
      * The parent resource name.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -822,13 +881,19 @@ public Builder setParentBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_; + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> + structuredQueryBuilder_; /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -836,11 +901,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -858,6 +926,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * A structured query.
      * 
@@ -878,6 +948,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
      * A structured query.
      * 
@@ -896,6 +968,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
      * A structured query.
      * 
@@ -904,10 +978,13 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 2 && - queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 2 + && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = + com.google.firestore.v1.StructuredQuery.newBuilder( + (com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -923,6 +1000,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
      * A structured query.
      * 
@@ -946,6 +1025,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
      * A structured query.
      * 
@@ -956,6 +1037,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
      * A structured query.
      * 
@@ -974,6 +1057,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
      * A structured query.
      * 
@@ -981,14 +1066,19 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil * .google.firestore.v1.StructuredQuery structured_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> getStructuredQueryFieldBuilder() { if (structuredQueryBuilder_ == null) { if (!(queryTypeCase_ == 2)) { queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } - structuredQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder>( + structuredQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder>( (com.google.firestore.v1.StructuredQuery) queryType_, getParentForChildren(), isClean()); @@ -1002,13 +1092,16 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil private int limitType_ = 0; /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @return The enum numeric value on the wire for limitType. */ - @java.lang.Override public int getLimitTypeValue() { + @java.lang.Override + public int getLimitTypeValue() { return limitType_; } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @param value The enum numeric value on the wire for limitType to set. * @return This builder for chaining. */ @@ -1020,15 +1113,20 @@ public Builder setLimitTypeValue(int value) { } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @return The limitType. */ @java.lang.Override public com.google.firestore.bundle.BundledQuery.LimitType getLimitType() { - com.google.firestore.bundle.BundledQuery.LimitType result = com.google.firestore.bundle.BundledQuery.LimitType.forNumber(limitType_); - return result == null ? com.google.firestore.bundle.BundledQuery.LimitType.UNRECOGNIZED : result; + com.google.firestore.bundle.BundledQuery.LimitType result = + com.google.firestore.bundle.BundledQuery.LimitType.forNumber(limitType_); + return result == null + ? com.google.firestore.bundle.BundledQuery.LimitType.UNRECOGNIZED + : result; } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @param value The limitType to set. * @return This builder for chaining. */ @@ -1043,6 +1141,7 @@ public Builder setLimitType(com.google.firestore.bundle.BundledQuery.LimitType v } /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @return This builder for chaining. */ public Builder clearLimitType() { @@ -1051,9 +1150,9 @@ public Builder clearLimitType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1063,12 +1162,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.bundle.BundledQuery) } // @@protoc_insertion_point(class_scope:google.firestore.bundle.BundledQuery) private static final com.google.firestore.bundle.BundledQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.bundle.BundledQuery(); } @@ -1077,27 +1176,27 @@ public static com.google.firestore.bundle.BundledQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BundledQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BundledQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1112,6 +1211,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.bundle.BundledQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java rename to proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java index 68ff233d8..baea728d2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java +++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; -public interface BundledQueryOrBuilder extends +public interface BundledQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.bundle.BundledQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The parent resource name.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent resource name.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** + * + * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** + * + * *
    * A structured query.
    * 
@@ -56,11 +85,13 @@ public interface BundledQueryOrBuilder extends /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @return The enum numeric value on the wire for limitType. */ int getLimitTypeValue(); /** * .google.firestore.bundle.BundledQuery.LimitType limit_type = 3; + * * @return The limitType. */ com.google.firestore.bundle.BundledQuery.LimitType getLimitType(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java rename to proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java index 538ef1071..7a107326e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java +++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/bundle/bundle.proto package com.google.firestore.bundle; /** + * + * *
  * A Query associated with a name, created as part of the bundle file, and can be read
  * by client SDKs once the bundle containing them is loaded.
@@ -11,48 +28,53 @@
  *
  * Protobuf type {@code google.firestore.bundle.NamedQuery}
  */
-public final class NamedQuery extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NamedQuery extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.bundle.NamedQuery)
     NamedQueryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NamedQuery.newBuilder() to construct.
   private NamedQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NamedQuery() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NamedQuery();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.bundle.BundleProto
+        .internal_static_google_firestore_bundle_NamedQuery_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
+    return com.google.firestore.bundle.BundleProto
+        .internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.bundle.NamedQuery.class, com.google.firestore.bundle.NamedQuery.Builder.class);
+            com.google.firestore.bundle.NamedQuery.class,
+            com.google.firestore.bundle.NamedQuery.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -60,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -68,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -83,16 +107,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -103,11 +126,14 @@ public java.lang.String getName() { public static final int BUNDLED_QUERY_FIELD_NUMBER = 2; private com.google.firestore.bundle.BundledQuery bundledQuery_; /** + * + * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; + * * @return Whether the bundledQuery field is set. */ @java.lang.Override @@ -115,18 +141,25 @@ public boolean hasBundledQuery() { return bundledQuery_ != null; } /** + * + * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; + * * @return The bundledQuery. */ @java.lang.Override public com.google.firestore.bundle.BundledQuery getBundledQuery() { - return bundledQuery_ == null ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() : bundledQuery_; + return bundledQuery_ == null + ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() + : bundledQuery_; } /** + * + * *
    * The query saved in the bundle.
    * 
@@ -135,18 +168,23 @@ public com.google.firestore.bundle.BundledQuery getBundledQuery() { */ @java.lang.Override public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilder() { - return bundledQuery_ == null ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() : bundledQuery_; + return bundledQuery_ == null + ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() + : bundledQuery_; } public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -154,12 +192,15 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ @java.lang.Override @@ -167,6 +208,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
@@ -180,6 +223,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -191,8 +235,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -215,12 +258,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (bundledQuery_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getBundledQuery());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBundledQuery());
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -230,24 +271,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.bundle.NamedQuery)) {
       return super.equals(obj);
     }
     com.google.firestore.bundle.NamedQuery other = (com.google.firestore.bundle.NamedQuery) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasBundledQuery() != other.hasBundledQuery()) return false;
     if (hasBundledQuery()) {
-      if (!getBundledQuery()
-          .equals(other.getBundledQuery())) return false;
+      if (!getBundledQuery().equals(other.getBundledQuery())) return false;
     }
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime()
-          .equals(other.getReadTime())) return false;
+      if (!getReadTime().equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -275,97 +313,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.bundle.NamedQuery parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.bundle.NamedQuery parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.bundle.NamedQuery parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.bundle.NamedQuery prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A Query associated with a name, created as part of the bundle file, and can be read
    * by client SDKs once the bundle containing them is loaded.
@@ -373,33 +418,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.bundle.NamedQuery}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.bundle.NamedQuery)
       com.google.firestore.bundle.NamedQueryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.bundle.BundleProto
+          .internal_static_google_firestore_bundle_NamedQuery_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
+      return com.google.firestore.bundle.BundleProto
+          .internal_static_google_firestore_bundle_NamedQuery_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.bundle.NamedQuery.class, com.google.firestore.bundle.NamedQuery.Builder.class);
+              com.google.firestore.bundle.NamedQuery.class,
+              com.google.firestore.bundle.NamedQuery.Builder.class);
     }
 
     // Construct using com.google.firestore.bundle.NamedQuery.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -419,9 +463,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.bundle.BundleProto.internal_static_google_firestore_bundle_NamedQuery_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.bundle.BundleProto
+          .internal_static_google_firestore_bundle_NamedQuery_descriptor;
     }
 
     @java.lang.Override
@@ -440,8 +484,11 @@ public com.google.firestore.bundle.NamedQuery build() {
 
     @java.lang.Override
     public com.google.firestore.bundle.NamedQuery buildPartial() {
-      com.google.firestore.bundle.NamedQuery result = new com.google.firestore.bundle.NamedQuery(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.bundle.NamedQuery result =
+          new com.google.firestore.bundle.NamedQuery(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -452,14 +499,11 @@ private void buildPartial0(com.google.firestore.bundle.NamedQuery result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.bundledQuery_ = bundledQueryBuilder_ == null
-            ? bundledQuery_
-            : bundledQueryBuilder_.build();
+        result.bundledQuery_ =
+            bundledQueryBuilder_ == null ? bundledQuery_ : bundledQueryBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null
-            ? readTime_
-            : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
       }
     }
 
@@ -467,38 +511,39 @@ private void buildPartial0(com.google.firestore.bundle.NamedQuery result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.bundle.NamedQuery) {
-        return mergeFrom((com.google.firestore.bundle.NamedQuery)other);
+        return mergeFrom((com.google.firestore.bundle.NamedQuery) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -544,31 +589,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getBundledQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getBundledQueryFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -578,10 +623,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -589,13 +637,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -604,6 +652,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -611,15 +661,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -627,6 +676,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -634,18 +685,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -653,6 +708,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -662,6 +718,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Name of the query, such that client can use the name to load this query
      * from bundle, and resume from when the query results are materialized
@@ -669,12 +727,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -684,34 +744,47 @@ public Builder setNameBytes( private com.google.firestore.bundle.BundledQuery bundledQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.bundle.BundledQuery, com.google.firestore.bundle.BundledQuery.Builder, com.google.firestore.bundle.BundledQueryOrBuilder> bundledQueryBuilder_; + com.google.firestore.bundle.BundledQuery, + com.google.firestore.bundle.BundledQuery.Builder, + com.google.firestore.bundle.BundledQueryOrBuilder> + bundledQueryBuilder_; /** + * + * *
      * The query saved in the bundle.
      * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; + * * @return Whether the bundledQuery field is set. */ public boolean hasBundledQuery() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The query saved in the bundle.
      * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; + * * @return The bundledQuery. */ public com.google.firestore.bundle.BundledQuery getBundledQuery() { if (bundledQueryBuilder_ == null) { - return bundledQuery_ == null ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() : bundledQuery_; + return bundledQuery_ == null + ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() + : bundledQuery_; } else { return bundledQueryBuilder_.getMessage(); } } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -732,6 +805,8 @@ public Builder setBundledQuery(com.google.firestore.bundle.BundledQuery value) { return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -750,6 +825,8 @@ public Builder setBundledQuery( return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -758,9 +835,9 @@ public Builder setBundledQuery( */ public Builder mergeBundledQuery(com.google.firestore.bundle.BundledQuery value) { if (bundledQueryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - bundledQuery_ != null && - bundledQuery_ != com.google.firestore.bundle.BundledQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && bundledQuery_ != null + && bundledQuery_ != com.google.firestore.bundle.BundledQuery.getDefaultInstance()) { getBundledQueryBuilder().mergeFrom(value); } else { bundledQuery_ = value; @@ -773,6 +850,8 @@ public Builder mergeBundledQuery(com.google.firestore.bundle.BundledQuery value) return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -790,6 +869,8 @@ public Builder clearBundledQuery() { return this; } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -802,6 +883,8 @@ public com.google.firestore.bundle.BundledQuery.Builder getBundledQueryBuilder() return getBundledQueryFieldBuilder().getBuilder(); } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -812,11 +895,14 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde if (bundledQueryBuilder_ != null) { return bundledQueryBuilder_.getMessageOrBuilder(); } else { - return bundledQuery_ == null ? - com.google.firestore.bundle.BundledQuery.getDefaultInstance() : bundledQuery_; + return bundledQuery_ == null + ? com.google.firestore.bundle.BundledQuery.getDefaultInstance() + : bundledQuery_; } } /** + * + * *
      * The query saved in the bundle.
      * 
@@ -824,14 +910,17 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde * .google.firestore.bundle.BundledQuery bundled_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.bundle.BundledQuery, com.google.firestore.bundle.BundledQuery.Builder, com.google.firestore.bundle.BundledQueryOrBuilder> + com.google.firestore.bundle.BundledQuery, + com.google.firestore.bundle.BundledQuery.Builder, + com.google.firestore.bundle.BundledQueryOrBuilder> getBundledQueryFieldBuilder() { if (bundledQueryBuilder_ == null) { - bundledQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.bundle.BundledQuery, com.google.firestore.bundle.BundledQuery.Builder, com.google.firestore.bundle.BundledQueryOrBuilder>( - getBundledQuery(), - getParentForChildren(), - isClean()); + bundledQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.bundle.BundledQuery, + com.google.firestore.bundle.BundledQuery.Builder, + com.google.firestore.bundle.BundledQueryOrBuilder>( + getBundledQuery(), getParentForChildren(), isClean()); bundledQuery_ = null; } return bundledQueryBuilder_; @@ -839,26 +928,35 @@ public com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilde private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -869,6 +967,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -890,6 +990,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -897,8 +999,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 3;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -909,6 +1010,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -918,9 +1021,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -933,6 +1036,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -951,6 +1056,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -964,6 +1071,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -975,11 +1084,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The read time of the query, when it is used to build the bundle. This is useful to
      * resume the query from the bundle, once it is loaded by client SDKs.
@@ -988,21 +1098,24 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(),
-                getParentForChildren(),
-                isClean());
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(), getParentForChildren(), isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1012,12 +1125,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.bundle.NamedQuery)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.bundle.NamedQuery)
   private static final com.google.firestore.bundle.NamedQuery DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.bundle.NamedQuery();
   }
@@ -1026,27 +1139,27 @@ public static com.google.firestore.bundle.NamedQuery getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public NamedQuery parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public NamedQuery parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1061,6 +1174,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.bundle.NamedQuery getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
rename to proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
index b124e75f3..1ab84b31e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/bundle/bundle.proto
 
 package com.google.firestore.bundle;
 
-public interface NamedQueryOrBuilder extends
+public interface NamedQueryOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.bundle.NamedQuery)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -15,10 +33,13 @@ public interface NamedQueryOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Name of the query, such that client can use the name to load this query
    * from bundle, and resume from when the query results are materialized
@@ -26,30 +47,38 @@ public interface NamedQueryOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; + * * @return Whether the bundledQuery field is set. */ boolean hasBundledQuery(); /** + * + * *
    * The query saved in the bundle.
    * 
* * .google.firestore.bundle.BundledQuery bundled_query = 2; + * * @return The bundledQuery. */ com.google.firestore.bundle.BundledQuery getBundledQuery(); /** + * + * *
    * The query saved in the bundle.
    * 
@@ -59,26 +88,34 @@ public interface NamedQueryOrBuilder extends com.google.firestore.bundle.BundledQueryOrBuilder getBundledQueryOrBuilder(); /** + * + * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The read time of the query, when it is used to build the bundle. This is useful to
    * resume the query from the bundle, once it is loaded by client SDKs.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto b/proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto
rename to proto-google-cloud-firestore-bundle-v1/src/main/proto/google/firestore/bundle/bundle.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
similarity index 65%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
index 359de5066..f8a8ee4da 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/aggregation_result.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The result of a single bucket from a Firestore aggregation query.
  * The keys of `aggregate_fields` are the same for all results in an aggregation
@@ -13,82 +30,89 @@
  *
  * Protobuf type {@code google.firestore.v1.AggregationResult}
  */
-public final class AggregationResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AggregationResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.AggregationResult)
     AggregationResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AggregationResult.newBuilder() to construct.
   private AggregationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AggregationResult() {
-  }
+
+  private AggregationResult() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AggregationResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.AggregationResultProto
+        .internal_static_google_firestore_v1_AggregationResult_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetAggregateFields();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
+    return com.google.firestore.v1.AggregationResultProto
+        .internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.AggregationResult.class, com.google.firestore.v1.AggregationResult.Builder.class);
+            com.google.firestore.v1.AggregationResult.class,
+            com.google.firestore.v1.AggregationResult.Builder.class);
   }
 
   public static final int AGGREGATE_FIELDS_FIELD_NUMBER = 2;
+
   private static final class AggregateFieldsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.firestore.v1.Value> defaultEntry =
+    static final com.google.protobuf.MapEntry
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.firestore.v1.Value.getDefaultInstance());
+                .newDefaultInstance(
+                    com.google.firestore.v1.AggregationResultProto
+                        .internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor,
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                    com.google.firestore.v1.Value.getDefaultInstance());
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.firestore.v1.Value> aggregateFields_;
   private com.google.protobuf.MapField
-  internalGetAggregateFields() {
+      aggregateFields_;
+
+  private com.google.protobuf.MapField
+      internalGetAggregateFields() {
     if (aggregateFields_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           AggregateFieldsDefaultEntryHolder.defaultEntry);
     }
     return aggregateFields_;
   }
+
   public int getAggregateFieldsCount() {
     return internalGetAggregateFields().getMap().size();
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -100,20 +124,21 @@ public int getAggregateFieldsCount() {
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   @java.lang.Override
-  public boolean containsAggregateFields(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAggregateFields(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAggregateFields().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAggregateFieldsMap()} instead.
-   */
+  /** Use {@link #getAggregateFieldsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAggregateFields() {
     return getAggregateFieldsMap();
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -129,6 +154,8 @@ public java.util.Map getAggrega
     return internalGetAggregateFields().getMap();
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -140,17 +167,20 @@ public java.util.Map getAggrega
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.firestore.v1.Value getAggregateFieldsOrDefault(
+  public /* nullable */ com.google.firestore.v1.Value getAggregateFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.firestore.v1.Value defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.firestore.v1.Value defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetAggregateFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -162,9 +192,10 @@ com.google.firestore.v1.Value getAggregateFieldsOrDefault(
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.Value getAggregateFieldsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetAggregateFields().getMap();
     if (!map.containsKey(key)) {
@@ -174,6 +205,7 @@ public com.google.firestore.v1.Value getAggregateFieldsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,14 +217,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetAggregateFields(),
-        AggregateFieldsDefaultEntryHolder.defaultEntry,
-        2);
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetAggregateFields(), AggregateFieldsDefaultEntryHolder.defaultEntry, 2);
     getUnknownFields().writeTo(output);
   }
 
@@ -202,15 +229,16 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    for (java.util.Map.Entry entry
-         : internalGetAggregateFields().getMap().entrySet()) {
+    for (java.util.Map.Entry entry :
+        internalGetAggregateFields().getMap().entrySet()) {
       com.google.protobuf.MapEntry
-      aggregateFields__ = AggregateFieldsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, aggregateFields__);
+          aggregateFields__ =
+              AggregateFieldsDefaultEntryHolder.defaultEntry
+                  .newBuilderForType()
+                  .setKey(entry.getKey())
+                  .setValue(entry.getValue())
+                  .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, aggregateFields__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -220,15 +248,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.AggregationResult)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.AggregationResult other = (com.google.firestore.v1.AggregationResult) obj;
+    com.google.firestore.v1.AggregationResult other =
+        (com.google.firestore.v1.AggregationResult) obj;
 
-    if (!internalGetAggregateFields().equals(
-        other.internalGetAggregateFields())) return false;
+    if (!internalGetAggregateFields().equals(other.internalGetAggregateFields())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -249,97 +277,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.AggregationResult parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.AggregationResult parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.AggregationResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.AggregationResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.AggregationResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result of a single bucket from a Firestore aggregation query.
    * The keys of `aggregate_fields` are the same for all results in an aggregation
@@ -349,55 +384,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.AggregationResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.AggregationResult)
       com.google.firestore.v1.AggregationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.AggregationResultProto
+          .internal_static_google_firestore_v1_AggregationResult_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetAggregateFields();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMutableAggregateFields();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
+      return com.google.firestore.v1.AggregationResultProto
+          .internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.AggregationResult.class, com.google.firestore.v1.AggregationResult.Builder.class);
+              com.google.firestore.v1.AggregationResult.class,
+              com.google.firestore.v1.AggregationResult.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.AggregationResult.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -407,9 +439,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.AggregationResultProto.internal_static_google_firestore_v1_AggregationResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.AggregationResultProto
+          .internal_static_google_firestore_v1_AggregationResult_descriptor;
     }
 
     @java.lang.Override
@@ -428,8 +460,11 @@ public com.google.firestore.v1.AggregationResult build() {
 
     @java.lang.Override
     public com.google.firestore.v1.AggregationResult buildPartial() {
-      com.google.firestore.v1.AggregationResult result = new com.google.firestore.v1.AggregationResult(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.AggregationResult result =
+          new com.google.firestore.v1.AggregationResult(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -446,38 +481,39 @@ private void buildPartial0(com.google.firestore.v1.AggregationResult result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.AggregationResult) {
-        return mergeFrom((com.google.firestore.v1.AggregationResult)other);
+        return mergeFrom((com.google.firestore.v1.AggregationResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -486,8 +522,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.firestore.v1.AggregationResult other) {
       if (other == com.google.firestore.v1.AggregationResult.getDefaultInstance()) return this;
-      internalGetMutableAggregateFields().mergeFrom(
-          other.internalGetAggregateFields());
+      internalGetMutableAggregateFields().mergeFrom(other.internalGetAggregateFields());
       bitField0_ |= 0x00000001;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -515,21 +550,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              com.google.protobuf.MapEntry
-              aggregateFields__ = input.readMessage(
-                  AggregateFieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAggregateFields().getMutableMap().put(
-                  aggregateFields__.getKey(), aggregateFields__.getValue());
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                com.google.protobuf.MapEntry
+                    aggregateFields__ =
+                        input.readMessage(
+                            AggregateFieldsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableAggregateFields()
+                    .getMutableMap()
+                    .put(aggregateFields__.getKey(), aggregateFields__.getValue());
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -539,10 +579,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.MapField<
-        java.lang.String, com.google.firestore.v1.Value> aggregateFields_;
+    private com.google.protobuf.MapField
+        aggregateFields_;
+
     private com.google.protobuf.MapField
         internalGetAggregateFields() {
       if (aggregateFields_ == null) {
@@ -551,11 +593,13 @@ public Builder mergeFrom(
       }
       return aggregateFields_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableAggregateFields() {
       if (aggregateFields_ == null) {
-        aggregateFields_ = com.google.protobuf.MapField.newMapField(
-            AggregateFieldsDefaultEntryHolder.defaultEntry);
+        aggregateFields_ =
+            com.google.protobuf.MapField.newMapField(
+                AggregateFieldsDefaultEntryHolder.defaultEntry);
       }
       if (!aggregateFields_.isMutable()) {
         aggregateFields_ = aggregateFields_.copy();
@@ -564,10 +608,13 @@ public Builder mergeFrom(
       onChanged();
       return aggregateFields_;
     }
+
     public int getAggregateFieldsCount() {
       return internalGetAggregateFields().getMap().size();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -579,20 +626,21 @@ public int getAggregateFieldsCount() {
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
     @java.lang.Override
-    public boolean containsAggregateFields(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAggregateFields(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAggregateFields().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAggregateFieldsMap()} instead.
-     */
+    /** Use {@link #getAggregateFieldsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAggregateFields() {
       return getAggregateFieldsMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -608,6 +656,8 @@ public java.util.Map getAggrega
       return internalGetAggregateFields().getMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -619,17 +669,20 @@ public java.util.Map getAggrega
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.firestore.v1.Value getAggregateFieldsOrDefault(
+    public /* nullable */ com.google.firestore.v1.Value getAggregateFieldsOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.firestore.v1.Value defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        com.google.firestore.v1.Value defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetAggregateFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -641,9 +694,10 @@ com.google.firestore.v1.Value getAggregateFieldsOrDefault(
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
     @java.lang.Override
-    public com.google.firestore.v1.Value getAggregateFieldsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetAggregateFields().getMap();
       if (!map.containsKey(key)) {
@@ -651,13 +705,15 @@ public com.google.firestore.v1.Value getAggregateFieldsOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearAggregateFields() {
       bitField0_ = (bitField0_ & ~0x00000001);
-      internalGetMutableAggregateFields().getMutableMap()
-          .clear();
+      internalGetMutableAggregateFields().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -668,16 +724,14 @@ public Builder clearAggregateFields() {
      *
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
-    public Builder removeAggregateFields(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAggregateFields().getMutableMap()
-          .remove(key);
+    public Builder removeAggregateFields(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAggregateFields().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
     public java.util.Map
         getMutableAggregateFields() {
@@ -685,6 +739,8 @@ public Builder removeAggregateFields(
       return internalGetMutableAggregateFields().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -695,17 +751,20 @@ public Builder removeAggregateFields(
      *
      * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
      */
-    public Builder putAggregateFields(
-        java.lang.String key,
-        com.google.firestore.v1.Value value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAggregateFields().getMutableMap()
-          .put(key, value);
+    public Builder putAggregateFields(java.lang.String key, com.google.firestore.v1.Value value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAggregateFields().getMutableMap().put(key, value);
       bitField0_ |= 0x00000001;
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
      * The key is the
@@ -718,14 +777,13 @@ public Builder putAggregateFields(
      */
     public Builder putAllAggregateFields(
         java.util.Map values) {
-      internalGetMutableAggregateFields().getMutableMap()
-          .putAll(values);
+      internalGetMutableAggregateFields().getMutableMap().putAll(values);
       bitField0_ |= 0x00000001;
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -735,12 +793,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.AggregationResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.AggregationResult)
   private static final com.google.firestore.v1.AggregationResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.AggregationResult();
   }
@@ -749,27 +807,27 @@ public static com.google.firestore.v1.AggregationResult getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AggregationResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AggregationResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -784,6 +842,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.AggregationResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
index 33a23aaf0..c539ea8ec 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/aggregation_result.proto
 
 package com.google.firestore.v1;
 
-public interface AggregationResultOrBuilder extends
+public interface AggregationResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.AggregationResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -20,6 +38,8 @@ public interface AggregationResultOrBuilder extends
    */
   int getAggregateFieldsCount();
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -30,15 +50,13 @@ public interface AggregationResultOrBuilder extends
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  boolean containsAggregateFields(
-      java.lang.String key);
-  /**
-   * Use {@link #getAggregateFieldsMap()} instead.
-   */
+  boolean containsAggregateFields(java.lang.String key);
+  /** Use {@link #getAggregateFieldsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAggregateFields();
+  java.util.Map getAggregateFields();
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -49,9 +67,10 @@ boolean containsAggregateFields(
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  java.util.Map
-  getAggregateFieldsMap();
+  java.util.Map getAggregateFieldsMap();
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -63,11 +82,13 @@ boolean containsAggregateFields(
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
   /* nullable */
-com.google.firestore.v1.Value getAggregateFieldsOrDefault(
+  com.google.firestore.v1.Value getAggregateFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.firestore.v1.Value defaultValue);
+      com.google.firestore.v1.Value defaultValue);
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
    * The key is the
@@ -78,6 +99,5 @@ com.google.firestore.v1.Value getAggregateFieldsOrDefault(
    *
    * map<string, .google.firestore.v1.Value> aggregate_fields = 2;
    */
-  com.google.firestore.v1.Value getAggregateFieldsOrThrow(
-      java.lang.String key);
+  com.google.firestore.v1.Value getAggregateFieldsOrThrow(java.lang.String key);
 }
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java
new file mode 100644
index 000000000..8b1862f71
--- /dev/null
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java
@@ -0,0 +1,87 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/aggregation_result.proto
+
+package com.google.firestore.v1;
+
+public final class AggregationResultProto {
+  private AggregationResultProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_AggregationResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n,google/firestore/v1/aggregation_result"
+          + ".proto\022\023google.firestore.v1\032\"google/fire"
+          + "store/v1/document.proto\"\276\001\n\021AggregationR"
+          + "esult\022U\n\020aggregate_fields\030\002 \003(\0132;.google"
+          + ".firestore.v1.AggregationResult.Aggregat"
+          + "eFieldsEntry\032R\n\024AggregateFieldsEntry\022\013\n\003"
+          + "key\030\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.google.firest"
+          + "ore.v1.Value:\0028\001B\316\001\n\027com.google.firestor"
+          + "e.v1B\026AggregationResultProtoP\001Z;cloud.go"
+          + "ogle.com/go/firestore/apiv1/firestorepb;"
+          + "firestorepb\242\002\004GCFS\252\002\031Google.Cloud.Firest"
+          + "ore.V1\312\002\031Google\\Cloud\\Firestore\\V1\352\002\034Goo"
+          + "gle::Cloud::Firestore::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.firestore.v1.DocumentProto.getDescriptor(),
+            });
+    internal_static_google_firestore_v1_AggregationResult_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_v1_AggregationResult_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_AggregationResult_descriptor,
+            new java.lang.String[] {
+              "AggregateFields",
+            });
+    internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor =
+        internal_static_google_firestore_v1_AggregationResult_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_AggregationResult_AggregateFieldsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    com.google.firestore.v1.DocumentProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
index 3e6a556bc..4c24457e1 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
@@ -1,57 +1,79 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * An array value.
  * 
* * Protobuf type {@code google.firestore.v1.ArrayValue} */ -public final class ArrayValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ArrayValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ArrayValue) ArrayValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArrayValue.newBuilder() to construct. private ArrayValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArrayValue() { values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArrayValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ArrayValue.class, com.google.firestore.v1.ArrayValue.Builder.class); + com.google.firestore.v1.ArrayValue.class, + com.google.firestore.v1.ArrayValue.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List values_; /** + * + * *
    * Values in the array.
    * 
@@ -63,6 +85,8 @@ public java.util.List getValuesList() { return values_; } /** + * + * *
    * Values in the array.
    * 
@@ -70,11 +94,12 @@ public java.util.List getValuesList() { * repeated .google.firestore.v1.Value values = 1; */ @java.lang.Override - public java.util.List - getValuesOrBuilderList() { + public java.util.List getValuesOrBuilderList() { return values_; } /** + * + * *
    * Values in the array.
    * 
@@ -86,6 +111,8 @@ public int getValuesCount() { return values_.size(); } /** + * + * *
    * Values in the array.
    * 
@@ -97,6 +124,8 @@ public com.google.firestore.v1.Value getValues(int index) { return values_.get(index); } /** + * + * *
    * Values in the array.
    * 
@@ -104,12 +133,12 @@ public com.google.firestore.v1.Value getValues(int index) { * repeated .google.firestore.v1.Value values = 1; */ @java.lang.Override - public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( - int index) { + public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { return values_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -136,8 +164,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +174,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ArrayValue)) { return super.equals(obj); } com.google.firestore.v1.ArrayValue other = (com.google.firestore.v1.ArrayValue) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; + if (!getValuesList().equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,130 +202,135 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ArrayValue parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.ArrayValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ArrayValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ArrayValue parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.ArrayValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ArrayValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ArrayValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ArrayValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ArrayValue parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ArrayValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.ArrayValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.ArrayValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.ArrayValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ArrayValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.ArrayValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An array value.
    * 
* * Protobuf type {@code google.firestore.v1.ArrayValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.ArrayValue) com.google.firestore.v1.ArrayValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ArrayValue.class, com.google.firestore.v1.ArrayValue.Builder.class); + com.google.firestore.v1.ArrayValue.class, + com.google.firestore.v1.ArrayValue.Builder.class); } // Construct using com.google.firestore.v1.ArrayValue.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -315,9 +346,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_ArrayValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_ArrayValue_descriptor; } @java.lang.Override @@ -338,7 +369,9 @@ public com.google.firestore.v1.ArrayValue build() { public com.google.firestore.v1.ArrayValue buildPartial() { com.google.firestore.v1.ArrayValue result = new com.google.firestore.v1.ArrayValue(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -363,38 +396,39 @@ private void buildPartial0(com.google.firestore.v1.ArrayValue result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.ArrayValue) { - return mergeFrom((com.google.firestore.v1.ArrayValue)other); + return mergeFrom((com.google.firestore.v1.ArrayValue) other); } else { super.mergeFrom(other); return this; @@ -421,9 +455,10 @@ public Builder mergeFrom(com.google.firestore.v1.ArrayValue other) { valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getValuesFieldBuilder() : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getValuesFieldBuilder() + : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -455,25 +490,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.firestore.v1.Value m = - input.readMessage( - com.google.firestore.v1.Value.parser(), - extensionRegistry); - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(m); - } else { - valuesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.firestore.v1.Value m = + input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(m); + } else { + valuesBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,21 +518,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List values_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> valuesBuilder_; + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + valuesBuilder_; /** + * + * *
      * Values in the array.
      * 
@@ -512,6 +554,8 @@ public java.util.List getValuesList() { } } /** + * + * *
      * Values in the array.
      * 
@@ -526,6 +570,8 @@ public int getValuesCount() { } } /** + * + * *
      * Values in the array.
      * 
@@ -540,14 +586,15 @@ public com.google.firestore.v1.Value getValues(int index) { } } /** + * + * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder setValues( - int index, com.google.firestore.v1.Value value) { + public Builder setValues(int index, com.google.firestore.v1.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,14 +608,15 @@ public Builder setValues( return this; } /** + * + * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder setValues( - int index, com.google.firestore.v1.Value.Builder builderForValue) { + public Builder setValues(int index, com.google.firestore.v1.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.set(index, builderForValue.build()); @@ -579,6 +627,8 @@ public Builder setValues( return this; } /** + * + * *
      * Values in the array.
      * 
@@ -599,14 +649,15 @@ public Builder addValues(com.google.firestore.v1.Value value) { return this; } /** + * + * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder addValues( - int index, com.google.firestore.v1.Value value) { + public Builder addValues(int index, com.google.firestore.v1.Value value) { if (valuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,14 +671,15 @@ public Builder addValues( return this; } /** + * + * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder addValues( - com.google.firestore.v1.Value.Builder builderForValue) { + public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(builderForValue.build()); @@ -638,14 +690,15 @@ public Builder addValues( return this; } /** + * + * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public Builder addValues( - int index, com.google.firestore.v1.Value.Builder builderForValue) { + public Builder addValues(int index, com.google.firestore.v1.Value.Builder builderForValue) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); values_.add(index, builderForValue.build()); @@ -656,6 +709,8 @@ public Builder addValues( return this; } /** + * + * *
      * Values in the array.
      * 
@@ -666,8 +721,7 @@ public Builder addAllValues( java.lang.Iterable values) { if (valuesBuilder_ == null) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); } else { valuesBuilder_.addAllMessages(values); @@ -675,6 +729,8 @@ public Builder addAllValues( return this; } /** + * + * *
      * Values in the array.
      * 
@@ -692,6 +748,8 @@ public Builder clearValues() { return this; } /** + * + * *
      * Values in the array.
      * 
@@ -709,39 +767,44 @@ public Builder removeValues(int index) { return this; } /** + * + * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public com.google.firestore.v1.Value.Builder getValuesBuilder( - int index) { + public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) { return getValuesFieldBuilder().getBuilder(index); } /** + * + * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( - int index) { + public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) { if (valuesBuilder_ == null) { - return values_.get(index); } else { + return values_.get(index); + } else { return valuesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public java.util.List - getValuesOrBuilderList() { + public java.util.List + getValuesOrBuilderList() { if (valuesBuilder_ != null) { return valuesBuilder_.getMessageOrBuilderList(); } else { @@ -749,6 +812,8 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( } } /** + * + * *
      * Values in the array.
      * 
@@ -756,49 +821,53 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( * repeated .google.firestore.v1.Value values = 1; */ public com.google.firestore.v1.Value.Builder addValuesBuilder() { - return getValuesFieldBuilder().addBuilder( - com.google.firestore.v1.Value.getDefaultInstance()); + return getValuesFieldBuilder().addBuilder(com.google.firestore.v1.Value.getDefaultInstance()); } /** + * + * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public com.google.firestore.v1.Value.Builder addValuesBuilder( - int index) { - return getValuesFieldBuilder().addBuilder( - index, com.google.firestore.v1.Value.getDefaultInstance()); + public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) { + return getValuesFieldBuilder() + .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance()); } /** + * + * *
      * Values in the array.
      * 
* * repeated .google.firestore.v1.Value values = 1; */ - public java.util.List - getValuesBuilderList() { + public java.util.List getValuesBuilderList() { return getValuesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> getValuesFieldBuilder() { if (valuesBuilder_ == null) { - valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>( - values_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + valuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder>( + values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); values_ = null; } return valuesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,12 +877,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.ArrayValue) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ArrayValue) private static final com.google.firestore.v1.ArrayValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.ArrayValue(); } @@ -822,27 +891,27 @@ public static com.google.firestore.v1.ArrayValue getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrayValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrayValue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -857,6 +926,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ArrayValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java index 2b842d6ae..5aa4db46e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface ArrayValueOrBuilder extends +public interface ArrayValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ArrayValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Values in the array.
    * 
* * repeated .google.firestore.v1.Value values = 1; */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
    * Values in the array.
    * 
@@ -25,6 +44,8 @@ public interface ArrayValueOrBuilder extends */ com.google.firestore.v1.Value getValues(int index); /** + * + * *
    * Values in the array.
    * 
@@ -33,21 +54,23 @@ public interface ArrayValueOrBuilder extends */ int getValuesCount(); /** + * + * *
    * Values in the array.
    * 
* * repeated .google.firestore.v1.Value values = 1; */ - java.util.List - getValuesOrBuilderList(); + java.util.List getValuesOrBuilderList(); /** + * + * *
    * Values in the array.
    * 
* * repeated .google.firestore.v1.Value values = 1; */ - com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder( - int index); + com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java index fba2c6575..fb7a4bf34 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The request for
  * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest}
  */
-public final class BatchGetDocumentsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchGetDocumentsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsRequest)
     BatchGetDocumentsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchGetDocumentsRequest.newBuilder() to construct.
   private BatchGetDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchGetDocumentsRequest() {
     database_ = "";
     documents_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -27,39 +45,43 @@ private BatchGetDocumentsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchGetDocumentsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BatchGetDocumentsRequest.class, com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class);
+            com.google.firestore.v1.BatchGetDocumentsRequest.class,
+            com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class);
   }
 
   private int consistencySelectorCase_ = 0;
   private java.lang.Object consistencySelector_;
+
   public enum ConsistencySelectorCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TRANSACTION(4),
     NEW_TRANSACTION(5),
     READ_TIME(7),
     CONSISTENCYSELECTOR_NOT_SET(0);
     private final int value;
+
     private ConsistencySelectorCase(int value) {
       this.value = value;
     }
@@ -75,34 +97,42 @@ public static ConsistencySelectorCase valueOf(int value) {
 
     public static ConsistencySelectorCase forNumber(int value) {
       switch (value) {
-        case 4: return TRANSACTION;
-        case 5: return NEW_TRANSACTION;
-        case 7: return READ_TIME;
-        case 0: return CONSISTENCYSELECTOR_NOT_SET;
-        default: return null;
+        case 4:
+          return TRANSACTION;
+        case 5:
+          return NEW_TRANSACTION;
+        case 7:
+          return READ_TIME;
+        case 0:
+          return CONSISTENCYSELECTOR_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConsistencySelectorCase
-  getConsistencySelectorCase() {
-    return ConsistencySelectorCase.forNumber(
-        consistencySelectorCase_);
+  public ConsistencySelectorCase getConsistencySelectorCase() {
+    return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
+   *
+   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ @java.lang.Override @@ -111,30 +141,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -143,9 +173,12 @@ public java.lang.String getDatabase() { } public static final int DOCUMENTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList documents_; /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -154,13 +187,15 @@ public java.lang.String getDatabase() {
    * 
* * repeated string documents = 2; + * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList - getDocumentsList() { + public com.google.protobuf.ProtocolStringList getDocumentsList() { return documents_; } /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -169,12 +204,15 @@ public java.lang.String getDatabase() {
    * 
* * repeated string documents = 2; + * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -183,6 +221,7 @@ public int getDocumentsCount() {
    * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -190,6 +229,8 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -198,17 +239,19 @@ public java.lang.String getDocuments(int index) {
    * 
* * repeated string documents = 2; + * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString - getDocumentsBytes(int index) { + public com.google.protobuf.ByteString getDocumentsBytes(int index) { return documents_.getByteString(index); } public static final int MASK_FIELD_NUMBER = 3; private com.google.firestore.v1.DocumentMask mask_; /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -216,6 +259,7 @@ public java.lang.String getDocuments(int index) {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -223,6 +267,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -230,6 +276,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ @java.lang.Override @@ -237,6 +284,8 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -252,11 +301,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
   public static final int TRANSACTION_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -264,11 +316,14 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; + * * @return The transaction. */ @java.lang.Override @@ -281,6 +336,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 5; /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -289,6 +346,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -296,6 +354,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -304,16 +364,19 @@ public boolean hasNewTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getNewTransaction() { if (consistencySelectorCase_ == 5) { - return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; } return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); } /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -326,19 +389,22 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencySelectorCase_ == 5) {
-       return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+      return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
     }
     return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -346,22 +412,27 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 7) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -372,12 +443,13 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 7) {
-       return (com.google.protobuf.Timestamp) consistencySelector_;
+      return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -389,8 +461,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
     }
@@ -401,8 +472,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       output.writeMessage(3, getMask());
     }
     if (consistencySelectorCase_ == 4) {
-      output.writeBytes(
-          4, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(4, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
       output.writeMessage(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
@@ -431,21 +501,22 @@ public int getSerializedSize() {
       size += 1 * getDocumentsList().size();
     }
     if (mask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMask());
     }
     if (consistencySelectorCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(
-            4, (com.google.protobuf.ByteString) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeBytesSize(
+              4, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
     }
     if (consistencySelectorCase_ == 7) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, (com.google.protobuf.Timestamp) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              7, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -455,35 +526,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.BatchGetDocumentsRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.BatchGetDocumentsRequest other = (com.google.firestore.v1.BatchGetDocumentsRequest) obj;
+    com.google.firestore.v1.BatchGetDocumentsRequest other =
+        (com.google.firestore.v1.BatchGetDocumentsRequest) obj;
 
-    if (!getDatabase()
-        .equals(other.getDatabase())) return false;
-    if (!getDocumentsList()
-        .equals(other.getDocumentsList())) return false;
+    if (!getDatabase().equals(other.getDatabase())) return false;
+    if (!getDocumentsList().equals(other.getDocumentsList())) return false;
     if (hasMask() != other.hasMask()) return false;
     if (hasMask()) {
-      if (!getMask()
-          .equals(other.getMask())) return false;
+      if (!getMask().equals(other.getMask())) return false;
     }
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 4:
-        if (!getTransaction()
-            .equals(other.getTransaction())) return false;
+        if (!getTransaction().equals(other.getTransaction())) return false;
         break;
       case 5:
-        if (!getNewTransaction()
-            .equals(other.getNewTransaction())) return false;
+        if (!getNewTransaction().equals(other.getNewTransaction())) return false;
         break;
       case 7:
-        if (!getReadTime()
-            .equals(other.getReadTime())) return false;
+        if (!getReadTime().equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -530,97 +596,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.BatchGetDocumentsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.BatchGetDocumentsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.BatchGetDocumentsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for
    * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
@@ -628,33 +701,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchGetDocumentsRequest)
       com.google.firestore.v1.BatchGetDocumentsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BatchGetDocumentsRequest.class, com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class);
+              com.google.firestore.v1.BatchGetDocumentsRequest.class,
+              com.google.firestore.v1.BatchGetDocumentsRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BatchGetDocumentsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -679,9 +751,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -700,15 +772,19 @@ public com.google.firestore.v1.BatchGetDocumentsRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BatchGetDocumentsRequest buildPartial() {
-      com.google.firestore.v1.BatchGetDocumentsRequest result = new com.google.firestore.v1.BatchGetDocumentsRequest(this);
+      com.google.firestore.v1.BatchGetDocumentsRequest result =
+          new com.google.firestore.v1.BatchGetDocumentsRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.firestore.v1.BatchGetDocumentsRequest result) {
+    private void buildPartialRepeatedFields(
+        com.google.firestore.v1.BatchGetDocumentsRequest result) {
       if (((bitField0_ & 0x00000002) != 0)) {
         documents_ = documents_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000002);
@@ -722,21 +798,17 @@ private void buildPartial0(com.google.firestore.v1.BatchGetDocumentsRequest resu
         result.database_ = database_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.mask_ = maskBuilder_ == null
-            ? mask_
-            : maskBuilder_.build();
+        result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.firestore.v1.BatchGetDocumentsRequest result) {
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 5 &&
-          newTransactionBuilder_ != null) {
+      if (consistencySelectorCase_ == 5 && newTransactionBuilder_ != null) {
         result.consistencySelector_ = newTransactionBuilder_.build();
       }
-      if (consistencySelectorCase_ == 7 &&
-          readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 7 && readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -745,38 +817,39 @@ private void buildPartialOneofs(com.google.firestore.v1.BatchGetDocumentsRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BatchGetDocumentsRequest) {
-        return mergeFrom((com.google.firestore.v1.BatchGetDocumentsRequest)other);
+        return mergeFrom((com.google.firestore.v1.BatchGetDocumentsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -784,7 +857,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsRequest other) {
-      if (other == com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance()) return this;
+      if (other == com.google.firestore.v1.BatchGetDocumentsRequest.getDefaultInstance())
+        return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -804,21 +878,25 @@ public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsRequest other)
         mergeMask(other.getMask());
       }
       switch (other.getConsistencySelectorCase()) {
-        case TRANSACTION: {
-          setTransaction(other.getTransaction());
-          break;
-        }
-        case NEW_TRANSACTION: {
-          mergeNewTransaction(other.getNewTransaction());
-          break;
-        }
-        case READ_TIME: {
-          mergeReadTime(other.getReadTime());
-          break;
-        }
-        case CONSISTENCYSELECTOR_NOT_SET: {
-          break;
-        }
+        case TRANSACTION:
+          {
+            setTransaction(other.getTransaction());
+            break;
+          }
+        case NEW_TRANSACTION:
+          {
+            mergeNewTransaction(other.getNewTransaction());
+            break;
+          }
+        case READ_TIME:
+          {
+            mergeReadTime(other.getReadTime());
+            break;
+          }
+        case CONSISTENCYSELECTOR_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -846,49 +924,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureDocumentsIsMutable();
-              documents_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              consistencySelector_ = input.readBytes();
-              consistencySelectorCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getNewTransactionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              consistencySelectorCase_ = 5;
-              break;
-            } // case 42
-            case 58: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              consistencySelectorCase_ = 7;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                database_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureDocumentsIsMutable();
+                documents_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                consistencySelector_ = input.readBytes();
+                consistencySelectorCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getNewTransactionFieldBuilder().getBuilder(), extensionRegistry);
+                consistencySelectorCase_ = 5;
+                break;
+              } // case 42
+            case 58:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                consistencySelectorCase_ = 7;
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -898,12 +977,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-    public ConsistencySelectorCase
-        getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(
-          consistencySelectorCase_);
+
+    public ConsistencySelectorCase getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -917,19 +996,21 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object database_ = "";
     /**
+     *
+     *
      * 
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -938,21 +1019,22 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -960,30 +1042,37 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -993,18 +1082,22 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -1012,14 +1105,18 @@ public Builder setDatabaseBytes( return this; } - private com.google.protobuf.LazyStringList documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList documents_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDocumentsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { documents_ = new com.google.protobuf.LazyStringArrayList(documents_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1028,13 +1125,15 @@ private void ensureDocumentsIsMutable() {
      * 
* * repeated string documents = 2; + * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList - getDocumentsList() { + public com.google.protobuf.ProtocolStringList getDocumentsList() { return documents_.getUnmodifiableView(); } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1043,12 +1142,15 @@ private void ensureDocumentsIsMutable() {
      * 
* * repeated string documents = 2; + * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1057,6 +1159,7 @@ public int getDocumentsCount() {
      * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -1064,6 +1167,8 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1072,14 +1177,16 @@ public java.lang.String getDocuments(int index) {
      * 
* * repeated string documents = 2; + * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString - getDocumentsBytes(int index) { + public com.google.protobuf.ByteString getDocumentsBytes(int index) { return documents_.getByteString(index); } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1088,19 +1195,23 @@ public java.lang.String getDocuments(int index) {
      * 
* * repeated string documents = 2; + * * @param index The index to set the value at. * @param value The documents to set. * @return This builder for chaining. */ - public Builder setDocuments( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocuments(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDocumentsIsMutable(); documents_.set(index, value); onChanged(); return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1109,18 +1220,22 @@ public Builder setDocuments(
      * 
* * repeated string documents = 2; + * * @param value The documents to add. * @return This builder for chaining. */ - public Builder addDocuments( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDocuments(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1129,18 +1244,19 @@ public Builder addDocuments(
      * 
* * repeated string documents = 2; + * * @param values The documents to add. * @return This builder for chaining. */ - public Builder addAllDocuments( - java.lang.Iterable values) { + public Builder addAllDocuments(java.lang.Iterable values) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); onChanged(); return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1149,6 +1265,7 @@ public Builder addAllDocuments(
      * 
* * repeated string documents = 2; + * * @return This builder for chaining. */ public Builder clearDocuments() { @@ -1158,6 +1275,8 @@ public Builder clearDocuments() { return this; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -1166,12 +1285,14 @@ public Builder clearDocuments() {
      * 
* * repeated string documents = 2; + * * @param value The bytes of the documents to add. * @return This builder for chaining. */ - public Builder addDocumentsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDocumentsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDocumentsIsMutable(); documents_.add(value); @@ -1181,8 +1302,13 @@ public Builder addDocumentsBytes( private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1190,12 +1316,15 @@ public Builder addDocumentsBytes(
      * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ public boolean hasMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1203,6 +1332,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1213,6 +1343,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1235,6 +1367,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1243,8 +1377,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 3;
      */
-    public Builder setMask(
-        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
       } else {
@@ -1255,6 +1388,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1265,9 +1400,9 @@ public Builder setMask(
      */
     public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          mask_ != null &&
-          mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && mask_ != null
+            && mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getMaskBuilder().mergeFrom(value);
         } else {
           mask_ = value;
@@ -1280,6 +1415,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1299,6 +1436,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1313,6 +1452,8 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1325,11 +1466,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field will
@@ -1339,36 +1481,45 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
+            com.google.firestore.v1.DocumentMask,
+            com.google.firestore.v1.DocumentMask.Builder,
+            com.google.firestore.v1.DocumentMaskOrBuilder>
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(),
-                getParentForChildren(),
-                isClean());
+        maskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.DocumentMask,
+                com.google.firestore.v1.DocumentMask.Builder,
+                com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(), getParentForChildren(), isClean());
         mask_ = null;
       }
       return maskBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1378,27 +1529,35 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } consistencySelectorCase_ = 4; consistencySelector_ = value; onChanged(); return this; } /** + * + * *
      * Reads documents in a transaction.
      * 
* * bytes transaction = 4; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1411,8 +1570,13 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + newTransactionBuilder_; /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1421,6 +1585,7 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1428,6 +1593,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1436,6 +1603,7 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ @java.lang.Override @@ -1453,6 +1621,8 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1476,6 +1646,8 @@ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1497,6 +1669,8 @@ public Builder setNewTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1508,10 +1682,14 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencySelectorCase_ == 5 &&
-            consistencySelector_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencySelector_ = com.google.firestore.v1.TransactionOptions.newBuilder((com.google.firestore.v1.TransactionOptions) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 5
+            && consistencySelector_
+                != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.firestore.v1.TransactionOptions.newBuilder(
+                      (com.google.firestore.v1.TransactionOptions) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1527,6 +1705,8 @@ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions va
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1553,6 +1733,8 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1566,6 +1748,8 @@ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1587,6 +1771,8 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1597,14 +1783,19 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * .google.firestore.v1.TransactionOptions new_transaction = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> 
+            com.google.firestore.v1.TransactionOptions,
+            com.google.firestore.v1.TransactionOptions.Builder,
+            com.google.firestore.v1.TransactionOptionsOrBuilder>
         getNewTransactionFieldBuilder() {
       if (newTransactionBuilder_ == null) {
         if (!(consistencySelectorCase_ == 5)) {
           consistencySelector_ = com.google.firestore.v1.TransactionOptions.getDefaultInstance();
         }
-        newTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder>(
+        newTransactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.TransactionOptions,
+                com.google.firestore.v1.TransactionOptions.Builder,
+                com.google.firestore.v1.TransactionOptionsOrBuilder>(
                 (com.google.firestore.v1.TransactionOptions) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1616,14 +1807,20 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        readTimeBuilder_;
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1631,12 +1828,15 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ @java.lang.Override @@ -1654,6 +1854,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1675,6 +1877,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1682,8 +1886,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 7;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1694,6 +1897,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1703,10 +1908,13 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 7 &&
-            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 7
+            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1722,6 +1930,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1746,6 +1956,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1757,6 +1969,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1776,6 +1990,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1784,14 +2000,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 7)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1801,9 +2022,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1813,12 +2034,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchGetDocumentsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchGetDocumentsRequest)
   private static final com.google.firestore.v1.BatchGetDocumentsRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.BatchGetDocumentsRequest();
   }
@@ -1827,27 +2048,27 @@ public static com.google.firestore.v1.BatchGetDocumentsRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchGetDocumentsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchGetDocumentsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1862,6 +2083,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.BatchGetDocumentsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
index 8705811b4..7c77b6fe6 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
@@ -1,35 +1,58 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchGetDocumentsRequestOrBuilder extends
+public interface BatchGetDocumentsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -38,11 +61,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * repeated string documents = 2; + * * @return A list containing the documents. */ - java.util.List - getDocumentsList(); + java.util.List getDocumentsList(); /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -51,10 +76,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * repeated string documents = 2; + * * @return The count of documents. */ int getDocumentsCount(); /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -63,11 +91,14 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ java.lang.String getDocuments(int index); /** + * + * *
    * The names of the documents to retrieve. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -76,13 +107,15 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * repeated string documents = 2; + * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - com.google.protobuf.ByteString - getDocumentsBytes(int index); + com.google.protobuf.ByteString getDocumentsBytes(int index); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -90,10 +123,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ boolean hasMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -101,10 +137,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field will
@@ -116,25 +155,33 @@ public interface BatchGetDocumentsRequestOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Reads documents in a transaction.
    * 
* * bytes transaction = 4; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -143,10 +190,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -155,10 +205,13 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -171,26 +224,34 @@ public interface BatchGetDocumentsRequestOrBuilder extends
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -200,5 +261,6 @@ public interface BatchGetDocumentsRequestOrBuilder extends
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
index 837a78329..f00c5a233 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The streamed response for
  * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
@@ -11,53 +28,58 @@
  *
  * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse}
  */
-public final class BatchGetDocumentsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchGetDocumentsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchGetDocumentsResponse)
     BatchGetDocumentsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchGetDocumentsResponse.newBuilder() to construct.
   private BatchGetDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchGetDocumentsResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchGetDocumentsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BatchGetDocumentsResponse.class, com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class);
+            com.google.firestore.v1.BatchGetDocumentsResponse.class,
+            com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class);
   }
 
   private int resultCase_ = 0;
   private java.lang.Object result_;
+
   public enum ResultCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     FOUND(1),
     MISSING(2),
     RESULT_NOT_SET(0);
     private final int value;
+
     private ResultCase(int value) {
       this.value = value;
     }
@@ -73,30 +95,36 @@ public static ResultCase valueOf(int value) {
 
     public static ResultCase forNumber(int value) {
       switch (value) {
-        case 1: return FOUND;
-        case 2: return MISSING;
-        case 0: return RESULT_NOT_SET;
-        default: return null;
+        case 1:
+          return FOUND;
+        case 2:
+          return MISSING;
+        case 0:
+          return RESULT_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ResultCase
-  getResultCase() {
-    return ResultCase.forNumber(
-        resultCase_);
+  public ResultCase getResultCase() {
+    return ResultCase.forNumber(resultCase_);
   }
 
   public static final int FOUND_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; + * * @return Whether the found field is set. */ @java.lang.Override @@ -104,21 +132,26 @@ public boolean hasFound() { return resultCase_ == 1; } /** + * + * *
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; + * * @return The found. */ @java.lang.Override public com.google.firestore.v1.Document getFound() { if (resultCase_ == 1) { - return (com.google.firestore.v1.Document) result_; + return (com.google.firestore.v1.Document) result_; } return com.google.firestore.v1.Document.getDefaultInstance(); } /** + * + * *
    * A document that was requested.
    * 
@@ -128,31 +161,37 @@ public com.google.firestore.v1.Document getFound() { @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { if (resultCase_ == 1) { - return (com.google.firestore.v1.Document) result_; + return (com.google.firestore.v1.Document) result_; } return com.google.firestore.v1.Document.getDefaultInstance(); } public static final int MISSING_FIELD_NUMBER = 2; /** + * + * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; + * * @return Whether the missing field is set. */ public boolean hasMissing() { return resultCase_ == 2; } /** + * + * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; + * * @return The missing. */ public java.lang.String getMissing() { @@ -163,8 +202,7 @@ public java.lang.String getMissing() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (resultCase_ == 2) { result_ = s; @@ -173,24 +211,25 @@ public java.lang.String getMissing() { } } /** + * + * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; + * * @return The bytes for missing. */ - public com.google.protobuf.ByteString - getMissingBytes() { + public com.google.protobuf.ByteString getMissingBytes() { java.lang.Object ref = ""; if (resultCase_ == 2) { ref = result_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (resultCase_ == 2) { result_ = b; } @@ -203,6 +242,8 @@ public java.lang.String getMissing() { public static final int TRANSACTION_FIELD_NUMBER = 3; private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * The transaction that was started as part of this request.
    * Will only be set in the first response, and only if
@@ -211,6 +252,7 @@ public java.lang.String getMissing() {
    * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -221,6 +263,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -229,6 +273,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -236,6 +281,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -244,6 +291,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -251,6 +299,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -266,6 +316,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -277,8 +328,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (resultCase_ == 1) {
       output.writeMessage(1, (com.google.firestore.v1.Document) result_);
     }
@@ -301,19 +351,18 @@ public int getSerializedSize() {
 
     size = 0;
     if (resultCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.firestore.v1.Document) result_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.firestore.v1.Document) result_);
     }
     if (resultCase_ == 2) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, result_);
     }
     if (!transaction_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(3, transaction_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, transaction_);
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -323,29 +372,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.BatchGetDocumentsResponse)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.BatchGetDocumentsResponse other = (com.google.firestore.v1.BatchGetDocumentsResponse) obj;
+    com.google.firestore.v1.BatchGetDocumentsResponse other =
+        (com.google.firestore.v1.BatchGetDocumentsResponse) obj;
 
-    if (!getTransaction()
-        .equals(other.getTransaction())) return false;
+    if (!getTransaction().equals(other.getTransaction())) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime()
-          .equals(other.getReadTime())) return false;
+      if (!getReadTime().equals(other.getReadTime())) return false;
     }
     if (!getResultCase().equals(other.getResultCase())) return false;
     switch (resultCase_) {
       case 1:
-        if (!getFound()
-            .equals(other.getFound())) return false;
+        if (!getFound().equals(other.getFound())) return false;
         break;
       case 2:
-        if (!getMissing()
-            .equals(other.getMissing())) return false;
+        if (!getMissing().equals(other.getMissing())) return false;
         break;
       case 0:
       default:
@@ -385,96 +431,103 @@ public int hashCode() {
   }
 
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.BatchGetDocumentsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.BatchGetDocumentsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BatchGetDocumentsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.BatchGetDocumentsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The streamed response for
    * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
@@ -482,33 +535,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchGetDocumentsResponse)
       com.google.firestore.v1.BatchGetDocumentsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BatchGetDocumentsResponse.class, com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class);
+              com.google.firestore.v1.BatchGetDocumentsResponse.class,
+              com.google.firestore.v1.BatchGetDocumentsResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BatchGetDocumentsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -528,9 +580,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -549,8 +601,11 @@ public com.google.firestore.v1.BatchGetDocumentsResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BatchGetDocumentsResponse buildPartial() {
-      com.google.firestore.v1.BatchGetDocumentsResponse result = new com.google.firestore.v1.BatchGetDocumentsResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.BatchGetDocumentsResponse result =
+          new com.google.firestore.v1.BatchGetDocumentsResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -562,17 +617,14 @@ private void buildPartial0(com.google.firestore.v1.BatchGetDocumentsResponse res
         result.transaction_ = transaction_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null
-            ? readTime_
-            : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.firestore.v1.BatchGetDocumentsResponse result) {
       result.resultCase_ = resultCase_;
       result.result_ = this.result_;
-      if (resultCase_ == 1 &&
-          foundBuilder_ != null) {
+      if (resultCase_ == 1 && foundBuilder_ != null) {
         result.result_ = foundBuilder_.build();
       }
     }
@@ -581,38 +633,39 @@ private void buildPartialOneofs(com.google.firestore.v1.BatchGetDocumentsRespons
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BatchGetDocumentsResponse) {
-        return mergeFrom((com.google.firestore.v1.BatchGetDocumentsResponse)other);
+        return mergeFrom((com.google.firestore.v1.BatchGetDocumentsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -620,7 +673,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsResponse other) {
-      if (other == com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance()) return this;
+      if (other == com.google.firestore.v1.BatchGetDocumentsResponse.getDefaultInstance())
+        return this;
       if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) {
         setTransaction(other.getTransaction());
       }
@@ -628,19 +682,22 @@ public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsResponse other
         mergeReadTime(other.getReadTime());
       }
       switch (other.getResultCase()) {
-        case FOUND: {
-          mergeFound(other.getFound());
-          break;
-        }
-        case MISSING: {
-          resultCase_ = 2;
-          result_ = other.result_;
-          onChanged();
-          break;
-        }
-        case RESULT_NOT_SET: {
-          break;
-        }
+        case FOUND:
+          {
+            mergeFound(other.getFound());
+            break;
+          }
+        case MISSING:
+          {
+            resultCase_ = 2;
+            result_ = other.result_;
+            onChanged();
+            break;
+          }
+        case RESULT_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -668,37 +725,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getFoundFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              resultCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              resultCase_ = 2;
-              result_ = s;
-              break;
-            } // case 18
-            case 26: {
-              transaction_ = input.readBytes();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getFoundFieldBuilder().getBuilder(), extensionRegistry);
+                resultCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                resultCase_ = 2;
+                result_ = s;
+                break;
+              } // case 18
+            case 26:
+              {
+                transaction_ = input.readBytes();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -708,12 +766,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int resultCase_ = 0;
     private java.lang.Object result_;
-    public ResultCase
-        getResultCase() {
-      return ResultCase.forNumber(
-          resultCase_);
+
+    public ResultCase getResultCase() {
+      return ResultCase.forNumber(resultCase_);
     }
 
     public Builder clearResult() {
@@ -726,13 +784,19 @@ public Builder clearResult() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> foundBuilder_;
+            com.google.firestore.v1.Document,
+            com.google.firestore.v1.Document.Builder,
+            com.google.firestore.v1.DocumentOrBuilder>
+        foundBuilder_;
     /**
+     *
+     *
      * 
      * A document that was requested.
      * 
* * .google.firestore.v1.Document found = 1; + * * @return Whether the found field is set. */ @java.lang.Override @@ -740,11 +804,14 @@ public boolean hasFound() { return resultCase_ == 1; } /** + * + * *
      * A document that was requested.
      * 
* * .google.firestore.v1.Document found = 1; + * * @return The found. */ @java.lang.Override @@ -762,6 +829,8 @@ public com.google.firestore.v1.Document getFound() { } } /** + * + * *
      * A document that was requested.
      * 
@@ -782,14 +851,15 @@ public Builder setFound(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A document that was requested.
      * 
* * .google.firestore.v1.Document found = 1; */ - public Builder setFound( - com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setFound(com.google.firestore.v1.Document.Builder builderForValue) { if (foundBuilder_ == null) { result_ = builderForValue.build(); onChanged(); @@ -800,6 +870,8 @@ public Builder setFound( return this; } /** + * + * *
      * A document that was requested.
      * 
@@ -808,10 +880,12 @@ public Builder setFound( */ public Builder mergeFound(com.google.firestore.v1.Document value) { if (foundBuilder_ == null) { - if (resultCase_ == 1 && - result_ != com.google.firestore.v1.Document.getDefaultInstance()) { - result_ = com.google.firestore.v1.Document.newBuilder((com.google.firestore.v1.Document) result_) - .mergeFrom(value).buildPartial(); + if (resultCase_ == 1 && result_ != com.google.firestore.v1.Document.getDefaultInstance()) { + result_ = + com.google.firestore.v1.Document.newBuilder( + (com.google.firestore.v1.Document) result_) + .mergeFrom(value) + .buildPartial(); } else { result_ = value; } @@ -827,6 +901,8 @@ public Builder mergeFound(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A document that was requested.
      * 
@@ -850,6 +926,8 @@ public Builder clearFound() { return this; } /** + * + * *
      * A document that was requested.
      * 
@@ -860,6 +938,8 @@ public com.google.firestore.v1.Document.Builder getFoundBuilder() { return getFoundFieldBuilder().getBuilder(); } /** + * + * *
      * A document that was requested.
      * 
@@ -878,6 +958,8 @@ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { } } /** + * + * *
      * A document that was requested.
      * 
@@ -885,17 +967,20 @@ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { * .google.firestore.v1.Document found = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> getFoundFieldBuilder() { if (foundBuilder_ == null) { if (!(resultCase_ == 1)) { result_ = com.google.firestore.v1.Document.getDefaultInstance(); } - foundBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( - (com.google.firestore.v1.Document) result_, - getParentForChildren(), - isClean()); + foundBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + (com.google.firestore.v1.Document) result_, getParentForChildren(), isClean()); result_ = null; } resultCase_ = 1; @@ -904,12 +989,15 @@ public com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder() { } /** + * + * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; + * * @return Whether the missing field is set. */ @java.lang.Override @@ -917,12 +1005,15 @@ public boolean hasMissing() { return resultCase_ == 2; } /** + * + * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; + * * @return The missing. */ @java.lang.Override @@ -932,8 +1023,7 @@ public java.lang.String getMissing() { ref = result_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (resultCase_ == 2) { result_ = s; @@ -944,25 +1034,26 @@ public java.lang.String getMissing() { } } /** + * + * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; + * * @return The bytes for missing. */ @java.lang.Override - public com.google.protobuf.ByteString - getMissingBytes() { + public com.google.protobuf.ByteString getMissingBytes() { java.lang.Object ref = ""; if (resultCase_ == 2) { ref = result_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (resultCase_ == 2) { result_ = b; } @@ -972,30 +1063,37 @@ public java.lang.String getMissing() { } } /** + * + * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; + * * @param value The missing to set. * @return This builder for chaining. */ - public Builder setMissing( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMissing(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } resultCase_ = 2; result_ = value; onChanged(); return this; } /** + * + * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; + * * @return This builder for chaining. */ public Builder clearMissing() { @@ -1007,18 +1105,22 @@ public Builder clearMissing() { return this; } /** + * + * *
      * A document name that was requested but does not exist. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string missing = 2; + * * @param value The bytes for missing to set. * @return This builder for chaining. */ - public Builder setMissingBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setMissingBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); resultCase_ = 2; result_ = value; @@ -1028,6 +1130,8 @@ public Builder setMissingBytes( private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The transaction that was started as part of this request.
      * Will only be set in the first response, and only if
@@ -1036,6 +1140,7 @@ public Builder setMissingBytes(
      * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -1043,6 +1148,8 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * The transaction that was started as part of this request.
      * Will only be set in the first response, and only if
@@ -1051,17 +1158,22 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 3; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The transaction that was started as part of this request.
      * Will only be set in the first response, and only if
@@ -1070,6 +1182,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 3; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1081,8 +1194,13 @@ public Builder clearTransaction() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1091,12 +1209,15 @@ public Builder clearTransaction() {
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1105,6 +1226,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1115,6 +1237,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1138,6 +1262,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1147,8 +1273,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -1159,6 +1284,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1170,9 +1297,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1185,6 +1312,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1205,6 +1334,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1220,6 +1351,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1233,11 +1366,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read.
      * This may be monotically increasing, in this case the previous documents in
@@ -1248,21 +1382,24 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(),
-                getParentForChildren(),
-                isClean());
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(), getParentForChildren(), isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1272,12 +1409,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchGetDocumentsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchGetDocumentsResponse)
   private static final com.google.firestore.v1.BatchGetDocumentsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.BatchGetDocumentsResponse();
   }
@@ -1286,27 +1423,27 @@ public static com.google.firestore.v1.BatchGetDocumentsResponse getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchGetDocumentsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchGetDocumentsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1321,6 +1458,4 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.firestore.v1.BatchGetDocumentsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
index 6a52a517f..fceb027e3 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchGetDocumentsResponseOrBuilder extends
+public interface BatchGetDocumentsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchGetDocumentsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; + * * @return Whether the found field is set. */ boolean hasFound(); /** + * + * *
    * A document that was requested.
    * 
* * .google.firestore.v1.Document found = 1; + * * @return The found. */ com.google.firestore.v1.Document getFound(); /** + * + * *
    * A document that was requested.
    * 
@@ -35,38 +59,48 @@ public interface BatchGetDocumentsResponseOrBuilder extends com.google.firestore.v1.DocumentOrBuilder getFoundOrBuilder(); /** + * + * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; + * * @return Whether the missing field is set. */ boolean hasMissing(); /** + * + * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; + * * @return The missing. */ java.lang.String getMissing(); /** + * + * *
    * A document name that was requested but does not exist. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string missing = 2; + * * @return The bytes for missing. */ - com.google.protobuf.ByteString - getMissingBytes(); + com.google.protobuf.ByteString getMissingBytes(); /** + * + * *
    * The transaction that was started as part of this request.
    * Will only be set in the first response, and only if
@@ -75,11 +109,14 @@ public interface BatchGetDocumentsResponseOrBuilder extends
    * 
* * bytes transaction = 3; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -88,10 +125,13 @@ public interface BatchGetDocumentsResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
@@ -100,10 +140,13 @@ public interface BatchGetDocumentsResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The time at which the document was read.
    * This may be monotically increasing, in this case the previous documents in
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
index 4d3ad7649..172294171 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The request for
  * [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.v1.BatchWriteRequest}
  */
-public final class BatchWriteRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchWriteRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchWriteRequest)
     BatchWriteRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchWriteRequest.newBuilder() to construct.
   private BatchWriteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchWriteRequest() {
     database_ = "";
     writes_ = java.util.Collections.emptyList();
@@ -27,51 +45,55 @@ private BatchWriteRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchWriteRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BatchWriteRequest.class, com.google.firestore.v1.BatchWriteRequest.Builder.class);
+            com.google.firestore.v1.BatchWriteRequest.class,
+            com.google.firestore.v1.BatchWriteRequest.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
+   *
+   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ @java.lang.Override @@ -80,30 +102,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -112,9 +134,12 @@ public java.lang.String getDatabase() { } public static final int WRITES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List writes_; /** + * + * *
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -129,6 +154,8 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -139,11 +166,12 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public java.util.List 
-      getWritesOrBuilderList() {
+  public java.util.List getWritesOrBuilderList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -158,6 +186,8 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -172,6 +202,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -182,38 +214,39 @@ public com.google.firestore.v1.Write getWrites(int index) {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-      int index) {
+  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
     return writes_.get(index);
   }
 
   public static final int LABELS_FIELD_NUMBER = 3;
+
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.firestore.v1.FirestoreProto
+                .internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
+
   public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this batch write.
    * 
@@ -221,20 +254,21 @@ public int getLabelsCount() { * map<string, string> labels = 3; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels associated with this batch write.
    * 
@@ -246,6 +280,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this batch write.
    * 
@@ -253,17 +289,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels associated with this batch write.
    * 
@@ -271,11 +309,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 3; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -283,6 +321,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,20 +333,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } for (int i = 0; i < writes_.size(); i++) { output.writeMessage(2, writes_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3); getUnknownFields().writeTo(output); } @@ -321,18 +355,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } for (int i = 0; i < writes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, writes_.get(i)); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, writes_.get(i)); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, labels__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -342,19 +375,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.BatchWriteRequest)) { return super.equals(obj); } - com.google.firestore.v1.BatchWriteRequest other = (com.google.firestore.v1.BatchWriteRequest) obj; + com.google.firestore.v1.BatchWriteRequest other = + (com.google.firestore.v1.BatchWriteRequest) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (!getWritesList() - .equals(other.getWritesList())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; + if (!getWritesList().equals(other.getWritesList())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -381,97 +412,104 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.BatchWriteRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.BatchWriteRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BatchWriteRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.BatchWriteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BatchWriteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.BatchWriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BatchWriteRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.BatchWriteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.BatchWriteRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.BatchWriteRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.BatchWriteRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.BatchWriteRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.BatchWriteRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.BatchWriteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.BatchWriteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for
    * [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
@@ -479,55 +517,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.BatchWriteRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchWriteRequest)
       com.google.firestore.v1.BatchWriteRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BatchWriteRequest.class, com.google.firestore.v1.BatchWriteRequest.Builder.class);
+              com.google.firestore.v1.BatchWriteRequest.class,
+              com.google.firestore.v1.BatchWriteRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BatchWriteRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -545,9 +580,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
     }
 
     @java.lang.Override
@@ -566,9 +601,12 @@ public com.google.firestore.v1.BatchWriteRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BatchWriteRequest buildPartial() {
-      com.google.firestore.v1.BatchWriteRequest result = new com.google.firestore.v1.BatchWriteRequest(this);
+      com.google.firestore.v1.BatchWriteRequest result =
+          new com.google.firestore.v1.BatchWriteRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -600,38 +638,39 @@ private void buildPartial0(com.google.firestore.v1.BatchWriteRequest result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BatchWriteRequest) {
-        return mergeFrom((com.google.firestore.v1.BatchWriteRequest)other);
+        return mergeFrom((com.google.firestore.v1.BatchWriteRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -663,16 +702,16 @@ public Builder mergeFrom(com.google.firestore.v1.BatchWriteRequest other) {
             writesBuilder_ = null;
             writes_ = other.writes_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            writesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getWritesFieldBuilder() : null;
+            writesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getWritesFieldBuilder()
+                    : null;
           } else {
             writesBuilder_.addAllMessages(other.writes_);
           }
         }
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000004;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -700,39 +739,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.firestore.v1.Write m =
-                  input.readMessage(
-                      com.google.firestore.v1.Write.parser(),
-                      extensionRegistry);
-              if (writesBuilder_ == null) {
-                ensureWritesIsMutable();
-                writes_.add(m);
-              } else {
-                writesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                database_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.firestore.v1.Write m =
+                    input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry);
+                if (writesBuilder_ == null) {
+                  ensureWritesIsMutable();
+                  writes_.add(m);
+                } else {
+                  writesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -742,23 +785,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
+     *
+     *
      * 
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -767,21 +813,22 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -789,30 +836,37 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -822,18 +876,22 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -842,18 +900,24 @@ public Builder setDatabaseBytes( } private java.util.List writes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder> + writesBuilder_; /** + * + * *
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -871,6 +935,8 @@ public java.util.List getWritesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -888,6 +954,8 @@ public int getWritesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -905,6 +973,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -914,8 +984,7 @@ public com.google.firestore.v1.Write getWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(
-        int index, com.google.firestore.v1.Write value) {
+    public Builder setWrites(int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -929,6 +998,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -938,8 +1009,7 @@ public Builder setWrites(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(
-        int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.set(index, builderForValue.build());
@@ -950,6 +1020,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -973,6 +1045,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -982,8 +1056,7 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(
-        int index, com.google.firestore.v1.Write value) {
+    public Builder addWrites(int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -997,6 +1070,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1006,8 +1081,7 @@ public Builder addWrites(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(
-        com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(builderForValue.build());
@@ -1018,6 +1092,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1027,8 +1103,7 @@ public Builder addWrites(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(
-        int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(index, builderForValue.build());
@@ -1039,6 +1114,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1052,8 +1129,7 @@ public Builder addAllWrites(
         java.lang.Iterable values) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, writes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_);
         onChanged();
       } else {
         writesBuilder_.addAllMessages(values);
@@ -1061,6 +1137,8 @@ public Builder addAllWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1081,6 +1159,8 @@ public Builder clearWrites() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1101,6 +1181,8 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1110,11 +1192,12 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(
-        int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1124,14 +1207,16 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);  } else {
+        return writes_.get(index);
+      } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1141,8 +1226,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List 
-         getWritesOrBuilderList() {
+    public java.util.List
+        getWritesOrBuilderList() {
       if (writesBuilder_ != null) {
         return writesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1150,6 +1235,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1160,10 +1247,11 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
      * repeated .google.firestore.v1.Write writes = 2;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(
-          com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1173,12 +1261,13 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(
-        int index) {
-      return getWritesFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
+      return getWritesFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Method does not apply writes atomically and does not guarantee ordering.
@@ -1188,40 +1277,40 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List 
-         getWritesBuilderList() {
+    public java.util.List getWritesBuilderList() {
       return getWritesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> 
+            com.google.firestore.v1.Write,
+            com.google.firestore.v1.Write.Builder,
+            com.google.firestore.v1.WriteOrBuilder>
         getWritesFieldBuilder() {
       if (writesBuilder_ == null) {
-        writesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder>(
-                writes_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        writesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.Write,
+                com.google.firestore.v1.Write.Builder,
+                com.google.firestore.v1.WriteOrBuilder>(
+                writes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         writes_ = null;
       }
       return writesBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-        internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
         internalGetMutableLabels() {
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -1230,10 +1319,13 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(
       onChanged();
       return labels_;
     }
+
     public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this batch write.
      * 
@@ -1241,20 +1333,21 @@ public int getLabelsCount() { * map<string, string> labels = 3; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels associated with this batch write.
      * 
@@ -1266,6 +1359,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this batch write.
      * 
@@ -1273,17 +1368,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels associated with this batch write.
      * 
@@ -1291,79 +1388,81 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 3; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000004); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels associated with this batch write.
      * 
* * map<string, string> labels = 3; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000004; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels associated with this batch write.
      * 
* * map<string, string> labels = 3; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000004; return this; } /** + * + * *
      * Labels associated with this batch write.
      * 
* * map<string, string> labels = 3; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000004; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1373,12 +1472,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchWriteRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchWriteRequest) private static final com.google.firestore.v1.BatchWriteRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.BatchWriteRequest(); } @@ -1387,27 +1486,27 @@ public static com.google.firestore.v1.BatchWriteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchWriteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchWriteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1422,6 +1521,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.BatchWriteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java index 95ea5ab91..937b46657 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface BatchWriteRequestOrBuilder extends +public interface BatchWriteRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchWriteRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -39,9 +62,10 @@ public interface BatchWriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesList();
+  java.util.List getWritesList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -53,6 +77,8 @@ public interface BatchWriteRequestOrBuilder extends
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -64,6 +90,8 @@ public interface BatchWriteRequestOrBuilder extends
    */
   int getWritesCount();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -73,9 +101,10 @@ public interface BatchWriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesOrBuilderList();
+  java.util.List getWritesOrBuilderList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Method does not apply writes atomically and does not guarantee ordering.
@@ -85,10 +114,11 @@ public interface BatchWriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Labels associated with this batch write.
    * 
@@ -97,30 +127,31 @@ com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder( */ int getLabelsCount(); /** + * + * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels associated with this batch write.
    * 
@@ -128,17 +159,18 @@ boolean containsLabels( * map<string, string> labels = 3; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels associated with this batch write.
    * 
* * map<string, string> labels = 3; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java index e16824a80..4ca4c0a12 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The response from
  * [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.v1.BatchWriteResponse}
  */
-public final class BatchWriteResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchWriteResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BatchWriteResponse)
     BatchWriteResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchWriteResponse.newBuilder() to construct.
   private BatchWriteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchWriteResponse() {
     writeResults_ = java.util.Collections.emptyList();
     status_ = java.util.Collections.emptyList();
@@ -27,33 +45,37 @@ private BatchWriteResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchWriteResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BatchWriteResponse.class, com.google.firestore.v1.BatchWriteResponse.Builder.class);
+            com.google.firestore.v1.BatchWriteResponse.class,
+            com.google.firestore.v1.BatchWriteResponse.Builder.class);
   }
 
   public static final int WRITE_RESULTS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List writeResults_;
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -67,6 +89,8 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -76,11 +100,13 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -94,6 +120,8 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -107,6 +135,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -116,15 +146,17 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-      int index) {
+  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
     return writeResults_.get(index);
   }
 
   public static final int STATUS_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List status_;
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -138,6 +170,8 @@ public java.util.List getStatusList() {
     return status_;
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -147,11 +181,12 @@ public java.util.List getStatusList() {
    * repeated .google.rpc.Status status = 2;
    */
   @java.lang.Override
-  public java.util.List 
-      getStatusOrBuilderList() {
+  public java.util.List getStatusOrBuilderList() {
     return status_;
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -165,6 +200,8 @@ public int getStatusCount() {
     return status_.size();
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -178,6 +215,8 @@ public com.google.rpc.Status getStatus(int index) {
     return status_.get(index);
   }
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -187,12 +226,12 @@ public com.google.rpc.Status getStatus(int index) {
    * repeated .google.rpc.Status status = 2;
    */
   @java.lang.Override
-  public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
-      int index) {
+  public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index) {
     return status_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -204,8 +243,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < writeResults_.size(); i++) {
       output.writeMessage(1, writeResults_.get(i));
     }
@@ -222,12 +260,10 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < writeResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, writeResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, writeResults_.get(i));
     }
     for (int i = 0; i < status_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, status_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, status_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -237,17 +273,16 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.BatchWriteResponse)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.BatchWriteResponse other = (com.google.firestore.v1.BatchWriteResponse) obj;
+    com.google.firestore.v1.BatchWriteResponse other =
+        (com.google.firestore.v1.BatchWriteResponse) obj;
 
-    if (!getWriteResultsList()
-        .equals(other.getWriteResultsList())) return false;
-    if (!getStatusList()
-        .equals(other.getStatusList())) return false;
+    if (!getWriteResultsList().equals(other.getWriteResultsList())) return false;
+    if (!getStatusList().equals(other.getStatusList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -272,97 +307,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.BatchWriteResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.BatchWriteResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.BatchWriteResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.BatchWriteResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BatchWriteResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BatchWriteResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.BatchWriteResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The response from
    * [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
@@ -370,33 +412,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.BatchWriteResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BatchWriteResponse)
       com.google.firestore.v1.BatchWriteResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BatchWriteResponse.class, com.google.firestore.v1.BatchWriteResponse.Builder.class);
+              com.google.firestore.v1.BatchWriteResponse.class,
+              com.google.firestore.v1.BatchWriteResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BatchWriteResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -419,9 +460,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
     }
 
     @java.lang.Override
@@ -440,9 +481,12 @@ public com.google.firestore.v1.BatchWriteResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BatchWriteResponse buildPartial() {
-      com.google.firestore.v1.BatchWriteResponse result = new com.google.firestore.v1.BatchWriteResponse(this);
+      com.google.firestore.v1.BatchWriteResponse result =
+          new com.google.firestore.v1.BatchWriteResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -476,38 +520,39 @@ private void buildPartial0(com.google.firestore.v1.BatchWriteResponse result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BatchWriteResponse) {
-        return mergeFrom((com.google.firestore.v1.BatchWriteResponse)other);
+        return mergeFrom((com.google.firestore.v1.BatchWriteResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -534,9 +579,10 @@ public Builder mergeFrom(com.google.firestore.v1.BatchWriteResponse other) {
             writeResultsBuilder_ = null;
             writeResults_ = other.writeResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            writeResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getWriteResultsFieldBuilder() : null;
+            writeResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getWriteResultsFieldBuilder()
+                    : null;
           } else {
             writeResultsBuilder_.addAllMessages(other.writeResults_);
           }
@@ -560,9 +606,10 @@ public Builder mergeFrom(com.google.firestore.v1.BatchWriteResponse other) {
             statusBuilder_ = null;
             status_ = other.status_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            statusBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getStatusFieldBuilder() : null;
+            statusBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getStatusFieldBuilder()
+                    : null;
           } else {
             statusBuilder_.addAllMessages(other.status_);
           }
@@ -594,38 +641,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.firestore.v1.WriteResult m =
-                  input.readMessage(
-                      com.google.firestore.v1.WriteResult.parser(),
-                      extensionRegistry);
-              if (writeResultsBuilder_ == null) {
-                ensureWriteResultsIsMutable();
-                writeResults_.add(m);
-              } else {
-                writeResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              com.google.rpc.Status m =
-                  input.readMessage(
-                      com.google.rpc.Status.parser(),
-                      extensionRegistry);
-              if (statusBuilder_ == null) {
-                ensureStatusIsMutable();
-                status_.add(m);
-              } else {
-                statusBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.firestore.v1.WriteResult m =
+                    input.readMessage(
+                        com.google.firestore.v1.WriteResult.parser(), extensionRegistry);
+                if (writeResultsBuilder_ == null) {
+                  ensureWriteResultsIsMutable();
+                  writeResults_.add(m);
+                } else {
+                  writeResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.rpc.Status m =
+                    input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+                if (statusBuilder_ == null) {
+                  ensureStatusIsMutable();
+                  status_.add(m);
+                } else {
+                  statusBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -635,21 +682,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List writeResults_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureWriteResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         writeResults_ = new java.util.ArrayList(writeResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_;
+            com.google.firestore.v1.WriteResult,
+            com.google.firestore.v1.WriteResult.Builder,
+            com.google.firestore.v1.WriteResultOrBuilder>
+        writeResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -666,6 +720,8 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -682,6 +738,8 @@ public int getWriteResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -698,6 +756,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -706,8 +766,7 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder setWriteResults(
-        int index, com.google.firestore.v1.WriteResult value) {
+    public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -721,6 +780,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -741,6 +802,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -763,6 +826,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -771,8 +836,7 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(
-        int index, com.google.firestore.v1.WriteResult value) {
+    public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -786,6 +850,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -794,8 +860,7 @@ public Builder addWriteResults(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(
-        com.google.firestore.v1.WriteResult.Builder builderForValue) {
+    public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
         writeResults_.add(builderForValue.build());
@@ -806,6 +871,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -826,6 +893,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -838,8 +907,7 @@ public Builder addAllWriteResults(
         java.lang.Iterable values) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, writeResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_);
         onChanged();
       } else {
         writeResultsBuilder_.addAllMessages(values);
@@ -847,6 +915,8 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -866,6 +936,8 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -885,6 +957,8 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -893,11 +967,12 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -906,14 +981,16 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);  } else {
+        return writeResults_.get(index);
+      } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -922,8 +999,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List 
-         getWriteResultsOrBuilderList() {
+    public java.util.List
+        getWriteResultsOrBuilderList() {
       if (writeResultsBuilder_ != null) {
         return writeResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -931,6 +1008,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -940,10 +1019,12 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder().addBuilder(
-          com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder()
+          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -952,12 +1033,13 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
-        int index) {
-      return getWriteResultsFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
+      return getWriteResultsFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -966,38 +1048,44 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List 
-         getWriteResultsBuilderList() {
+    public java.util.List
+        getWriteResultsBuilderList() {
       return getWriteResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> 
+            com.google.firestore.v1.WriteResult,
+            com.google.firestore.v1.WriteResult.Builder,
+            com.google.firestore.v1.WriteResultOrBuilder>
         getWriteResultsFieldBuilder() {
       if (writeResultsBuilder_ == null) {
-        writeResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder>(
-                writeResults_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        writeResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.WriteResult,
+                com.google.firestore.v1.WriteResult.Builder,
+                com.google.firestore.v1.WriteResultOrBuilder>(
+                writeResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         writeResults_ = null;
       }
       return writeResultsBuilder_;
     }
 
-    private java.util.List status_ =
-      java.util.Collections.emptyList();
+    private java.util.List status_ = java.util.Collections.emptyList();
+
     private void ensureStatusIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         status_ = new java.util.ArrayList(status_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        statusBuilder_;
 
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1014,6 +1102,8 @@ public java.util.List getStatusList() {
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1030,6 +1120,8 @@ public int getStatusCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1046,6 +1138,8 @@ public com.google.rpc.Status getStatus(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1054,8 +1148,7 @@ public com.google.rpc.Status getStatus(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder setStatus(
-        int index, com.google.rpc.Status value) {
+    public Builder setStatus(int index, com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1069,6 +1162,8 @@ public Builder setStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1077,8 +1172,7 @@ public Builder setStatus(
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder setStatus(
-        int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(int index, com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
         status_.set(index, builderForValue.build());
@@ -1089,6 +1183,8 @@ public Builder setStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1111,6 +1207,8 @@ public Builder addStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1119,8 +1217,7 @@ public Builder addStatus(com.google.rpc.Status value) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addStatus(
-        int index, com.google.rpc.Status value) {
+    public Builder addStatus(int index, com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1134,6 +1231,8 @@ public Builder addStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1142,8 +1241,7 @@ public Builder addStatus(
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder addStatus(com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
         status_.add(builderForValue.build());
@@ -1154,6 +1252,8 @@ public Builder addStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1162,8 +1262,7 @@ public Builder addStatus(
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addStatus(
-        int index, com.google.rpc.Status.Builder builderForValue) {
+    public Builder addStatus(int index, com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
         status_.add(index, builderForValue.build());
@@ -1174,6 +1273,8 @@ public Builder addStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1182,12 +1283,10 @@ public Builder addStatus(
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public Builder addAllStatus(
-        java.lang.Iterable values) {
+    public Builder addAllStatus(java.lang.Iterable values) {
       if (statusBuilder_ == null) {
         ensureStatusIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, status_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, status_);
         onChanged();
       } else {
         statusBuilder_.addAllMessages(values);
@@ -1195,6 +1294,8 @@ public Builder addAllStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1214,6 +1315,8 @@ public Builder clearStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1233,6 +1336,8 @@ public Builder removeStatus(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1241,11 +1346,12 @@ public Builder removeStatus(int index) {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.Status.Builder getStatusBuilder(
-        int index) {
+    public com.google.rpc.Status.Builder getStatusBuilder(int index) {
       return getStatusFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1254,14 +1360,16 @@ public com.google.rpc.Status.Builder getStatusBuilder(
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
-        int index) {
+    public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index) {
       if (statusBuilder_ == null) {
-        return status_.get(index);  } else {
+        return status_.get(index);
+      } else {
         return statusBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1270,8 +1378,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public java.util.List 
-         getStatusOrBuilderList() {
+    public java.util.List getStatusOrBuilderList() {
       if (statusBuilder_ != null) {
         return statusBuilder_.getMessageOrBuilderList();
       } else {
@@ -1279,6 +1386,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1288,10 +1397,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder(
      * repeated .google.rpc.Status status = 2;
      */
     public com.google.rpc.Status.Builder addStatusBuilder() {
-      return getStatusFieldBuilder().addBuilder(
-          com.google.rpc.Status.getDefaultInstance());
+      return getStatusFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1300,12 +1410,12 @@ public com.google.rpc.Status.Builder addStatusBuilder() {
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public com.google.rpc.Status.Builder addStatusBuilder(
-        int index) {
-      return getStatusFieldBuilder().addBuilder(
-          index, com.google.rpc.Status.getDefaultInstance());
+    public com.google.rpc.Status.Builder addStatusBuilder(int index) {
+      return getStatusFieldBuilder().addBuilder(index, com.google.rpc.Status.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The status of applying the writes.
      * This i-th write status corresponds to the i-th write in the
@@ -1314,27 +1424,27 @@ public com.google.rpc.Status.Builder addStatusBuilder(
      *
      * repeated .google.rpc.Status status = 2;
      */
-    public java.util.List 
-         getStatusBuilderList() {
+    public java.util.List getStatusBuilderList() {
       return getStatusFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getStatusFieldBuilder() {
       if (statusBuilder_ == null) {
-        statusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                status_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        statusBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(
+                status_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         status_ = null;
       }
       return statusBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1344,12 +1454,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.BatchWriteResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.BatchWriteResponse)
   private static final com.google.firestore.v1.BatchWriteResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.BatchWriteResponse();
   }
@@ -1358,27 +1468,27 @@ public static com.google.firestore.v1.BatchWriteResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchWriteResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchWriteResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1393,6 +1503,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.BatchWriteResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
index 1d21849cf..ec5ff4d76 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BatchWriteResponseOrBuilder extends
+public interface BatchWriteResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BatchWriteResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -16,9 +34,10 @@ public interface BatchWriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List 
-      getWriteResultsList();
+  java.util.List getWriteResultsList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -29,6 +48,8 @@ public interface BatchWriteResponseOrBuilder extends
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -39,6 +60,8 @@ public interface BatchWriteResponseOrBuilder extends
    */
   int getWriteResultsCount();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -47,9 +70,11 @@ public interface BatchWriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List 
+  java.util.List
       getWriteResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -58,10 +83,11 @@ public interface BatchWriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -70,9 +96,10 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    *
    * repeated .google.rpc.Status status = 2;
    */
-  java.util.List 
-      getStatusList();
+  java.util.List getStatusList();
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -83,6 +110,8 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    */
   com.google.rpc.Status getStatus(int index);
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -93,6 +122,8 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    */
   int getStatusCount();
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -101,9 +132,10 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    *
    * repeated .google.rpc.Status status = 2;
    */
-  java.util.List 
-      getStatusOrBuilderList();
+  java.util.List getStatusOrBuilderList();
   /**
+   *
+   *
    * 
    * The status of applying the writes.
    * This i-th write status corresponds to the i-th write in the
@@ -112,6 +144,5 @@ com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
    *
    * repeated .google.rpc.Status status = 2;
    */
-  com.google.rpc.StatusOrBuilder getStatusOrBuilder(
-      int index);
+  com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
index 1b7d5cf4c..60ba89553 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The request for
  * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
@@ -11,54 +28,60 @@
  *
  * Protobuf type {@code google.firestore.v1.BeginTransactionRequest}
  */
-public final class BeginTransactionRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BeginTransactionRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionRequest)
     BeginTransactionRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BeginTransactionRequest.newBuilder() to construct.
   private BeginTransactionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BeginTransactionRequest() {
     database_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BeginTransactionRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BeginTransactionRequest.class, com.google.firestore.v1.BeginTransactionRequest.Builder.class);
+            com.google.firestore.v1.BeginTransactionRequest.class,
+            com.google.firestore.v1.BeginTransactionRequest.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
+   *
+   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ @java.lang.Override @@ -67,30 +90,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -101,12 +124,15 @@ public java.lang.String getDatabase() { public static final int OPTIONS_FIELD_NUMBER = 2; private com.google.firestore.v1.TransactionOptions options_; /** + * + * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; + * * @return Whether the options field is set. */ @java.lang.Override @@ -114,19 +140,26 @@ public boolean hasOptions() { return options_ != null; } /** + * + * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; + * * @return The options. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getOptions() { - return options_ == null ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() : options_; + return options_ == null + ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() + : options_; } /** + * + * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
@@ -136,10 +169,13 @@ public com.google.firestore.v1.TransactionOptions getOptions() {
    */
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder() {
-    return options_ == null ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() : options_;
+    return options_ == null
+        ? com.google.firestore.v1.TransactionOptions.getDefaultInstance()
+        : options_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -151,8 +187,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_);
     }
@@ -172,8 +207,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_);
     }
     if (options_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getOptions());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -183,19 +217,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.BeginTransactionRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.BeginTransactionRequest other = (com.google.firestore.v1.BeginTransactionRequest) obj;
+    com.google.firestore.v1.BeginTransactionRequest other =
+        (com.google.firestore.v1.BeginTransactionRequest) obj;
 
-    if (!getDatabase()
-        .equals(other.getDatabase())) return false;
+    if (!getDatabase().equals(other.getDatabase())) return false;
     if (hasOptions() != other.hasOptions()) return false;
     if (hasOptions()) {
-      if (!getOptions()
-          .equals(other.getOptions())) return false;
+      if (!getOptions().equals(other.getOptions())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -219,97 +252,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.BeginTransactionRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.BeginTransactionRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.BeginTransactionRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BeginTransactionRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.BeginTransactionRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.BeginTransactionRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for
    * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
@@ -317,33 +357,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.BeginTransactionRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BeginTransactionRequest)
       com.google.firestore.v1.BeginTransactionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BeginTransactionRequest.class, com.google.firestore.v1.BeginTransactionRequest.Builder.class);
+              com.google.firestore.v1.BeginTransactionRequest.class,
+              com.google.firestore.v1.BeginTransactionRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BeginTransactionRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -358,9 +397,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
     }
 
     @java.lang.Override
@@ -379,8 +418,11 @@ public com.google.firestore.v1.BeginTransactionRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BeginTransactionRequest buildPartial() {
-      com.google.firestore.v1.BeginTransactionRequest result = new com.google.firestore.v1.BeginTransactionRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.BeginTransactionRequest result =
+          new com.google.firestore.v1.BeginTransactionRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -391,9 +433,7 @@ private void buildPartial0(com.google.firestore.v1.BeginTransactionRequest resul
         result.database_ = database_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.options_ = optionsBuilder_ == null
-            ? options_
-            : optionsBuilder_.build();
+        result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build();
       }
     }
 
@@ -401,38 +441,39 @@ private void buildPartial0(com.google.firestore.v1.BeginTransactionRequest resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BeginTransactionRequest) {
-        return mergeFrom((com.google.firestore.v1.BeginTransactionRequest)other);
+        return mergeFrom((com.google.firestore.v1.BeginTransactionRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -440,7 +481,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.BeginTransactionRequest other) {
-      if (other == com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance()) return this;
+      if (other == com.google.firestore.v1.BeginTransactionRequest.getDefaultInstance())
+        return this;
       if (!other.getDatabase().isEmpty()) {
         database_ = other.database_;
         bitField0_ |= 0x00000001;
@@ -475,24 +517,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                database_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -502,23 +545,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
+     *
+     *
      * 
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -527,21 +573,22 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -549,30 +596,37 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -582,18 +636,22 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -603,36 +661,49 @@ public Builder setDatabaseBytes( private com.google.firestore.v1.TransactionOptions options_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> optionsBuilder_; + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + optionsBuilder_; /** + * + * *
      * The options for the transaction.
      * Defaults to a read-write transaction.
      * 
* * .google.firestore.v1.TransactionOptions options = 2; + * * @return Whether the options field is set. */ public boolean hasOptions() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The options for the transaction.
      * Defaults to a read-write transaction.
      * 
* * .google.firestore.v1.TransactionOptions options = 2; + * * @return The options. */ public com.google.firestore.v1.TransactionOptions getOptions() { if (optionsBuilder_ == null) { - return options_ == null ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() : options_; + return options_ == null + ? com.google.firestore.v1.TransactionOptions.getDefaultInstance() + : options_; } else { return optionsBuilder_.getMessage(); } } /** + * + * *
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -654,6 +725,8 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -661,8 +734,7 @@ public Builder setOptions(com.google.firestore.v1.TransactionOptions value) {
      *
      * .google.firestore.v1.TransactionOptions options = 2;
      */
-    public Builder setOptions(
-        com.google.firestore.v1.TransactionOptions.Builder builderForValue) {
+    public Builder setOptions(com.google.firestore.v1.TransactionOptions.Builder builderForValue) {
       if (optionsBuilder_ == null) {
         options_ = builderForValue.build();
       } else {
@@ -673,6 +745,8 @@ public Builder setOptions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -682,9 +756,9 @@ public Builder setOptions(
      */
     public Builder mergeOptions(com.google.firestore.v1.TransactionOptions value) {
       if (optionsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          options_ != null &&
-          options_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && options_ != null
+            && options_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
           getOptionsBuilder().mergeFrom(value);
         } else {
           options_ = value;
@@ -697,6 +771,8 @@ public Builder mergeOptions(com.google.firestore.v1.TransactionOptions value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -715,6 +791,8 @@ public Builder clearOptions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -728,6 +806,8 @@ public com.google.firestore.v1.TransactionOptions.Builder getOptionsBuilder() {
       return getOptionsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -739,11 +819,14 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder()
       if (optionsBuilder_ != null) {
         return optionsBuilder_.getMessageOrBuilder();
       } else {
-        return options_ == null ?
-            com.google.firestore.v1.TransactionOptions.getDefaultInstance() : options_;
+        return options_ == null
+            ? com.google.firestore.v1.TransactionOptions.getDefaultInstance()
+            : options_;
       }
     }
     /**
+     *
+     *
      * 
      * The options for the transaction.
      * Defaults to a read-write transaction.
@@ -752,21 +835,24 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getOptionsOrBuilder()
      * .google.firestore.v1.TransactionOptions options = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> 
+            com.google.firestore.v1.TransactionOptions,
+            com.google.firestore.v1.TransactionOptions.Builder,
+            com.google.firestore.v1.TransactionOptionsOrBuilder>
         getOptionsFieldBuilder() {
       if (optionsBuilder_ == null) {
-        optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder>(
-                getOptions(),
-                getParentForChildren(),
-                isClean());
+        optionsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.TransactionOptions,
+                com.google.firestore.v1.TransactionOptions.Builder,
+                com.google.firestore.v1.TransactionOptionsOrBuilder>(
+                getOptions(), getParentForChildren(), isClean());
         options_ = null;
       }
       return optionsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -776,12 +862,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.BeginTransactionRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.BeginTransactionRequest)
   private static final com.google.firestore.v1.BeginTransactionRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.BeginTransactionRequest();
   }
@@ -790,27 +876,27 @@ public static com.google.firestore.v1.BeginTransactionRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BeginTransactionRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BeginTransactionRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -825,6 +911,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.BeginTransactionRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
index 99a70bc56..d72805481 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
@@ -1,55 +1,84 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface BeginTransactionRequestOrBuilder extends
+public interface BeginTransactionRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.BeginTransactionRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; + * * @return Whether the options field is set. */ boolean hasOptions(); /** + * + * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
    * 
* * .google.firestore.v1.TransactionOptions options = 2; + * * @return The options. */ com.google.firestore.v1.TransactionOptions getOptions(); /** + * + * *
    * The options for the transaction.
    * Defaults to a read-write transaction.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
similarity index 65%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
index 69fd33e2e..0ca41a926 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The response for
  * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
@@ -11,52 +28,57 @@
  *
  * Protobuf type {@code google.firestore.v1.BeginTransactionResponse}
  */
-public final class BeginTransactionResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BeginTransactionResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.BeginTransactionResponse)
     BeginTransactionResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BeginTransactionResponse.newBuilder() to construct.
   private BeginTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BeginTransactionResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BeginTransactionResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.BeginTransactionResponse.class, com.google.firestore.v1.BeginTransactionResponse.Builder.class);
+            com.google.firestore.v1.BeginTransactionResponse.class,
+            com.google.firestore.v1.BeginTransactionResponse.Builder.class);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * The transaction that was started.
    * 
* * bytes transaction = 1; + * * @return The transaction. */ @java.lang.Override @@ -65,6 +87,7 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -76,8 +99,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!transaction_.isEmpty()) { output.writeBytes(1, transaction_); } @@ -91,8 +113,7 @@ public int getSerializedSize() { size = 0; if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, transaction_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, transaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -102,15 +123,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.BeginTransactionResponse)) { return super.equals(obj); } - com.google.firestore.v1.BeginTransactionResponse other = (com.google.firestore.v1.BeginTransactionResponse) obj; + com.google.firestore.v1.BeginTransactionResponse other = + (com.google.firestore.v1.BeginTransactionResponse) obj; - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -129,97 +150,104 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.BeginTransactionResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.BeginTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.BeginTransactionResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.BeginTransactionResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.BeginTransactionResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.BeginTransactionResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.BeginTransactionResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.BeginTransactionResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response for
    * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
@@ -227,33 +255,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.BeginTransactionResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.BeginTransactionResponse)
       com.google.firestore.v1.BeginTransactionResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.BeginTransactionResponse.class, com.google.firestore.v1.BeginTransactionResponse.Builder.class);
+              com.google.firestore.v1.BeginTransactionResponse.class,
+              com.google.firestore.v1.BeginTransactionResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.BeginTransactionResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +290,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
     }
 
     @java.lang.Override
@@ -284,8 +311,11 @@ public com.google.firestore.v1.BeginTransactionResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.BeginTransactionResponse buildPartial() {
-      com.google.firestore.v1.BeginTransactionResponse result = new com.google.firestore.v1.BeginTransactionResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.BeginTransactionResponse result =
+          new com.google.firestore.v1.BeginTransactionResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -301,38 +331,39 @@ private void buildPartial0(com.google.firestore.v1.BeginTransactionResponse resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.BeginTransactionResponse) {
-        return mergeFrom((com.google.firestore.v1.BeginTransactionResponse)other);
+        return mergeFrom((com.google.firestore.v1.BeginTransactionResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -340,7 +371,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.BeginTransactionResponse other) {
-      if (other == com.google.firestore.v1.BeginTransactionResponse.getDefaultInstance()) return this;
+      if (other == com.google.firestore.v1.BeginTransactionResponse.getDefaultInstance())
+        return this;
       if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) {
         setTransaction(other.getTransaction());
       }
@@ -370,17 +402,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              transaction_ = input.readBytes();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                transaction_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -390,15 +424,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * The transaction that was started.
      * 
* * bytes transaction = 1; + * * @return The transaction. */ @java.lang.Override @@ -406,27 +444,35 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * The transaction that was started.
      * 
* * bytes transaction = 1; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The transaction that was started.
      * 
* * bytes transaction = 1; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -435,9 +481,9 @@ public Builder clearTransaction() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -447,12 +493,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.BeginTransactionResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.BeginTransactionResponse) private static final com.google.firestore.v1.BeginTransactionResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.BeginTransactionResponse(); } @@ -461,27 +507,27 @@ public static com.google.firestore.v1.BeginTransactionResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BeginTransactionResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BeginTransactionResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -496,6 +542,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.BeginTransactionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java new file mode 100644 index 000000000..188d7f600 --- /dev/null +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public interface BeginTransactionResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.firestore.v1.BeginTransactionResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The transaction that was started.
+   * 
+ * + * bytes transaction = 1; + * + * @return The transaction. + */ + com.google.protobuf.ByteString getTransaction(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java index 986809569..8ec6a941b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
  * 
* * Protobuf type {@code google.firestore.v1.CommitRequest} */ -public final class CommitRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommitRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.CommitRequest) CommitRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitRequest.newBuilder() to construct. private CommitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommitRequest() { database_ = ""; writes_ = java.util.Collections.emptyList(); @@ -27,39 +45,44 @@ private CommitRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CommitRequest.class, com.google.firestore.v1.CommitRequest.Builder.class); + com.google.firestore.v1.CommitRequest.class, + com.google.firestore.v1.CommitRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ @java.lang.Override @@ -68,30 +91,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -100,9 +123,12 @@ public java.lang.String getDatabase() { } public static final int WRITES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List writes_; /** + * + * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -115,6 +141,8 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -123,11 +151,12 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public java.util.List 
-      getWritesOrBuilderList() {
+  public java.util.List getWritesOrBuilderList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -140,6 +169,8 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -152,6 +183,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -160,19 +193,21 @@ public com.google.firestore.v1.Write getWrites(int index) {
    * repeated .google.firestore.v1.Write writes = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-      int index) {
+  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
     return writes_.get(index);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 3;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * If set, applies all writes in this transaction, and commits it.
    * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -181,6 +216,7 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,8 +228,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -216,12 +251,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } for (int i = 0; i < writes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, writes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, writes_.get(i)); } if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, transaction_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, transaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -231,19 +264,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.CommitRequest)) { return super.equals(obj); } com.google.firestore.v1.CommitRequest other = (com.google.firestore.v1.CommitRequest) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (!getWritesList() - .equals(other.getWritesList())) return false; - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; + if (!getWritesList().equals(other.getWritesList())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,130 +298,135 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.CommitRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.CommitRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.CommitRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.CommitRequest parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.CommitRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.CommitRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.CommitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.CommitRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.CommitRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.CommitRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.CommitRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.CommitRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.CommitRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.CommitRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.CommitRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
    * 
* * Protobuf type {@code google.firestore.v1.CommitRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.CommitRequest) com.google.firestore.v1.CommitRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CommitRequest.class, com.google.firestore.v1.CommitRequest.Builder.class); + com.google.firestore.v1.CommitRequest.class, + com.google.firestore.v1.CommitRequest.Builder.class); } // Construct using com.google.firestore.v1.CommitRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitRequest_descriptor; } @java.lang.Override @@ -430,9 +465,12 @@ public com.google.firestore.v1.CommitRequest build() { @java.lang.Override public com.google.firestore.v1.CommitRequest buildPartial() { - com.google.firestore.v1.CommitRequest result = new com.google.firestore.v1.CommitRequest(this); + com.google.firestore.v1.CommitRequest result = + new com.google.firestore.v1.CommitRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -463,38 +501,39 @@ private void buildPartial0(com.google.firestore.v1.CommitRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.CommitRequest) { - return mergeFrom((com.google.firestore.v1.CommitRequest)other); + return mergeFrom((com.google.firestore.v1.CommitRequest) other); } else { super.mergeFrom(other); return this; @@ -526,9 +565,10 @@ public Builder mergeFrom(com.google.firestore.v1.CommitRequest other) { writesBuilder_ = null; writes_ = other.writes_; bitField0_ = (bitField0_ & ~0x00000002); - writesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWritesFieldBuilder() : null; + writesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWritesFieldBuilder() + : null; } else { writesBuilder_.addAllMessages(other.writes_); } @@ -563,35 +603,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.firestore.v1.Write m = - input.readMessage( - com.google.firestore.v1.Write.parser(), - extensionRegistry); - if (writesBuilder_ == null) { - ensureWritesIsMutable(); - writes_.add(m); - } else { - writesBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - transaction_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.firestore.v1.Write m = + input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry); + if (writesBuilder_ == null) { + ensureWritesIsMutable(); + writes_.add(m); + } else { + writesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + transaction_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -601,23 +643,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object database_ = ""; /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -626,21 +671,22 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -648,30 +694,37 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -681,18 +734,22 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -701,18 +758,24 @@ public Builder setDatabaseBytes( } private java.util.List writes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder> + writesBuilder_; /** + * + * *
      * The writes to apply.
      * Always executed atomically and in order.
@@ -728,6 +791,8 @@ public java.util.List getWritesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -743,6 +808,8 @@ public int getWritesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -758,6 +825,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -765,8 +834,7 @@ public com.google.firestore.v1.Write getWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(
-        int index, com.google.firestore.v1.Write value) {
+    public Builder setWrites(int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -780,6 +848,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -787,8 +857,7 @@ public Builder setWrites(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder setWrites(
-        int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.set(index, builderForValue.build());
@@ -799,6 +868,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -820,6 +891,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -827,8 +900,7 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(
-        int index, com.google.firestore.v1.Write value) {
+    public Builder addWrites(int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -842,6 +914,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -849,8 +923,7 @@ public Builder addWrites(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(
-        com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(builderForValue.build());
@@ -861,6 +934,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -868,8 +943,7 @@ public Builder addWrites(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public Builder addWrites(
-        int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(index, builderForValue.build());
@@ -880,6 +954,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -891,8 +967,7 @@ public Builder addAllWrites(
         java.lang.Iterable values) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, writes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_);
         onChanged();
       } else {
         writesBuilder_.addAllMessages(values);
@@ -900,6 +975,8 @@ public Builder addAllWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -918,6 +995,8 @@ public Builder clearWrites() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -936,6 +1015,8 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -943,11 +1024,12 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(
-        int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -955,14 +1037,16 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);  } else {
+        return writes_.get(index);
+      } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -970,8 +1054,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List 
-         getWritesOrBuilderList() {
+    public java.util.List
+        getWritesOrBuilderList() {
       if (writesBuilder_ != null) {
         return writesBuilder_.getMessageOrBuilderList();
       } else {
@@ -979,6 +1063,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -987,10 +1073,11 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
      * repeated .google.firestore.v1.Write writes = 2;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(
-          com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -998,12 +1085,13 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(
-        int index) {
-      return getWritesFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
+      return getWritesFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1011,20 +1099,22 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 2;
      */
-    public java.util.List 
-         getWritesBuilderList() {
+    public java.util.List getWritesBuilderList() {
       return getWritesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> 
+            com.google.firestore.v1.Write,
+            com.google.firestore.v1.Write.Builder,
+            com.google.firestore.v1.WriteOrBuilder>
         getWritesFieldBuilder() {
       if (writesBuilder_ == null) {
-        writesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder>(
-                writes_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        writesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.Write,
+                com.google.firestore.v1.Write.Builder,
+                com.google.firestore.v1.WriteOrBuilder>(
+                writes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         writes_ = null;
       }
       return writesBuilder_;
@@ -1032,11 +1122,14 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * If set, applies all writes in this transaction, and commits it.
      * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -1044,27 +1137,35 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * If set, applies all writes in this transaction, and commits it.
      * 
* * bytes transaction = 3; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * If set, applies all writes in this transaction, and commits it.
      * 
* * bytes transaction = 3; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1073,9 +1174,9 @@ public Builder clearTransaction() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1085,12 +1186,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.CommitRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.CommitRequest) private static final com.google.firestore.v1.CommitRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.CommitRequest(); } @@ -1099,27 +1200,27 @@ public static com.google.firestore.v1.CommitRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,6 +1235,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.CommitRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java index 97e9470c1..2d72b4b20 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface CommitRequestOrBuilder extends +public interface CommitRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.CommitRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -37,9 +60,10 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesList();
+  java.util.List getWritesList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -49,6 +73,8 @@ public interface CommitRequestOrBuilder extends
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -58,6 +84,8 @@ public interface CommitRequestOrBuilder extends
    */
   int getWritesCount();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -65,9 +93,10 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  java.util.List 
-      getWritesOrBuilderList();
+  java.util.List getWritesOrBuilderList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -75,15 +104,17 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 2;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If set, applies all writes in this transaction, and commits it.
    * 
* * bytes transaction = 3; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java index 3db5359b2..8cc91557d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java @@ -1,57 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
  * 
* * Protobuf type {@code google.firestore.v1.CommitResponse} */ -public final class CommitResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommitResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.CommitResponse) CommitResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitResponse.newBuilder() to construct. private CommitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommitResponse() { writeResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CommitResponse.class, com.google.firestore.v1.CommitResponse.Builder.class); + com.google.firestore.v1.CommitResponse.class, + com.google.firestore.v1.CommitResponse.Builder.class); } public static final int WRITE_RESULTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List writeResults_; /** + * + * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -65,6 +87,8 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -74,11 +98,13 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -92,6 +118,8 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -105,6 +133,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -114,20 +144,22 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-      int index) {
+  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
     return writeResults_.get(index);
   }
 
   public static final int COMMIT_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp commitTime_;
   /**
+   *
+   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; + * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -135,12 +167,15 @@ public boolean hasCommitTime() { return commitTime_ != null; } /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; + * * @return The commitTime. */ @java.lang.Override @@ -148,6 +183,8 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
@@ -161,6 +198,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -172,8 +210,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < writeResults_.size(); i++) {
       output.writeMessage(1, writeResults_.get(i));
     }
@@ -190,12 +227,10 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < writeResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, writeResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, writeResults_.get(i));
     }
     if (commitTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getCommitTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCommitTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -205,19 +240,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.CommitResponse)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.CommitResponse other = (com.google.firestore.v1.CommitResponse) obj;
 
-    if (!getWriteResultsList()
-        .equals(other.getWriteResultsList())) return false;
+    if (!getWriteResultsList().equals(other.getWriteResultsList())) return false;
     if (hasCommitTime() != other.hasCommitTime()) return false;
     if (hasCommitTime()) {
-      if (!getCommitTime()
-          .equals(other.getCommitTime())) return false;
+      if (!getCommitTime().equals(other.getCommitTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -243,130 +276,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.CommitResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.CommitResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.CommitResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.CommitResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.CommitResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.CommitResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.CommitResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.CommitResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.CommitResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.CommitResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.CommitResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.CommitResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.CommitResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.CommitResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
    * 
* * Protobuf type {@code google.firestore.v1.CommitResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.CommitResponse) com.google.firestore.v1.CommitResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.CommitResponse.class, com.google.firestore.v1.CommitResponse.Builder.class); + com.google.firestore.v1.CommitResponse.class, + com.google.firestore.v1.CommitResponse.Builder.class); } // Construct using com.google.firestore.v1.CommitResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +426,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CommitResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_CommitResponse_descriptor; } @java.lang.Override @@ -408,9 +447,12 @@ public com.google.firestore.v1.CommitResponse build() { @java.lang.Override public com.google.firestore.v1.CommitResponse buildPartial() { - com.google.firestore.v1.CommitResponse result = new com.google.firestore.v1.CommitResponse(this); + com.google.firestore.v1.CommitResponse result = + new com.google.firestore.v1.CommitResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -430,9 +472,7 @@ private void buildPartialRepeatedFields(com.google.firestore.v1.CommitResponse r private void buildPartial0(com.google.firestore.v1.CommitResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null - ? commitTime_ - : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); } } @@ -440,38 +480,39 @@ private void buildPartial0(com.google.firestore.v1.CommitResponse result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.CommitResponse) { - return mergeFrom((com.google.firestore.v1.CommitResponse)other); + return mergeFrom((com.google.firestore.v1.CommitResponse) other); } else { super.mergeFrom(other); return this; @@ -498,9 +539,10 @@ public Builder mergeFrom(com.google.firestore.v1.CommitResponse other) { writeResultsBuilder_ = null; writeResults_ = other.writeResults_; bitField0_ = (bitField0_ & ~0x00000001); - writeResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWriteResultsFieldBuilder() : null; + writeResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWriteResultsFieldBuilder() + : null; } else { writeResultsBuilder_.addAllMessages(other.writeResults_); } @@ -535,32 +577,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.firestore.v1.WriteResult m = - input.readMessage( - com.google.firestore.v1.WriteResult.parser(), - extensionRegistry); - if (writeResultsBuilder_ == null) { - ensureWriteResultsIsMutable(); - writeResults_.add(m); - } else { - writeResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getCommitTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.firestore.v1.WriteResult m = + input.readMessage( + com.google.firestore.v1.WriteResult.parser(), extensionRegistry); + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.add(m); + } else { + writeResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,21 +612,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List writeResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWriteResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writeResults_ = new java.util.ArrayList(writeResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_; + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder> + writeResultsBuilder_; /** + * + * *
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -601,6 +650,8 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -617,6 +668,8 @@ public int getWriteResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -633,6 +686,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -641,8 +696,7 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder setWriteResults(
-        int index, com.google.firestore.v1.WriteResult value) {
+    public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -656,6 +710,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -676,6 +732,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -698,6 +756,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -706,8 +766,7 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(
-        int index, com.google.firestore.v1.WriteResult value) {
+    public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -721,6 +780,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -729,8 +790,7 @@ public Builder addWriteResults(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public Builder addWriteResults(
-        com.google.firestore.v1.WriteResult.Builder builderForValue) {
+    public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
         writeResults_.add(builderForValue.build());
@@ -741,6 +801,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -761,6 +823,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -773,8 +837,7 @@ public Builder addAllWriteResults(
         java.lang.Iterable values) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, writeResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_);
         onChanged();
       } else {
         writeResultsBuilder_.addAllMessages(values);
@@ -782,6 +845,8 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -801,6 +866,8 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -820,6 +887,8 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -828,11 +897,12 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -841,14 +911,16 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);  } else {
+        return writeResults_.get(index);
+      } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -857,8 +929,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List 
-         getWriteResultsOrBuilderList() {
+    public java.util.List
+        getWriteResultsOrBuilderList() {
       if (writeResultsBuilder_ != null) {
         return writeResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -866,6 +938,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -875,10 +949,12 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder().addBuilder(
-          com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder()
+          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -887,12 +963,13 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
-        int index) {
-      return getWriteResultsFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
+      return getWriteResultsFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -901,20 +978,23 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 1;
      */
-    public java.util.List 
-         getWriteResultsBuilderList() {
+    public java.util.List
+        getWriteResultsBuilderList() {
       return getWriteResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> 
+            com.google.firestore.v1.WriteResult,
+            com.google.firestore.v1.WriteResult.Builder,
+            com.google.firestore.v1.WriteResultOrBuilder>
         getWriteResultsFieldBuilder() {
       if (writeResultsBuilder_ == null) {
-        writeResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder>(
-                writeResults_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        writeResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.WriteResult,
+                com.google.firestore.v1.WriteResult.Builder,
+                com.google.firestore.v1.WriteResultOrBuilder>(
+                writeResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         writeResults_ = null;
       }
       return writeResultsBuilder_;
@@ -922,36 +1002,49 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
 
     private com.google.protobuf.Timestamp commitTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        commitTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
      * 
* * .google.protobuf.Timestamp commit_time = 2; + * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
      * 
* * .google.protobuf.Timestamp commit_time = 2; + * * @return The commitTime. */ public com.google.protobuf.Timestamp getCommitTime() { if (commitTimeBuilder_ == null) { - return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; } else { return commitTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -973,6 +1066,8 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -980,8 +1075,7 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp commit_time = 2;
      */
-    public Builder setCommitTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimeBuilder_ == null) {
         commitTime_ = builderForValue.build();
       } else {
@@ -992,6 +1086,8 @@ public Builder setCommitTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1001,9 +1097,9 @@ public Builder setCommitTime(
      */
     public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          commitTime_ != null &&
-          commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && commitTime_ != null
+            && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCommitTimeBuilder().mergeFrom(value);
         } else {
           commitTime_ = value;
@@ -1016,6 +1112,8 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1034,6 +1132,8 @@ public Builder clearCommitTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1047,6 +1147,8 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
       return getCommitTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1058,11 +1160,14 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
       if (commitTimeBuilder_ != null) {
         return commitTimeBuilder_.getMessageOrBuilder();
       } else {
-        return commitTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_;
+        return commitTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : commitTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the commit.
@@ -1071,21 +1176,24 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * .google.protobuf.Timestamp commit_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getCommitTimeFieldBuilder() {
       if (commitTimeBuilder_ == null) {
-        commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCommitTime(),
-                getParentForChildren(),
-                isClean());
+        commitTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCommitTime(), getParentForChildren(), isClean());
         commitTime_ = null;
       }
       return commitTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1095,12 +1203,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.CommitResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.CommitResponse)
   private static final com.google.firestore.v1.CommitResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.CommitResponse();
   }
@@ -1109,27 +1217,27 @@ public static com.google.firestore.v1.CommitResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CommitResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CommitResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1144,6 +1252,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.CommitResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
index 983f0cd94..76745e124 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface CommitResponseOrBuilder extends
+public interface CommitResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.CommitResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -16,9 +34,10 @@ public interface CommitResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List 
-      getWriteResultsList();
+  java.util.List getWriteResultsList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -29,6 +48,8 @@ public interface CommitResponseOrBuilder extends
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -39,6 +60,8 @@ public interface CommitResponseOrBuilder extends
    */
   int getWriteResultsCount();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -47,9 +70,11 @@ public interface CommitResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  java.util.List 
+  java.util.List
       getWriteResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -58,30 +83,37 @@ public interface CommitResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 1;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; + * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
    * 
* * .google.protobuf.Timestamp commit_time = 2; + * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the commit.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java
new file mode 100644
index 000000000..91c88f112
--- /dev/null
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java
@@ -0,0 +1,129 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/common.proto
+
+package com.google.firestore.v1;
+
+public final class CommonProto {
+  private CommonProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentMask_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_Precondition_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Precondition_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_TransactionOptions_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n google/firestore/v1/common.proto\022\023goog"
+          + "le.firestore.v1\032\037google/protobuf/timesta"
+          + "mp.proto\"#\n\014DocumentMask\022\023\n\013field_paths\030"
+          + "\001 \003(\t\"e\n\014Precondition\022\020\n\006exists\030\001 \001(\010H\000\022"
+          + "1\n\013update_time\030\002 \001(\0132\032.google.protobuf.T"
+          + "imestampH\000B\020\n\016condition_type\"\251\002\n\022Transac"
+          + "tionOptions\022E\n\tread_only\030\002 \001(\01320.google."
+          + "firestore.v1.TransactionOptions.ReadOnly"
+          + "H\000\022G\n\nread_write\030\003 \001(\01321.google.firestor"
+          + "e.v1.TransactionOptions.ReadWriteH\000\032&\n\tR"
+          + "eadWrite\022\031\n\021retry_transaction\030\001 \001(\014\032S\n\010R"
+          + "eadOnly\022/\n\tread_time\030\002 \001(\0132\032.google.prot"
+          + "obuf.TimestampH\000B\026\n\024consistency_selector"
+          + "B\006\n\004modeB\303\001\n\027com.google.firestore.v1B\013Co"
+          + "mmonProtoP\001Z;cloud.google.com/go/firesto"
+          + "re/apiv1/firestorepb;firestorepb\242\002\004GCFS\252"
+          + "\002\031Google.Cloud.Firestore.V1\312\002\031Google\\Clo"
+          + "ud\\Firestore\\V1\352\002\034Google::Cloud::Firesto"
+          + "re::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_firestore_v1_DocumentMask_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_DocumentMask_descriptor,
+            new java.lang.String[] {
+              "FieldPaths",
+            });
+    internal_static_google_firestore_v1_Precondition_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_v1_Precondition_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_Precondition_descriptor,
+            new java.lang.String[] {
+              "Exists", "UpdateTime", "ConditionType",
+            });
+    internal_static_google_firestore_v1_TransactionOptions_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_TransactionOptions_descriptor,
+            new java.lang.String[] {
+              "ReadOnly", "ReadWrite", "Mode",
+            });
+    internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor =
+        internal_static_google_firestore_v1_TransactionOptions_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor,
+            new java.lang.String[] {
+              "RetryTransaction",
+            });
+    internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor =
+        internal_static_google_firestore_v1_TransactionOptions_descriptor.getNestedTypes().get(1);
+    internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor,
+            new java.lang.String[] {
+              "ReadTime", "ConsistencySelector",
+            });
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
index e1376a15c..d9dcc9953 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The request for
  * [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.v1.CreateDocumentRequest}
  */
-public final class CreateDocumentRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateDocumentRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.CreateDocumentRequest)
     CreateDocumentRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateDocumentRequest.newBuilder() to construct.
   private CreateDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateDocumentRequest() {
     parent_ = "";
     collectionId_ = "";
@@ -28,33 +46,37 @@ private CreateDocumentRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateDocumentRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.CreateDocumentRequest.class, com.google.firestore.v1.CreateDocumentRequest.Builder.class);
+            com.google.firestore.v1.CreateDocumentRequest.class,
+            com.google.firestore.v1.CreateDocumentRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -62,6 +84,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -70,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -85,16 +109,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,15 +126,19 @@ public java.lang.String getParent() { } public static final int COLLECTION_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object collectionId_ = ""; /** + * + * *
    * Required. The collection ID, relative to `parent`, to list. For example:
    * `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The collectionId. */ @java.lang.Override @@ -120,30 +147,30 @@ public java.lang.String getCollectionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; } } /** + * + * *
    * Required. The collection ID, relative to `parent`, to list. For example:
    * `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for collectionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCollectionIdBytes() { + public com.google.protobuf.ByteString getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); collectionId_ = b; return b; } else { @@ -152,15 +179,19 @@ public java.lang.String getCollectionId() { } public static final int DOCUMENT_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object documentId_ = ""; /** + * + * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; + * * @return The documentId. */ @java.lang.Override @@ -169,30 +200,30 @@ public java.lang.String getDocumentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); documentId_ = s; return s; } } /** + * + * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; + * * @return The bytes for documentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDocumentIdBytes() { + public com.google.protobuf.ByteString getDocumentIdBytes() { java.lang.Object ref = documentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); documentId_ = b; return b; } else { @@ -203,11 +234,15 @@ public java.lang.String getDocumentId() { public static final int DOCUMENT_FIELD_NUMBER = 4; private com.google.firestore.v1.Document document_; /** + * + * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the document field is set. */ @java.lang.Override @@ -215,11 +250,15 @@ public boolean hasDocument() { return document_ != null; } /** + * + * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The document. */ @java.lang.Override @@ -227,11 +266,14 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** + * + * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { @@ -241,6 +283,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { public static final int MASK_FIELD_NUMBER = 5; private com.google.firestore.v1.DocumentMask mask_; /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -248,6 +292,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -255,6 +300,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -262,6 +309,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return The mask. */ @java.lang.Override @@ -269,6 +317,8 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -283,6 +333,7 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -294,8 +345,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -330,12 +380,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, documentId_);
     }
     if (document_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getDocument());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDocument());
     }
     if (mask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -345,28 +393,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.CreateDocumentRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.CreateDocumentRequest other = (com.google.firestore.v1.CreateDocumentRequest) obj;
+    com.google.firestore.v1.CreateDocumentRequest other =
+        (com.google.firestore.v1.CreateDocumentRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (!getCollectionId()
-        .equals(other.getCollectionId())) return false;
-    if (!getDocumentId()
-        .equals(other.getDocumentId())) return false;
+    if (!getParent().equals(other.getParent())) return false;
+    if (!getCollectionId().equals(other.getCollectionId())) return false;
+    if (!getDocumentId().equals(other.getDocumentId())) return false;
     if (hasDocument() != other.hasDocument()) return false;
     if (hasDocument()) {
-      if (!getDocument()
-          .equals(other.getDocument())) return false;
+      if (!getDocument().equals(other.getDocument())) return false;
     }
     if (hasMask() != other.hasMask()) return false;
     if (hasMask()) {
-      if (!getMask()
-          .equals(other.getMask())) return false;
+      if (!getMask().equals(other.getMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -398,97 +442,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.CreateDocumentRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.CreateDocumentRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.CreateDocumentRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.CreateDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.CreateDocumentRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.CreateDocumentRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for
    * [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
@@ -496,33 +547,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.CreateDocumentRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.CreateDocumentRequest)
       com.google.firestore.v1.CreateDocumentRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.CreateDocumentRequest.class, com.google.firestore.v1.CreateDocumentRequest.Builder.class);
+              com.google.firestore.v1.CreateDocumentRequest.class,
+              com.google.firestore.v1.CreateDocumentRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.CreateDocumentRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -544,9 +594,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
     }
 
     @java.lang.Override
@@ -565,8 +615,11 @@ public com.google.firestore.v1.CreateDocumentRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.CreateDocumentRequest buildPartial() {
-      com.google.firestore.v1.CreateDocumentRequest result = new com.google.firestore.v1.CreateDocumentRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.CreateDocumentRequest result =
+          new com.google.firestore.v1.CreateDocumentRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -583,14 +636,10 @@ private void buildPartial0(com.google.firestore.v1.CreateDocumentRequest result)
         result.documentId_ = documentId_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.document_ = documentBuilder_ == null
-            ? document_
-            : documentBuilder_.build();
+        result.document_ = documentBuilder_ == null ? document_ : documentBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.mask_ = maskBuilder_ == null
-            ? mask_
-            : maskBuilder_.build();
+        result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
       }
     }
 
@@ -598,38 +647,39 @@ private void buildPartial0(com.google.firestore.v1.CreateDocumentRequest result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.CreateDocumentRequest) {
-        return mergeFrom((com.google.firestore.v1.CreateDocumentRequest)other);
+        return mergeFrom((com.google.firestore.v1.CreateDocumentRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -685,41 +735,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              collectionId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              documentId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getDocumentFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                collectionId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                documentId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -729,10 +781,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -740,13 +795,13 @@ public Builder mergeFrom(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -755,6 +810,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -762,15 +819,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -778,6 +834,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -785,18 +843,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -804,6 +866,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -813,6 +876,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource. For example:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -820,12 +885,14 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -835,19 +902,21 @@ public Builder setParentBytes( private java.lang.Object collectionId_ = ""; /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example:
      * `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The collectionId. */ public java.lang.String getCollectionId() { java.lang.Object ref = collectionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; @@ -856,21 +925,22 @@ public java.lang.String getCollectionId() { } } /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example:
      * `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for collectionId. */ - public com.google.protobuf.ByteString - getCollectionIdBytes() { + public com.google.protobuf.ByteString getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); collectionId_ = b; return b; } else { @@ -878,30 +948,37 @@ public java.lang.String getCollectionId() { } } /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example:
      * `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } collectionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example:
      * `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCollectionId() { @@ -911,18 +988,22 @@ public Builder clearCollectionId() { return this; } /** + * + * *
      * Required. The collection ID, relative to `parent`, to list. For example:
      * `chatrooms`.
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); collectionId_ = value; bitField0_ |= 0x00000002; @@ -932,19 +1013,21 @@ public Builder setCollectionIdBytes( private java.lang.Object documentId_ = ""; /** + * + * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; + * * @return The documentId. */ public java.lang.String getDocumentId() { java.lang.Object ref = documentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); documentId_ = s; return s; @@ -953,21 +1036,22 @@ public java.lang.String getDocumentId() { } } /** + * + * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; + * * @return The bytes for documentId. */ - public com.google.protobuf.ByteString - getDocumentIdBytes() { + public com.google.protobuf.ByteString getDocumentIdBytes() { java.lang.Object ref = documentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); documentId_ = b; return b; } else { @@ -975,30 +1059,37 @@ public java.lang.String getDocumentId() { } } /** + * + * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; + * * @param value The documentId to set. * @return This builder for chaining. */ - public Builder setDocumentId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocumentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } documentId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; + * * @return This builder for chaining. */ public Builder clearDocumentId() { @@ -1008,18 +1099,22 @@ public Builder clearDocumentId() { return this; } /** + * + * *
      * The client-assigned document ID to use for this document.
      * Optional. If not specified, an ID will be assigned by the service.
      * 
* * string document_id = 3; + * * @param value The bytes for documentId to set. * @return This builder for chaining. */ - public Builder setDocumentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocumentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); documentId_ = value; bitField0_ |= 0x00000004; @@ -1029,39 +1124,55 @@ public Builder setDocumentIdBytes( private com.google.firestore.v1.Document document_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_; + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + documentBuilder_; /** + * + * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the document field is set. */ public boolean hasDocument() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The document. */ public com.google.firestore.v1.Document getDocument() { if (documentBuilder_ == null) { - return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; } else { return documentBuilder_.getMessage(); } } /** + * + * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { @@ -1077,14 +1188,16 @@ public Builder setDocument(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDocument( - com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { document_ = builderForValue.build(); } else { @@ -1095,17 +1208,20 @@ public Builder setDocument( return this; } /** + * + * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - document_ != null && - document_ != com.google.firestore.v1.Document.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && document_ != null + && document_ != com.google.firestore.v1.Document.getDefaultInstance()) { getDocumentBuilder().mergeFrom(value); } else { document_ = value; @@ -1118,11 +1234,14 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDocument() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1135,11 +1254,14 @@ public Builder clearDocument() { return this; } /** + * + * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { bitField0_ |= 0x00000008; @@ -1147,36 +1269,46 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { return getDocumentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { return documentBuilder_.getMessageOrBuilder(); } else { - return document_ == null ? - com.google.firestore.v1.Document.getDefaultInstance() : document_; + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; } } /** + * + * *
      * Required. The document to create. `name` must not be set.
      * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> getDocumentFieldBuilder() { if (documentBuilder_ == null) { - documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( - getDocument(), - getParentForChildren(), - isClean()); + documentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), getParentForChildren(), isClean()); document_ = null; } return documentBuilder_; @@ -1184,8 +1316,13 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1193,12 +1330,15 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return Whether the mask field is set. */ public boolean hasMask() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1206,6 +1346,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1216,6 +1357,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1238,6 +1381,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1246,8 +1391,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 5;
      */
-    public Builder setMask(
-        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
       } else {
@@ -1258,6 +1402,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1268,9 +1414,9 @@ public Builder setMask(
      */
     public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          mask_ != null &&
-          mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && mask_ != null
+            && mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getMaskBuilder().mergeFrom(value);
         } else {
           mask_ = value;
@@ -1283,6 +1429,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1302,6 +1450,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1316,6 +1466,8 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1328,11 +1480,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1342,21 +1495,24 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
+            com.google.firestore.v1.DocumentMask,
+            com.google.firestore.v1.DocumentMask.Builder,
+            com.google.firestore.v1.DocumentMaskOrBuilder>
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(),
-                getParentForChildren(),
-                isClean());
+        maskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.DocumentMask,
+                com.google.firestore.v1.DocumentMask.Builder,
+                com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(), getParentForChildren(), isClean());
         mask_ = null;
       }
       return maskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1366,12 +1522,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.CreateDocumentRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.CreateDocumentRequest)
   private static final com.google.firestore.v1.CreateDocumentRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.CreateDocumentRequest();
   }
@@ -1380,27 +1536,27 @@ public static com.google.firestore.v1.CreateDocumentRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CreateDocumentRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CreateDocumentRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1415,6 +1571,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.CreateDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
index bdd068620..8ad6def54 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface CreateDocumentRequestOrBuilder extends
+public interface CreateDocumentRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.CreateDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -15,10 +33,13 @@ public interface CreateDocumentRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource. For example:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -26,83 +47,106 @@ public interface CreateDocumentRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The collection ID, relative to `parent`, to list. For example:
    * `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The collectionId. */ java.lang.String getCollectionId(); /** + * + * *
    * Required. The collection ID, relative to `parent`, to list. For example:
    * `chatrooms`.
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for collectionId. */ - com.google.protobuf.ByteString - getCollectionIdBytes(); + com.google.protobuf.ByteString getCollectionIdBytes(); /** + * + * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; + * * @return The documentId. */ java.lang.String getDocumentId(); /** + * + * *
    * The client-assigned document ID to use for this document.
    * Optional. If not specified, an ID will be assigned by the service.
    * 
* * string document_id = 3; + * * @return The bytes for documentId. */ - com.google.protobuf.ByteString - getDocumentIdBytes(); + com.google.protobuf.ByteString getDocumentIdBytes(); /** + * + * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the document field is set. */ boolean hasDocument(); /** + * + * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** + * + * *
    * Required. The document to create. `name` must not be set.
    * 
* - * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -110,10 +154,13 @@ public interface CreateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return Whether the mask field is set. */ boolean hasMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -121,10 +168,13 @@ public interface CreateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 5; + * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
index 7d4c656df..52b0edfda 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
@@ -1,57 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/query.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A position in a query result set.
  * 
* * Protobuf type {@code google.firestore.v1.Cursor} */ -public final class Cursor extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Cursor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Cursor) CursorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Cursor.newBuilder() to construct. private Cursor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Cursor() { values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Cursor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_Cursor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Cursor.class, com.google.firestore.v1.Cursor.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List values_; /** + * + * *
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -65,6 +85,8 @@ public java.util.List getValuesList() {
     return values_;
   }
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -74,11 +96,12 @@ public java.util.List getValuesList() {
    * repeated .google.firestore.v1.Value values = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getValuesOrBuilderList() {
+  public java.util.List getValuesOrBuilderList() {
     return values_;
   }
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -92,6 +115,8 @@ public int getValuesCount() {
     return values_.size();
   }
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -105,6 +130,8 @@ public com.google.firestore.v1.Value getValues(int index) {
     return values_.get(index);
   }
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -114,20 +141,22 @@ public com.google.firestore.v1.Value getValues(int index) {
    * repeated .google.firestore.v1.Value values = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
-      int index) {
+  public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
     return values_.get(index);
   }
 
   public static final int BEFORE_FIELD_NUMBER = 2;
   private boolean before_ = false;
   /**
+   *
+   *
    * 
    * If the position is just before or just after the given values, relative
    * to the sort order defined by the query.
    * 
* * bool before = 2; + * * @return The before. */ @java.lang.Override @@ -136,6 +165,7 @@ public boolean getBefore() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < values_.size(); i++) { output.writeMessage(1, values_.get(i)); } @@ -165,12 +194,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < values_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, values_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i)); } if (before_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, before_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, before_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,17 +207,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Cursor)) { return super.equals(obj); } com.google.firestore.v1.Cursor other = (com.google.firestore.v1.Cursor) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; - if (getBefore() - != other.getBefore()) return false; + if (!getValuesList().equals(other.getValuesList())) return false; + if (getBefore() != other.getBefore()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -207,137 +232,140 @@ public int hashCode() { hash = (53 * hash) + getValuesList().hashCode(); } hash = (37 * hash) + BEFORE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBefore()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBefore()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.v1.Cursor parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.Cursor parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Cursor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Cursor parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.Cursor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Cursor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Cursor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Cursor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Cursor parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Cursor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.Cursor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.Cursor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Cursor parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.firestore.v1.Cursor parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Cursor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.Cursor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A position in a query result set.
    * 
* * Protobuf type {@code google.firestore.v1.Cursor} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Cursor) com.google.firestore.v1.CursorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_Cursor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_Cursor_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Cursor.class, com.google.firestore.v1.Cursor.Builder.class); } // Construct using com.google.firestore.v1.Cursor.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +382,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_Cursor_descriptor; } @java.lang.Override @@ -377,7 +405,9 @@ public com.google.firestore.v1.Cursor build() { public com.google.firestore.v1.Cursor buildPartial() { com.google.firestore.v1.Cursor result = new com.google.firestore.v1.Cursor(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -405,38 +435,39 @@ private void buildPartial0(com.google.firestore.v1.Cursor result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Cursor) { - return mergeFrom((com.google.firestore.v1.Cursor)other); + return mergeFrom((com.google.firestore.v1.Cursor) other); } else { super.mergeFrom(other); return this; @@ -463,9 +494,10 @@ public Builder mergeFrom(com.google.firestore.v1.Cursor other) { valuesBuilder_ = null; values_ = other.values_; bitField0_ = (bitField0_ & ~0x00000001); - valuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getValuesFieldBuilder() : null; + valuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getValuesFieldBuilder() + : null; } else { valuesBuilder_.addAllMessages(other.values_); } @@ -500,30 +532,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.firestore.v1.Value m = - input.readMessage( - com.google.firestore.v1.Value.parser(), - extensionRegistry); - if (valuesBuilder_ == null) { - ensureValuesIsMutable(); - values_.add(m); - } else { - valuesBuilder_.addMessage(m); - } - break; - } // case 10 - case 16: { - before_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.firestore.v1.Value m = + input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); + if (valuesBuilder_ == null) { + ensureValuesIsMutable(); + values_.add(m); + } else { + valuesBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: + { + before_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,21 +566,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List values_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> valuesBuilder_; + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + valuesBuilder_; /** + * + * *
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -564,6 +604,8 @@ public java.util.List getValuesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -580,6 +622,8 @@ public int getValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -596,6 +640,8 @@ public com.google.firestore.v1.Value getValues(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -604,8 +650,7 @@ public com.google.firestore.v1.Value getValues(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder setValues(
-        int index, com.google.firestore.v1.Value value) {
+    public Builder setValues(int index, com.google.firestore.v1.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -619,6 +664,8 @@ public Builder setValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -627,8 +674,7 @@ public Builder setValues(
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder setValues(
-        int index, com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder setValues(int index, com.google.firestore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.set(index, builderForValue.build());
@@ -639,6 +685,8 @@ public Builder setValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -661,6 +709,8 @@ public Builder addValues(com.google.firestore.v1.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -669,8 +719,7 @@ public Builder addValues(com.google.firestore.v1.Value value) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder addValues(
-        int index, com.google.firestore.v1.Value value) {
+    public Builder addValues(int index, com.google.firestore.v1.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -684,6 +733,8 @@ public Builder addValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -692,8 +743,7 @@ public Builder addValues(
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder addValues(
-        com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(builderForValue.build());
@@ -704,6 +754,8 @@ public Builder addValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -712,8 +764,7 @@ public Builder addValues(
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public Builder addValues(
-        int index, com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder addValues(int index, com.google.firestore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(index, builderForValue.build());
@@ -724,6 +775,8 @@ public Builder addValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -736,8 +789,7 @@ public Builder addAllValues(
         java.lang.Iterable values) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, values_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
         onChanged();
       } else {
         valuesBuilder_.addAllMessages(values);
@@ -745,6 +797,8 @@ public Builder addAllValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -764,6 +818,8 @@ public Builder clearValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -783,6 +839,8 @@ public Builder removeValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -791,11 +849,12 @@ public Builder removeValues(int index) {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public com.google.firestore.v1.Value.Builder getValuesBuilder(
-        int index) {
+    public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) {
       return getValuesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -804,14 +863,16 @@ public com.google.firestore.v1.Value.Builder getValuesBuilder(
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
-        int index) {
+    public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
       if (valuesBuilder_ == null) {
-        return values_.get(index);  } else {
+        return values_.get(index);
+      } else {
         return valuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -820,8 +881,8 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public java.util.List 
-         getValuesOrBuilderList() {
+    public java.util.List
+        getValuesOrBuilderList() {
       if (valuesBuilder_ != null) {
         return valuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -829,6 +890,8 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -838,10 +901,11 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
      * repeated .google.firestore.v1.Value values = 1;
      */
     public com.google.firestore.v1.Value.Builder addValuesBuilder() {
-      return getValuesFieldBuilder().addBuilder(
-          com.google.firestore.v1.Value.getDefaultInstance());
+      return getValuesFieldBuilder().addBuilder(com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -850,12 +914,13 @@ public com.google.firestore.v1.Value.Builder addValuesBuilder() {
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public com.google.firestore.v1.Value.Builder addValuesBuilder(
-        int index) {
-      return getValuesFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.Value.getDefaultInstance());
+    public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) {
+      return getValuesFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The values that represent a position, in the order they appear in
      * the order by clause of a query.
@@ -864,33 +929,38 @@ public com.google.firestore.v1.Value.Builder addValuesBuilder(
      *
      * repeated .google.firestore.v1.Value values = 1;
      */
-    public java.util.List 
-         getValuesBuilderList() {
+    public java.util.List getValuesBuilderList() {
       return getValuesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
+            com.google.firestore.v1.Value,
+            com.google.firestore.v1.Value.Builder,
+            com.google.firestore.v1.ValueOrBuilder>
         getValuesFieldBuilder() {
       if (valuesBuilder_ == null) {
-        valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
-                values_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        valuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.Value,
+                com.google.firestore.v1.Value.Builder,
+                com.google.firestore.v1.ValueOrBuilder>(
+                values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         values_ = null;
       }
       return valuesBuilder_;
     }
 
-    private boolean before_ ;
+    private boolean before_;
     /**
+     *
+     *
      * 
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; + * * @return The before. */ @java.lang.Override @@ -898,29 +968,35 @@ public boolean getBefore() { return before_; } /** + * + * *
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; + * * @param value The before to set. * @return This builder for chaining. */ public Builder setBefore(boolean value) { - + before_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * If the position is just before or just after the given values, relative
      * to the sort order defined by the query.
      * 
* * bool before = 2; + * * @return This builder for chaining. */ public Builder clearBefore() { @@ -929,9 +1005,9 @@ public Builder clearBefore() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -941,12 +1017,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.Cursor) } // @@protoc_insertion_point(class_scope:google.firestore.v1.Cursor) private static final com.google.firestore.v1.Cursor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.Cursor(); } @@ -955,27 +1031,27 @@ public static com.google.firestore.v1.Cursor getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cursor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cursor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -990,6 +1066,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Cursor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java index f8eadb55f..0d7526a9d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; -public interface CursorOrBuilder extends +public interface CursorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Cursor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -16,9 +34,10 @@ public interface CursorOrBuilder extends
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  java.util.List 
-      getValuesList();
+  java.util.List getValuesList();
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -29,6 +48,8 @@ public interface CursorOrBuilder extends
    */
   com.google.firestore.v1.Value getValues(int index);
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -39,6 +60,8 @@ public interface CursorOrBuilder extends
    */
   int getValuesCount();
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -47,9 +70,10 @@ public interface CursorOrBuilder extends
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  java.util.List 
-      getValuesOrBuilderList();
+  java.util.List getValuesOrBuilderList();
   /**
+   *
+   *
    * 
    * The values that represent a position, in the order they appear in
    * the order by clause of a query.
@@ -58,16 +82,18 @@ public interface CursorOrBuilder extends
    *
    * repeated .google.firestore.v1.Value values = 1;
    */
-  com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(
-      int index);
+  com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If the position is just before or just after the given values, relative
    * to the sort order defined by the query.
    * 
* * bool before = 2; + * * @return The before. */ boolean getBefore(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java index 40696c52d..cd06ebbb2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The request for
  * [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].
@@ -11,54 +28,60 @@
  *
  * Protobuf type {@code google.firestore.v1.DeleteDocumentRequest}
  */
-public final class DeleteDocumentRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteDocumentRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DeleteDocumentRequest)
     DeleteDocumentRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteDocumentRequest.newBuilder() to construct.
   private DeleteDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteDocumentRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteDocumentRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DeleteDocumentRequest.class, com.google.firestore.v1.DeleteDocumentRequest.Builder.class);
+            com.google.firestore.v1.DeleteDocumentRequest.class,
+            com.google.firestore.v1.DeleteDocumentRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The resource name of the Document to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -67,30 +90,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the Document to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,12 +124,15 @@ public java.lang.String getName() { public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 2; private com.google.firestore.v1.Precondition currentDocument_; /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; + * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -114,19 +140,26 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; + * * @return The currentDocument. */ @java.lang.Override public com.google.firestore.v1.Precondition getCurrentDocument() { - return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; } /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
@@ -136,10 +169,13 @@ public com.google.firestore.v1.Precondition getCurrentDocument() {
    */
   @java.lang.Override
   public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() {
-    return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
+    return currentDocument_ == null
+        ? com.google.firestore.v1.Precondition.getDefaultInstance()
+        : currentDocument_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -151,8 +187,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -172,8 +207,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (currentDocument_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getCurrentDocument());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCurrentDocument());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -183,19 +217,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.DeleteDocumentRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.DeleteDocumentRequest other = (com.google.firestore.v1.DeleteDocumentRequest) obj;
+    com.google.firestore.v1.DeleteDocumentRequest other =
+        (com.google.firestore.v1.DeleteDocumentRequest) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasCurrentDocument() != other.hasCurrentDocument()) return false;
     if (hasCurrentDocument()) {
-      if (!getCurrentDocument()
-          .equals(other.getCurrentDocument())) return false;
+      if (!getCurrentDocument().equals(other.getCurrentDocument())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -219,97 +252,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.DeleteDocumentRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.DeleteDocumentRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DeleteDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DeleteDocumentRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.DeleteDocumentRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for
    * [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].
@@ -317,33 +357,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.DeleteDocumentRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DeleteDocumentRequest)
       com.google.firestore.v1.DeleteDocumentRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DeleteDocumentRequest.class, com.google.firestore.v1.DeleteDocumentRequest.Builder.class);
+              com.google.firestore.v1.DeleteDocumentRequest.class,
+              com.google.firestore.v1.DeleteDocumentRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DeleteDocumentRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -358,9 +397,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
     }
 
     @java.lang.Override
@@ -379,8 +418,11 @@ public com.google.firestore.v1.DeleteDocumentRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.DeleteDocumentRequest buildPartial() {
-      com.google.firestore.v1.DeleteDocumentRequest result = new com.google.firestore.v1.DeleteDocumentRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.DeleteDocumentRequest result =
+          new com.google.firestore.v1.DeleteDocumentRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -391,9 +433,8 @@ private void buildPartial0(com.google.firestore.v1.DeleteDocumentRequest result)
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.currentDocument_ = currentDocumentBuilder_ == null
-            ? currentDocument_
-            : currentDocumentBuilder_.build();
+        result.currentDocument_ =
+            currentDocumentBuilder_ == null ? currentDocument_ : currentDocumentBuilder_.build();
       }
     }
 
@@ -401,38 +442,39 @@ private void buildPartial0(com.google.firestore.v1.DeleteDocumentRequest result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.DeleteDocumentRequest) {
-        return mergeFrom((com.google.firestore.v1.DeleteDocumentRequest)other);
+        return mergeFrom((com.google.firestore.v1.DeleteDocumentRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -475,24 +517,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCurrentDocumentFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getCurrentDocumentFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -502,23 +545,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -527,21 +573,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -549,30 +596,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -582,18 +636,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the Document to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -603,36 +661,49 @@ public Builder setNameBytes( private com.google.firestore.v1.Precondition currentDocument_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> currentDocumentBuilder_; + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> + currentDocumentBuilder_; /** + * + * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 2; + * * @return Whether the currentDocument field is set. */ public boolean hasCurrentDocument() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 2; + * * @return The currentDocument. */ public com.google.firestore.v1.Precondition getCurrentDocument() { if (currentDocumentBuilder_ == null) { - return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; } else { return currentDocumentBuilder_.getMessage(); } } /** + * + * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -654,6 +725,8 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -673,6 +746,8 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -682,9 +757,9 @@ public Builder setCurrentDocument(
      */
     public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value) {
       if (currentDocumentBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          currentDocument_ != null &&
-          currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && currentDocument_ != null
+            && currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
           getCurrentDocumentBuilder().mergeFrom(value);
         } else {
           currentDocument_ = value;
@@ -697,6 +772,8 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -715,6 +792,8 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -728,6 +807,8 @@ public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder()
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -739,11 +820,14 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
       if (currentDocumentBuilder_ != null) {
         return currentDocumentBuilder_.getMessageOrBuilder();
       } else {
-        return currentDocument_ == null ?
-            com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
+        return currentDocument_ == null
+            ? com.google.firestore.v1.Precondition.getDefaultInstance()
+            : currentDocument_;
       }
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -752,21 +836,24 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
      * .google.firestore.v1.Precondition current_document = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> 
+            com.google.firestore.v1.Precondition,
+            com.google.firestore.v1.Precondition.Builder,
+            com.google.firestore.v1.PreconditionOrBuilder>
         getCurrentDocumentFieldBuilder() {
       if (currentDocumentBuilder_ == null) {
-        currentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder>(
-                getCurrentDocument(),
-                getParentForChildren(),
-                isClean());
+        currentDocumentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.Precondition,
+                com.google.firestore.v1.Precondition.Builder,
+                com.google.firestore.v1.PreconditionOrBuilder>(
+                getCurrentDocument(), getParentForChildren(), isClean());
         currentDocument_ = null;
       }
       return currentDocumentBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -776,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.DeleteDocumentRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.DeleteDocumentRequest)
   private static final com.google.firestore.v1.DeleteDocumentRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.DeleteDocumentRequest();
   }
@@ -790,27 +877,27 @@ public static com.google.firestore.v1.DeleteDocumentRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public DeleteDocumentRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public DeleteDocumentRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -825,6 +912,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.DeleteDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
index 65416d9c8..ff6e2f121 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
@@ -1,55 +1,84 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface DeleteDocumentRequestOrBuilder extends
+public interface DeleteDocumentRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DeleteDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The resource name of the Document to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the Document to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; + * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 2; + * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
index 88727cdd0..e97f18f55 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A Firestore document.
  * Must not exceed 1 MiB - 4 bytes.
@@ -11,66 +28,70 @@
  *
  * Protobuf type {@code google.firestore.v1.Document}
  */
-public final class Document extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Document extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.Document)
     DocumentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Document.newBuilder() to construct.
   private Document(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Document() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Document();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.DocumentProto
+        .internal_static_google_firestore_v1_Document_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetFields();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_fieldAccessorTable
+    return com.google.firestore.v1.DocumentProto
+        .internal_static_google_firestore_v1_Document_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.firestore.v1.Document.class, com.google.firestore.v1.Document.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -79,30 +100,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -111,32 +132,37 @@ public java.lang.String getName() { } public static final int FIELDS_FIELD_NUMBER = 2; + private static final class FieldsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, com.google.firestore.v1.Value> defaultEntry = + static final com.google.protobuf.MapEntry + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.firestore.v1.Value.getDefaultInstance()); + .newDefaultInstance( + com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Document_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.firestore.v1.Value.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.firestore.v1.Value> fields_; + private com.google.protobuf.MapField fields_; + private com.google.protobuf.MapField - internalGetFields() { + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
    * The document's fields.
    * The map keys represent field names.
@@ -162,20 +188,21 @@ public int getFieldsCount() {
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   @java.lang.Override
-  public boolean containsFields(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsFields(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetFields().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getFieldsMap()} instead.
-   */
+  /** Use {@link #getFieldsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getFields() {
     return getFieldsMap();
   }
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -205,6 +232,8 @@ public java.util.Map getFieldsM
     return internalGetFields().getMap();
   }
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -230,17 +259,20 @@ public java.util.Map getFieldsM
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.firestore.v1.Value getFieldsOrDefault(
+  public /* nullable */ com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.firestore.v1.Value defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.firestore.v1.Value defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -266,9 +298,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.Value getFieldsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetFields().getMap();
     if (!map.containsKey(key)) {
@@ -280,6 +313,8 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -288,6 +323,7 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -295,6 +331,8 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -303,6 +341,7 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ @java.lang.Override @@ -310,6 +349,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -327,6 +368,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int UPDATE_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp updateTime_;
   /**
+   *
+   *
    * 
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -335,6 +378,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -342,6 +386,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -350,6 +396,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ @java.lang.Override @@ -357,6 +404,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -372,6 +421,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -383,17 +433,12 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetFields(),
-        FieldsDefaultEntryHolder.defaultEntry,
-        2);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 2);
     if (createTime_ != null) {
       output.writeMessage(3, getCreateTime());
     }
@@ -412,23 +457,21 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetFields().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, fields__);
+    for (java.util.Map.Entry entry :
+        internalGetFields().getMap().entrySet()) {
+      com.google.protobuf.MapEntry fields__ =
+          FieldsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields__);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -438,26 +481,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.Document)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.Document other = (com.google.firestore.v1.Document) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!internalGetFields().equals(
-        other.internalGetFields())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!internalGetFields().equals(other.internalGetFields())) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime()
-          .equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -489,97 +528,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.Document parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.Document parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.Document parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.Document parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Document parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Document parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Document parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Document parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Document parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.Document prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A Firestore document.
    * Must not exceed 1 MiB - 4 bytes.
@@ -587,55 +632,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.Document}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.Document)
       com.google.firestore.v1.DocumentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.DocumentProto
+          .internal_static_google_firestore_v1_Document_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetFields();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 2:
           return internalGetMutableFields();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_fieldAccessorTable
+      return com.google.firestore.v1.DocumentProto
+          .internal_static_google_firestore_v1_Document_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.Document.class, com.google.firestore.v1.Document.Builder.class);
+              com.google.firestore.v1.Document.class,
+              com.google.firestore.v1.Document.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.Document.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -656,9 +698,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Document_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.DocumentProto
+          .internal_static_google_firestore_v1_Document_descriptor;
     }
 
     @java.lang.Override
@@ -678,7 +720,9 @@ public com.google.firestore.v1.Document build() {
     @java.lang.Override
     public com.google.firestore.v1.Document buildPartial() {
       com.google.firestore.v1.Document result = new com.google.firestore.v1.Document(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -693,14 +737,10 @@ private void buildPartial0(com.google.firestore.v1.Document result) {
         result.fields_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
     }
 
@@ -708,38 +748,39 @@ private void buildPartial0(com.google.firestore.v1.Document result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.Document) {
-        return mergeFrom((com.google.firestore.v1.Document)other);
+        return mergeFrom((com.google.firestore.v1.Document) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -753,8 +794,7 @@ public Builder mergeFrom(com.google.firestore.v1.Document other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableFields().mergeFrom(
-          other.internalGetFields());
+      internalGetMutableFields().mergeFrom(other.internalGetFields());
       bitField0_ |= 0x00000002;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
@@ -788,40 +828,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              fields__ = input.readMessage(
-                  FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableFields().getMutableMap().put(
-                  fields__.getKey(), fields__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry
+                    fields__ =
+                        input.readMessage(
+                            FieldsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableFields()
+                    .getMutableMap()
+                    .put(fields__.getKey(), fields__.getValue());
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -831,23 +875,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -856,21 +903,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -878,30 +926,37 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -911,18 +966,22 @@ public Builder clearName() { return this; } /** + * + * *
      * The resource name of the document, for example
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -930,21 +989,20 @@ public Builder setNameBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, com.google.firestore.v1.Value> fields_; + private com.google.protobuf.MapField fields_; + private com.google.protobuf.MapField internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } + private com.google.protobuf.MapField internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField( - FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -953,10 +1011,13 @@ public Builder setNameBytes( onChanged(); return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * The document's fields.
      * The map keys represent field names.
@@ -982,20 +1043,21 @@ public int getFieldsCount() {
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
-    public boolean containsFields(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsFields(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetFields().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getFieldsMap()} instead.
-     */
+    /** Use {@link #getFieldsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getFields() {
       return getFieldsMap();
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1025,6 +1087,8 @@ public java.util.Map getFieldsM
       return internalGetFields().getMap();
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1050,17 +1114,20 @@ public java.util.Map getFieldsM
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.firestore.v1.Value getFieldsOrDefault(
+    public /* nullable */ com.google.firestore.v1.Value getFieldsOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.firestore.v1.Value defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        com.google.firestore.v1.Value defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1086,9 +1153,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
     @java.lang.Override
-    public com.google.firestore.v1.Value getFieldsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFields().getMap();
       if (!map.containsKey(key)) {
@@ -1096,13 +1164,15 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearFields() {
       bitField0_ = (bitField0_ & ~0x00000002);
-      internalGetMutableFields().getMutableMap()
-          .clear();
+      internalGetMutableFields().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1127,23 +1197,22 @@ public Builder clearFields() {
      *
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
-    public Builder removeFields(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableFields().getMutableMap()
-          .remove(key);
+    public Builder removeFields(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableFields().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableFields() {
+    public java.util.Map getMutableFields() {
       bitField0_ |= 0x00000002;
       return internalGetMutableFields().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1168,17 +1237,20 @@ public Builder removeFields(
      *
      * map<string, .google.firestore.v1.Value> fields = 2;
      */
-    public Builder putFields(
-        java.lang.String key,
-        com.google.firestore.v1.Value value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableFields().getMutableMap()
-          .put(key, value);
+    public Builder putFields(java.lang.String key, com.google.firestore.v1.Value value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableFields().getMutableMap().put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * The document's fields.
      * The map keys represent field names.
@@ -1205,16 +1277,20 @@ public Builder putFields(
      */
     public Builder putAllFields(
         java.util.Map values) {
-      internalGetMutableFields().getMutableMap()
-          .putAll(values);
+      internalGetMutableFields().getMutableMap().putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1223,12 +1299,15 @@ public Builder putAllFields(
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1237,16 +1316,21 @@ public boolean hasCreateTime() {
      * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1270,6 +1354,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1279,8 +1365,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 3;
      */
-    public Builder setCreateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (createTimeBuilder_ == null) {
         createTime_ = builderForValue.build();
       } else {
@@ -1291,6 +1376,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1302,9 +1389,9 @@ public Builder setCreateTime(
      */
     public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          createTime_ != null &&
-          createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && createTime_ != null
+            && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCreateTimeBuilder().mergeFrom(value);
         } else {
           createTime_ = value;
@@ -1317,6 +1404,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1337,6 +1426,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1352,6 +1443,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1365,11 +1458,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
       if (createTimeBuilder_ != null) {
         return createTimeBuilder_.getMessageOrBuilder();
       } else {
-        return createTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
+        return createTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : createTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was created.
      * This value increases monotonically when a document is deleted then
@@ -1380,14 +1476,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getCreateTimeFieldBuilder() {
       if (createTimeBuilder_ == null) {
-        createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCreateTime(),
-                getParentForChildren(),
-                isClean());
+        createTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCreateTime(), getParentForChildren(), isClean());
         createTime_ = null;
       }
       return createTimeBuilder_;
@@ -1395,8 +1494,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp updateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        updateTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1405,12 +1509,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1419,16 +1526,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1452,6 +1564,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1461,8 +1575,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 4;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
       } else {
@@ -1473,6 +1586,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1484,9 +1599,9 @@ public Builder setUpdateTime(
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          updateTime_ != null &&
-          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && updateTime_ != null
+            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -1499,6 +1614,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1519,6 +1636,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1534,6 +1653,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1547,11 +1668,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+        return updateTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : updateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time at which the document was last changed.
      * This value is initially set to the `create_time` then increases
@@ -1562,21 +1686,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(),
-                getParentForChildren(),
-                isClean());
+        updateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(), getParentForChildren(), isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1586,12 +1713,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.Document)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.Document)
   private static final com.google.firestore.v1.Document DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.Document();
   }
@@ -1600,27 +1727,27 @@ public static com.google.firestore.v1.Document getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Document parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Document parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1635,6 +1762,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.Document getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
index 3d4c96a48..0caf53ee5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A [Document][google.firestore.v1.Document] has changed.
  * May be the result of multiple [writes][google.firestore.v1.Write], including
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentChange}
  */
-public final class DocumentChange extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DocumentChange extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentChange)
     DocumentChangeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DocumentChange.newBuilder() to construct.
   private DocumentChange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DocumentChange() {
     targetIds_ = emptyIntList();
     removedTargetIds_ = emptyIntList();
@@ -31,38 +49,42 @@ private DocumentChange() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DocumentChange();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentChange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentChange.class, com.google.firestore.v1.DocumentChange.Builder.class);
+            com.google.firestore.v1.DocumentChange.class,
+            com.google.firestore.v1.DocumentChange.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.Document document_;
   /**
+   *
+   *
    * 
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return Whether the document field is set. */ @java.lang.Override @@ -70,12 +92,15 @@ public boolean hasDocument() { return document_ != null; } /** + * + * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return The document. */ @java.lang.Override @@ -83,6 +108,8 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** + * + * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
@@ -96,88 +123,109 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
   }
 
   public static final int TARGET_IDS_FIELD_NUMBER = 5;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.Internal.IntList targetIds_;
   /**
+   *
+   *
    * 
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; + * * @return A list containing the targetIds. */ @java.lang.Override - public java.util.List - getTargetIdsList() { + public java.util.List getTargetIdsList() { return targetIds_; } /** + * + * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; + * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** + * + * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ public int getTargetIds(int index) { return targetIds_.getInt(index); } + private int targetIdsMemoizedSerializedSize = -1; public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList removedTargetIds_; /** + * + * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return A list containing the removedTargetIds. */ @java.lang.Override - public java.util.List - getRemovedTargetIdsList() { + public java.util.List getRemovedTargetIdsList() { return removedTargetIds_; } /** + * + * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** + * + * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } + private int removedTargetIdsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (document_ != null) { output.writeMessage(1, getDocument()); @@ -219,34 +266,32 @@ public int getSerializedSize() { size = 0; if (document_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDocument()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDocument()); } { int dataSize = 0; for (int i = 0; i < targetIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(targetIds_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(targetIds_.getInt(i)); } size += dataSize; if (!getTargetIdsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } targetIdsMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < removedTargetIds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(removedTargetIds_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag( + removedTargetIds_.getInt(i)); } size += dataSize; if (!getRemovedTargetIdsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } removedTargetIdsMemoizedSerializedSize = dataSize; } @@ -258,7 +303,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.DocumentChange)) { return super.equals(obj); @@ -267,13 +312,10 @@ public boolean equals(final java.lang.Object obj) { if (hasDocument() != other.hasDocument()) return false; if (hasDocument()) { - if (!getDocument() - .equals(other.getDocument())) return false; + if (!getDocument().equals(other.getDocument())) return false; } - if (!getTargetIdsList() - .equals(other.getTargetIdsList())) return false; - if (!getRemovedTargetIdsList() - .equals(other.getRemovedTargetIdsList())) return false; + if (!getTargetIdsList().equals(other.getTargetIdsList())) return false; + if (!getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,97 +344,104 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.DocumentChange parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.DocumentChange parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentChange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentChange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentChange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentChange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.DocumentChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentChange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.DocumentChange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.DocumentChange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * May be the result of multiple [writes][google.firestore.v1.Write], including
@@ -404,33 +453,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.DocumentChange}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentChange)
       com.google.firestore.v1.DocumentChangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.WriteProto
+          .internal_static_google_firestore_v1_DocumentChange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
+      return com.google.firestore.v1.WriteProto
+          .internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentChange.class, com.google.firestore.v1.DocumentChange.Builder.class);
+              com.google.firestore.v1.DocumentChange.class,
+              com.google.firestore.v1.DocumentChange.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentChange.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -446,9 +494,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentChange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.WriteProto
+          .internal_static_google_firestore_v1_DocumentChange_descriptor;
     }
 
     @java.lang.Override
@@ -467,9 +515,12 @@ public com.google.firestore.v1.DocumentChange build() {
 
     @java.lang.Override
     public com.google.firestore.v1.DocumentChange buildPartial() {
-      com.google.firestore.v1.DocumentChange result = new com.google.firestore.v1.DocumentChange(this);
+      com.google.firestore.v1.DocumentChange result =
+          new com.google.firestore.v1.DocumentChange(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -490,9 +541,7 @@ private void buildPartialRepeatedFields(com.google.firestore.v1.DocumentChange r
     private void buildPartial0(com.google.firestore.v1.DocumentChange result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.document_ = documentBuilder_ == null
-            ? document_
-            : documentBuilder_.build();
+        result.document_ = documentBuilder_ == null ? document_ : documentBuilder_.build();
       }
     }
 
@@ -500,38 +549,39 @@ private void buildPartial0(com.google.firestore.v1.DocumentChange result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.DocumentChange) {
-        return mergeFrom((com.google.firestore.v1.DocumentChange)other);
+        return mergeFrom((com.google.firestore.v1.DocumentChange) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -589,51 +639,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getDocumentFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 40: {
-              int v = input.readInt32();
-              ensureTargetIdsIsMutable();
-              targetIds_.addInt(v);
-              break;
-            } // case 40
-            case 42: {
-              int length = input.readRawVarint32();
-              int limit = input.pushLimit(length);
-              ensureTargetIdsIsMutable();
-              while (input.getBytesUntilLimit() > 0) {
-                targetIds_.addInt(input.readInt32());
-              }
-              input.popLimit(limit);
-              break;
-            } // case 42
-            case 48: {
-              int v = input.readInt32();
-              ensureRemovedTargetIdsIsMutable();
-              removedTargetIds_.addInt(v);
-              break;
-            } // case 48
-            case 50: {
-              int length = input.readRawVarint32();
-              int limit = input.pushLimit(length);
-              ensureRemovedTargetIdsIsMutable();
-              while (input.getBytesUntilLimit() > 0) {
-                removedTargetIds_.addInt(input.readInt32());
-              }
-              input.popLimit(limit);
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 40:
+              {
+                int v = input.readInt32();
+                ensureTargetIdsIsMutable();
+                targetIds_.addInt(v);
+                break;
+              } // case 40
+            case 42:
+              {
+                int length = input.readRawVarint32();
+                int limit = input.pushLimit(length);
+                ensureTargetIdsIsMutable();
+                while (input.getBytesUntilLimit() > 0) {
+                  targetIds_.addInt(input.readInt32());
+                }
+                input.popLimit(limit);
+                break;
+              } // case 42
+            case 48:
+              {
+                int v = input.readInt32();
+                ensureRemovedTargetIdsIsMutable();
+                removedTargetIds_.addInt(v);
+                break;
+              } // case 48
+            case 50:
+              {
+                int length = input.readRawVarint32();
+                int limit = input.pushLimit(length);
+                ensureRemovedTargetIdsIsMutable();
+                while (input.getBytesUntilLimit() > 0) {
+                  removedTargetIds_.addInt(input.readInt32());
+                }
+                input.popLimit(limit);
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -643,40 +697,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.firestore.v1.Document document_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_;
+            com.google.firestore.v1.Document,
+            com.google.firestore.v1.Document.Builder,
+            com.google.firestore.v1.DocumentOrBuilder>
+        documentBuilder_;
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
      * 
* * .google.firestore.v1.Document document = 1; + * * @return Whether the document field is set. */ public boolean hasDocument() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
      * 
* * .google.firestore.v1.Document document = 1; + * * @return The document. */ public com.google.firestore.v1.Document getDocument() { if (documentBuilder_ == null) { - return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; } else { return documentBuilder_.getMessage(); } } /** + * + * *
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -698,6 +766,8 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -705,8 +775,7 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
      *
      * .google.firestore.v1.Document document = 1;
      */
-    public Builder setDocument(
-        com.google.firestore.v1.Document.Builder builderForValue) {
+    public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) {
       if (documentBuilder_ == null) {
         document_ = builderForValue.build();
       } else {
@@ -717,6 +786,8 @@ public Builder setDocument(
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -726,9 +797,9 @@ public Builder setDocument(
      */
     public Builder mergeDocument(com.google.firestore.v1.Document value) {
       if (documentBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          document_ != null &&
-          document_ != com.google.firestore.v1.Document.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && document_ != null
+            && document_ != com.google.firestore.v1.Document.getDefaultInstance()) {
           getDocumentBuilder().mergeFrom(value);
         } else {
           document_ = value;
@@ -741,6 +812,8 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -759,6 +832,8 @@ public Builder clearDocument() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -772,6 +847,8 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() {
       return getDocumentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -783,11 +860,14 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
       if (documentBuilder_ != null) {
         return documentBuilder_.getMessageOrBuilder();
       } else {
-        return document_ == null ?
-            com.google.firestore.v1.Document.getDefaultInstance() : document_;
+        return document_ == null
+            ? com.google.firestore.v1.Document.getDefaultInstance()
+            : document_;
       }
     }
     /**
+     *
+     *
      * 
      * The new state of the [Document][google.firestore.v1.Document].
      * If `mask` is set, contains only fields that were updated or added.
@@ -796,20 +876,24 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * .google.firestore.v1.Document document = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> 
+            com.google.firestore.v1.Document,
+            com.google.firestore.v1.Document.Builder,
+            com.google.firestore.v1.DocumentOrBuilder>
         getDocumentFieldBuilder() {
       if (documentBuilder_ == null) {
-        documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>(
-                getDocument(),
-                getParentForChildren(),
-                isClean());
+        documentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.Document,
+                com.google.firestore.v1.Document.Builder,
+                com.google.firestore.v1.DocumentOrBuilder>(
+                getDocument(), getParentForChildren(), isClean());
         document_ = null;
       }
       return documentBuilder_;
     }
 
     private com.google.protobuf.Internal.IntList targetIds_ = emptyIntList();
+
     private void ensureTargetIdsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         targetIds_ = mutableCopy(targetIds_);
@@ -817,35 +901,44 @@ private void ensureTargetIdsIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; + * * @return A list containing the targetIds. */ - public java.util.List - getTargetIdsList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(targetIds_) : targetIds_; + public java.util.List getTargetIdsList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(targetIds_) + : targetIds_; } /** + * + * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; + * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** + * + * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ @@ -853,62 +946,71 @@ public int getTargetIds(int index) { return targetIds_.getInt(index); } /** + * + * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; + * * @param index The index to set the value at. * @param value The targetIds to set. * @return This builder for chaining. */ - public Builder setTargetIds( - int index, int value) { - + public Builder setTargetIds(int index, int value) { + ensureTargetIdsIsMutable(); targetIds_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; + * * @param value The targetIds to add. * @return This builder for chaining. */ public Builder addTargetIds(int value) { - + ensureTargetIdsIsMutable(); targetIds_.addInt(value); onChanged(); return this; } /** + * + * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; + * * @param values The targetIds to add. * @return This builder for chaining. */ - public Builder addAllTargetIds( - java.lang.Iterable values) { + public Builder addAllTargetIds(java.lang.Iterable values) { ensureTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetIds_); onChanged(); return this; } /** + * + * *
      * A set of target IDs of targets that match this document.
      * 
* * repeated int32 target_ids = 5; + * * @return This builder for chaining. */ public Builder clearTargetIds() { @@ -919,6 +1021,7 @@ public Builder clearTargetIds() { } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); + private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); @@ -926,35 +1029,44 @@ private void ensureRemovedTargetIdsIsMutable() { } } /** + * + * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; + * * @return A list containing the removedTargetIds. */ - public java.util.List - getRemovedTargetIdsList() { - return ((bitField0_ & 0x00000004) != 0) ? - java.util.Collections.unmodifiableList(removedTargetIds_) : removedTargetIds_; + public java.util.List getRemovedTargetIdsList() { + return ((bitField0_ & 0x00000004) != 0) + ? java.util.Collections.unmodifiableList(removedTargetIds_) + : removedTargetIds_; } /** + * + * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; + * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** + * + * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ @@ -962,62 +1074,71 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** + * + * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds( - int index, int value) { - + public Builder setRemovedTargetIds(int index, int value) { + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param value The removedTargetIds to add. * @return This builder for chaining. */ public Builder addRemovedTargetIds(int value) { - + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.addInt(value); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param values The removedTargetIds to add. * @return This builder for chaining. */ - public Builder addAllRemovedTargetIds( - java.lang.Iterable values) { + public Builder addAllRemovedTargetIds(java.lang.Iterable values) { ensureRemovedTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, removedTargetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, removedTargetIds_); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that no longer match this document.
      * 
* * repeated int32 removed_target_ids = 6; + * * @return This builder for chaining. */ public Builder clearRemovedTargetIds() { @@ -1026,9 +1147,9 @@ public Builder clearRemovedTargetIds() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1038,12 +1159,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentChange) } // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentChange) private static final com.google.firestore.v1.DocumentChange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentChange(); } @@ -1052,27 +1173,27 @@ public static com.google.firestore.v1.DocumentChange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentChange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentChange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1087,6 +1208,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.DocumentChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java index 0a931ac08..faf5f3dab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; -public interface DocumentChangeOrBuilder extends +public interface DocumentChangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentChange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return Whether the document field is set. */ boolean hasDocument(); /** + * + * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** + * + * *
    * The new state of the [Document][google.firestore.v1.Document].
    * If `mask` is set, contains only fields that were updated or added.
@@ -38,58 +62,76 @@ public interface DocumentChangeOrBuilder extends
   com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder();
 
   /**
+   *
+   *
    * 
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; + * * @return A list containing the targetIds. */ java.util.List getTargetIdsList(); /** + * + * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; + * * @return The count of targetIds. */ int getTargetIdsCount(); /** + * + * *
    * A set of target IDs of targets that match this document.
    * 
* * repeated int32 target_ids = 5; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ int getTargetIds(int index); /** + * + * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** + * + * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** + * + * *
    * A set of target IDs for targets that no longer match this document.
    * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java index 25675b82e..8cf3d6a68 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** + * + * *
  * A [Document][google.firestore.v1.Document] has been deleted.
  * May be the result of multiple [writes][google.firestore.v1.Write], including
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentDelete}
  */
-public final class DocumentDelete extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DocumentDelete extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentDelete)
     DocumentDeleteOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DocumentDelete.newBuilder() to construct.
   private DocumentDelete(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DocumentDelete() {
     document_ = "";
     removedTargetIds_ = emptyIntList();
@@ -31,39 +49,44 @@ private DocumentDelete() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DocumentDelete();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentDelete_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentDelete.class, com.google.firestore.v1.DocumentDelete.Builder.class);
+            com.google.firestore.v1.DocumentDelete.class,
+            com.google.firestore.v1.DocumentDelete.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object document_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that was
    * deleted.
    * 
* * string document = 1; + * * @return The document. */ @java.lang.Override @@ -72,30 +95,30 @@ public java.lang.String getDocument() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; } } /** + * + * *
    * The resource name of the [Document][google.firestore.v1.Document] that was
    * deleted.
    * 
* * string document = 1; + * * @return The bytes for document. */ @java.lang.Override - public com.google.protobuf.ByteString - getDocumentBytes() { + public com.google.protobuf.ByteString getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); document_ = b; return b; } else { @@ -104,55 +127,68 @@ public java.lang.String getDocument() { } public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList removedTargetIds_; /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return A list containing the removedTargetIds. */ @java.lang.Override - public java.util.List - getRemovedTargetIdsList() { + public java.util.List getRemovedTargetIdsList() { return removedTargetIds_; } /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } + private int removedTargetIdsMemoizedSerializedSize = -1; public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -160,12 +196,15 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -173,6 +212,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
@@ -186,6 +227,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -197,8 +239,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     getSerializedSize();
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(document_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_);
@@ -226,20 +267,19 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, document_);
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime());
     }
     {
       int dataSize = 0;
       for (int i = 0; i < removedTargetIds_.size(); i++) {
-        dataSize += com.google.protobuf.CodedOutputStream
-          .computeInt32SizeNoTag(removedTargetIds_.getInt(i));
+        dataSize +=
+            com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(
+                removedTargetIds_.getInt(i));
       }
       size += dataSize;
       if (!getRemovedTargetIdsList().isEmpty()) {
         size += 1;
-        size += com.google.protobuf.CodedOutputStream
-            .computeInt32SizeNoTag(dataSize);
+        size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
       }
       removedTargetIdsMemoizedSerializedSize = dataSize;
     }
@@ -251,21 +291,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.DocumentDelete)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.DocumentDelete other = (com.google.firestore.v1.DocumentDelete) obj;
 
-    if (!getDocument()
-        .equals(other.getDocument())) return false;
-    if (!getRemovedTargetIdsList()
-        .equals(other.getRemovedTargetIdsList())) return false;
+    if (!getDocument().equals(other.getDocument())) return false;
+    if (!getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList())) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime()
-          .equals(other.getReadTime())) return false;
+      if (!getReadTime().equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -293,97 +330,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.DocumentDelete parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.DocumentDelete parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DocumentDelete parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.DocumentDelete prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A [Document][google.firestore.v1.Document] has been deleted.
    * May be the result of multiple [writes][google.firestore.v1.Write], including
@@ -395,33 +439,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.DocumentDelete}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentDelete)
       com.google.firestore.v1.DocumentDeleteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.WriteProto
+          .internal_static_google_firestore_v1_DocumentDelete_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
+      return com.google.firestore.v1.WriteProto
+          .internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentDelete.class, com.google.firestore.v1.DocumentDelete.Builder.class);
+              com.google.firestore.v1.DocumentDelete.class,
+              com.google.firestore.v1.DocumentDelete.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentDelete.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -437,9 +480,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentDelete_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.WriteProto
+          .internal_static_google_firestore_v1_DocumentDelete_descriptor;
     }
 
     @java.lang.Override
@@ -458,9 +501,12 @@ public com.google.firestore.v1.DocumentDelete build() {
 
     @java.lang.Override
     public com.google.firestore.v1.DocumentDelete buildPartial() {
-      com.google.firestore.v1.DocumentDelete result = new com.google.firestore.v1.DocumentDelete(this);
+      com.google.firestore.v1.DocumentDelete result =
+          new com.google.firestore.v1.DocumentDelete(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -479,9 +525,7 @@ private void buildPartial0(com.google.firestore.v1.DocumentDelete result) {
         result.document_ = document_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null
-            ? readTime_
-            : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
       }
     }
 
@@ -489,38 +533,39 @@ private void buildPartial0(com.google.firestore.v1.DocumentDelete result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.DocumentDelete) {
-        return mergeFrom((com.google.firestore.v1.DocumentDelete)other);
+        return mergeFrom((com.google.firestore.v1.DocumentDelete) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -573,40 +618,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              document_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 34: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            case 48: {
-              int v = input.readInt32();
-              ensureRemovedTargetIdsIsMutable();
-              removedTargetIds_.addInt(v);
-              break;
-            } // case 48
-            case 50: {
-              int length = input.readRawVarint32();
-              int limit = input.pushLimit(length);
-              ensureRemovedTargetIdsIsMutable();
-              while (input.getBytesUntilLimit() > 0) {
-                removedTargetIds_.addInt(input.readInt32());
-              }
-              input.popLimit(limit);
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                document_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 34:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            case 48:
+              {
+                int v = input.readInt32();
+                ensureRemovedTargetIdsIsMutable();
+                removedTargetIds_.addInt(v);
+                break;
+              } // case 48
+            case 50:
+              {
+                int length = input.readRawVarint32();
+                int limit = input.pushLimit(length);
+                ensureRemovedTargetIdsIsMutable();
+                while (input.getBytesUntilLimit() > 0) {
+                  removedTargetIds_.addInt(input.readInt32());
+                }
+                input.popLimit(limit);
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -616,23 +664,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object document_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the [Document][google.firestore.v1.Document] that was
      * deleted.
      * 
* * string document = 1; + * * @return The document. */ public java.lang.String getDocument() { java.lang.Object ref = document_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; @@ -641,21 +692,22 @@ public java.lang.String getDocument() { } } /** + * + * *
      * The resource name of the [Document][google.firestore.v1.Document] that was
      * deleted.
      * 
* * string document = 1; + * * @return The bytes for document. */ - public com.google.protobuf.ByteString - getDocumentBytes() { + public com.google.protobuf.ByteString getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); document_ = b; return b; } else { @@ -663,30 +715,37 @@ public java.lang.String getDocument() { } } /** + * + * *
      * The resource name of the [Document][google.firestore.v1.Document] that was
      * deleted.
      * 
* * string document = 1; + * * @param value The document to set. * @return This builder for chaining. */ - public Builder setDocument( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocument(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } document_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the [Document][google.firestore.v1.Document] that was
      * deleted.
      * 
* * string document = 1; + * * @return This builder for chaining. */ public Builder clearDocument() { @@ -696,18 +755,22 @@ public Builder clearDocument() { return this; } /** + * + * *
      * The resource name of the [Document][google.firestore.v1.Document] that was
      * deleted.
      * 
* * string document = 1; + * * @param value The bytes for document to set. * @return This builder for chaining. */ - public Builder setDocumentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocumentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); document_ = value; bitField0_ |= 0x00000001; @@ -716,6 +779,7 @@ public Builder setDocumentBytes( } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); + private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); @@ -723,35 +787,44 @@ private void ensureRemovedTargetIdsIsMutable() { } } /** + * + * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; + * * @return A list containing the removedTargetIds. */ - public java.util.List - getRemovedTargetIdsList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(removedTargetIds_) : removedTargetIds_; + public java.util.List getRemovedTargetIdsList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(removedTargetIds_) + : removedTargetIds_; } /** + * + * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; + * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** + * + * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ @@ -759,62 +832,71 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** + * + * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds( - int index, int value) { - + public Builder setRemovedTargetIds(int index, int value) { + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param value The removedTargetIds to add. * @return This builder for chaining. */ public Builder addRemovedTargetIds(int value) { - + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.addInt(value); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; + * * @param values The removedTargetIds to add. * @return This builder for chaining. */ - public Builder addAllRemovedTargetIds( - java.lang.Iterable values) { + public Builder addAllRemovedTargetIds(java.lang.Iterable values) { ensureRemovedTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, removedTargetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, removedTargetIds_); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that previously matched this entity.
      * 
* * repeated int32 removed_target_ids = 6; + * * @return This builder for chaining. */ public Builder clearRemovedTargetIds() { @@ -826,26 +908,35 @@ public Builder clearRemovedTargetIds() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -856,6 +947,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -877,6 +970,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -884,8 +979,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -896,6 +990,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -905,9 +1001,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -920,6 +1016,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -938,6 +1036,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -951,6 +1051,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -962,11 +1064,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the delete was observed.
      * Greater or equal to the `commit_time` of the delete.
@@ -975,21 +1078,24 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(),
-                getParentForChildren(),
-                isClean());
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(), getParentForChildren(), isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -999,12 +1105,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentDelete)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentDelete)
   private static final com.google.firestore.v1.DocumentDelete DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentDelete();
   }
@@ -1013,27 +1119,27 @@ public static com.google.firestore.v1.DocumentDelete getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public DocumentDelete parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public DocumentDelete parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1048,6 +1154,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.DocumentDelete getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
index 04a0db1b7..49b952456 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
@@ -1,84 +1,122 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface DocumentDeleteOrBuilder extends
+public interface DocumentDeleteOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentDelete)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that was
    * deleted.
    * 
* * string document = 1; + * * @return The document. */ java.lang.String getDocument(); /** + * + * *
    * The resource name of the [Document][google.firestore.v1.Document] that was
    * deleted.
    * 
* * string document = 1; + * * @return The bytes for document. */ - com.google.protobuf.ByteString - getDocumentBytes(); + com.google.protobuf.ByteString getDocumentBytes(); /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** + * + * *
    * A set of target IDs for targets that previously matched this entity.
    * 
* * repeated int32 removed_target_ids = 6; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ int getRemovedTargetIds(int index); /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The read timestamp at which the delete was observed.
    * Greater or equal to the `commit_time` of the delete.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
index 9f275acdf..2e7b517ae 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/common.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A set of field paths on a document.
  * Used to restrict a get or update operation on a document to a subset of its
@@ -15,48 +32,53 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentMask}
  */
-public final class DocumentMask extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DocumentMask extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentMask)
     DocumentMaskOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DocumentMask.newBuilder() to construct.
   private DocumentMask(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DocumentMask() {
     fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DocumentMask();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.CommonProto
+        .internal_static_google_firestore_v1_DocumentMask_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
+    return com.google.firestore.v1.CommonProto
+        .internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentMask.class, com.google.firestore.v1.DocumentMask.Builder.class);
+            com.google.firestore.v1.DocumentMask.class,
+            com.google.firestore.v1.DocumentMask.Builder.class);
   }
 
   public static final int FIELD_PATHS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList fieldPaths_;
   /**
+   *
+   *
    * 
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -64,13 +86,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string field_paths = 1; + * * @return A list containing the fieldPaths. */ - public com.google.protobuf.ProtocolStringList - getFieldPathsList() { + public com.google.protobuf.ProtocolStringList getFieldPathsList() { return fieldPaths_; } /** + * + * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -78,12 +102,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string field_paths = 1; + * * @return The count of fieldPaths. */ public int getFieldPathsCount() { return fieldPaths_.size(); } /** + * + * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -91,6 +118,7 @@ public int getFieldPathsCount() {
    * 
* * repeated string field_paths = 1; + * * @param index The index of the element to return. * @return The fieldPaths at the given index. */ @@ -98,6 +126,8 @@ public java.lang.String getFieldPaths(int index) { return fieldPaths_.get(index); } /** + * + * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -105,15 +135,16 @@ public java.lang.String getFieldPaths(int index) {
    * 
* * repeated string field_paths = 1; + * * @param index The index of the value to return. * @return The bytes of the fieldPaths at the given index. */ - public com.google.protobuf.ByteString - getFieldPathsBytes(int index) { + public com.google.protobuf.ByteString getFieldPathsBytes(int index) { return fieldPaths_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,8 +156,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < fieldPaths_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPaths_.getRaw(i)); } @@ -155,15 +185,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.DocumentMask)) { return super.equals(obj); } com.google.firestore.v1.DocumentMask other = (com.google.firestore.v1.DocumentMask) obj; - if (!getFieldPathsList() - .equals(other.getFieldPathsList())) return false; + if (!getFieldPathsList().equals(other.getFieldPathsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,97 +213,103 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.DocumentMask parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.DocumentMask parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentMask parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.DocumentMask parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.DocumentMask parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentMask parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentMask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentMask parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentMask parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentMask parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.DocumentMask parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentMask parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.DocumentMask parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentMask parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.DocumentMask prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A set of field paths on a document.
    * Used to restrict a get or update operation on a document to a subset of its
@@ -286,33 +321,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.DocumentMask}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentMask)
       com.google.firestore.v1.DocumentMaskOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.CommonProto
+          .internal_static_google_firestore_v1_DocumentMask_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
+      return com.google.firestore.v1.CommonProto
+          .internal_static_google_firestore_v1_DocumentMask_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentMask.class, com.google.firestore.v1.DocumentMask.Builder.class);
+              com.google.firestore.v1.DocumentMask.class,
+              com.google.firestore.v1.DocumentMask.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentMask.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -323,9 +357,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_DocumentMask_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.CommonProto
+          .internal_static_google_firestore_v1_DocumentMask_descriptor;
     }
 
     @java.lang.Override
@@ -346,7 +380,9 @@ public com.google.firestore.v1.DocumentMask build() {
     public com.google.firestore.v1.DocumentMask buildPartial() {
       com.google.firestore.v1.DocumentMask result = new com.google.firestore.v1.DocumentMask(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -367,38 +403,39 @@ private void buildPartial0(com.google.firestore.v1.DocumentMask result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.DocumentMask) {
-        return mergeFrom((com.google.firestore.v1.DocumentMask)other);
+        return mergeFrom((com.google.firestore.v1.DocumentMask) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -443,18 +480,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureFieldPathsIsMutable();
-              fieldPaths_.add(s);
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureFieldPathsIsMutable();
+                fieldPaths_.add(s);
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -464,16 +503,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList fieldPaths_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureFieldPathsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         fieldPaths_ = new com.google.protobuf.LazyStringArrayList(fieldPaths_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -481,13 +525,15 @@ private void ensureFieldPathsIsMutable() {
      * 
* * repeated string field_paths = 1; + * * @return A list containing the fieldPaths. */ - public com.google.protobuf.ProtocolStringList - getFieldPathsList() { + public com.google.protobuf.ProtocolStringList getFieldPathsList() { return fieldPaths_.getUnmodifiableView(); } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -495,12 +541,15 @@ private void ensureFieldPathsIsMutable() {
      * 
* * repeated string field_paths = 1; + * * @return The count of fieldPaths. */ public int getFieldPathsCount() { return fieldPaths_.size(); } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -508,6 +557,7 @@ public int getFieldPathsCount() {
      * 
* * repeated string field_paths = 1; + * * @param index The index of the element to return. * @return The fieldPaths at the given index. */ @@ -515,6 +565,8 @@ public java.lang.String getFieldPaths(int index) { return fieldPaths_.get(index); } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -522,14 +574,16 @@ public java.lang.String getFieldPaths(int index) {
      * 
* * repeated string field_paths = 1; + * * @param index The index of the value to return. * @return The bytes of the fieldPaths at the given index. */ - public com.google.protobuf.ByteString - getFieldPathsBytes(int index) { + public com.google.protobuf.ByteString getFieldPathsBytes(int index) { return fieldPaths_.getByteString(index); } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -537,19 +591,23 @@ public java.lang.String getFieldPaths(int index) {
      * 
* * repeated string field_paths = 1; + * * @param index The index to set the value at. * @param value The fieldPaths to set. * @return This builder for chaining. */ - public Builder setFieldPaths( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldPaths(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFieldPathsIsMutable(); fieldPaths_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -557,18 +615,22 @@ public Builder setFieldPaths(
      * 
* * repeated string field_paths = 1; + * * @param value The fieldPaths to add. * @return This builder for chaining. */ - public Builder addFieldPaths( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFieldPaths(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFieldPathsIsMutable(); fieldPaths_.add(value); onChanged(); return this; } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -576,18 +638,19 @@ public Builder addFieldPaths(
      * 
* * repeated string field_paths = 1; + * * @param values The fieldPaths to add. * @return This builder for chaining. */ - public Builder addAllFieldPaths( - java.lang.Iterable values) { + public Builder addAllFieldPaths(java.lang.Iterable values) { ensureFieldPathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fieldPaths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldPaths_); onChanged(); return this; } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -595,6 +658,7 @@ public Builder addAllFieldPaths(
      * 
* * repeated string field_paths = 1; + * * @return This builder for chaining. */ public Builder clearFieldPaths() { @@ -604,6 +668,8 @@ public Builder clearFieldPaths() { return this; } /** + * + * *
      * The list of field paths in the mask. See
      * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -611,21 +677,23 @@ public Builder clearFieldPaths() {
      * 
* * repeated string field_paths = 1; + * * @param value The bytes of the fieldPaths to add. * @return This builder for chaining. */ - public Builder addFieldPathsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFieldPathsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFieldPathsIsMutable(); fieldPaths_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -635,12 +703,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentMask) } // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentMask) private static final com.google.firestore.v1.DocumentMask DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentMask(); } @@ -649,27 +717,27 @@ public static com.google.firestore.v1.DocumentMask getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentMask parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentMask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -684,6 +752,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.DocumentMask getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java index 95dc7d655..747760394 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; -public interface DocumentMaskOrBuilder extends +public interface DocumentMaskOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentMask) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -15,11 +33,13 @@ public interface DocumentMaskOrBuilder extends
    * 
* * repeated string field_paths = 1; + * * @return A list containing the fieldPaths. */ - java.util.List - getFieldPathsList(); + java.util.List getFieldPathsList(); /** + * + * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -27,10 +47,13 @@ public interface DocumentMaskOrBuilder extends
    * 
* * repeated string field_paths = 1; + * * @return The count of fieldPaths. */ int getFieldPathsCount(); /** + * + * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -38,11 +61,14 @@ public interface DocumentMaskOrBuilder extends
    * 
* * repeated string field_paths = 1; + * * @param index The index of the element to return. * @return The fieldPaths at the given index. */ java.lang.String getFieldPaths(int index); /** + * + * *
    * The list of field paths in the mask. See
    * [Document.fields][google.firestore.v1.Document.fields] for a field path
@@ -50,9 +76,9 @@ public interface DocumentMaskOrBuilder extends
    * 
* * repeated string field_paths = 1; + * * @param index The index of the value to return. * @return The bytes of the fieldPaths at the given index. */ - com.google.protobuf.ByteString - getFieldPathsBytes(int index); + com.google.protobuf.ByteString getFieldPathsBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java similarity index 89% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java index a0027dbfe..6c80d8e2a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface DocumentOrBuilder extends +public interface DocumentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Document) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The resource name of the document, for example
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The document's fields.
    * The map keys represent field names.
@@ -56,6 +79,8 @@ public interface DocumentOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -80,15 +105,13 @@ public interface DocumentOrBuilder extends
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  boolean containsFields(
-      java.lang.String key);
-  /**
-   * Use {@link #getFieldsMap()} instead.
-   */
+  boolean containsFields(java.lang.String key);
+  /** Use {@link #getFieldsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getFields();
+  java.util.Map getFields();
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -113,9 +136,10 @@ boolean containsFields(
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  java.util.Map
-  getFieldsMap();
+  java.util.Map getFieldsMap();
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -141,11 +165,13 @@ boolean containsFields(
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
   /* nullable */
-com.google.firestore.v1.Value getFieldsOrDefault(
+  com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.firestore.v1.Value defaultValue);
+      com.google.firestore.v1.Value defaultValue);
   /**
+   *
+   *
    * 
    * The document's fields.
    * The map keys represent field names.
@@ -170,10 +196,11 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    *
    * map<string, .google.firestore.v1.Value> fields = 2;
    */
-  com.google.firestore.v1.Value getFieldsOrThrow(
-      java.lang.String key);
+  com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -182,10 +209,13 @@ com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -194,10 +224,13 @@ com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp create_time = 3; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time at which the document was created.
    * This value increases monotonically when a document is deleted then
@@ -210,6 +243,8 @@ com.google.firestore.v1.Value getFieldsOrThrow(
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -218,10 +253,13 @@ com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
@@ -230,10 +268,13 @@ com.google.firestore.v1.Value getFieldsOrThrow(
    * 
* * .google.protobuf.Timestamp update_time = 4; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The time at which the document was last changed.
    * This value is initially set to the `create_time` then increases
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
new file mode 100644
index 000000000..a5fbc4549
--- /dev/null
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
@@ -0,0 +1,168 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/document.proto
+
+package com.google.firestore.v1;
+
+public final class DocumentProto {
+  private DocumentProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_Document_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Document_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_Document_FieldsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_Value_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Value_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_ArrayValue_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_MapValue_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_MapValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_MapValue_FieldsEntry_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\"google/firestore/v1/document.proto\022\023go"
+          + "ogle.firestore.v1\032\034google/protobuf/struc"
+          + "t.proto\032\037google/protobuf/timestamp.proto"
+          + "\032\030google/type/latlng.proto\"\200\002\n\010Document\022"
+          + "\014\n\004name\030\001 \001(\t\0229\n\006fields\030\002 \003(\0132).google.f"
+          + "irestore.v1.Document.FieldsEntry\022/\n\013crea"
+          + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam"
+          + "p\022/\n\013update_time\030\004 \001(\0132\032.google.protobuf"
+          + ".Timestamp\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)"
+          + "\n\005value\030\002 \001(\0132\032.google.firestore.v1.Valu"
+          + "e:\0028\001\"\256\003\n\005Value\0220\n\nnull_value\030\013 \001(\0162\032.go"
+          + "ogle.protobuf.NullValueH\000\022\027\n\rboolean_val"
+          + "ue\030\001 \001(\010H\000\022\027\n\rinteger_value\030\002 \001(\003H\000\022\026\n\014d"
+          + "ouble_value\030\003 \001(\001H\000\0225\n\017timestamp_value\030\n"
+          + " \001(\0132\032.google.protobuf.TimestampH\000\022\026\n\014st"
+          + "ring_value\030\021 \001(\tH\000\022\025\n\013bytes_value\030\022 \001(\014H"
+          + "\000\022\031\n\017reference_value\030\005 \001(\tH\000\022.\n\017geo_poin"
+          + "t_value\030\010 \001(\0132\023.google.type.LatLngH\000\0226\n\013"
+          + "array_value\030\t \001(\0132\037.google.firestore.v1."
+          + "ArrayValueH\000\0222\n\tmap_value\030\006 \001(\0132\035.google"
+          + ".firestore.v1.MapValueH\000B\014\n\nvalue_type\"8"
+          + "\n\nArrayValue\022*\n\006values\030\001 \003(\0132\032.google.fi"
+          + "restore.v1.Value\"\220\001\n\010MapValue\0229\n\006fields\030"
+          + "\001 \003(\0132).google.firestore.v1.MapValue.Fie"
+          + "ldsEntry\032I\n\013FieldsEntry\022\013\n\003key\030\001 \001(\t\022)\n\005"
+          + "value\030\002 \001(\0132\032.google.firestore.v1.Value:"
+          + "\0028\001B\305\001\n\027com.google.firestore.v1B\rDocumen"
+          + "tProtoP\001Z;cloud.google.com/go/firestore/"
+          + "apiv1/firestorepb;firestorepb\242\002\004GCFS\252\002\031G"
+          + "oogle.Cloud.Firestore.V1\312\002\031Google\\Cloud\\"
+          + "Firestore\\V1\352\002\034Google::Cloud::Firestore:"
+          + ":V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.type.LatLngProto.getDescriptor(),
+            });
+    internal_static_google_firestore_v1_Document_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_v1_Document_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_Document_descriptor,
+            new java.lang.String[] {
+              "Name", "Fields", "CreateTime", "UpdateTime",
+            });
+    internal_static_google_firestore_v1_Document_FieldsEntry_descriptor =
+        internal_static_google_firestore_v1_Document_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_Document_FieldsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_Document_FieldsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_firestore_v1_Value_descriptor = getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_v1_Value_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_Value_descriptor,
+            new java.lang.String[] {
+              "NullValue",
+              "BooleanValue",
+              "IntegerValue",
+              "DoubleValue",
+              "TimestampValue",
+              "StringValue",
+              "BytesValue",
+              "ReferenceValue",
+              "GeoPointValue",
+              "ArrayValue",
+              "MapValue",
+              "ValueType",
+            });
+    internal_static_google_firestore_v1_ArrayValue_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_v1_ArrayValue_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_ArrayValue_descriptor,
+            new java.lang.String[] {
+              "Values",
+            });
+    internal_static_google_firestore_v1_MapValue_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_firestore_v1_MapValue_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_MapValue_descriptor,
+            new java.lang.String[] {
+              "Fields",
+            });
+    internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor =
+        internal_static_google_firestore_v1_MapValue_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_MapValue_FieldsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.type.LatLngProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
index db07465bb..1f4f68300 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A [Document][google.firestore.v1.Document] has been removed from the view of
  * the targets.
@@ -17,15 +34,16 @@
  *
  * Protobuf type {@code google.firestore.v1.DocumentRemove}
  */
-public final class DocumentRemove extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DocumentRemove extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentRemove)
     DocumentRemoveOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DocumentRemove.newBuilder() to construct.
   private DocumentRemove(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DocumentRemove() {
     document_ = "";
     removedTargetIds_ = emptyIntList();
@@ -33,39 +51,44 @@ private DocumentRemove() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DocumentRemove();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentRemove_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
+    return com.google.firestore.v1.WriteProto
+        .internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.DocumentRemove.class, com.google.firestore.v1.DocumentRemove.Builder.class);
+            com.google.firestore.v1.DocumentRemove.class,
+            com.google.firestore.v1.DocumentRemove.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object document_ = "";
   /**
+   *
+   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that has
    * gone out of view.
    * 
* * string document = 1; + * * @return The document. */ @java.lang.Override @@ -74,30 +97,30 @@ public java.lang.String getDocument() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; } } /** + * + * *
    * The resource name of the [Document][google.firestore.v1.Document] that has
    * gone out of view.
    * 
* * string document = 1; + * * @return The bytes for document. */ @java.lang.Override - public com.google.protobuf.ByteString - getDocumentBytes() { + public com.google.protobuf.ByteString getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); document_ = b; return b; } else { @@ -106,55 +129,68 @@ public java.lang.String getDocument() { } public static final int REMOVED_TARGET_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList removedTargetIds_; /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @return A list containing the removedTargetIds. */ @java.lang.Override - public java.util.List - getRemovedTargetIdsList() { + public java.util.List getRemovedTargetIdsList() { return removedTargetIds_; } /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } + private int removedTargetIdsMemoizedSerializedSize = -1; public static final int READ_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -162,12 +198,15 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -175,6 +214,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -188,6 +229,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -199,8 +241,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     getSerializedSize();
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(document_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_);
@@ -230,20 +271,19 @@ public int getSerializedSize() {
     {
       int dataSize = 0;
       for (int i = 0; i < removedTargetIds_.size(); i++) {
-        dataSize += com.google.protobuf.CodedOutputStream
-          .computeInt32SizeNoTag(removedTargetIds_.getInt(i));
+        dataSize +=
+            com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(
+                removedTargetIds_.getInt(i));
       }
       size += dataSize;
       if (!getRemovedTargetIdsList().isEmpty()) {
         size += 1;
-        size += com.google.protobuf.CodedOutputStream
-            .computeInt32SizeNoTag(dataSize);
+        size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
       }
       removedTargetIdsMemoizedSerializedSize = dataSize;
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -253,21 +293,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.DocumentRemove)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.DocumentRemove other = (com.google.firestore.v1.DocumentRemove) obj;
 
-    if (!getDocument()
-        .equals(other.getDocument())) return false;
-    if (!getRemovedTargetIdsList()
-        .equals(other.getRemovedTargetIdsList())) return false;
+    if (!getDocument().equals(other.getDocument())) return false;
+    if (!getRemovedTargetIdsList().equals(other.getRemovedTargetIdsList())) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime()
-          .equals(other.getReadTime())) return false;
+      if (!getReadTime().equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -295,97 +332,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.DocumentRemove parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.DocumentRemove parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.DocumentRemove parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.DocumentRemove prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A [Document][google.firestore.v1.Document] has been removed from the view of
    * the targets.
@@ -399,33 +443,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.DocumentRemove}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentRemove)
       com.google.firestore.v1.DocumentRemoveOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.WriteProto
+          .internal_static_google_firestore_v1_DocumentRemove_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
+      return com.google.firestore.v1.WriteProto
+          .internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.DocumentRemove.class, com.google.firestore.v1.DocumentRemove.Builder.class);
+              com.google.firestore.v1.DocumentRemove.class,
+              com.google.firestore.v1.DocumentRemove.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.DocumentRemove.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,9 +484,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentRemove_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.WriteProto
+          .internal_static_google_firestore_v1_DocumentRemove_descriptor;
     }
 
     @java.lang.Override
@@ -462,9 +505,12 @@ public com.google.firestore.v1.DocumentRemove build() {
 
     @java.lang.Override
     public com.google.firestore.v1.DocumentRemove buildPartial() {
-      com.google.firestore.v1.DocumentRemove result = new com.google.firestore.v1.DocumentRemove(this);
+      com.google.firestore.v1.DocumentRemove result =
+          new com.google.firestore.v1.DocumentRemove(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -483,9 +529,7 @@ private void buildPartial0(com.google.firestore.v1.DocumentRemove result) {
         result.document_ = document_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null
-            ? readTime_
-            : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
       }
     }
 
@@ -493,38 +537,39 @@ private void buildPartial0(com.google.firestore.v1.DocumentRemove result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.DocumentRemove) {
-        return mergeFrom((com.google.firestore.v1.DocumentRemove)other);
+        return mergeFrom((com.google.firestore.v1.DocumentRemove) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -577,40 +622,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              document_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              int v = input.readInt32();
-              ensureRemovedTargetIdsIsMutable();
-              removedTargetIds_.addInt(v);
-              break;
-            } // case 16
-            case 18: {
-              int length = input.readRawVarint32();
-              int limit = input.pushLimit(length);
-              ensureRemovedTargetIdsIsMutable();
-              while (input.getBytesUntilLimit() > 0) {
-                removedTargetIds_.addInt(input.readInt32());
-              }
-              input.popLimit(limit);
-              break;
-            } // case 18
-            case 34: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                document_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                int v = input.readInt32();
+                ensureRemovedTargetIdsIsMutable();
+                removedTargetIds_.addInt(v);
+                break;
+              } // case 16
+            case 18:
+              {
+                int length = input.readRawVarint32();
+                int limit = input.pushLimit(length);
+                ensureRemovedTargetIdsIsMutable();
+                while (input.getBytesUntilLimit() > 0) {
+                  removedTargetIds_.addInt(input.readInt32());
+                }
+                input.popLimit(limit);
+                break;
+              } // case 18
+            case 34:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -620,23 +668,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object document_ = "";
     /**
+     *
+     *
      * 
      * The resource name of the [Document][google.firestore.v1.Document] that has
      * gone out of view.
      * 
* * string document = 1; + * * @return The document. */ public java.lang.String getDocument() { java.lang.Object ref = document_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; @@ -645,21 +696,22 @@ public java.lang.String getDocument() { } } /** + * + * *
      * The resource name of the [Document][google.firestore.v1.Document] that has
      * gone out of view.
      * 
* * string document = 1; + * * @return The bytes for document. */ - public com.google.protobuf.ByteString - getDocumentBytes() { + public com.google.protobuf.ByteString getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); document_ = b; return b; } else { @@ -667,30 +719,37 @@ public java.lang.String getDocument() { } } /** + * + * *
      * The resource name of the [Document][google.firestore.v1.Document] that has
      * gone out of view.
      * 
* * string document = 1; + * * @param value The document to set. * @return This builder for chaining. */ - public Builder setDocument( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocument(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } document_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The resource name of the [Document][google.firestore.v1.Document] that has
      * gone out of view.
      * 
* * string document = 1; + * * @return This builder for chaining. */ public Builder clearDocument() { @@ -700,18 +759,22 @@ public Builder clearDocument() { return this; } /** + * + * *
      * The resource name of the [Document][google.firestore.v1.Document] that has
      * gone out of view.
      * 
* * string document = 1; + * * @param value The bytes for document to set. * @return This builder for chaining. */ - public Builder setDocumentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocumentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); document_ = value; bitField0_ |= 0x00000001; @@ -720,6 +783,7 @@ public Builder setDocumentBytes( } private com.google.protobuf.Internal.IntList removedTargetIds_ = emptyIntList(); + private void ensureRemovedTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { removedTargetIds_ = mutableCopy(removedTargetIds_); @@ -727,35 +791,44 @@ private void ensureRemovedTargetIdsIsMutable() { } } /** + * + * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; + * * @return A list containing the removedTargetIds. */ - public java.util.List - getRemovedTargetIdsList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(removedTargetIds_) : removedTargetIds_; + public java.util.List getRemovedTargetIdsList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(removedTargetIds_) + : removedTargetIds_; } /** + * + * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; + * * @return The count of removedTargetIds. */ public int getRemovedTargetIdsCount() { return removedTargetIds_.size(); } /** + * + * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ @@ -763,62 +836,71 @@ public int getRemovedTargetIds(int index) { return removedTargetIds_.getInt(index); } /** + * + * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; + * * @param index The index to set the value at. * @param value The removedTargetIds to set. * @return This builder for chaining. */ - public Builder setRemovedTargetIds( - int index, int value) { - + public Builder setRemovedTargetIds(int index, int value) { + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; + * * @param value The removedTargetIds to add. * @return This builder for chaining. */ public Builder addRemovedTargetIds(int value) { - + ensureRemovedTargetIdsIsMutable(); removedTargetIds_.addInt(value); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; + * * @param values The removedTargetIds to add. * @return This builder for chaining. */ - public Builder addAllRemovedTargetIds( - java.lang.Iterable values) { + public Builder addAllRemovedTargetIds(java.lang.Iterable values) { ensureRemovedTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, removedTargetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, removedTargetIds_); onChanged(); return this; } /** + * + * *
      * A set of target IDs for targets that previously matched this document.
      * 
* * repeated int32 removed_target_ids = 2; + * * @return This builder for chaining. */ public Builder clearRemovedTargetIds() { @@ -830,26 +912,35 @@ public Builder clearRemovedTargetIds() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -860,6 +951,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -881,6 +974,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -888,8 +983,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -900,6 +994,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -909,9 +1005,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -924,6 +1020,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -942,6 +1040,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -955,6 +1055,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -966,11 +1068,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The read timestamp at which the remove was observed.
      * Greater or equal to the `commit_time` of the change/delete/remove.
@@ -979,21 +1082,24 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(),
-                getParentForChildren(),
-                isClean());
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(), getParentForChildren(), isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1003,12 +1109,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentRemove)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentRemove)
   private static final com.google.firestore.v1.DocumentRemove DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentRemove();
   }
@@ -1017,27 +1123,27 @@ public static com.google.firestore.v1.DocumentRemove getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public DocumentRemove parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public DocumentRemove parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1052,6 +1158,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.DocumentRemove getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
index 35891b5bf..de610bbe2 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
@@ -1,84 +1,122 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface DocumentRemoveOrBuilder extends
+public interface DocumentRemoveOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentRemove)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The resource name of the [Document][google.firestore.v1.Document] that has
    * gone out of view.
    * 
* * string document = 1; + * * @return The document. */ java.lang.String getDocument(); /** + * + * *
    * The resource name of the [Document][google.firestore.v1.Document] that has
    * gone out of view.
    * 
* * string document = 1; + * * @return The bytes for document. */ - com.google.protobuf.ByteString - getDocumentBytes(); + com.google.protobuf.ByteString getDocumentBytes(); /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @return A list containing the removedTargetIds. */ java.util.List getRemovedTargetIdsList(); /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @return The count of removedTargetIds. */ int getRemovedTargetIdsCount(); /** + * + * *
    * A set of target IDs for targets that previously matched this document.
    * 
* * repeated int32 removed_target_ids = 2; + * * @param index The index of the element to return. * @return The removedTargetIds at the given index. */ int getRemovedTargetIds(int index); /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The read timestamp at which the remove was observed.
    * Greater or equal to the `commit_time` of the change/delete/remove.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
index 3b6069fe1..c20a45caf 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A transformation of a document.
  * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform} */ -public final class DocumentTransform extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DocumentTransform extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentTransform) DocumentTransformOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DocumentTransform.newBuilder() to construct. private DocumentTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DocumentTransform() { document_ = ""; fieldTransforms_ = java.util.Collections.emptyList(); @@ -26,34 +44,38 @@ private DocumentTransform() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocumentTransform(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DocumentTransform.class, com.google.firestore.v1.DocumentTransform.Builder.class); + com.google.firestore.v1.DocumentTransform.class, + com.google.firestore.v1.DocumentTransform.Builder.class); } - public interface FieldTransformOrBuilder extends + public interface FieldTransformOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentTransform.FieldTransform) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The path of the field. See
      * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -61,10 +83,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * string field_path = 1; + * * @return The fieldPath. */ java.lang.String getFieldPath(); /** + * + * *
      * The path of the field. See
      * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -72,40 +97,57 @@ public interface FieldTransformOrBuilder extends
      * 
* * string field_path = 1; + * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString - getFieldPathBytes(); + com.google.protobuf.ByteString getFieldPathBytes(); /** + * + * *
      * Sets the field to the given server value.
      * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return Whether the setToServerValue field is set. */ boolean hasSetToServerValue(); /** + * + * *
      * Sets the field to the given server value.
      * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return The enum numeric value on the wire for setToServerValue. */ int getSetToServerValueValue(); /** + * + * *
      * Sets the field to the given server value.
      * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return The setToServerValue. */ com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue getSetToServerValue(); /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -119,10 +161,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value increment = 3; + * * @return Whether the increment field is set. */ boolean hasIncrement(); /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -136,10 +181,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value increment = 3; + * * @return The increment. */ com.google.firestore.v1.Value getIncrement(); /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -157,6 +205,8 @@ public interface FieldTransformOrBuilder extends
     com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder();
 
     /**
+     *
+     *
      * 
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -172,10 +222,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value maximum = 4; + * * @return Whether the maximum field is set. */ boolean hasMaximum(); /** + * + * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -191,10 +244,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value maximum = 4; + * * @return The maximum. */ com.google.firestore.v1.Value getMaximum(); /** + * + * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -214,6 +270,8 @@ public interface FieldTransformOrBuilder extends
     com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder();
 
     /**
+     *
+     *
      * 
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -229,10 +287,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value minimum = 5; + * * @return Whether the minimum field is set. */ boolean hasMinimum(); /** + * + * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -248,10 +309,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.Value minimum = 5; + * * @return The minimum. */ com.google.firestore.v1.Value getMinimum(); /** + * + * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -271,6 +335,8 @@ public interface FieldTransformOrBuilder extends
     com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder();
 
     /**
+     *
+     *
      * 
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -285,10 +351,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; + * * @return Whether the appendMissingElements field is set. */ boolean hasAppendMissingElements(); /** + * + * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -303,10 +372,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; + * * @return The appendMissingElements. */ com.google.firestore.v1.ArrayValue getAppendMissingElements(); /** + * + * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -325,6 +397,8 @@ public interface FieldTransformOrBuilder extends
     com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBuilder();
 
     /**
+     *
+     *
      * 
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -337,10 +411,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + * * @return Whether the removeAllFromArray field is set. */ boolean hasRemoveAllFromArray(); /** + * + * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -353,10 +430,13 @@ public interface FieldTransformOrBuilder extends
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + * * @return The removeAllFromArray. */ com.google.firestore.v1.ArrayValue getRemoveAllFromArray(); /** + * + * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -372,63 +452,71 @@ public interface FieldTransformOrBuilder extends
      */
     com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder();
 
-    public com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase getTransformTypeCase();
+    public com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase
+        getTransformTypeCase();
   }
   /**
+   *
+   *
    * 
    * A transformation of a field of the document.
    * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform.FieldTransform} */ - public static final class FieldTransform extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class FieldTransform extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.DocumentTransform.FieldTransform) FieldTransformOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldTransform.newBuilder() to construct. private FieldTransform(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FieldTransform() { fieldPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldTransform(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DocumentTransform.FieldTransform.class, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); + com.google.firestore.v1.DocumentTransform.FieldTransform.class, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); } /** + * + * *
      * A value that is calculated by the server.
      * 
* * Protobuf enum {@code google.firestore.v1.DocumentTransform.FieldTransform.ServerValue} */ - public enum ServerValue - implements com.google.protobuf.ProtocolMessageEnum { + public enum ServerValue implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -437,6 +525,8 @@ public enum ServerValue */ SERVER_VALUE_UNSPECIFIED(0), /** + * + * *
        * The time at which the server processed the request, with millisecond
        * precision. If used on multiple fields (same or different documents) in
@@ -450,6 +540,8 @@ public enum ServerValue
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -458,6 +550,8 @@ public enum ServerValue */ public static final int SERVER_VALUE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The time at which the server processed the request, with millisecond
        * precision. If used on multiple fields (same or different documents) in
@@ -468,7 +562,6 @@ public enum ServerValue
        */
       public static final int REQUEST_TIME_VALUE = 1;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -493,48 +586,49 @@ public static ServerValue valueOf(int value) {
        */
       public static ServerValue forNumber(int value) {
         switch (value) {
-          case 0: return SERVER_VALUE_UNSPECIFIED;
-          case 1: return REQUEST_TIME;
-          default: return null;
+          case 0:
+            return SERVER_VALUE_UNSPECIFIED;
+          case 1:
+            return REQUEST_TIME;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          ServerValue> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ServerValue findValueByNumber(int number) {
-                return ServerValue.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ServerValue findValueByNumber(int number) {
+              return ServerValue.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.firestore.v1.DocumentTransform.FieldTransform.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.firestore.v1.DocumentTransform.FieldTransform.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final ServerValue[] VALUES = values();
 
-      public static ServerValue valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static ServerValue valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -553,8 +647,10 @@ private ServerValue(int value) {
 
     private int transformTypeCase_ = 0;
     private java.lang.Object transformType_;
+
     public enum TransformTypeCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       SET_TO_SERVER_VALUE(2),
       INCREMENT(3),
@@ -564,6 +660,7 @@ public enum TransformTypeCase
       REMOVE_ALL_FROM_ARRAY(7),
       TRANSFORMTYPE_NOT_SET(0);
       private final int value;
+
       private TransformTypeCase(int value) {
         this.value = value;
       }
@@ -579,31 +676,41 @@ public static TransformTypeCase valueOf(int value) {
 
       public static TransformTypeCase forNumber(int value) {
         switch (value) {
-          case 2: return SET_TO_SERVER_VALUE;
-          case 3: return INCREMENT;
-          case 4: return MAXIMUM;
-          case 5: return MINIMUM;
-          case 6: return APPEND_MISSING_ELEMENTS;
-          case 7: return REMOVE_ALL_FROM_ARRAY;
-          case 0: return TRANSFORMTYPE_NOT_SET;
-          default: return null;
+          case 2:
+            return SET_TO_SERVER_VALUE;
+          case 3:
+            return INCREMENT;
+          case 4:
+            return MAXIMUM;
+          case 5:
+            return MINIMUM;
+          case 6:
+            return APPEND_MISSING_ELEMENTS;
+          case 7:
+            return REMOVE_ALL_FROM_ARRAY;
+          case 0:
+            return TRANSFORMTYPE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public TransformTypeCase
-    getTransformTypeCase() {
-      return TransformTypeCase.forNumber(
-          transformTypeCase_);
+    public TransformTypeCase getTransformTypeCase() {
+      return TransformTypeCase.forNumber(transformTypeCase_);
     }
 
     public static final int FIELD_PATH_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object fieldPath_ = "";
     /**
+     *
+     *
      * 
      * The path of the field. See
      * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -611,6 +718,7 @@ public int getNumber() {
      * 
* * string field_path = 1; + * * @return The fieldPath. */ @java.lang.Override @@ -619,14 +727,15 @@ public java.lang.String getFieldPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; } } /** + * + * *
      * The path of the field. See
      * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -634,16 +743,15 @@ public java.lang.String getFieldPath() {
      * 
* * string field_path = 1; + * * @return The bytes for fieldPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldPathBytes() { + public com.google.protobuf.ByteString getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -653,22 +761,32 @@ public java.lang.String getFieldPath() { public static final int SET_TO_SERVER_VALUE_FIELD_NUMBER = 2; /** + * + * *
      * Sets the field to the given server value.
      * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return Whether the setToServerValue field is set. */ public boolean hasSetToServerValue() { return transformTypeCase_ == 2; } /** + * + * *
      * Sets the field to the given server value.
      * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return The enum numeric value on the wire for setToServerValue. */ public int getSetToServerValueValue() { @@ -678,24 +796,36 @@ public int getSetToServerValueValue() { return 0; } /** + * + * *
      * Sets the field to the given server value.
      * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return The setToServerValue. */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue getSetToServerValue() { + public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue + getSetToServerValue() { if (transformTypeCase_ == 2) { - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.forNumber( - (java.lang.Integer) transformType_); - return result == null ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED : result; - } - return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.SERVER_VALUE_UNSPECIFIED; + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.forNumber( + (java.lang.Integer) transformType_); + return result == null + ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED + : result; + } + return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue + .SERVER_VALUE_UNSPECIFIED; } public static final int INCREMENT_FIELD_NUMBER = 3; /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -709,6 +839,7 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue getS
      * 
* * .google.firestore.v1.Value increment = 3; + * * @return Whether the increment field is set. */ @java.lang.Override @@ -716,6 +847,8 @@ public boolean hasIncrement() { return transformTypeCase_ == 3; } /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -729,16 +862,19 @@ public boolean hasIncrement() {
      * 
* * .google.firestore.v1.Value increment = 3; + * * @return The increment. */ @java.lang.Override public com.google.firestore.v1.Value getIncrement() { if (transformTypeCase_ == 3) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** + * + * *
      * Adds the given value to the field's current value.
      * This must be an integer or a double value.
@@ -756,13 +892,15 @@ public com.google.firestore.v1.Value getIncrement() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
       if (transformTypeCase_ == 3) {
-         return (com.google.firestore.v1.Value) transformType_;
+        return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int MAXIMUM_FIELD_NUMBER = 4;
     /**
+     *
+     *
      * 
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -778,6 +916,7 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
      * 
* * .google.firestore.v1.Value maximum = 4; + * * @return Whether the maximum field is set. */ @java.lang.Override @@ -785,6 +924,8 @@ public boolean hasMaximum() { return transformTypeCase_ == 4; } /** + * + * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -800,16 +941,19 @@ public boolean hasMaximum() {
      * 
* * .google.firestore.v1.Value maximum = 4; + * * @return The maximum. */ @java.lang.Override public com.google.firestore.v1.Value getMaximum() { if (transformTypeCase_ == 4) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** + * + * *
      * Sets the field to the maximum of its current value and the given value.
      * This must be an integer or a double value.
@@ -829,13 +973,15 @@ public com.google.firestore.v1.Value getMaximum() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
       if (transformTypeCase_ == 4) {
-         return (com.google.firestore.v1.Value) transformType_;
+        return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int MINIMUM_FIELD_NUMBER = 5;
     /**
+     *
+     *
      * 
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -851,6 +997,7 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
      * 
* * .google.firestore.v1.Value minimum = 5; + * * @return Whether the minimum field is set. */ @java.lang.Override @@ -858,6 +1005,8 @@ public boolean hasMinimum() { return transformTypeCase_ == 5; } /** + * + * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -873,16 +1022,19 @@ public boolean hasMinimum() {
      * 
* * .google.firestore.v1.Value minimum = 5; + * * @return The minimum. */ @java.lang.Override public com.google.firestore.v1.Value getMinimum() { if (transformTypeCase_ == 5) { - return (com.google.firestore.v1.Value) transformType_; + return (com.google.firestore.v1.Value) transformType_; } return com.google.firestore.v1.Value.getDefaultInstance(); } /** + * + * *
      * Sets the field to the minimum of its current value and the given value.
      * This must be an integer or a double value.
@@ -902,13 +1054,15 @@ public com.google.firestore.v1.Value getMinimum() {
     @java.lang.Override
     public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
       if (transformTypeCase_ == 5) {
-         return (com.google.firestore.v1.Value) transformType_;
+        return (com.google.firestore.v1.Value) transformType_;
       }
       return com.google.firestore.v1.Value.getDefaultInstance();
     }
 
     public static final int APPEND_MISSING_ELEMENTS_FIELD_NUMBER = 6;
     /**
+     *
+     *
      * 
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -923,6 +1077,7 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; + * * @return Whether the appendMissingElements field is set. */ @java.lang.Override @@ -930,6 +1085,8 @@ public boolean hasAppendMissingElements() { return transformTypeCase_ == 6; } /** + * + * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -944,16 +1101,19 @@ public boolean hasAppendMissingElements() {
      * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; + * * @return The appendMissingElements. */ @java.lang.Override public com.google.firestore.v1.ArrayValue getAppendMissingElements() { if (transformTypeCase_ == 6) { - return (com.google.firestore.v1.ArrayValue) transformType_; + return (com.google.firestore.v1.ArrayValue) transformType_; } return com.google.firestore.v1.ArrayValue.getDefaultInstance(); } /** + * + * *
      * Append the given elements in order if they are not already present in
      * the current field value.
@@ -972,13 +1132,15 @@ public com.google.firestore.v1.ArrayValue getAppendMissingElements() {
     @java.lang.Override
     public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBuilder() {
       if (transformTypeCase_ == 6) {
-         return (com.google.firestore.v1.ArrayValue) transformType_;
+        return (com.google.firestore.v1.ArrayValue) transformType_;
       }
       return com.google.firestore.v1.ArrayValue.getDefaultInstance();
     }
 
     public static final int REMOVE_ALL_FROM_ARRAY_FIELD_NUMBER = 7;
     /**
+     *
+     *
      * 
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -991,6 +1153,7 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + * * @return Whether the removeAllFromArray field is set. */ @java.lang.Override @@ -998,6 +1161,8 @@ public boolean hasRemoveAllFromArray() { return transformTypeCase_ == 7; } /** + * + * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -1010,16 +1175,19 @@ public boolean hasRemoveAllFromArray() {
      * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + * * @return The removeAllFromArray. */ @java.lang.Override public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() { if (transformTypeCase_ == 7) { - return (com.google.firestore.v1.ArrayValue) transformType_; + return (com.google.firestore.v1.ArrayValue) transformType_; } return com.google.firestore.v1.ArrayValue.getDefaultInstance(); } /** + * + * *
      * Remove all of the given elements from the array in the field.
      * If the field is not an array, or if the field does not yet exist, it is
@@ -1036,12 +1204,13 @@ public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() {
     @java.lang.Override
     public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder() {
       if (transformTypeCase_ == 7) {
-         return (com.google.firestore.v1.ArrayValue) transformType_;
+        return (com.google.firestore.v1.ArrayValue) transformType_;
       }
       return com.google.firestore.v1.ArrayValue.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1053,8 +1222,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPath_);
       }
@@ -1089,28 +1257,34 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldPath_);
       }
       if (transformTypeCase_ == 2) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(2, ((java.lang.Integer) transformType_));
+        size +=
+            com.google.protobuf.CodedOutputStream.computeEnumSize(
+                2, ((java.lang.Integer) transformType_));
       }
       if (transformTypeCase_ == 3) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, (com.google.firestore.v1.Value) transformType_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                3, (com.google.firestore.v1.Value) transformType_);
       }
       if (transformTypeCase_ == 4) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, (com.google.firestore.v1.Value) transformType_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                4, (com.google.firestore.v1.Value) transformType_);
       }
       if (transformTypeCase_ == 5) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, (com.google.firestore.v1.Value) transformType_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                5, (com.google.firestore.v1.Value) transformType_);
       }
       if (transformTypeCase_ == 6) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, (com.google.firestore.v1.ArrayValue) transformType_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                6, (com.google.firestore.v1.ArrayValue) transformType_);
       }
       if (transformTypeCase_ == 7) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(7, (com.google.firestore.v1.ArrayValue) transformType_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                7, (com.google.firestore.v1.ArrayValue) transformType_);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1120,40 +1294,34 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.firestore.v1.DocumentTransform.FieldTransform)) {
         return super.equals(obj);
       }
-      com.google.firestore.v1.DocumentTransform.FieldTransform other = (com.google.firestore.v1.DocumentTransform.FieldTransform) obj;
+      com.google.firestore.v1.DocumentTransform.FieldTransform other =
+          (com.google.firestore.v1.DocumentTransform.FieldTransform) obj;
 
-      if (!getFieldPath()
-          .equals(other.getFieldPath())) return false;
+      if (!getFieldPath().equals(other.getFieldPath())) return false;
       if (!getTransformTypeCase().equals(other.getTransformTypeCase())) return false;
       switch (transformTypeCase_) {
         case 2:
-          if (getSetToServerValueValue()
-              != other.getSetToServerValueValue()) return false;
+          if (getSetToServerValueValue() != other.getSetToServerValueValue()) return false;
           break;
         case 3:
-          if (!getIncrement()
-              .equals(other.getIncrement())) return false;
+          if (!getIncrement().equals(other.getIncrement())) return false;
           break;
         case 4:
-          if (!getMaximum()
-              .equals(other.getMaximum())) return false;
+          if (!getMaximum().equals(other.getMaximum())) return false;
           break;
         case 5:
-          if (!getMinimum()
-              .equals(other.getMinimum())) return false;
+          if (!getMinimum().equals(other.getMinimum())) return false;
           break;
         case 6:
-          if (!getAppendMissingElements()
-              .equals(other.getAppendMissingElements())) return false;
+          if (!getAppendMissingElements().equals(other.getAppendMissingElements())) return false;
           break;
         case 7:
-          if (!getRemoveAllFromArray()
-              .equals(other.getRemoveAllFromArray())) return false;
+          if (!getRemoveAllFromArray().equals(other.getRemoveAllFromArray())) return false;
           break;
         case 0:
         default:
@@ -1205,87 +1373,94 @@ public int hashCode() {
     }
 
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.firestore.v1.DocumentTransform.FieldTransform parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.firestore.v1.DocumentTransform.FieldTransform parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.DocumentTransform.FieldTransform parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.firestore.v1.DocumentTransform.FieldTransform prototype) {
+
+    public static Builder newBuilder(
+        com.google.firestore.v1.DocumentTransform.FieldTransform prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1295,39 +1470,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A transformation of a field of the document.
      * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform.FieldTransform} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentTransform.FieldTransform) com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DocumentTransform.FieldTransform.class, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); + com.google.firestore.v1.DocumentTransform.FieldTransform.class, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder.class); } // Construct using com.google.firestore.v1.DocumentTransform.FieldTransform.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1354,9 +1531,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor; } @java.lang.Override @@ -1375,8 +1552,11 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform build() { @java.lang.Override public com.google.firestore.v1.DocumentTransform.FieldTransform buildPartial() { - com.google.firestore.v1.DocumentTransform.FieldTransform result = new com.google.firestore.v1.DocumentTransform.FieldTransform(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.DocumentTransform.FieldTransform result = + new com.google.firestore.v1.DocumentTransform.FieldTransform(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1389,27 +1569,23 @@ private void buildPartial0(com.google.firestore.v1.DocumentTransform.FieldTransf } } - private void buildPartialOneofs(com.google.firestore.v1.DocumentTransform.FieldTransform result) { + private void buildPartialOneofs( + com.google.firestore.v1.DocumentTransform.FieldTransform result) { result.transformTypeCase_ = transformTypeCase_; result.transformType_ = this.transformType_; - if (transformTypeCase_ == 3 && - incrementBuilder_ != null) { + if (transformTypeCase_ == 3 && incrementBuilder_ != null) { result.transformType_ = incrementBuilder_.build(); } - if (transformTypeCase_ == 4 && - maximumBuilder_ != null) { + if (transformTypeCase_ == 4 && maximumBuilder_ != null) { result.transformType_ = maximumBuilder_.build(); } - if (transformTypeCase_ == 5 && - minimumBuilder_ != null) { + if (transformTypeCase_ == 5 && minimumBuilder_ != null) { result.transformType_ = minimumBuilder_.build(); } - if (transformTypeCase_ == 6 && - appendMissingElementsBuilder_ != null) { + if (transformTypeCase_ == 6 && appendMissingElementsBuilder_ != null) { result.transformType_ = appendMissingElementsBuilder_.build(); } - if (transformTypeCase_ == 7 && - removeAllFromArrayBuilder_ != null) { + if (transformTypeCase_ == 7 && removeAllFromArrayBuilder_ != null) { result.transformType_ = removeAllFromArrayBuilder_.build(); } } @@ -1418,38 +1594,41 @@ private void buildPartialOneofs(com.google.firestore.v1.DocumentTransform.FieldT public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.DocumentTransform.FieldTransform) { - return mergeFrom((com.google.firestore.v1.DocumentTransform.FieldTransform)other); + return mergeFrom((com.google.firestore.v1.DocumentTransform.FieldTransform) other); } else { super.mergeFrom(other); return this; @@ -1457,40 +1636,48 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.DocumentTransform.FieldTransform other) { - if (other == com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()) + return this; if (!other.getFieldPath().isEmpty()) { fieldPath_ = other.fieldPath_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getTransformTypeCase()) { - case SET_TO_SERVER_VALUE: { - setSetToServerValueValue(other.getSetToServerValueValue()); - break; - } - case INCREMENT: { - mergeIncrement(other.getIncrement()); - break; - } - case MAXIMUM: { - mergeMaximum(other.getMaximum()); - break; - } - case MINIMUM: { - mergeMinimum(other.getMinimum()); - break; - } - case APPEND_MISSING_ELEMENTS: { - mergeAppendMissingElements(other.getAppendMissingElements()); - break; - } - case REMOVE_ALL_FROM_ARRAY: { - mergeRemoveAllFromArray(other.getRemoveAllFromArray()); - break; - } - case TRANSFORMTYPE_NOT_SET: { - break; - } + case SET_TO_SERVER_VALUE: + { + setSetToServerValueValue(other.getSetToServerValueValue()); + break; + } + case INCREMENT: + { + mergeIncrement(other.getIncrement()); + break; + } + case MAXIMUM: + { + mergeMaximum(other.getMaximum()); + break; + } + case MINIMUM: + { + mergeMinimum(other.getMinimum()); + break; + } + case APPEND_MISSING_ELEMENTS: + { + mergeAppendMissingElements(other.getAppendMissingElements()); + break; + } + case REMOVE_ALL_FROM_ARRAY: + { + mergeRemoveAllFromArray(other.getRemoveAllFromArray()); + break; + } + case TRANSFORMTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1518,58 +1705,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - fieldPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - int rawValue = input.readEnum(); - transformTypeCase_ = 2; - transformType_ = rawValue; - break; - } // case 16 - case 26: { - input.readMessage( - getIncrementFieldBuilder().getBuilder(), - extensionRegistry); - transformTypeCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getMaximumFieldBuilder().getBuilder(), - extensionRegistry); - transformTypeCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getMinimumFieldBuilder().getBuilder(), - extensionRegistry); - transformTypeCase_ = 5; - break; - } // case 42 - case 50: { - input.readMessage( - getAppendMissingElementsFieldBuilder().getBuilder(), - extensionRegistry); - transformTypeCase_ = 6; - break; - } // case 50 - case 58: { - input.readMessage( - getRemoveAllFromArrayFieldBuilder().getBuilder(), - extensionRegistry); - transformTypeCase_ = 7; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + fieldPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + int rawValue = input.readEnum(); + transformTypeCase_ = 2; + transformType_ = rawValue; + break; + } // case 16 + case 26: + { + input.readMessage(getIncrementFieldBuilder().getBuilder(), extensionRegistry); + transformTypeCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage(getMaximumFieldBuilder().getBuilder(), extensionRegistry); + transformTypeCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getMinimumFieldBuilder().getBuilder(), extensionRegistry); + transformTypeCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage( + getAppendMissingElementsFieldBuilder().getBuilder(), extensionRegistry); + transformTypeCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage( + getRemoveAllFromArrayFieldBuilder().getBuilder(), extensionRegistry); + transformTypeCase_ = 7; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1579,12 +1766,12 @@ public Builder mergeFrom( } // finally return this; } + private int transformTypeCase_ = 0; private java.lang.Object transformType_; - public TransformTypeCase - getTransformTypeCase() { - return TransformTypeCase.forNumber( - transformTypeCase_); + + public TransformTypeCase getTransformTypeCase() { + return TransformTypeCase.forNumber(transformTypeCase_); } public Builder clearTransformType() { @@ -1598,6 +1785,8 @@ public Builder clearTransformType() { private java.lang.Object fieldPath_ = ""; /** + * + * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1605,13 +1794,13 @@ public Builder clearTransformType() {
        * 
* * string field_path = 1; + * * @return The fieldPath. */ public java.lang.String getFieldPath() { java.lang.Object ref = fieldPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; @@ -1620,6 +1809,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1627,15 +1818,14 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 1; + * * @return The bytes for fieldPath. */ - public com.google.protobuf.ByteString - getFieldPathBytes() { + public com.google.protobuf.ByteString getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -1643,6 +1833,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1650,18 +1842,22 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 1; + * * @param value The fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fieldPath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1669,6 +1865,7 @@ public Builder setFieldPath(
        * 
* * string field_path = 1; + * * @return This builder for chaining. */ public Builder clearFieldPath() { @@ -1678,6 +1875,8 @@ public Builder clearFieldPath() { return this; } /** + * + * *
        * The path of the field. See
        * [Document.fields][google.firestore.v1.Document.fields] for the field path
@@ -1685,12 +1884,14 @@ public Builder clearFieldPath() {
        * 
* * string field_path = 1; + * * @param value The bytes for fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fieldPath_ = value; bitField0_ |= 0x00000001; @@ -1699,11 +1900,16 @@ public Builder setFieldPathBytes( } /** + * + * *
        * Sets the field to the given server value.
        * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return Whether the setToServerValue field is set. */ @java.lang.Override @@ -1711,11 +1917,16 @@ public boolean hasSetToServerValue() { return transformTypeCase_ == 2; } /** + * + * *
        * Sets the field to the given server value.
        * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return The enum numeric value on the wire for setToServerValue. */ @java.lang.Override @@ -1726,11 +1937,16 @@ public int getSetToServerValueValue() { return 0; } /** + * + * *
        * Sets the field to the given server value.
        * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @param value The enum numeric value on the wire for setToServerValue to set. * @return This builder for chaining. */ @@ -1741,32 +1957,48 @@ public Builder setSetToServerValueValue(int value) { return this; } /** + * + * *
        * Sets the field to the given server value.
        * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return The setToServerValue. */ @java.lang.Override - public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue getSetToServerValue() { + public com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue + getSetToServerValue() { if (transformTypeCase_ == 2) { - com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.forNumber( - (java.lang.Integer) transformType_); - return result == null ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED : result; + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue result = + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.forNumber( + (java.lang.Integer) transformType_); + return result == null + ? com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.UNRECOGNIZED + : result; } - return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue.SERVER_VALUE_UNSPECIFIED; + return com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue + .SERVER_VALUE_UNSPECIFIED; } /** + * + * *
        * Sets the field to the given server value.
        * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @param value The setToServerValue to set. * @return This builder for chaining. */ - public Builder setSetToServerValue(com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue value) { + public Builder setSetToServerValue( + com.google.firestore.v1.DocumentTransform.FieldTransform.ServerValue value) { if (value == null) { throw new NullPointerException(); } @@ -1776,11 +2008,16 @@ public Builder setSetToServerValue(com.google.firestore.v1.DocumentTransform.Fie return this; } /** + * + * *
        * Sets the field to the given server value.
        * 
* - * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * .google.firestore.v1.DocumentTransform.FieldTransform.ServerValue set_to_server_value = 2; + * + * * @return This builder for chaining. */ public Builder clearSetToServerValue() { @@ -1793,8 +2030,13 @@ public Builder clearSetToServerValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> incrementBuilder_; + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + incrementBuilder_; /** + * + * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1808,6 +2050,7 @@ public Builder clearSetToServerValue() {
        * 
* * .google.firestore.v1.Value increment = 3; + * * @return Whether the increment field is set. */ @java.lang.Override @@ -1815,6 +2058,8 @@ public boolean hasIncrement() { return transformTypeCase_ == 3; } /** + * + * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1828,6 +2073,7 @@ public boolean hasIncrement() {
        * 
* * .google.firestore.v1.Value increment = 3; + * * @return The increment. */ @java.lang.Override @@ -1845,6 +2091,8 @@ public com.google.firestore.v1.Value getIncrement() { } } /** + * + * *
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1873,6 +2121,8 @@ public Builder setIncrement(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1887,8 +2137,7 @@ public Builder setIncrement(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value increment = 3;
        */
-      public Builder setIncrement(
-          com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setIncrement(com.google.firestore.v1.Value.Builder builderForValue) {
         if (incrementBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -1899,6 +2148,8 @@ public Builder setIncrement(
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1915,10 +2166,13 @@ public Builder setIncrement(
        */
       public Builder mergeIncrement(com.google.firestore.v1.Value value) {
         if (incrementBuilder_ == null) {
-          if (transformTypeCase_ == 3 &&
-              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
-                .mergeFrom(value).buildPartial();
+          if (transformTypeCase_ == 3
+              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ =
+                com.google.firestore.v1.Value.newBuilder(
+                        (com.google.firestore.v1.Value) transformType_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformType_ = value;
           }
@@ -1934,6 +2188,8 @@ public Builder mergeIncrement(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1965,6 +2221,8 @@ public Builder clearIncrement() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -1983,6 +2241,8 @@ public com.google.firestore.v1.Value.Builder getIncrementBuilder() {
         return getIncrementFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2009,6 +2269,8 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Adds the given value to the field's current value.
        * This must be an integer or a double value.
@@ -2024,14 +2286,19 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
        * .google.firestore.v1.Value increment = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
+              com.google.firestore.v1.Value,
+              com.google.firestore.v1.Value.Builder,
+              com.google.firestore.v1.ValueOrBuilder>
           getIncrementFieldBuilder() {
         if (incrementBuilder_ == null) {
           if (!(transformTypeCase_ == 3)) {
             transformType_ = com.google.firestore.v1.Value.getDefaultInstance();
           }
-          incrementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
+          incrementBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.firestore.v1.Value,
+                  com.google.firestore.v1.Value.Builder,
+                  com.google.firestore.v1.ValueOrBuilder>(
                   (com.google.firestore.v1.Value) transformType_,
                   getParentForChildren(),
                   isClean());
@@ -2043,8 +2310,13 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> maximumBuilder_;
+              com.google.firestore.v1.Value,
+              com.google.firestore.v1.Value.Builder,
+              com.google.firestore.v1.ValueOrBuilder>
+          maximumBuilder_;
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2060,6 +2332,7 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
        * 
* * .google.firestore.v1.Value maximum = 4; + * * @return Whether the maximum field is set. */ @java.lang.Override @@ -2067,6 +2340,8 @@ public boolean hasMaximum() { return transformTypeCase_ == 4; } /** + * + * *
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2082,6 +2357,7 @@ public boolean hasMaximum() {
        * 
* * .google.firestore.v1.Value maximum = 4; + * * @return The maximum. */ @java.lang.Override @@ -2099,6 +2375,8 @@ public com.google.firestore.v1.Value getMaximum() { } } /** + * + * *
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2129,6 +2407,8 @@ public Builder setMaximum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2145,8 +2425,7 @@ public Builder setMaximum(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value maximum = 4;
        */
-      public Builder setMaximum(
-          com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setMaximum(com.google.firestore.v1.Value.Builder builderForValue) {
         if (maximumBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -2157,6 +2436,8 @@ public Builder setMaximum(
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2175,10 +2456,13 @@ public Builder setMaximum(
        */
       public Builder mergeMaximum(com.google.firestore.v1.Value value) {
         if (maximumBuilder_ == null) {
-          if (transformTypeCase_ == 4 &&
-              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
-                .mergeFrom(value).buildPartial();
+          if (transformTypeCase_ == 4
+              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ =
+                com.google.firestore.v1.Value.newBuilder(
+                        (com.google.firestore.v1.Value) transformType_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2194,6 +2478,8 @@ public Builder mergeMaximum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2227,6 +2513,8 @@ public Builder clearMaximum() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2247,6 +2535,8 @@ public com.google.firestore.v1.Value.Builder getMaximumBuilder() {
         return getMaximumFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2275,6 +2565,8 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Sets the field to the maximum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2292,14 +2584,19 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
        * .google.firestore.v1.Value maximum = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
+              com.google.firestore.v1.Value,
+              com.google.firestore.v1.Value.Builder,
+              com.google.firestore.v1.ValueOrBuilder>
           getMaximumFieldBuilder() {
         if (maximumBuilder_ == null) {
           if (!(transformTypeCase_ == 4)) {
             transformType_ = com.google.firestore.v1.Value.getDefaultInstance();
           }
-          maximumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
+          maximumBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.firestore.v1.Value,
+                  com.google.firestore.v1.Value.Builder,
+                  com.google.firestore.v1.ValueOrBuilder>(
                   (com.google.firestore.v1.Value) transformType_,
                   getParentForChildren(),
                   isClean());
@@ -2311,8 +2608,13 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> minimumBuilder_;
+              com.google.firestore.v1.Value,
+              com.google.firestore.v1.Value.Builder,
+              com.google.firestore.v1.ValueOrBuilder>
+          minimumBuilder_;
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2328,6 +2630,7 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
        * 
* * .google.firestore.v1.Value minimum = 5; + * * @return Whether the minimum field is set. */ @java.lang.Override @@ -2335,6 +2638,8 @@ public boolean hasMinimum() { return transformTypeCase_ == 5; } /** + * + * *
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2350,6 +2655,7 @@ public boolean hasMinimum() {
        * 
* * .google.firestore.v1.Value minimum = 5; + * * @return The minimum. */ @java.lang.Override @@ -2367,6 +2673,8 @@ public com.google.firestore.v1.Value getMinimum() { } } /** + * + * *
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2397,6 +2705,8 @@ public Builder setMinimum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2413,8 +2723,7 @@ public Builder setMinimum(com.google.firestore.v1.Value value) {
        *
        * .google.firestore.v1.Value minimum = 5;
        */
-      public Builder setMinimum(
-          com.google.firestore.v1.Value.Builder builderForValue) {
+      public Builder setMinimum(com.google.firestore.v1.Value.Builder builderForValue) {
         if (minimumBuilder_ == null) {
           transformType_ = builderForValue.build();
           onChanged();
@@ -2425,6 +2734,8 @@ public Builder setMinimum(
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2443,10 +2754,13 @@ public Builder setMinimum(
        */
       public Builder mergeMinimum(com.google.firestore.v1.Value value) {
         if (minimumBuilder_ == null) {
-          if (transformTypeCase_ == 5 &&
-              transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
-            transformType_ = com.google.firestore.v1.Value.newBuilder((com.google.firestore.v1.Value) transformType_)
-                .mergeFrom(value).buildPartial();
+          if (transformTypeCase_ == 5
+              && transformType_ != com.google.firestore.v1.Value.getDefaultInstance()) {
+            transformType_ =
+                com.google.firestore.v1.Value.newBuilder(
+                        (com.google.firestore.v1.Value) transformType_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2462,6 +2776,8 @@ public Builder mergeMinimum(com.google.firestore.v1.Value value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2495,6 +2811,8 @@ public Builder clearMinimum() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2515,6 +2833,8 @@ public com.google.firestore.v1.Value.Builder getMinimumBuilder() {
         return getMinimumFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2543,6 +2863,8 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Sets the field to the minimum of its current value and the given value.
        * This must be an integer or a double value.
@@ -2560,14 +2882,19 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
        * .google.firestore.v1.Value minimum = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
+              com.google.firestore.v1.Value,
+              com.google.firestore.v1.Value.Builder,
+              com.google.firestore.v1.ValueOrBuilder>
           getMinimumFieldBuilder() {
         if (minimumBuilder_ == null) {
           if (!(transformTypeCase_ == 5)) {
             transformType_ = com.google.firestore.v1.Value.getDefaultInstance();
           }
-          minimumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
+          minimumBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.firestore.v1.Value,
+                  com.google.firestore.v1.Value.Builder,
+                  com.google.firestore.v1.ValueOrBuilder>(
                   (com.google.firestore.v1.Value) transformType_,
                   getParentForChildren(),
                   isClean());
@@ -2579,8 +2906,13 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> appendMissingElementsBuilder_;
+              com.google.firestore.v1.ArrayValue,
+              com.google.firestore.v1.ArrayValue.Builder,
+              com.google.firestore.v1.ArrayValueOrBuilder>
+          appendMissingElementsBuilder_;
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2595,6 +2927,7 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
        * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; + * * @return Whether the appendMissingElements field is set. */ @java.lang.Override @@ -2602,6 +2935,8 @@ public boolean hasAppendMissingElements() { return transformTypeCase_ == 6; } /** + * + * *
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2616,6 +2951,7 @@ public boolean hasAppendMissingElements() {
        * 
* * .google.firestore.v1.ArrayValue append_missing_elements = 6; + * * @return The appendMissingElements. */ @java.lang.Override @@ -2633,6 +2969,8 @@ public com.google.firestore.v1.ArrayValue getAppendMissingElements() { } } /** + * + * *
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2662,6 +3000,8 @@ public Builder setAppendMissingElements(com.google.firestore.v1.ArrayValue value
         return this;
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2689,6 +3029,8 @@ public Builder setAppendMissingElements(
         return this;
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2706,10 +3048,13 @@ public Builder setAppendMissingElements(
        */
       public Builder mergeAppendMissingElements(com.google.firestore.v1.ArrayValue value) {
         if (appendMissingElementsBuilder_ == null) {
-          if (transformTypeCase_ == 6 &&
-              transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-            transformType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) transformType_)
-                .mergeFrom(value).buildPartial();
+          if (transformTypeCase_ == 6
+              && transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+            transformType_ =
+                com.google.firestore.v1.ArrayValue.newBuilder(
+                        (com.google.firestore.v1.ArrayValue) transformType_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2725,6 +3070,8 @@ public Builder mergeAppendMissingElements(com.google.firestore.v1.ArrayValue val
         return this;
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2757,6 +3104,8 @@ public Builder clearAppendMissingElements() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2776,6 +3125,8 @@ public com.google.firestore.v1.ArrayValue.Builder getAppendMissingElementsBuilde
         return getAppendMissingElementsFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2803,6 +3154,8 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
         }
       }
       /**
+       *
+       *
        * 
        * Append the given elements in order if they are not already present in
        * the current field value.
@@ -2819,14 +3172,19 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
        * .google.firestore.v1.ArrayValue append_missing_elements = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> 
+              com.google.firestore.v1.ArrayValue,
+              com.google.firestore.v1.ArrayValue.Builder,
+              com.google.firestore.v1.ArrayValueOrBuilder>
           getAppendMissingElementsFieldBuilder() {
         if (appendMissingElementsBuilder_ == null) {
           if (!(transformTypeCase_ == 6)) {
             transformType_ = com.google.firestore.v1.ArrayValue.getDefaultInstance();
           }
-          appendMissingElementsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder>(
+          appendMissingElementsBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.firestore.v1.ArrayValue,
+                  com.google.firestore.v1.ArrayValue.Builder,
+                  com.google.firestore.v1.ArrayValueOrBuilder>(
                   (com.google.firestore.v1.ArrayValue) transformType_,
                   getParentForChildren(),
                   isClean());
@@ -2838,8 +3196,13 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> removeAllFromArrayBuilder_;
+              com.google.firestore.v1.ArrayValue,
+              com.google.firestore.v1.ArrayValue.Builder,
+              com.google.firestore.v1.ArrayValueOrBuilder>
+          removeAllFromArrayBuilder_;
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -2852,6 +3215,7 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
        * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + * * @return Whether the removeAllFromArray field is set. */ @java.lang.Override @@ -2859,6 +3223,8 @@ public boolean hasRemoveAllFromArray() { return transformTypeCase_ == 7; } /** + * + * *
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -2871,6 +3237,7 @@ public boolean hasRemoveAllFromArray() {
        * 
* * .google.firestore.v1.ArrayValue remove_all_from_array = 7; + * * @return The removeAllFromArray. */ @java.lang.Override @@ -2888,6 +3255,8 @@ public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() { } } /** + * + * *
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -2915,6 +3284,8 @@ public Builder setRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -2940,6 +3311,8 @@ public Builder setRemoveAllFromArray(
         return this;
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -2955,10 +3328,13 @@ public Builder setRemoveAllFromArray(
        */
       public Builder mergeRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) {
         if (removeAllFromArrayBuilder_ == null) {
-          if (transformTypeCase_ == 7 &&
-              transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-            transformType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) transformType_)
-                .mergeFrom(value).buildPartial();
+          if (transformTypeCase_ == 7
+              && transformType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+            transformType_ =
+                com.google.firestore.v1.ArrayValue.newBuilder(
+                        (com.google.firestore.v1.ArrayValue) transformType_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformType_ = value;
           }
@@ -2974,6 +3350,8 @@ public Builder mergeRemoveAllFromArray(com.google.firestore.v1.ArrayValue value)
         return this;
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3004,6 +3382,8 @@ public Builder clearRemoveAllFromArray() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3021,6 +3401,8 @@ public com.google.firestore.v1.ArrayValue.Builder getRemoveAllFromArrayBuilder()
         return getRemoveAllFromArrayFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3046,6 +3428,8 @@ public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilde
         }
       }
       /**
+       *
+       *
        * 
        * Remove all of the given elements from the array in the field.
        * If the field is not an array, or if the field does not yet exist, it is
@@ -3060,14 +3444,19 @@ public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilde
        * .google.firestore.v1.ArrayValue remove_all_from_array = 7;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> 
+              com.google.firestore.v1.ArrayValue,
+              com.google.firestore.v1.ArrayValue.Builder,
+              com.google.firestore.v1.ArrayValueOrBuilder>
           getRemoveAllFromArrayFieldBuilder() {
         if (removeAllFromArrayBuilder_ == null) {
           if (!(transformTypeCase_ == 7)) {
             transformType_ = com.google.firestore.v1.ArrayValue.getDefaultInstance();
           }
-          removeAllFromArrayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder>(
+          removeAllFromArrayBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.firestore.v1.ArrayValue,
+                  com.google.firestore.v1.ArrayValue.Builder,
+                  com.google.firestore.v1.ArrayValueOrBuilder>(
                   (com.google.firestore.v1.ArrayValue) transformType_,
                   getParentForChildren(),
                   isClean());
@@ -3077,6 +3466,7 @@ public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilde
         onChanged();
         return removeAllFromArrayBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3089,12 +3479,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentTransform.FieldTransform)
     }
 
     // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentTransform.FieldTransform)
     private static final com.google.firestore.v1.DocumentTransform.FieldTransform DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentTransform.FieldTransform();
     }
@@ -3103,27 +3493,28 @@ public static com.google.firestore.v1.DocumentTransform.FieldTransform getDefaul
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public FieldTransform parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public FieldTransform parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3138,18 +3529,21 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.DocumentTransform.FieldTransform getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object document_ = "";
   /**
+   *
+   *
    * 
    * The name of the document to transform.
    * 
* * string document = 1; + * * @return The document. */ @java.lang.Override @@ -3158,29 +3552,29 @@ public java.lang.String getDocument() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; } } /** + * + * *
    * The name of the document to transform.
    * 
* * string document = 1; + * * @return The bytes for document. */ @java.lang.Override - public com.google.protobuf.ByteString - getDocumentBytes() { + public com.google.protobuf.ByteString getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); document_ = b; return b; } else { @@ -3189,77 +3583,95 @@ public java.lang.String getDocument() { } public static final int FIELD_TRANSFORMS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List fieldTransforms_; /** + * + * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ @java.lang.Override - public java.util.List getFieldTransformsList() { + public java.util.List + getFieldTransformsList() { return fieldTransforms_; } /** + * + * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List getFieldTransformsOrBuilderList() { return fieldTransforms_; } /** + * + * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ @java.lang.Override public int getFieldTransformsCount() { return fieldTransforms_.size(); } /** + * + * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ @java.lang.Override public com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index) { return fieldTransforms_.get(index); } /** + * + * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ @java.lang.Override - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getFieldTransformsOrBuilder( - int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder + getFieldTransformsOrBuilder(int index) { return fieldTransforms_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3271,8 +3683,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(document_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, document_); } @@ -3292,8 +3703,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, document_); } for (int i = 0; i < fieldTransforms_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, fieldTransforms_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fieldTransforms_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3303,17 +3713,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.DocumentTransform)) { return super.equals(obj); } - com.google.firestore.v1.DocumentTransform other = (com.google.firestore.v1.DocumentTransform) obj; + com.google.firestore.v1.DocumentTransform other = + (com.google.firestore.v1.DocumentTransform) obj; - if (!getDocument() - .equals(other.getDocument())) return false; - if (!getFieldTransformsList() - .equals(other.getFieldTransformsList())) return false; + if (!getDocument().equals(other.getDocument())) return false; + if (!getFieldTransformsList().equals(other.getFieldTransformsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3336,130 +3745,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.DocumentTransform parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.DocumentTransform parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentTransform parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentTransform parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentTransform parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentTransform parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.DocumentTransform parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.DocumentTransform parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentTransform parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.DocumentTransform parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.DocumentTransform parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentTransform parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.DocumentTransform parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.DocumentTransform parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.DocumentTransform prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A transformation of a document.
    * 
* * Protobuf type {@code google.firestore.v1.DocumentTransform} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.DocumentTransform) com.google.firestore.v1.DocumentTransformOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.DocumentTransform.class, com.google.firestore.v1.DocumentTransform.Builder.class); + com.google.firestore.v1.DocumentTransform.class, + com.google.firestore.v1.DocumentTransform.Builder.class); } // Construct using com.google.firestore.v1.DocumentTransform.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3476,9 +3891,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_DocumentTransform_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_DocumentTransform_descriptor; } @java.lang.Override @@ -3497,9 +3912,12 @@ public com.google.firestore.v1.DocumentTransform build() { @java.lang.Override public com.google.firestore.v1.DocumentTransform buildPartial() { - com.google.firestore.v1.DocumentTransform result = new com.google.firestore.v1.DocumentTransform(this); + com.google.firestore.v1.DocumentTransform result = + new com.google.firestore.v1.DocumentTransform(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3527,38 +3945,39 @@ private void buildPartial0(com.google.firestore.v1.DocumentTransform result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.DocumentTransform) { - return mergeFrom((com.google.firestore.v1.DocumentTransform)other); + return mergeFrom((com.google.firestore.v1.DocumentTransform) other); } else { super.mergeFrom(other); return this; @@ -3590,9 +4009,10 @@ public Builder mergeFrom(com.google.firestore.v1.DocumentTransform other) { fieldTransformsBuilder_ = null; fieldTransforms_ = other.fieldTransforms_; bitField0_ = (bitField0_ & ~0x00000002); - fieldTransformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldTransformsFieldBuilder() : null; + fieldTransformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldTransformsFieldBuilder() + : null; } else { fieldTransformsBuilder_.addAllMessages(other.fieldTransforms_); } @@ -3624,30 +4044,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - document_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.firestore.v1.DocumentTransform.FieldTransform m = - input.readMessage( - com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), - extensionRegistry); - if (fieldTransformsBuilder_ == null) { - ensureFieldTransformsIsMutable(); - fieldTransforms_.add(m); - } else { - fieldTransformsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + document_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.firestore.v1.DocumentTransform.FieldTransform m = + input.readMessage( + com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), + extensionRegistry); + if (fieldTransformsBuilder_ == null) { + ensureFieldTransformsIsMutable(); + fieldTransforms_.add(m); + } else { + fieldTransformsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3657,22 +4080,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object document_ = ""; /** + * + * *
      * The name of the document to transform.
      * 
* * string document = 1; + * * @return The document. */ public java.lang.String getDocument() { java.lang.Object ref = document_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); document_ = s; return s; @@ -3681,20 +4107,21 @@ public java.lang.String getDocument() { } } /** + * + * *
      * The name of the document to transform.
      * 
* * string document = 1; + * * @return The bytes for document. */ - public com.google.protobuf.ByteString - getDocumentBytes() { + public com.google.protobuf.ByteString getDocumentBytes() { java.lang.Object ref = document_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); document_ = b; return b; } else { @@ -3702,28 +4129,35 @@ public java.lang.String getDocument() { } } /** + * + * *
      * The name of the document to transform.
      * 
* * string document = 1; + * * @param value The document to set. * @return This builder for chaining. */ - public Builder setDocument( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocument(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } document_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the document to transform.
      * 
* * string document = 1; + * * @return This builder for chaining. */ public Builder clearDocument() { @@ -3733,17 +4167,21 @@ public Builder clearDocument() { return this; } /** + * + * *
      * The name of the document to transform.
      * 
* * string document = 1; + * * @param value The bytes for document to set. * @return This builder for chaining. */ - public Builder setDocumentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocumentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); document_ = value; bitField0_ |= 0x00000001; @@ -3751,28 +4189,38 @@ public Builder setDocumentBytes( return this; } - private java.util.List fieldTransforms_ = - java.util.Collections.emptyList(); + private java.util.List + fieldTransforms_ = java.util.Collections.emptyList(); + private void ensureFieldTransformsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - fieldTransforms_ = new java.util.ArrayList(fieldTransforms_); + fieldTransforms_ = + new java.util.ArrayList( + fieldTransforms_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> fieldTransformsBuilder_; + com.google.firestore.v1.DocumentTransform.FieldTransform, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, + com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + fieldTransformsBuilder_; /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ - public java.util.List getFieldTransformsList() { + public java.util.List + getFieldTransformsList() { if (fieldTransformsBuilder_ == null) { return java.util.Collections.unmodifiableList(fieldTransforms_); } else { @@ -3780,13 +4228,16 @@ public java.util.List } } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ public int getFieldTransformsCount() { if (fieldTransformsBuilder_ == null) { @@ -3796,13 +4247,16 @@ public int getFieldTransformsCount() { } } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ public com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index) { if (fieldTransformsBuilder_ == null) { @@ -3812,13 +4266,16 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransfor } } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ public Builder setFieldTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -3835,16 +4292,20 @@ public Builder setFieldTransforms( return this; } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ public Builder setFieldTransforms( - int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (fieldTransformsBuilder_ == null) { ensureFieldTransformsIsMutable(); fieldTransforms_.set(index, builderForValue.build()); @@ -3855,15 +4316,19 @@ public Builder setFieldTransforms( return this; } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ - public Builder addFieldTransforms(com.google.firestore.v1.DocumentTransform.FieldTransform value) { + public Builder addFieldTransforms( + com.google.firestore.v1.DocumentTransform.FieldTransform value) { if (fieldTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3877,13 +4342,16 @@ public Builder addFieldTransforms(com.google.firestore.v1.DocumentTransform.Fiel return this; } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ public Builder addFieldTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -3900,13 +4368,16 @@ public Builder addFieldTransforms( return this; } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ public Builder addFieldTransforms( com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { @@ -3920,16 +4391,20 @@ public Builder addFieldTransforms( return this; } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ public Builder addFieldTransforms( - int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (fieldTransformsBuilder_ == null) { ensureFieldTransformsIsMutable(); fieldTransforms_.add(index, builderForValue.build()); @@ -3940,20 +4415,23 @@ public Builder addFieldTransforms( return this; } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ public Builder addAllFieldTransforms( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (fieldTransformsBuilder_ == null) { ensureFieldTransformsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, fieldTransforms_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldTransforms_); onChanged(); } else { fieldTransformsBuilder_.addAllMessages(values); @@ -3961,13 +4439,16 @@ public Builder addAllFieldTransforms( return this; } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ public Builder clearFieldTransforms() { if (fieldTransformsBuilder_ == null) { @@ -3980,13 +4461,16 @@ public Builder clearFieldTransforms() { return this; } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ public Builder removeFieldTransforms(int index) { if (fieldTransformsBuilder_ == null) { @@ -3999,45 +4483,56 @@ public Builder removeFieldTransforms(int index) { return this; } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder getFieldTransformsBuilder( - int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + getFieldTransformsBuilder(int index) { return getFieldTransformsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getFieldTransformsOrBuilder( - int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder + getFieldTransformsOrBuilder(int index) { if (fieldTransformsBuilder_ == null) { - return fieldTransforms_.get(index); } else { + return fieldTransforms_.get(index); + } else { return fieldTransformsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ - public java.util.List - getFieldTransformsOrBuilderList() { + public java.util.List< + ? extends com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + getFieldTransformsOrBuilderList() { if (fieldTransformsBuilder_ != null) { return fieldTransformsBuilder_.getMessageOrBuilderList(); } else { @@ -4045,51 +4540,69 @@ public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getFiel } } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addFieldTransformsBuilder() { - return getFieldTransformsFieldBuilder().addBuilder( - com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + addFieldTransformsBuilder() { + return getFieldTransformsFieldBuilder() + .addBuilder( + com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addFieldTransformsBuilder( - int index) { - return getFieldTransformsFieldBuilder().addBuilder( - index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + addFieldTransformsBuilder(int index) { + return getFieldTransformsFieldBuilder() + .addBuilder( + index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** + * + * *
      * The list of transformations to apply to the fields of the document, in
      * order.
      * This must not be empty.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ - public java.util.List - getFieldTransformsBuilderList() { + public java.util.List + getFieldTransformsBuilderList() { return getFieldTransformsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + com.google.firestore.v1.DocumentTransform.FieldTransform, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, + com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> getFieldTransformsFieldBuilder() { if (fieldTransformsBuilder_ == null) { - fieldTransformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( + fieldTransformsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.DocumentTransform.FieldTransform, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, + com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( fieldTransforms_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4098,9 +4611,9 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addField } return fieldTransformsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4110,12 +4623,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.DocumentTransform) } // @@protoc_insertion_point(class_scope:google.firestore.v1.DocumentTransform) private static final com.google.firestore.v1.DocumentTransform DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.DocumentTransform(); } @@ -4124,27 +4637,27 @@ public static com.google.firestore.v1.DocumentTransform getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentTransform parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentTransform parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4159,6 +4672,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.DocumentTransform getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java index dffa93473..455bbc270 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java @@ -1,82 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; -public interface DocumentTransformOrBuilder extends +public interface DocumentTransformOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.DocumentTransform) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the document to transform.
    * 
* * string document = 1; + * * @return The document. */ java.lang.String getDocument(); /** + * + * *
    * The name of the document to transform.
    * 
* * string document = 1; + * * @return The bytes for document. */ - com.google.protobuf.ByteString - getDocumentBytes(); + com.google.protobuf.ByteString getDocumentBytes(); /** + * + * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ - java.util.List - getFieldTransformsList(); + java.util.List getFieldTransformsList(); /** + * + * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ com.google.firestore.v1.DocumentTransform.FieldTransform getFieldTransforms(int index); /** + * + * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ int getFieldTransformsCount(); /** + * + * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ - java.util.List + java.util.List getFieldTransformsOrBuilderList(); /** + * + * *
    * The list of transformations to apply to the fields of the document, in
    * order.
    * This must not be empty.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform field_transforms = 2; + * */ com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getFieldTransformsOrBuilder( int index); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java index 58a73761a..03f63e4a4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** + * + * *
  * A digest of all the documents that match a given target.
  * 
* * Protobuf type {@code google.firestore.v1.ExistenceFilter} */ -public final class ExistenceFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExistenceFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ExistenceFilter) ExistenceFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExistenceFilter.newBuilder() to construct. private ExistenceFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExistenceFilter() { - } + + private ExistenceFilter() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExistenceFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ExistenceFilter.class, com.google.firestore.v1.ExistenceFilter.Builder.class); + com.google.firestore.v1.ExistenceFilter.class, + com.google.firestore.v1.ExistenceFilter.Builder.class); } public static final int TARGET_ID_FIELD_NUMBER = 1; private int targetId_ = 0; /** + * + * *
    * The target ID to which this filter applies.
    * 
* * int32 target_id = 1; + * * @return The targetId. */ @java.lang.Override @@ -65,6 +86,8 @@ public int getTargetId() { public static final int COUNT_FIELD_NUMBER = 2; private int count_ = 0; /** + * + * *
    * The total count of documents that match
    * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -73,6 +96,7 @@ public int getTargetId() {
    * 
* * int32 count = 2; + * * @return The count. */ @java.lang.Override @@ -81,6 +105,7 @@ public int getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (targetId_ != 0) { output.writeInt32(1, targetId_); } @@ -110,12 +134,10 @@ public int getSerializedSize() { size = 0; if (targetId_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, targetId_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, targetId_); } if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, count_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, count_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -125,17 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ExistenceFilter)) { return super.equals(obj); } com.google.firestore.v1.ExistenceFilter other = (com.google.firestore.v1.ExistenceFilter) obj; - if (getTargetId() - != other.getTargetId()) return false; - if (getCount() - != other.getCount()) return false; + if (getTargetId() != other.getTargetId()) return false; + if (getCount() != other.getCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,130 +176,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ExistenceFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.ExistenceFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ExistenceFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ExistenceFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ExistenceFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.ExistenceFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.ExistenceFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ExistenceFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.ExistenceFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A digest of all the documents that match a given target.
    * 
* * Protobuf type {@code google.firestore.v1.ExistenceFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.ExistenceFilter) com.google.firestore.v1.ExistenceFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ExistenceFilter.class, com.google.firestore.v1.ExistenceFilter.Builder.class); + com.google.firestore.v1.ExistenceFilter.class, + com.google.firestore.v1.ExistenceFilter.Builder.class); } // Construct using com.google.firestore.v1.ExistenceFilter.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_ExistenceFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_ExistenceFilter_descriptor; } @java.lang.Override @@ -311,8 +337,11 @@ public com.google.firestore.v1.ExistenceFilter build() { @java.lang.Override public com.google.firestore.v1.ExistenceFilter buildPartial() { - com.google.firestore.v1.ExistenceFilter result = new com.google.firestore.v1.ExistenceFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.ExistenceFilter result = + new com.google.firestore.v1.ExistenceFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -331,38 +360,39 @@ private void buildPartial0(com.google.firestore.v1.ExistenceFilter result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.ExistenceFilter) { - return mergeFrom((com.google.firestore.v1.ExistenceFilter)other); + return mergeFrom((com.google.firestore.v1.ExistenceFilter) other); } else { super.mergeFrom(other); return this; @@ -403,22 +433,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - targetId_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - count_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + targetId_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + count_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -428,15 +461,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int targetId_ ; + private int targetId_; /** + * + * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; + * * @return The targetId. */ @java.lang.Override @@ -444,27 +481,33 @@ public int getTargetId() { return targetId_; } /** + * + * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; + * * @param value The targetId to set. * @return This builder for chaining. */ public Builder setTargetId(int value) { - + targetId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The target ID to which this filter applies.
      * 
* * int32 target_id = 1; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -474,8 +517,10 @@ public Builder clearTargetId() { return this; } - private int count_ ; + private int count_; /** + * + * *
      * The total count of documents that match
      * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -484,6 +529,7 @@ public Builder clearTargetId() {
      * 
* * int32 count = 2; + * * @return The count. */ @java.lang.Override @@ -491,6 +537,8 @@ public int getCount() { return count_; } /** + * + * *
      * The total count of documents that match
      * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -499,17 +547,20 @@ public int getCount() {
      * 
* * int32 count = 2; + * * @param value The count to set. * @return This builder for chaining. */ public Builder setCount(int value) { - + count_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The total count of documents that match
      * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -518,6 +569,7 @@ public Builder setCount(int value) {
      * 
* * int32 count = 2; + * * @return This builder for chaining. */ public Builder clearCount() { @@ -526,9 +578,9 @@ public Builder clearCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -538,12 +590,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.ExistenceFilter) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ExistenceFilter) private static final com.google.firestore.v1.ExistenceFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.ExistenceFilter(); } @@ -552,27 +604,27 @@ public static com.google.firestore.v1.ExistenceFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExistenceFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExistenceFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ExistenceFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java index 379ce5710..cb29e40fb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; -public interface ExistenceFilterOrBuilder extends +public interface ExistenceFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ExistenceFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The target ID to which this filter applies.
    * 
* * int32 target_id = 1; + * * @return The targetId. */ int getTargetId(); /** + * + * *
    * The total count of documents that match
    * [target_id][google.firestore.v1.ExistenceFilter.target_id].
@@ -26,6 +47,7 @@ public interface ExistenceFilterOrBuilder extends
    * 
* * int32 count = 2; + * * @return The count. */ int getCount(); diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java new file mode 100644 index 000000000..181dcee36 --- /dev/null +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java @@ -0,0 +1,778 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/firestore/v1/firestore.proto + +package com.google.firestore.v1; + +public final class FirestoreProto { + private FirestoreProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListDocumentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListDocumentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CreateDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CreateDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_DeleteDocumentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchGetDocumentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchGetDocumentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BeginTransactionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BeginTransactionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BeginTransactionResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BeginTransactionResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CommitRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CommitRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_CommitResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_CommitResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RollbackRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunQueryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_PartitionQueryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_PartitionQueryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_WriteResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListenResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_TargetChange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_TargetChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteRequest_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1_BatchWriteResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1_BatchWriteResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n#google/firestore/v1/firestore.proto\022\023g" + + "oogle.firestore.v1\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032\037googl" + + "e/api/field_behavior.proto\032,google/fires" + + "tore/v1/aggregation_result.proto\032 google" + + "/firestore/v1/common.proto\032\"google/fires" + + "tore/v1/document.proto\032\037google/firestore" + + "/v1/query.proto\032\037google/firestore/v1/wri" + + "te.proto\032\033google/protobuf/empty.proto\032\037g" + + "oogle/protobuf/timestamp.proto\032\027google/r" + + "pc/status.proto\"\270\001\n\022GetDocumentRequest\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022/\n\004mask\030\002 \001(\0132!.google" + + ".firestore.v1.DocumentMask\022\025\n\013transactio" + + "n\030\003 \001(\014H\000\022/\n\tread_time\030\005 \001(\0132\032.google.pr" + + "otobuf.TimestampH\000B\026\n\024consistency_select" + + "or\"\273\002\n\024ListDocumentsRequest\022\023\n\006parent\030\001 " + + "\001(\tB\003\340A\002\022\032\n\rcollection_id\030\002 \001(\tB\003\340A\001\022\026\n\t" + + "page_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\t" + + "B\003\340A\001\022\025\n\010order_by\030\006 \001(\tB\003\340A\001\0224\n\004mask\030\007 \001" + + "(\0132!.google.firestore.v1.DocumentMaskB\003\340" + + "A\001\022\025\n\013transaction\030\010 \001(\014H\000\022/\n\tread_time\030\n" + + " \001(\0132\032.google.protobuf.TimestampH\000\022\024\n\014sh" + + "ow_missing\030\014 \001(\010B\026\n\024consistency_selector" + + "\"b\n\025ListDocumentsResponse\0220\n\tdocuments\030\001" + + " \003(\0132\035.google.firestore.v1.Document\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\"\304\001\n\025CreateDocumentR" + + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rcollectio" + + "n_id\030\002 \001(\tB\003\340A\002\022\023\n\013document_id\030\003 \001(\t\0224\n\010" + + "document\030\004 \001(\0132\035.google.firestore.v1.Doc" + + "umentB\003\340A\002\022/\n\004mask\030\005 \001(\0132!.google.firest" + + "ore.v1.DocumentMask\"\363\001\n\025UpdateDocumentRe" + + "quest\0224\n\010document\030\001 \001(\0132\035.google.firesto" + + "re.v1.DocumentB\003\340A\002\0226\n\013update_mask\030\002 \001(\013" + + "2!.google.firestore.v1.DocumentMask\022/\n\004m" + + "ask\030\003 \001(\0132!.google.firestore.v1.Document" + + "Mask\022;\n\020current_document\030\004 \001(\0132!.google." + + "firestore.v1.Precondition\"g\n\025DeleteDocum" + + "entRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\020current" + + "_document\030\002 \001(\0132!.google.firestore.v1.Pr" + + "econdition\"\231\002\n\030BatchGetDocumentsRequest\022" + + "\025\n\010database\030\001 \001(\tB\003\340A\002\022\021\n\tdocuments\030\002 \003(" + + "\t\022/\n\004mask\030\003 \001(\0132!.google.firestore.v1.Do" + + "cumentMask\022\025\n\013transaction\030\004 \001(\014H\000\022B\n\017new" + + "_transaction\030\005 \001(\0132\'.google.firestore.v1" + + ".TransactionOptionsH\000\022/\n\tread_time\030\007 \001(\013" + + "2\032.google.protobuf.TimestampH\000B\026\n\024consis" + + "tency_selector\"\254\001\n\031BatchGetDocumentsResp" + + "onse\022.\n\005found\030\001 \001(\0132\035.google.firestore.v" + + "1.DocumentH\000\022\021\n\007missing\030\002 \001(\tH\000\022\023\n\013trans" + + "action\030\003 \001(\014\022-\n\tread_time\030\004 \001(\0132\032.google" + + ".protobuf.TimestampB\010\n\006result\"j\n\027BeginTr" + + "ansactionRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\022" + + "8\n\007options\030\002 \001(\0132\'.google.firestore.v1.T" + + "ransactionOptions\"/\n\030BeginTransactionRes" + + "ponse\022\023\n\013transaction\030\001 \001(\014\"g\n\rCommitRequ" + + "est\022\025\n\010database\030\001 \001(\tB\003\340A\002\022*\n\006writes\030\002 \003" + + "(\0132\032.google.firestore.v1.Write\022\023\n\013transa" + + "ction\030\003 \001(\014\"z\n\016CommitResponse\0227\n\rwrite_r" + + "esults\030\001 \003(\0132 .google.firestore.v1.Write" + + "Result\022/\n\013commit_time\030\002 \001(\0132\032.google.pro" + + "tobuf.Timestamp\"B\n\017RollbackRequest\022\025\n\010da" + + "tabase\030\001 \001(\tB\003\340A\002\022\030\n\013transaction\030\002 \001(\014B\003" + + "\340A\002\"\232\002\n\017RunQueryRequest\022\023\n\006parent\030\001 \001(\tB" + + "\003\340A\002\022@\n\020structured_query\030\002 \001(\0132$.google." + + "firestore.v1.StructuredQueryH\000\022\025\n\013transa" + + "ction\030\005 \001(\014H\001\022B\n\017new_transaction\030\006 \001(\0132\'" + + ".google.firestore.v1.TransactionOptionsH" + + "\001\022/\n\tread_time\030\007 \001(\0132\032.google.protobuf.T" + + "imestampH\001B\014\n\nquery_typeB\026\n\024consistency_" + + "selector\"\311\001\n\020RunQueryResponse\022\023\n\013transac" + + "tion\030\002 \001(\014\022/\n\010document\030\001 \001(\0132\035.google.fi" + + "restore.v1.Document\022-\n\tread_time\030\003 \001(\0132\032" + + ".google.protobuf.Timestamp\022\027\n\017skipped_re" + + "sults\030\004 \001(\005\022\016\n\004done\030\006 \001(\010H\000B\027\n\025continuat" + + "ion_selector\"\274\002\n\032RunAggregationQueryRequ" + + "est\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022W\n\034structured_a" + + "ggregation_query\030\002 \001(\0132/.google.firestor" + + "e.v1.StructuredAggregationQueryH\000\022\025\n\013tra" + + "nsaction\030\004 \001(\014H\001\022B\n\017new_transaction\030\005 \001(" + + "\0132\'.google.firestore.v1.TransactionOptio" + + "nsH\001\022/\n\tread_time\030\006 \001(\0132\032.google.protobu" + + "f.TimestampH\001B\014\n\nquery_typeB\026\n\024consisten" + + "cy_selector\"\231\001\n\033RunAggregationQueryRespo" + + "nse\0226\n\006result\030\001 \001(\0132&.google.firestore.v" + + "1.AggregationResult\022\023\n\013transaction\030\002 \001(\014" + + "\022-\n\tread_time\030\003 \001(\0132\032.google.protobuf.Ti" + + "mestamp\"\205\002\n\025PartitionQueryRequest\022\023\n\006par" + + "ent\030\001 \001(\tB\003\340A\002\022@\n\020structured_query\030\002 \001(\013" + + "2$.google.firestore.v1.StructuredQueryH\000" + + "\022\027\n\017partition_count\030\003 \001(\003\022\022\n\npage_token\030" + + "\004 \001(\t\022\021\n\tpage_size\030\005 \001(\005\022/\n\tread_time\030\006 " + + "\001(\0132\032.google.protobuf.TimestampH\001B\014\n\nque" + + "ry_typeB\026\n\024consistency_selector\"b\n\026Parti" + + "tionQueryResponse\022/\n\npartitions\030\001 \003(\0132\033." + + "google.firestore.v1.Cursor\022\027\n\017next_page_" + + "token\030\002 \001(\t\"\350\001\n\014WriteRequest\022\025\n\010database" + + "\030\001 \001(\tB\003\340A\002\022\021\n\tstream_id\030\002 \001(\t\022*\n\006writes" + + "\030\003 \003(\0132\032.google.firestore.v1.Write\022\024\n\014st" + + "ream_token\030\004 \001(\014\022=\n\006labels\030\005 \003(\0132-.googl" + + "e.firestore.v1.WriteRequest.LabelsEntry\032" + + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"\242\001\n\rWriteResponse\022\021\n\tstream_id\030\001 " + + "\001(\t\022\024\n\014stream_token\030\002 \001(\014\0227\n\rwrite_resul" + + "ts\030\003 \003(\0132 .google.firestore.v1.WriteResu" + + "lt\022/\n\013commit_time\030\004 \001(\0132\032.google.protobu" + + "f.Timestamp\"\362\001\n\rListenRequest\022\025\n\010databas" + + "e\030\001 \001(\tB\003\340A\002\0221\n\nadd_target\030\002 \001(\0132\033.googl" + + "e.firestore.v1.TargetH\000\022\027\n\rremove_target" + + "\030\003 \001(\005H\000\022>\n\006labels\030\004 \003(\0132..google.firest" + + "ore.v1.ListenRequest.LabelsEntry\032-\n\013Labe" + + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B" + + "\017\n\rtarget_change\"\325\002\n\016ListenResponse\022:\n\rt" + + "arget_change\030\002 \001(\0132!.google.firestore.v1" + + ".TargetChangeH\000\022>\n\017document_change\030\003 \001(\013" + + "2#.google.firestore.v1.DocumentChangeH\000\022" + + ">\n\017document_delete\030\004 \001(\0132#.google.firest" + + "ore.v1.DocumentDeleteH\000\022>\n\017document_remo" + + "ve\030\006 \001(\0132#.google.firestore.v1.DocumentR" + + "emoveH\000\0226\n\006filter\030\005 \001(\0132$.google.firesto" + + "re.v1.ExistenceFilterH\000B\017\n\rresponse_type" + + "\"\241\003\n\006Target\0228\n\005query\030\002 \001(\0132\'.google.fire" + + "store.v1.Target.QueryTargetH\000\022@\n\tdocumen" + + "ts\030\003 \001(\0132+.google.firestore.v1.Target.Do" + + "cumentsTargetH\000\022\026\n\014resume_token\030\004 \001(\014H\001\022" + + "/\n\tread_time\030\013 \001(\0132\032.google.protobuf.Tim" + + "estampH\001\022\021\n\ttarget_id\030\005 \001(\005\022\014\n\004once\030\006 \001(" + + "\010\032$\n\017DocumentsTarget\022\021\n\tdocuments\030\002 \003(\t\032" + + "m\n\013QueryTarget\022\016\n\006parent\030\001 \001(\t\022@\n\020struct" + + "ured_query\030\002 \001(\0132$.google.firestore.v1.S" + + "tructuredQueryH\000B\014\n\nquery_typeB\r\n\013target" + + "_typeB\r\n\013resume_type\"\252\002\n\014TargetChange\022N\n" + + "\022target_change_type\030\001 \001(\01622.google.fires" + + "tore.v1.TargetChange.TargetChangeType\022\022\n" + + "\ntarget_ids\030\002 \003(\005\022!\n\005cause\030\003 \001(\0132\022.googl" + + "e.rpc.Status\022\024\n\014resume_token\030\004 \001(\014\022-\n\tre" + + "ad_time\030\006 \001(\0132\032.google.protobuf.Timestam" + + "p\"N\n\020TargetChangeType\022\r\n\tNO_CHANGE\020\000\022\007\n\003" + + "ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n\007CURRENT\020\003\022\t\n\005RESET\020" + + "\004\"\237\001\n\030ListCollectionIdsRequest\022\023\n\006parent" + + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\022/\n\tread_time\030\004 \001(\0132\032.google.p" + + "rotobuf.TimestampH\000B\026\n\024consistency_selec" + + "tor\"L\n\031ListCollectionIdsResponse\022\026\n\016coll" + + "ection_ids\030\001 \003(\t\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\311\001\n\021BatchWriteRequest\022\025\n\010database\030\001 \001(" + + "\tB\003\340A\002\022*\n\006writes\030\002 \003(\0132\032.google.firestor" + + "e.v1.Write\022B\n\006labels\030\003 \003(\01322.google.fire" + + "store.v1.BatchWriteRequest.LabelsEntry\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"q\n\022BatchWriteResponse\0227\n\rwrite_res" + + "ults\030\001 \003(\0132 .google.firestore.v1.WriteRe" + + "sult\022\"\n\006status\030\002 \003(\0132\022.google.rpc.Status" + + "2\332\031\n\tFirestore\022\217\001\n\013GetDocument\022\'.google." + + "firestore.v1.GetDocumentRequest\032\035.google" + + ".firestore.v1.Document\"8\202\323\344\223\0022\0220/v1/{nam" + + "e=projects/*/databases/*/documents/*/**}" + + "\022\365\001\n\rListDocuments\022).google.firestore.v1" + + ".ListDocumentsRequest\032*.google.firestore" + + ".v1.ListDocumentsResponse\"\214\001\202\323\344\223\002\205\001\022B/v1" + + "/{parent=projects/*/databases/*/document" + + "s/*/**}/{collection_id}Z?\022=/v1/{parent=p" + + "rojects/*/databases/*/documents}/{collec" + + "tion_id}\022\277\001\n\016UpdateDocument\022*.google.fir" + + "estore.v1.UpdateDocumentRequest\032\035.google" + + ".firestore.v1.Document\"b\202\323\344\223\002E29/v1/{doc" + + "ument.name=projects/*/databases/*/docume" + + "nts/*/**}:\010document\332A\024document,update_ma" + + "sk\022\225\001\n\016DeleteDocument\022*.google.firestore" + + ".v1.DeleteDocumentRequest\032\026.google.proto" + + "buf.Empty\"?\202\323\344\223\0022*0/v1/{name=projects/*/" + + "databases/*/documents/*/**}\332A\004name\022\271\001\n\021B" + + "atchGetDocuments\022-.google.firestore.v1.B" + + "atchGetDocumentsRequest\032..google.firesto" + + "re.v1.BatchGetDocumentsResponse\"C\202\323\344\223\002=\"" + + "8/v1/{database=projects/*/databases/*}/d" + + "ocuments:batchGet:\001*0\001\022\307\001\n\020BeginTransact" + + "ion\022,.google.firestore.v1.BeginTransacti" + + "onRequest\032-.google.firestore.v1.BeginTra" + + "nsactionResponse\"V\202\323\344\223\002E\"@/v1/{database=" + + "projects/*/databases/*}/documents:beginT" + + "ransaction:\001*\332A\010database\022\246\001\n\006Commit\022\".go" + + "ogle.firestore.v1.CommitRequest\032#.google" + + ".firestore.v1.CommitResponse\"S\202\323\344\223\002;\"6/v" + + "1/{database=projects/*/databases/*}/docu" + + "ments:commit:\001*\332A\017database,writes\022\244\001\n\010Ro" + + "llback\022$.google.firestore.v1.RollbackReq" + + "uest\032\026.google.protobuf.Empty\"Z\202\323\344\223\002=\"8/v" + + "1/{database=projects/*/databases/*}/docu" + + "ments:rollback:\001*\332A\024database,transaction" + + "\022\337\001\n\010RunQuery\022$.google.firestore.v1.RunQ" + + "ueryRequest\032%.google.firestore.v1.RunQue" + + "ryResponse\"\203\001\202\323\344\223\002}\"6/v1/{parent=project" + + "s/*/databases/*/documents}:runQuery:\001*Z@" + + "\";/v1/{parent=projects/*/databases/*/doc" + + "uments/*/**}:runQuery:\001*0\001\022\227\002\n\023RunAggreg" + + "ationQuery\022/.google.firestore.v1.RunAggr" + + "egationQueryRequest\0320.google.firestore.v" + + "1.RunAggregationQueryResponse\"\232\001\202\323\344\223\002\223\001\"" + + "A/v1/{parent=projects/*/databases/*/docu" + + "ments}:runAggregationQuery:\001*ZK\"F/v1/{pa" + + "rent=projects/*/databases/*/documents/*/" + + "**}:runAggregationQuery:\001*0\001\022\374\001\n\016Partiti" + + "onQuery\022*.google.firestore.v1.PartitionQ" + + "ueryRequest\032+.google.firestore.v1.Partit" + + "ionQueryResponse\"\220\001\202\323\344\223\002\211\001\" * The request for * [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. @@ -11,53 +28,58 @@ * * Protobuf type {@code google.firestore.v1.GetDocumentRequest} */ -public final class GetDocumentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDocumentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.GetDocumentRequest) GetDocumentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDocumentRequest.newBuilder() to construct. private GetDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDocumentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDocumentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_GetDocumentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.GetDocumentRequest.class, com.google.firestore.v1.GetDocumentRequest.Builder.class); + com.google.firestore.v1.GetDocumentRequest.class, + com.google.firestore.v1.GetDocumentRequest.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(3), READ_TIME(5), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -73,33 +95,40 @@ public static ConsistencySelectorCase valueOf(int value) { public static ConsistencySelectorCase forNumber(int value) { switch (value) { - case 3: return TRANSACTION; - case 5: return READ_TIME; - case 0: return CONSISTENCYSELECTOR_NOT_SET; - default: return null; + case 3: + return TRANSACTION; + case 5: + return READ_TIME; + case 0: + return CONSISTENCYSELECTOR_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConsistencySelectorCase - getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber( - consistencySelectorCase_); + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -108,30 +137,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +171,8 @@ public java.lang.String getName() { public static final int MASK_FIELD_NUMBER = 2; private com.google.firestore.v1.DocumentMask mask_; /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -149,6 +180,7 @@ public java.lang.String getName() {
    * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -156,6 +188,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -163,6 +197,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return The mask. */ @java.lang.Override @@ -170,6 +205,8 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -185,11 +222,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
   public static final int TRANSACTION_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -197,11 +237,14 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 3; } /** + * + * *
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; + * * @return The transaction. */ @java.lang.Override @@ -214,12 +257,15 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 5; /** + * + * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -227,22 +273,27 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 5; } /** + * + * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 5) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
@@ -253,12 +304,13 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 5) {
-       return (com.google.protobuf.Timestamp) consistencySelector_;
+      return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -270,8 +322,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -279,8 +330,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       output.writeMessage(2, getMask());
     }
     if (consistencySelectorCase_ == 3) {
-      output.writeBytes(
-          3, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(3, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
       output.writeMessage(5, (com.google.protobuf.Timestamp) consistencySelector_);
@@ -298,17 +348,17 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (mask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMask());
     }
     if (consistencySelectorCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(
-            3, (com.google.protobuf.ByteString) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeBytesSize(
+              3, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.protobuf.Timestamp) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -318,29 +368,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.GetDocumentRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.GetDocumentRequest other = (com.google.firestore.v1.GetDocumentRequest) obj;
+    com.google.firestore.v1.GetDocumentRequest other =
+        (com.google.firestore.v1.GetDocumentRequest) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasMask() != other.hasMask()) return false;
     if (hasMask()) {
-      if (!getMask()
-          .equals(other.getMask())) return false;
+      if (!getMask().equals(other.getMask())) return false;
     }
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 3:
-        if (!getTransaction()
-            .equals(other.getTransaction())) return false;
+        if (!getTransaction().equals(other.getTransaction())) return false;
         break;
       case 5:
-        if (!getReadTime()
-            .equals(other.getReadTime())) return false;
+        if (!getReadTime().equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -379,97 +426,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.GetDocumentRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.GetDocumentRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.GetDocumentRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.GetDocumentRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.GetDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.GetDocumentRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.GetDocumentRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for
    * [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument].
@@ -477,33 +531,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.GetDocumentRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.GetDocumentRequest)
       com.google.firestore.v1.GetDocumentRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_GetDocumentRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_GetDocumentRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.GetDocumentRequest.class, com.google.firestore.v1.GetDocumentRequest.Builder.class);
+              com.google.firestore.v1.GetDocumentRequest.class,
+              com.google.firestore.v1.GetDocumentRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.GetDocumentRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -523,9 +576,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_GetDocumentRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_GetDocumentRequest_descriptor;
     }
 
     @java.lang.Override
@@ -544,8 +597,11 @@ public com.google.firestore.v1.GetDocumentRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.GetDocumentRequest buildPartial() {
-      com.google.firestore.v1.GetDocumentRequest result = new com.google.firestore.v1.GetDocumentRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.GetDocumentRequest result =
+          new com.google.firestore.v1.GetDocumentRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -557,17 +613,14 @@ private void buildPartial0(com.google.firestore.v1.GetDocumentRequest result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.mask_ = maskBuilder_ == null
-            ? mask_
-            : maskBuilder_.build();
+        result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.firestore.v1.GetDocumentRequest result) {
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 5 &&
-          readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 5 && readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -576,38 +629,39 @@ private void buildPartialOneofs(com.google.firestore.v1.GetDocumentRequest resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.GetDocumentRequest) {
-        return mergeFrom((com.google.firestore.v1.GetDocumentRequest)other);
+        return mergeFrom((com.google.firestore.v1.GetDocumentRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -625,17 +679,20 @@ public Builder mergeFrom(com.google.firestore.v1.GetDocumentRequest other) {
         mergeMask(other.getMask());
       }
       switch (other.getConsistencySelectorCase()) {
-        case TRANSACTION: {
-          setTransaction(other.getTransaction());
-          break;
-        }
-        case READ_TIME: {
-          mergeReadTime(other.getReadTime());
-          break;
-        }
-        case CONSISTENCYSELECTOR_NOT_SET: {
-          break;
-        }
+        case TRANSACTION:
+          {
+            setTransaction(other.getTransaction());
+            break;
+          }
+        case READ_TIME:
+          {
+            mergeReadTime(other.getReadTime());
+            break;
+          }
+        case CONSISTENCYSELECTOR_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -663,36 +720,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              consistencySelector_ = input.readBytes();
-              consistencySelectorCase_ = 3;
-              break;
-            } // case 26
-            case 42: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              consistencySelectorCase_ = 5;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                consistencySelector_ = input.readBytes();
+                consistencySelectorCase_ = 3;
+                break;
+              } // case 26
+            case 42:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                consistencySelectorCase_ = 5;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -702,12 +760,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-    public ConsistencySelectorCase
-        getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(
-          consistencySelectorCase_);
+
+    public ConsistencySelectorCase getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -721,19 +779,21 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -742,21 +802,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -764,30 +825,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -797,18 +865,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the Document to get. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -818,8 +890,13 @@ public Builder setNameBytes( private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -827,12 +904,15 @@ public Builder setNameBytes(
      * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return Whether the mask field is set. */ public boolean hasMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -840,6 +920,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -850,6 +931,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -872,6 +955,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -880,8 +965,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 2;
      */
-    public Builder setMask(
-        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
       } else {
@@ -892,6 +976,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -902,9 +988,9 @@ public Builder setMask(
      */
     public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          mask_ != null &&
-          mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && mask_ != null
+            && mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getMaskBuilder().mergeFrom(value);
         } else {
           mask_ = value;
@@ -917,6 +1003,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -936,6 +1024,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -950,6 +1040,8 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -962,11 +1054,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -976,36 +1069,45 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
+            com.google.firestore.v1.DocumentMask,
+            com.google.firestore.v1.DocumentMask.Builder,
+            com.google.firestore.v1.DocumentMaskOrBuilder>
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(),
-                getParentForChildren(),
-                isClean());
+        maskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.DocumentMask,
+                com.google.firestore.v1.DocumentMask.Builder,
+                com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(), getParentForChildren(), isClean());
         mask_ = null;
       }
       return maskBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * Reads the document in a transaction.
      * 
* * bytes transaction = 3; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 3; } /** + * + * *
      * Reads the document in a transaction.
      * 
* * bytes transaction = 3; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1015,27 +1117,35 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Reads the document in a transaction.
      * 
* * bytes transaction = 3; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } consistencySelectorCase_ = 3; consistencySelector_ = value; onChanged(); return this; } /** + * + * *
      * Reads the document in a transaction.
      * 
* * bytes transaction = 3; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1048,14 +1158,20 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 5; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1063,12 +1179,15 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 5; } /** + * + * *
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 5; + * * @return The readTime. */ @java.lang.Override @@ -1086,6 +1205,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1107,6 +1228,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1114,8 +1237,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 5;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1126,6 +1248,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1135,10 +1259,13 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 5 &&
-            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 5
+            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1154,6 +1281,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1178,6 +1307,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1189,6 +1320,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1208,6 +1341,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads the version of the document at the given time.
      * This may not be older than 270 seconds.
@@ -1216,14 +1351,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 5)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1233,9 +1373,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1245,12 +1385,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.GetDocumentRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.GetDocumentRequest)
   private static final com.google.firestore.v1.GetDocumentRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.GetDocumentRequest();
   }
@@ -1259,27 +1399,27 @@ public static com.google.firestore.v1.GetDocumentRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public GetDocumentRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public GetDocumentRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1294,6 +1434,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.GetDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
index df242cec9..83a820a3f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
@@ -1,35 +1,58 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface GetDocumentRequestOrBuilder extends
+public interface GetDocumentRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.GetDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the Document to get. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -37,10 +60,13 @@ public interface GetDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return Whether the mask field is set. */ boolean hasMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -48,10 +74,13 @@ public interface GetDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 2; + * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -63,45 +92,59 @@ public interface GetDocumentRequestOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Reads the document in a transaction.
    * 
* * bytes transaction = 3; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 5; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads the version of the document at the given time.
    * This may not be older than 270 seconds.
@@ -111,5 +154,6 @@ public interface GetDocumentRequestOrBuilder extends
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
index cfa514ccb..e25ff4a98 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The request for
  * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.v1.ListCollectionIdsRequest}
  */
-public final class ListCollectionIdsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListCollectionIdsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.ListCollectionIdsRequest)
     ListCollectionIdsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListCollectionIdsRequest.newBuilder() to construct.
   private ListCollectionIdsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListCollectionIdsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,37 +45,41 @@ private ListCollectionIdsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListCollectionIdsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.ListCollectionIdsRequest.class, com.google.firestore.v1.ListCollectionIdsRequest.Builder.class);
+            com.google.firestore.v1.ListCollectionIdsRequest.class,
+            com.google.firestore.v1.ListCollectionIdsRequest.Builder.class);
   }
 
   private int consistencySelectorCase_ = 0;
   private java.lang.Object consistencySelector_;
+
   public enum ConsistencySelectorCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     READ_TIME(4),
     CONSISTENCYSELECTOR_NOT_SET(0);
     private final int value;
+
     private ConsistencySelectorCase(int value) {
       this.value = value;
     }
@@ -73,26 +95,31 @@ public static ConsistencySelectorCase valueOf(int value) {
 
     public static ConsistencySelectorCase forNumber(int value) {
       switch (value) {
-        case 4: return READ_TIME;
-        case 0: return CONSISTENCYSELECTOR_NOT_SET;
-        default: return null;
+        case 4:
+          return READ_TIME;
+        case 0:
+          return CONSISTENCYSELECTOR_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConsistencySelectorCase
-  getConsistencySelectorCase() {
-    return ConsistencySelectorCase.forNumber(
-        consistencySelectorCase_);
+  public ConsistencySelectorCase getConsistencySelectorCase() {
+    return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -101,6 +128,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -109,14 +137,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -125,16 +154,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -145,11 +173,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -158,15 +189,19 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -175,30 +210,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -208,12 +243,15 @@ public java.lang.String getPageToken() { public static final int READ_TIME_FIELD_NUMBER = 4; /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -221,22 +259,27 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 4; } /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 4) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -247,12 +290,13 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 4) {
-       return (com.google.protobuf.Timestamp) consistencySelector_;
+      return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -264,8 +308,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -291,15 +334,15 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (pageSize_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(2, pageSize_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
     }
     if (consistencySelectorCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.protobuf.Timestamp) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -309,24 +352,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.ListCollectionIdsRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.ListCollectionIdsRequest other = (com.google.firestore.v1.ListCollectionIdsRequest) obj;
+    com.google.firestore.v1.ListCollectionIdsRequest other =
+        (com.google.firestore.v1.ListCollectionIdsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (getPageSize()
-        != other.getPageSize()) return false;
-    if (!getPageToken()
-        .equals(other.getPageToken())) return false;
+    if (!getParent().equals(other.getParent())) return false;
+    if (getPageSize() != other.getPageSize()) return false;
+    if (!getPageToken().equals(other.getPageToken())) return false;
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 4:
-        if (!getReadTime()
-            .equals(other.getReadTime())) return false;
+        if (!getReadTime().equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -361,97 +401,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.ListCollectionIdsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.ListCollectionIdsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.ListCollectionIdsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.ListCollectionIdsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.ListCollectionIdsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for
    * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
@@ -459,33 +506,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.ListCollectionIdsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListCollectionIdsRequest)
       com.google.firestore.v1.ListCollectionIdsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListCollectionIdsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.ListCollectionIdsRequest.class, com.google.firestore.v1.ListCollectionIdsRequest.Builder.class);
+              com.google.firestore.v1.ListCollectionIdsRequest.class,
+              com.google.firestore.v1.ListCollectionIdsRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.ListCollectionIdsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -502,9 +548,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -523,8 +569,11 @@ public com.google.firestore.v1.ListCollectionIdsRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.ListCollectionIdsRequest buildPartial() {
-      com.google.firestore.v1.ListCollectionIdsRequest result = new com.google.firestore.v1.ListCollectionIdsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.ListCollectionIdsRequest result =
+          new com.google.firestore.v1.ListCollectionIdsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -546,8 +595,7 @@ private void buildPartial0(com.google.firestore.v1.ListCollectionIdsRequest resu
     private void buildPartialOneofs(com.google.firestore.v1.ListCollectionIdsRequest result) {
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 4 &&
-          readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 4 && readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -556,38 +604,39 @@ private void buildPartialOneofs(com.google.firestore.v1.ListCollectionIdsRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.ListCollectionIdsRequest) {
-        return mergeFrom((com.google.firestore.v1.ListCollectionIdsRequest)other);
+        return mergeFrom((com.google.firestore.v1.ListCollectionIdsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -595,7 +644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsRequest other) {
-      if (other == com.google.firestore.v1.ListCollectionIdsRequest.getDefaultInstance()) return this;
+      if (other == com.google.firestore.v1.ListCollectionIdsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -610,13 +660,15 @@ public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsRequest other)
         onChanged();
       }
       switch (other.getConsistencySelectorCase()) {
-        case READ_TIME: {
-          mergeReadTime(other.getReadTime());
-          break;
-        }
-        case CONSISTENCYSELECTOR_NOT_SET: {
-          break;
-        }
+        case READ_TIME:
+          {
+            mergeReadTime(other.getReadTime());
+            break;
+          }
+        case CONSISTENCYSELECTOR_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -644,34 +696,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              consistencySelectorCase_ = 4;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                consistencySelectorCase_ = 4;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -681,12 +736,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-    public ConsistencySelectorCase
-        getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(
-          consistencySelectorCase_);
+
+    public ConsistencySelectorCase getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -700,6 +755,8 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -708,13 +765,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -723,6 +780,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -731,15 +790,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -747,6 +805,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -755,18 +815,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -775,6 +839,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -784,6 +849,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent document. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -792,12 +859,14 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -805,13 +874,16 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -819,27 +891,33 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The maximum number of results to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -851,19 +929,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -872,21 +952,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -894,30 +975,37 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -927,18 +1015,22 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token. Must be a value from
      * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -947,14 +1039,20 @@ public Builder setPageTokenBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -962,12 +1060,15 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 4; } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -985,6 +1086,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1006,6 +1109,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1013,8 +1118,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 4;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1025,6 +1129,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1034,10 +1140,13 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 4 &&
-            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 4
+            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1053,6 +1162,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1077,6 +1188,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1088,6 +1201,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1107,6 +1222,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1115,14 +1232,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 4)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1132,9 +1254,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1144,12 +1266,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListCollectionIdsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.ListCollectionIdsRequest)
   private static final com.google.firestore.v1.ListCollectionIdsRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.ListCollectionIdsRequest();
   }
@@ -1158,27 +1280,27 @@ public static com.google.firestore.v1.ListCollectionIdsRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListCollectionIdsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListCollectionIdsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1193,6 +1315,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.ListCollectionIdsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
index 1262f1e47..7a09c0995 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface ListCollectionIdsRequestOrBuilder extends
+public interface ListCollectionIdsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListCollectionIdsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -16,10 +34,13 @@ public interface ListCollectionIdsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent document. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -28,64 +49,80 @@ public interface ListCollectionIdsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of results to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token. Must be a value from
    * [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -95,5 +132,6 @@ public interface ListCollectionIdsRequestOrBuilder extends
    */
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-  public com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
index 677519c4f..1a97a20de 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The response from
  * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.v1.ListCollectionIdsResponse}
  */
-public final class ListCollectionIdsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListCollectionIdsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.ListCollectionIdsResponse)
     ListCollectionIdsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListCollectionIdsResponse.newBuilder() to construct.
   private ListCollectionIdsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListCollectionIdsResponse() {
     collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     nextPageToken_ = "";
@@ -27,61 +45,71 @@ private ListCollectionIdsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListCollectionIdsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.ListCollectionIdsResponse.class, com.google.firestore.v1.ListCollectionIdsResponse.Builder.class);
+            com.google.firestore.v1.ListCollectionIdsResponse.class,
+            com.google.firestore.v1.ListCollectionIdsResponse.Builder.class);
   }
 
   public static final int COLLECTION_IDS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringList collectionIds_;
   /**
+   *
+   *
    * 
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_; } /** + * + * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -89,28 +117,34 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A page token that may be used to continue the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -119,29 +153,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A page token that may be used to continue the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -150,6 +184,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,8 +196,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < collectionIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, collectionIds_.getRaw(i)); } @@ -197,17 +231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ListCollectionIdsResponse)) { return super.equals(obj); } - com.google.firestore.v1.ListCollectionIdsResponse other = (com.google.firestore.v1.ListCollectionIdsResponse) obj; + com.google.firestore.v1.ListCollectionIdsResponse other = + (com.google.firestore.v1.ListCollectionIdsResponse) obj; - if (!getCollectionIdsList() - .equals(other.getCollectionIdsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getCollectionIdsList().equals(other.getCollectionIdsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,96 +264,103 @@ public int hashCode() { } public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ListCollectionIdsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.ListCollectionIdsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListCollectionIdsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListCollectionIdsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.ListCollectionIdsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response from
    * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
@@ -328,33 +368,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.ListCollectionIdsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListCollectionIdsResponse)
       com.google.firestore.v1.ListCollectionIdsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListCollectionIdsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.ListCollectionIdsResponse.class, com.google.firestore.v1.ListCollectionIdsResponse.Builder.class);
+              com.google.firestore.v1.ListCollectionIdsResponse.class,
+              com.google.firestore.v1.ListCollectionIdsResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.ListCollectionIdsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -366,9 +405,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -387,14 +426,18 @@ public com.google.firestore.v1.ListCollectionIdsResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.ListCollectionIdsResponse buildPartial() {
-      com.google.firestore.v1.ListCollectionIdsResponse result = new com.google.firestore.v1.ListCollectionIdsResponse(this);
+      com.google.firestore.v1.ListCollectionIdsResponse result =
+          new com.google.firestore.v1.ListCollectionIdsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.firestore.v1.ListCollectionIdsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.firestore.v1.ListCollectionIdsResponse result) {
       if (((bitField0_ & 0x00000001) != 0)) {
         collectionIds_ = collectionIds_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
@@ -413,38 +456,39 @@ private void buildPartial0(com.google.firestore.v1.ListCollectionIdsResponse res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.ListCollectionIdsResponse) {
-        return mergeFrom((com.google.firestore.v1.ListCollectionIdsResponse)other);
+        return mergeFrom((com.google.firestore.v1.ListCollectionIdsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,7 +496,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsResponse other) {
-      if (other == com.google.firestore.v1.ListCollectionIdsResponse.getDefaultInstance()) return this;
+      if (other == com.google.firestore.v1.ListCollectionIdsResponse.getDefaultInstance())
+        return this;
       if (!other.collectionIds_.isEmpty()) {
         if (collectionIds_.isEmpty()) {
           collectionIds_ = other.collectionIds_;
@@ -494,23 +539,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureCollectionIdsIsMutable();
-              collectionIds_.add(s);
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureCollectionIdsIsMutable();
+                collectionIds_.add(s);
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -520,44 +568,55 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList collectionIds_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureCollectionIdsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @return A list containing the collectionIds. */ - public com.google.protobuf.ProtocolStringList - getCollectionIdsList() { + public com.google.protobuf.ProtocolStringList getCollectionIdsList() { return collectionIds_.getUnmodifiableView(); } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ @@ -565,76 +624,90 @@ public java.lang.String getCollectionIds(int index) { return collectionIds_.get(index); } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - public com.google.protobuf.ByteString - getCollectionIdsBytes(int index) { + public com.google.protobuf.ByteString getCollectionIdsBytes(int index) { return collectionIds_.getByteString(index); } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ - public Builder setCollectionIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCollectionIdsIsMutable(); collectionIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param value The collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCollectionIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureCollectionIdsIsMutable(); collectionIds_.add(value); onChanged(); return this; } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param values The collectionIds to add. * @return This builder for chaining. */ - public Builder addAllCollectionIds( - java.lang.Iterable values) { + public Builder addAllCollectionIds(java.lang.Iterable values) { ensureCollectionIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, collectionIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_); onChanged(); return this; } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @return This builder for chaining. */ public Builder clearCollectionIds() { @@ -644,17 +717,21 @@ public Builder clearCollectionIds() { return this; } /** + * + * *
      * The collection ids.
      * 
* * repeated string collection_ids = 1; + * * @param value The bytes of the collectionIds to add. * @return This builder for chaining. */ - public Builder addCollectionIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureCollectionIdsIsMutable(); collectionIds_.add(value); @@ -664,18 +741,20 @@ public Builder addCollectionIdsBytes( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -684,20 +763,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -705,28 +785,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -736,26 +823,30 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A page token that may be used to continue the list.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -765,12 +856,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListCollectionIdsResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ListCollectionIdsResponse) private static final com.google.firestore.v1.ListCollectionIdsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.ListCollectionIdsResponse(); } @@ -779,27 +870,27 @@ public static com.google.firestore.v1.ListCollectionIdsResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCollectionIdsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCollectionIdsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -814,6 +905,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.firestore.v1.ListCollectionIdsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java index 53f354b70..42dc74782 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java @@ -1,70 +1,101 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListCollectionIdsResponseOrBuilder extends +public interface ListCollectionIdsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListCollectionIdsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @return A list containing the collectionIds. */ - java.util.List - getCollectionIdsList(); + java.util.List getCollectionIdsList(); /** + * + * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @return The count of collectionIds. */ int getCollectionIdsCount(); /** + * + * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @param index The index of the element to return. * @return The collectionIds at the given index. */ java.lang.String getCollectionIds(int index); /** + * + * *
    * The collection ids.
    * 
* * repeated string collection_ids = 1; + * * @param index The index of the value to return. * @return The bytes of the collectionIds at the given index. */ - com.google.protobuf.ByteString - getCollectionIdsBytes(int index); + com.google.protobuf.ByteString getCollectionIdsBytes(int index); /** + * + * *
    * A page token that may be used to continue the list.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A page token that may be used to continue the list.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java index bc0b769b5..9768e75bf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The request for
  * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.v1.ListDocumentsRequest}
  */
-public final class ListDocumentsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListDocumentsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.ListDocumentsRequest)
     ListDocumentsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListDocumentsRequest.newBuilder() to construct.
   private ListDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListDocumentsRequest() {
     parent_ = "";
     collectionId_ = "";
@@ -29,38 +47,42 @@ private ListDocumentsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListDocumentsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.ListDocumentsRequest.class, com.google.firestore.v1.ListDocumentsRequest.Builder.class);
+            com.google.firestore.v1.ListDocumentsRequest.class,
+            com.google.firestore.v1.ListDocumentsRequest.Builder.class);
   }
 
   private int consistencySelectorCase_ = 0;
   private java.lang.Object consistencySelector_;
+
   public enum ConsistencySelectorCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TRANSACTION(8),
     READ_TIME(10),
     CONSISTENCYSELECTOR_NOT_SET(0);
     private final int value;
+
     private ConsistencySelectorCase(int value) {
       this.value = value;
     }
@@ -76,27 +98,33 @@ public static ConsistencySelectorCase valueOf(int value) {
 
     public static ConsistencySelectorCase forNumber(int value) {
       switch (value) {
-        case 8: return TRANSACTION;
-        case 10: return READ_TIME;
-        case 0: return CONSISTENCYSELECTOR_NOT_SET;
-        default: return null;
+        case 8:
+          return TRANSACTION;
+        case 10:
+          return READ_TIME;
+        case 0:
+          return CONSISTENCYSELECTOR_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConsistencySelectorCase
-  getConsistencySelectorCase() {
-    return ConsistencySelectorCase.forNumber(
-        consistencySelectorCase_);
+  public ConsistencySelectorCase getConsistencySelectorCase() {
+    return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -107,6 +135,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -115,14 +144,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -133,16 +163,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -151,9 +180,12 @@ public java.lang.String getParent() { } public static final int COLLECTION_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object collectionId_ = ""; /** + * + * *
    * Optional. The collection ID, relative to `parent`, to list.
    * For example: `chatrooms` or `messages`.
@@ -162,6 +194,7 @@ public java.lang.String getParent() {
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The collectionId. */ @java.lang.Override @@ -170,14 +203,15 @@ public java.lang.String getCollectionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; } } /** + * + * *
    * Optional. The collection ID, relative to `parent`, to list.
    * For example: `chatrooms` or `messages`.
@@ -186,16 +220,15 @@ public java.lang.String getCollectionId() {
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for collectionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCollectionIdBytes() { + public com.google.protobuf.ByteString getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); collectionId_ = b; return b; } else { @@ -206,12 +239,15 @@ public java.lang.String getCollectionId() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of documents to return in a single response.
    * Firestore may return fewer than this value.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -220,9 +256,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous `ListDocuments` response.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -231,6 +270,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -239,14 +279,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A page token, received from a previous `ListDocuments` response.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -255,16 +296,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -273,9 +313,12 @@ public java.lang.String getPageToken() { } public static final int ORDER_BY_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. The optional ordering of the documents to return.
    * For example: `priority desc, __name__ desc`.
@@ -285,6 +328,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -293,14 +337,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. The optional ordering of the documents to return.
    * For example: `priority desc, __name__ desc`.
@@ -310,16 +355,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -330,13 +374,17 @@ public java.lang.String getOrderBy() { public static final int MASK_FIELD_NUMBER = 7; private com.google.firestore.v1.DocumentMask mask_; /** + * + * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the mask field is set. */ @java.lang.Override @@ -344,13 +392,17 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mask. */ @java.lang.Override @@ -358,13 +410,16 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** + * + * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { @@ -373,11 +428,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { public static final int TRANSACTION_FIELD_NUMBER = 8; /** + * + * *
    * Perform the read as part of an already active transaction.
    * 
* * bytes transaction = 8; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -385,11 +443,14 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 8; } /** + * + * *
    * Perform the read as part of an already active transaction.
    * 
* * bytes transaction = 8; + * * @return The transaction. */ @java.lang.Override @@ -402,12 +463,15 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 10; /** + * + * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -415,22 +479,27 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 10; } /** + * + * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 10) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
@@ -441,7 +510,7 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 10) {
-       return (com.google.protobuf.Timestamp) consistencySelector_;
+      return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
@@ -449,6 +518,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int SHOW_MISSING_FIELD_NUMBER = 12;
   private boolean showMissing_ = false;
   /**
+   *
+   *
    * 
    * If the list should show missing documents.
    * A document is missing if it does not exist, but there are sub-documents
@@ -460,6 +531,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
    * 
* * bool show_missing = 12; + * * @return The showMissing. */ @java.lang.Override @@ -468,6 +540,7 @@ public boolean getShowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -479,8 +552,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -500,8 +572,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(7, getMask()); } if (consistencySelectorCase_ == 8) { - output.writeBytes( - 8, (com.google.protobuf.ByteString) consistencySelector_); + output.writeBytes(8, (com.google.protobuf.ByteString) consistencySelector_); } if (consistencySelectorCase_ == 10) { output.writeMessage(10, (com.google.protobuf.Timestamp) consistencySelector_); @@ -525,8 +596,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collectionId_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -535,21 +605,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); } if (mask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMask()); } if (consistencySelectorCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize( - 8, (com.google.protobuf.ByteString) consistencySelector_); + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 8, (com.google.protobuf.ByteString) consistencySelector_); } if (consistencySelectorCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.protobuf.Timestamp) consistencySelector_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.protobuf.Timestamp) consistencySelector_); } if (showMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, showMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, showMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -559,39 +628,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ListDocumentsRequest)) { return super.equals(obj); } - com.google.firestore.v1.ListDocumentsRequest other = (com.google.firestore.v1.ListDocumentsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getCollectionId() - .equals(other.getCollectionId())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.firestore.v1.ListDocumentsRequest other = + (com.google.firestore.v1.ListDocumentsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getCollectionId().equals(other.getCollectionId())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (hasMask() != other.hasMask()) return false; if (hasMask()) { - if (!getMask() - .equals(other.getMask())) return false; + if (!getMask().equals(other.getMask())) return false; } - if (getShowMissing() - != other.getShowMissing()) return false; + if (getShowMissing() != other.getShowMissing()) return false; if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false; switch (consistencySelectorCase_) { case 8: - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; break; case 10: - if (!getReadTime() - .equals(other.getReadTime())) return false; + if (!getReadTime().equals(other.getReadTime())) return false; break; case 0: default: @@ -622,8 +683,7 @@ public int hashCode() { hash = (53 * hash) + getMask().hashCode(); } hash = (37 * hash) + SHOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getShowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowMissing()); switch (consistencySelectorCase_) { case 8: hash = (37 * hash) + TRANSACTION_FIELD_NUMBER; @@ -641,97 +701,104 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ListDocumentsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.ListDocumentsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ListDocumentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ListDocumentsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ListDocumentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.ListDocumentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListDocumentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListDocumentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.ListDocumentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for
    * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
@@ -739,33 +806,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.ListDocumentsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListDocumentsRequest)
       com.google.firestore.v1.ListDocumentsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListDocumentsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.ListDocumentsRequest.class, com.google.firestore.v1.ListDocumentsRequest.Builder.class);
+              com.google.firestore.v1.ListDocumentsRequest.class,
+              com.google.firestore.v1.ListDocumentsRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.ListDocumentsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -790,9 +856,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -811,8 +877,11 @@ public com.google.firestore.v1.ListDocumentsRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.ListDocumentsRequest buildPartial() {
-      com.google.firestore.v1.ListDocumentsRequest result = new com.google.firestore.v1.ListDocumentsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.ListDocumentsRequest result =
+          new com.google.firestore.v1.ListDocumentsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -836,9 +905,7 @@ private void buildPartial0(com.google.firestore.v1.ListDocumentsRequest result)
         result.orderBy_ = orderBy_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.mask_ = maskBuilder_ == null
-            ? mask_
-            : maskBuilder_.build();
+        result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.showMissing_ = showMissing_;
@@ -848,8 +915,7 @@ private void buildPartial0(com.google.firestore.v1.ListDocumentsRequest result)
     private void buildPartialOneofs(com.google.firestore.v1.ListDocumentsRequest result) {
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 10 &&
-          readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 10 && readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -858,38 +924,39 @@ private void buildPartialOneofs(com.google.firestore.v1.ListDocumentsRequest res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.ListDocumentsRequest) {
-        return mergeFrom((com.google.firestore.v1.ListDocumentsRequest)other);
+        return mergeFrom((com.google.firestore.v1.ListDocumentsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -928,17 +995,20 @@ public Builder mergeFrom(com.google.firestore.v1.ListDocumentsRequest other) {
         setShowMissing(other.getShowMissing());
       }
       switch (other.getConsistencySelectorCase()) {
-        case TRANSACTION: {
-          setTransaction(other.getTransaction());
-          break;
-        }
-        case READ_TIME: {
-          mergeReadTime(other.getReadTime());
-          break;
-        }
-        case CONSISTENCYSELECTOR_NOT_SET: {
-          break;
-        }
+        case TRANSACTION:
+          {
+            setTransaction(other.getTransaction());
+            break;
+          }
+        case READ_TIME:
+          {
+            mergeReadTime(other.getReadTime());
+            break;
+          }
+        case CONSISTENCYSELECTOR_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -966,61 +1036,67 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              collectionId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 50: {
-              orderBy_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 58
-            case 66: {
-              consistencySelector_ = input.readBytes();
-              consistencySelectorCase_ = 8;
-              break;
-            } // case 66
-            case 82: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              consistencySelectorCase_ = 10;
-              break;
-            } // case 82
-            case 96: {
-              showMissing_ = input.readBool();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 96
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                collectionId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 50:
+              {
+                orderBy_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 58
+            case 66:
+              {
+                consistencySelector_ = input.readBytes();
+                consistencySelectorCase_ = 8;
+                break;
+              } // case 66
+            case 82:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                consistencySelectorCase_ = 10;
+                break;
+              } // case 82
+            case 96:
+              {
+                showMissing_ = input.readBool();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 96
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1030,12 +1106,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-    public ConsistencySelectorCase
-        getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(
-          consistencySelectorCase_);
+
+    public ConsistencySelectorCase getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -1049,6 +1125,8 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1059,13 +1137,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1074,6 +1152,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1084,15 +1164,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1100,6 +1179,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1110,18 +1191,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1132,6 +1217,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1141,6 +1227,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1151,12 +1239,14 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1166,6 +1256,8 @@ public Builder setParentBytes( private java.lang.Object collectionId_ = ""; /** + * + * *
      * Optional. The collection ID, relative to `parent`, to list.
      * For example: `chatrooms` or `messages`.
@@ -1174,13 +1266,13 @@ public Builder setParentBytes(
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The collectionId. */ public java.lang.String getCollectionId() { java.lang.Object ref = collectionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; @@ -1189,6 +1281,8 @@ public java.lang.String getCollectionId() { } } /** + * + * *
      * Optional. The collection ID, relative to `parent`, to list.
      * For example: `chatrooms` or `messages`.
@@ -1197,15 +1291,14 @@ public java.lang.String getCollectionId() {
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for collectionId. */ - public com.google.protobuf.ByteString - getCollectionIdBytes() { + public com.google.protobuf.ByteString getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); collectionId_ = b; return b; } else { @@ -1213,6 +1306,8 @@ public java.lang.String getCollectionId() { } } /** + * + * *
      * Optional. The collection ID, relative to `parent`, to list.
      * For example: `chatrooms` or `messages`.
@@ -1221,18 +1316,22 @@ public java.lang.String getCollectionId() {
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } collectionId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The collection ID, relative to `parent`, to list.
      * For example: `chatrooms` or `messages`.
@@ -1241,6 +1340,7 @@ public Builder setCollectionId(
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCollectionId() { @@ -1250,6 +1350,8 @@ public Builder clearCollectionId() { return this; } /** + * + * *
      * Optional. The collection ID, relative to `parent`, to list.
      * For example: `chatrooms` or `messages`.
@@ -1258,12 +1360,14 @@ public Builder clearCollectionId() {
      * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); collectionId_ = value; bitField0_ |= 0x00000002; @@ -1271,14 +1375,17 @@ public Builder setCollectionIdBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of documents to return in a single response.
      * Firestore may return fewer than this value.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -1286,29 +1393,35 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of documents to return in a single response.
      * Firestore may return fewer than this value.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The maximum number of documents to return in a single response.
      * Firestore may return fewer than this value.
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1320,6 +1433,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1328,13 +1443,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1343,6 +1458,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1351,15 +1468,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1367,6 +1483,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1375,18 +1493,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1395,6 +1517,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1404,6 +1527,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous `ListDocuments` response.
      * Provide this to retrieve the subsequent page. When paginating, all other
@@ -1412,12 +1537,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; @@ -1427,6 +1554,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The optional ordering of the documents to return.
      * For example: `priority desc, __name__ desc`.
@@ -1436,13 +1565,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1451,6 +1580,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The optional ordering of the documents to return.
      * For example: `priority desc, __name__ desc`.
@@ -1460,15 +1591,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1476,6 +1606,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The optional ordering of the documents to return.
      * For example: `priority desc, __name__ desc`.
@@ -1485,18 +1617,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. The optional ordering of the documents to return.
      * For example: `priority desc, __name__ desc`.
@@ -1506,6 +1642,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1515,6 +1652,8 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. The optional ordering of the documents to return.
      * For example: `priority desc, __name__ desc`.
@@ -1524,12 +1663,14 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; @@ -1539,28 +1680,39 @@ public Builder setOrderByBytes( private com.google.firestore.v1.DocumentMask mask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_; + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + maskBuilder_; /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the mask field is set. */ public boolean hasMask() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1571,13 +1723,16 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setMask(com.google.firestore.v1.DocumentMask value) { if (maskBuilder_ == null) { @@ -1593,16 +1748,18 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) { return this; } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setMask( - com.google.firestore.v1.DocumentMask.Builder builderForValue) { + public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) { if (maskBuilder_ == null) { mask_ = builderForValue.build(); } else { @@ -1613,19 +1770,22 @@ public Builder setMask( return this; } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) { if (maskBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - mask_ != null && - mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && mask_ != null + && mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) { getMaskBuilder().mergeFrom(value); } else { mask_ = value; @@ -1638,13 +1798,16 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) { return this; } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearMask() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1657,13 +1820,16 @@ public Builder clearMask() { return this; } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() { bitField0_ |= 0x00000020; @@ -1671,62 +1837,76 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() { return getMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() { if (maskBuilder_ != null) { return maskBuilder_.getMessageOrBuilder(); } else { - return mask_ == null ? - com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; + return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } } /** + * + * *
      * Optional. The fields to return. If not set, returns all fields.
      * If a document has a field that is not present in this mask, that field
      * will not be returned in the response.
      * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> getMaskFieldBuilder() { if (maskBuilder_ == null) { - maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>( - getMask(), - getParentForChildren(), - isClean()); + maskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder>( + getMask(), getParentForChildren(), isClean()); mask_ = null; } return maskBuilder_; } /** + * + * *
      * Perform the read as part of an already active transaction.
      * 
* * bytes transaction = 8; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 8; } /** + * + * *
      * Perform the read as part of an already active transaction.
      * 
* * bytes transaction = 8; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1736,27 +1916,35 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Perform the read as part of an already active transaction.
      * 
* * bytes transaction = 8; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } consistencySelectorCase_ = 8; consistencySelector_ = value; onChanged(); return this; } /** + * + * *
      * Perform the read as part of an already active transaction.
      * 
* * bytes transaction = 8; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1769,14 +1957,20 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1784,12 +1978,15 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 10; } /** + * + * *
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return The readTime. */ @java.lang.Override @@ -1807,6 +2004,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -1828,6 +2027,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -1835,8 +2036,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 10;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1847,6 +2047,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -1856,10 +2058,13 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 10 &&
-            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 10
+            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1875,6 +2080,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -1899,6 +2106,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -1910,6 +2119,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -1929,6 +2140,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Perform the read at the provided time.
      * This may not be older than 270 seconds.
@@ -1937,14 +2150,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 10)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1955,8 +2173,10 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       return readTimeBuilder_;
     }
 
-    private boolean showMissing_ ;
+    private boolean showMissing_;
     /**
+     *
+     *
      * 
      * If the list should show missing documents.
      * A document is missing if it does not exist, but there are sub-documents
@@ -1968,6 +2188,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * 
* * bool show_missing = 12; + * * @return The showMissing. */ @java.lang.Override @@ -1975,6 +2196,8 @@ public boolean getShowMissing() { return showMissing_; } /** + * + * *
      * If the list should show missing documents.
      * A document is missing if it does not exist, but there are sub-documents
@@ -1986,17 +2209,20 @@ public boolean getShowMissing() {
      * 
* * bool show_missing = 12; + * * @param value The showMissing to set. * @return This builder for chaining. */ public Builder setShowMissing(boolean value) { - + showMissing_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * If the list should show missing documents.
      * A document is missing if it does not exist, but there are sub-documents
@@ -2008,6 +2234,7 @@ public Builder setShowMissing(boolean value) {
      * 
* * bool show_missing = 12; + * * @return This builder for chaining. */ public Builder clearShowMissing() { @@ -2016,9 +2243,9 @@ public Builder clearShowMissing() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2028,12 +2255,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListDocumentsRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ListDocumentsRequest) private static final com.google.firestore.v1.ListDocumentsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.ListDocumentsRequest(); } @@ -2042,27 +2269,27 @@ public static com.google.firestore.v1.ListDocumentsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDocumentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDocumentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2077,6 +2304,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ListDocumentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java index b62cf96f0..ff4a1bb7b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListDocumentsRequestOrBuilder extends +public interface ListDocumentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListDocumentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -18,10 +36,13 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -32,12 +53,14 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. The collection ID, relative to `parent`, to list.
    * For example: `chatrooms` or `messages`.
@@ -46,10 +69,13 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The collectionId. */ java.lang.String getCollectionId(); /** + * + * *
    * Optional. The collection ID, relative to `parent`, to list.
    * For example: `chatrooms` or `messages`.
@@ -58,23 +84,28 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * string collection_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for collectionId. */ - com.google.protobuf.ByteString - getCollectionIdBytes(); + com.google.protobuf.ByteString getCollectionIdBytes(); /** + * + * *
    * Optional. The maximum number of documents to return in a single response.
    * Firestore may return fewer than this value.
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous `ListDocuments` response.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -83,10 +114,13 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous `ListDocuments` response.
    * Provide this to retrieve the subsequent page. When paginating, all other
@@ -95,12 +129,14 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. The optional ordering of the documents to return.
    * For example: `priority desc, __name__ desc`.
@@ -110,10 +146,13 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. The optional ordering of the documents to return.
    * For example: `priority desc, __name__ desc`.
@@ -123,84 +162,109 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the mask field is set. */ boolean hasMask(); /** + * + * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** + * + * *
    * Optional. The fields to return. If not set, returns all fields.
    * If a document has a field that is not present in this mask, that field
    * will not be returned in the response.
    * 
* - * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * .google.firestore.v1.DocumentMask mask = 7 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder(); /** + * + * *
    * Perform the read as part of an already active transaction.
    * 
* * bytes transaction = 8; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Perform the read as part of an already active transaction.
    * 
* * bytes transaction = 8; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 10; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Perform the read at the provided time.
    * This may not be older than 270 seconds.
@@ -211,6 +275,8 @@ public interface ListDocumentsRequestOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * If the list should show missing documents.
    * A document is missing if it does not exist, but there are sub-documents
@@ -222,9 +288,11 @@ public interface ListDocumentsRequestOrBuilder extends
    * 
* * bool show_missing = 12; + * * @return The showMissing. */ boolean getShowMissing(); - public com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase(); + public com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase + getConsistencySelectorCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java index 6c837b2d5..ea4999b1b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The response for
  * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.v1.ListDocumentsResponse}
  */
-public final class ListDocumentsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListDocumentsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.ListDocumentsResponse)
     ListDocumentsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListDocumentsResponse.newBuilder() to construct.
   private ListDocumentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListDocumentsResponse() {
     documents_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,33 +45,37 @@ private ListDocumentsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListDocumentsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.ListDocumentsResponse.class, com.google.firestore.v1.ListDocumentsResponse.Builder.class);
+            com.google.firestore.v1.ListDocumentsResponse.class,
+            com.google.firestore.v1.ListDocumentsResponse.Builder.class);
   }
 
   public static final int DOCUMENTS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List documents_;
   /**
+   *
+   *
    * 
    * The Documents found.
    * 
@@ -65,6 +87,8 @@ public java.util.List getDocumentsList() { return documents_; } /** + * + * *
    * The Documents found.
    * 
@@ -72,11 +96,13 @@ public java.util.List getDocumentsList() { * repeated .google.firestore.v1.Document documents = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDocumentsOrBuilderList() { return documents_; } /** + * + * *
    * The Documents found.
    * 
@@ -88,6 +114,8 @@ public int getDocumentsCount() { return documents_.size(); } /** + * + * *
    * The Documents found.
    * 
@@ -99,6 +127,8 @@ public com.google.firestore.v1.Document getDocuments(int index) { return documents_.get(index); } /** + * + * *
    * The Documents found.
    * 
@@ -106,21 +136,24 @@ public com.google.firestore.v1.Document getDocuments(int index) { * repeated .google.firestore.v1.Document documents = 1; */ @java.lang.Override - public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( - int index) { + public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index) { return documents_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token to retrieve the next page of documents.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,30 +162,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of documents.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -161,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < documents_.size(); i++) { output.writeMessage(1, documents_.get(i)); } @@ -190,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < documents_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, documents_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, documents_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -204,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ListDocumentsResponse)) { return super.equals(obj); } - com.google.firestore.v1.ListDocumentsResponse other = (com.google.firestore.v1.ListDocumentsResponse) obj; + com.google.firestore.v1.ListDocumentsResponse other = + (com.google.firestore.v1.ListDocumentsResponse) obj; - if (!getDocumentsList() - .equals(other.getDocumentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDocumentsList().equals(other.getDocumentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,97 +268,104 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ListDocumentsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.ListDocumentsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ListDocumentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ListDocumentsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.ListDocumentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.ListDocumentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListDocumentsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListDocumentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.ListDocumentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response for
    * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
@@ -335,33 +373,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.ListDocumentsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListDocumentsResponse)
       com.google.firestore.v1.ListDocumentsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListDocumentsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.ListDocumentsResponse.class, com.google.firestore.v1.ListDocumentsResponse.Builder.class);
+              com.google.firestore.v1.ListDocumentsResponse.class,
+              com.google.firestore.v1.ListDocumentsResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.ListDocumentsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -378,9 +415,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -399,9 +436,12 @@ public com.google.firestore.v1.ListDocumentsResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.ListDocumentsResponse buildPartial() {
-      com.google.firestore.v1.ListDocumentsResponse result = new com.google.firestore.v1.ListDocumentsResponse(this);
+      com.google.firestore.v1.ListDocumentsResponse result =
+          new com.google.firestore.v1.ListDocumentsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -429,38 +469,39 @@ private void buildPartial0(com.google.firestore.v1.ListDocumentsResponse result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.ListDocumentsResponse) {
-        return mergeFrom((com.google.firestore.v1.ListDocumentsResponse)other);
+        return mergeFrom((com.google.firestore.v1.ListDocumentsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -487,9 +528,10 @@ public Builder mergeFrom(com.google.firestore.v1.ListDocumentsResponse other) {
             documentsBuilder_ = null;
             documents_ = other.documents_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            documentsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getDocumentsFieldBuilder() : null;
+            documentsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getDocumentsFieldBuilder()
+                    : null;
           } else {
             documentsBuilder_.addAllMessages(other.documents_);
           }
@@ -526,30 +568,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.firestore.v1.Document m =
-                  input.readMessage(
-                      com.google.firestore.v1.Document.parser(),
-                      extensionRegistry);
-              if (documentsBuilder_ == null) {
-                ensureDocumentsIsMutable();
-                documents_.add(m);
-              } else {
-                documentsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.firestore.v1.Document m =
+                    input.readMessage(com.google.firestore.v1.Document.parser(), extensionRegistry);
+                if (documentsBuilder_ == null) {
+                  ensureDocumentsIsMutable();
+                  documents_.add(m);
+                } else {
+                  documentsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -559,21 +602,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List documents_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureDocumentsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         documents_ = new java.util.ArrayList(documents_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentsBuilder_;
+            com.google.firestore.v1.Document,
+            com.google.firestore.v1.Document.Builder,
+            com.google.firestore.v1.DocumentOrBuilder>
+        documentsBuilder_;
 
     /**
+     *
+     *
      * 
      * The Documents found.
      * 
@@ -588,6 +638,8 @@ public java.util.List getDocumentsList() { } } /** + * + * *
      * The Documents found.
      * 
@@ -602,6 +654,8 @@ public int getDocumentsCount() { } } /** + * + * *
      * The Documents found.
      * 
@@ -616,14 +670,15 @@ public com.google.firestore.v1.Document getDocuments(int index) { } } /** + * + * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public Builder setDocuments( - int index, com.google.firestore.v1.Document value) { + public Builder setDocuments(int index, com.google.firestore.v1.Document value) { if (documentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -637,6 +692,8 @@ public Builder setDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -655,6 +712,8 @@ public Builder setDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -675,14 +734,15 @@ public Builder addDocuments(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public Builder addDocuments( - int index, com.google.firestore.v1.Document value) { + public Builder addDocuments(int index, com.google.firestore.v1.Document value) { if (documentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -696,14 +756,15 @@ public Builder addDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public Builder addDocuments( - com.google.firestore.v1.Document.Builder builderForValue) { + public Builder addDocuments(com.google.firestore.v1.Document.Builder builderForValue) { if (documentsBuilder_ == null) { ensureDocumentsIsMutable(); documents_.add(builderForValue.build()); @@ -714,6 +775,8 @@ public Builder addDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -732,6 +795,8 @@ public Builder addDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -742,8 +807,7 @@ public Builder addAllDocuments( java.lang.Iterable values) { if (documentsBuilder_ == null) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); onChanged(); } else { documentsBuilder_.addAllMessages(values); @@ -751,6 +815,8 @@ public Builder addAllDocuments( return this; } /** + * + * *
      * The Documents found.
      * 
@@ -768,6 +834,8 @@ public Builder clearDocuments() { return this; } /** + * + * *
      * The Documents found.
      * 
@@ -785,39 +853,44 @@ public Builder removeDocuments(int index) { return this; } /** + * + * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public com.google.firestore.v1.Document.Builder getDocumentsBuilder( - int index) { + public com.google.firestore.v1.Document.Builder getDocumentsBuilder(int index) { return getDocumentsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( - int index) { + public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index) { if (documentsBuilder_ == null) { - return documents_.get(index); } else { + return documents_.get(index); + } else { return documentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public java.util.List - getDocumentsOrBuilderList() { + public java.util.List + getDocumentsOrBuilderList() { if (documentsBuilder_ != null) { return documentsBuilder_.getMessageOrBuilderList(); } else { @@ -825,6 +898,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( } } /** + * + * *
      * The Documents found.
      * 
@@ -832,42 +907,47 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( * repeated .google.firestore.v1.Document documents = 1; */ public com.google.firestore.v1.Document.Builder addDocumentsBuilder() { - return getDocumentsFieldBuilder().addBuilder( - com.google.firestore.v1.Document.getDefaultInstance()); + return getDocumentsFieldBuilder() + .addBuilder(com.google.firestore.v1.Document.getDefaultInstance()); } /** + * + * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public com.google.firestore.v1.Document.Builder addDocumentsBuilder( - int index) { - return getDocumentsFieldBuilder().addBuilder( - index, com.google.firestore.v1.Document.getDefaultInstance()); + public com.google.firestore.v1.Document.Builder addDocumentsBuilder(int index) { + return getDocumentsFieldBuilder() + .addBuilder(index, com.google.firestore.v1.Document.getDefaultInstance()); } /** + * + * *
      * The Documents found.
      * 
* * repeated .google.firestore.v1.Document documents = 1; */ - public java.util.List - getDocumentsBuilderList() { + public java.util.List getDocumentsBuilderList() { return getDocumentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> getDocumentsFieldBuilder() { if (documentsBuilder_ == null) { - documentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( - documents_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + documentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + documents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); documents_ = null; } return documentsBuilder_; @@ -875,19 +955,21 @@ public com.google.firestore.v1.Document.Builder addDocumentsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of documents.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -896,21 +978,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of documents.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -918,30 +1001,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of documents.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of documents.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -951,27 +1041,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token to retrieve the next page of documents.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -981,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListDocumentsResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ListDocumentsResponse) private static final com.google.firestore.v1.ListDocumentsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.ListDocumentsResponse(); } @@ -995,27 +1089,27 @@ public static com.google.firestore.v1.ListDocumentsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDocumentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDocumentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,6 +1124,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ListDocumentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java index 71a4527eb..289989569 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListDocumentsResponseOrBuilder extends +public interface ListDocumentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListDocumentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Documents found.
    * 
* * repeated .google.firestore.v1.Document documents = 1; */ - java.util.List - getDocumentsList(); + java.util.List getDocumentsList(); /** + * + * *
    * The Documents found.
    * 
@@ -25,6 +44,8 @@ public interface ListDocumentsResponseOrBuilder extends */ com.google.firestore.v1.Document getDocuments(int index); /** + * + * *
    * The Documents found.
    * 
@@ -33,43 +54,50 @@ public interface ListDocumentsResponseOrBuilder extends */ int getDocumentsCount(); /** + * + * *
    * The Documents found.
    * 
* * repeated .google.firestore.v1.Document documents = 1; */ - java.util.List - getDocumentsOrBuilderList(); + java.util.List getDocumentsOrBuilderList(); /** + * + * *
    * The Documents found.
    * 
* * repeated .google.firestore.v1.Document documents = 1; */ - com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder( - int index); + com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of documents.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of documents.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java index d0a44e479..e357da823 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java @@ -1,74 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
  * 
* * Protobuf type {@code google.firestore.v1.ListenRequest} */ -public final class ListenRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListenRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ListenRequest) ListenRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListenRequest.newBuilder() to construct. private ListenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListenRequest() { database_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListenRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenRequest.class, com.google.firestore.v1.ListenRequest.Builder.class); + com.google.firestore.v1.ListenRequest.class, + com.google.firestore.v1.ListenRequest.Builder.class); } private int targetChangeCase_ = 0; private java.lang.Object targetChange_; + public enum TargetChangeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ADD_TARGET(2), REMOVE_TARGET(3), TARGETCHANGE_NOT_SET(0); private final int value; + private TargetChangeCase(int value) { this.value = value; } @@ -84,33 +105,40 @@ public static TargetChangeCase valueOf(int value) { public static TargetChangeCase forNumber(int value) { switch (value) { - case 2: return ADD_TARGET; - case 3: return REMOVE_TARGET; - case 0: return TARGETCHANGE_NOT_SET; - default: return null; + case 2: + return ADD_TARGET; + case 3: + return REMOVE_TARGET; + case 0: + return TARGETCHANGE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TargetChangeCase - getTargetChangeCase() { - return TargetChangeCase.forNumber( - targetChangeCase_); + public TargetChangeCase getTargetChangeCase() { + return TargetChangeCase.forNumber(targetChangeCase_); } public static final int DATABASE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ @java.lang.Override @@ -119,30 +147,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -152,11 +180,14 @@ public java.lang.String getDatabase() { public static final int ADD_TARGET_FIELD_NUMBER = 2; /** + * + * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; + * * @return Whether the addTarget field is set. */ @java.lang.Override @@ -164,21 +195,26 @@ public boolean hasAddTarget() { return targetChangeCase_ == 2; } /** + * + * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; + * * @return The addTarget. */ @java.lang.Override public com.google.firestore.v1.Target getAddTarget() { if (targetChangeCase_ == 2) { - return (com.google.firestore.v1.Target) targetChange_; + return (com.google.firestore.v1.Target) targetChange_; } return com.google.firestore.v1.Target.getDefaultInstance(); } /** + * + * *
    * A target to add to this stream.
    * 
@@ -188,18 +224,21 @@ public com.google.firestore.v1.Target getAddTarget() { @java.lang.Override public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { if (targetChangeCase_ == 2) { - return (com.google.firestore.v1.Target) targetChange_; + return (com.google.firestore.v1.Target) targetChange_; } return com.google.firestore.v1.Target.getDefaultInstance(); } public static final int REMOVE_TARGET_FIELD_NUMBER = 3; /** + * + * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; + * * @return Whether the removeTarget field is set. */ @java.lang.Override @@ -207,11 +246,14 @@ public boolean hasRemoveTarget() { return targetChangeCase_ == 3; } /** + * + * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; + * * @return The removeTarget. */ @java.lang.Override @@ -223,32 +265,34 @@ public int getRemoveTarget() { } public static final int LABELS_FIELD_NUMBER = 4; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this target change.
    * 
@@ -256,20 +300,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels associated with this target change.
    * 
@@ -281,6 +326,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this target change.
    * 
@@ -288,17 +335,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels associated with this target change.
    * 
@@ -306,11 +355,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -318,6 +367,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,8 +379,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -338,15 +387,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, (com.google.firestore.v1.Target) targetChange_); } if (targetChangeCase_ == 3) { - output.writeInt32( - 3, (int)((java.lang.Integer) targetChange_)); - } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + output.writeInt32(3, (int) ((java.lang.Integer) targetChange_)); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); getUnknownFields().writeTo(output); } @@ -360,23 +404,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (targetChangeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.firestore.v1.Target) targetChange_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.Target) targetChange_); } if (targetChangeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 3, (int)((java.lang.Integer) targetChange_)); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels__); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 3, (int) ((java.lang.Integer) targetChange_)); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -386,26 +431,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.ListenRequest)) { return super.equals(obj); } com.google.firestore.v1.ListenRequest other = (com.google.firestore.v1.ListenRequest) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getTargetChangeCase().equals(other.getTargetChangeCase())) return false; switch (targetChangeCase_) { case 2: - if (!getAddTarget() - .equals(other.getAddTarget())) return false; + if (!getAddTarget().equals(other.getAddTarget())) return false; break; case 3: - if (getRemoveTarget() - != other.getRemoveTarget()) return false; + if (getRemoveTarget() != other.getRemoveTarget()) return false; break; case 0: default: @@ -444,152 +485,155 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.ListenRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.ListenRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListenRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.ListenRequest parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.ListenRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ListenRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.ListenRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.ListenRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListenRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.ListenRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListenRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.ListenRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.ListenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.ListenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
    * 
* * Protobuf type {@code google.firestore.v1.ListenRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListenRequest) com.google.firestore.v1.ListenRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 4: return internalGetMutableLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenRequest.class, com.google.firestore.v1.ListenRequest.Builder.class); + com.google.firestore.v1.ListenRequest.class, + com.google.firestore.v1.ListenRequest.Builder.class); } // Construct using com.google.firestore.v1.ListenRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -605,9 +649,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenRequest_descriptor; } @java.lang.Override @@ -626,8 +670,11 @@ public com.google.firestore.v1.ListenRequest build() { @java.lang.Override public com.google.firestore.v1.ListenRequest buildPartial() { - com.google.firestore.v1.ListenRequest result = new com.google.firestore.v1.ListenRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.ListenRequest result = + new com.google.firestore.v1.ListenRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -647,8 +694,7 @@ private void buildPartial0(com.google.firestore.v1.ListenRequest result) { private void buildPartialOneofs(com.google.firestore.v1.ListenRequest result) { result.targetChangeCase_ = targetChangeCase_; result.targetChange_ = this.targetChange_; - if (targetChangeCase_ == 2 && - addTargetBuilder_ != null) { + if (targetChangeCase_ == 2 && addTargetBuilder_ != null) { result.targetChange_ = addTargetBuilder_.build(); } } @@ -657,38 +703,39 @@ private void buildPartialOneofs(com.google.firestore.v1.ListenRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.ListenRequest) { - return mergeFrom((com.google.firestore.v1.ListenRequest)other); + return mergeFrom((com.google.firestore.v1.ListenRequest) other); } else { super.mergeFrom(other); return this; @@ -702,21 +749,23 @@ public Builder mergeFrom(com.google.firestore.v1.ListenRequest other) { bitField0_ |= 0x00000001; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000008; switch (other.getTargetChangeCase()) { - case ADD_TARGET: { - mergeAddTarget(other.getAddTarget()); - break; - } - case REMOVE_TARGET: { - setRemoveTarget(other.getRemoveTarget()); - break; - } - case TARGETCHANGE_NOT_SET: { - break; - } + case ADD_TARGET: + { + mergeAddTarget(other.getAddTarget()); + break; + } + case REMOVE_TARGET: + { + setRemoveTarget(other.getRemoveTarget()); + break; + } + case TARGETCHANGE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -744,38 +793,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAddTargetFieldBuilder().getBuilder(), - extensionRegistry); - targetChangeCase_ = 2; - break; - } // case 18 - case 24: { - targetChange_ = input.readInt32(); - targetChangeCase_ = 3; - break; - } // case 24 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAddTargetFieldBuilder().getBuilder(), extensionRegistry); + targetChangeCase_ = 2; + break; + } // case 18 + case 24: + { + targetChange_ = input.readInt32(); + targetChangeCase_ = 3; + break; + } // case 24 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -785,12 +839,12 @@ public Builder mergeFrom( } // finally return this; } + private int targetChangeCase_ = 0; private java.lang.Object targetChange_; - public TargetChangeCase - getTargetChangeCase() { - return TargetChangeCase.forNumber( - targetChangeCase_); + + public TargetChangeCase getTargetChangeCase() { + return TargetChangeCase.forNumber(targetChangeCase_); } public Builder clearTargetChange() { @@ -804,19 +858,21 @@ public Builder clearTargetChange() { private java.lang.Object database_ = ""; /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -825,21 +881,22 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -847,30 +904,37 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -880,18 +944,22 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -900,13 +968,19 @@ public Builder setDatabaseBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target, com.google.firestore.v1.Target.Builder, com.google.firestore.v1.TargetOrBuilder> addTargetBuilder_; + com.google.firestore.v1.Target, + com.google.firestore.v1.Target.Builder, + com.google.firestore.v1.TargetOrBuilder> + addTargetBuilder_; /** + * + * *
      * A target to add to this stream.
      * 
* * .google.firestore.v1.Target add_target = 2; + * * @return Whether the addTarget field is set. */ @java.lang.Override @@ -914,11 +988,14 @@ public boolean hasAddTarget() { return targetChangeCase_ == 2; } /** + * + * *
      * A target to add to this stream.
      * 
* * .google.firestore.v1.Target add_target = 2; + * * @return The addTarget. */ @java.lang.Override @@ -936,6 +1013,8 @@ public com.google.firestore.v1.Target getAddTarget() { } } /** + * + * *
      * A target to add to this stream.
      * 
@@ -956,14 +1035,15 @@ public Builder setAddTarget(com.google.firestore.v1.Target value) { return this; } /** + * + * *
      * A target to add to this stream.
      * 
* * .google.firestore.v1.Target add_target = 2; */ - public Builder setAddTarget( - com.google.firestore.v1.Target.Builder builderForValue) { + public Builder setAddTarget(com.google.firestore.v1.Target.Builder builderForValue) { if (addTargetBuilder_ == null) { targetChange_ = builderForValue.build(); onChanged(); @@ -974,6 +1054,8 @@ public Builder setAddTarget( return this; } /** + * + * *
      * A target to add to this stream.
      * 
@@ -982,10 +1064,13 @@ public Builder setAddTarget( */ public Builder mergeAddTarget(com.google.firestore.v1.Target value) { if (addTargetBuilder_ == null) { - if (targetChangeCase_ == 2 && - targetChange_ != com.google.firestore.v1.Target.getDefaultInstance()) { - targetChange_ = com.google.firestore.v1.Target.newBuilder((com.google.firestore.v1.Target) targetChange_) - .mergeFrom(value).buildPartial(); + if (targetChangeCase_ == 2 + && targetChange_ != com.google.firestore.v1.Target.getDefaultInstance()) { + targetChange_ = + com.google.firestore.v1.Target.newBuilder( + (com.google.firestore.v1.Target) targetChange_) + .mergeFrom(value) + .buildPartial(); } else { targetChange_ = value; } @@ -1001,6 +1086,8 @@ public Builder mergeAddTarget(com.google.firestore.v1.Target value) { return this; } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1024,6 +1111,8 @@ public Builder clearAddTarget() { return this; } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1034,6 +1123,8 @@ public com.google.firestore.v1.Target.Builder getAddTargetBuilder() { return getAddTargetFieldBuilder().getBuilder(); } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1052,6 +1143,8 @@ public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { } } /** + * + * *
      * A target to add to this stream.
      * 
@@ -1059,17 +1152,20 @@ public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { * .google.firestore.v1.Target add_target = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target, com.google.firestore.v1.Target.Builder, com.google.firestore.v1.TargetOrBuilder> + com.google.firestore.v1.Target, + com.google.firestore.v1.Target.Builder, + com.google.firestore.v1.TargetOrBuilder> getAddTargetFieldBuilder() { if (addTargetBuilder_ == null) { if (!(targetChangeCase_ == 2)) { targetChange_ = com.google.firestore.v1.Target.getDefaultInstance(); } - addTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target, com.google.firestore.v1.Target.Builder, com.google.firestore.v1.TargetOrBuilder>( - (com.google.firestore.v1.Target) targetChange_, - getParentForChildren(), - isClean()); + addTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target, + com.google.firestore.v1.Target.Builder, + com.google.firestore.v1.TargetOrBuilder>( + (com.google.firestore.v1.Target) targetChange_, getParentForChildren(), isClean()); targetChange_ = null; } targetChangeCase_ = 2; @@ -1078,22 +1174,28 @@ public com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder() { } /** + * + * *
      * The ID of a target to remove from this stream.
      * 
* * int32 remove_target = 3; + * * @return Whether the removeTarget field is set. */ public boolean hasRemoveTarget() { return targetChangeCase_ == 3; } /** + * + * *
      * The ID of a target to remove from this stream.
      * 
* * int32 remove_target = 3; + * * @return The removeTarget. */ public int getRemoveTarget() { @@ -1103,27 +1205,33 @@ public int getRemoveTarget() { return 0; } /** + * + * *
      * The ID of a target to remove from this stream.
      * 
* * int32 remove_target = 3; + * * @param value The removeTarget to set. * @return This builder for chaining. */ public Builder setRemoveTarget(int value) { - + targetChangeCase_ = 3; targetChange_ = value; onChanged(); return this; } /** + * + * *
      * The ID of a target to remove from this stream.
      * 
* * int32 remove_target = 3; + * * @return This builder for chaining. */ public Builder clearRemoveTarget() { @@ -1135,21 +1243,19 @@ public Builder clearRemoveTarget() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1158,10 +1264,13 @@ public Builder clearRemoveTarget() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this target change.
      * 
@@ -1169,20 +1278,21 @@ public int getLabelsCount() { * map<string, string> labels = 4; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels associated with this target change.
      * 
@@ -1194,6 +1304,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this target change.
      * 
@@ -1201,17 +1313,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels associated with this target change.
      * 
@@ -1219,79 +1333,81 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels associated with this target change.
      * 
* * map<string, string> labels = 4; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000008; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels associated with this target change.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Labels associated with this target change.
      * 
* * map<string, string> labels = 4; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000008; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1301,12 +1417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListenRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.ListenRequest) private static final com.google.firestore.v1.ListenRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.ListenRequest(); } @@ -1315,27 +1431,27 @@ public static com.google.firestore.v1.ListenRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1350,6 +1466,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.ListenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java index 01d650e67..555d3eb34 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java @@ -1,53 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface ListenRequestOrBuilder extends +public interface ListenRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListenRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; + * * @return Whether the addTarget field is set. */ boolean hasAddTarget(); /** + * + * *
    * A target to add to this stream.
    * 
* * .google.firestore.v1.Target add_target = 2; + * * @return The addTarget. */ com.google.firestore.v1.Target getAddTarget(); /** + * + * *
    * A target to add to this stream.
    * 
@@ -57,25 +86,33 @@ public interface ListenRequestOrBuilder extends com.google.firestore.v1.TargetOrBuilder getAddTargetOrBuilder(); /** + * + * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; + * * @return Whether the removeTarget field is set. */ boolean hasRemoveTarget(); /** + * + * *
    * The ID of a target to remove from this stream.
    * 
* * int32 remove_target = 3; + * * @return The removeTarget. */ int getRemoveTarget(); /** + * + * *
    * Labels associated with this target change.
    * 
@@ -84,30 +121,31 @@ public interface ListenRequestOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels associated with this target change.
    * 
* * map<string, string> labels = 4; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Labels associated with this target change.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels associated with this target change.
    * 
@@ -115,19 +153,20 @@ boolean containsLabels( * map<string, string> labels = 4; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels associated with this target change.
    * 
* * map<string, string> labels = 4; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); public com.google.firestore.v1.ListenRequest.TargetChangeCase getTargetChangeCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java index d7c285003..aa66f38a1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java @@ -1,56 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
  * 
* * Protobuf type {@code google.firestore.v1.ListenResponse} */ -public final class ListenResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListenResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.ListenResponse) ListenResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListenResponse.newBuilder() to construct. private ListenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListenResponse() { - } + + private ListenResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListenResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenResponse.class, com.google.firestore.v1.ListenResponse.Builder.class); + com.google.firestore.v1.ListenResponse.class, + com.google.firestore.v1.ListenResponse.Builder.class); } private int responseTypeCase_ = 0; private java.lang.Object responseType_; + public enum ResponseTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TARGET_CHANGE(2), DOCUMENT_CHANGE(3), @@ -59,6 +79,7 @@ public enum ResponseTypeCase FILTER(5), RESPONSETYPE_NOT_SET(0); private final int value; + private ResponseTypeCase(int value) { this.value = value; } @@ -74,33 +95,42 @@ public static ResponseTypeCase valueOf(int value) { public static ResponseTypeCase forNumber(int value) { switch (value) { - case 2: return TARGET_CHANGE; - case 3: return DOCUMENT_CHANGE; - case 4: return DOCUMENT_DELETE; - case 6: return DOCUMENT_REMOVE; - case 5: return FILTER; - case 0: return RESPONSETYPE_NOT_SET; - default: return null; + case 2: + return TARGET_CHANGE; + case 3: + return DOCUMENT_CHANGE; + case 4: + return DOCUMENT_DELETE; + case 6: + return DOCUMENT_REMOVE; + case 5: + return FILTER; + case 0: + return RESPONSETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResponseTypeCase - getResponseTypeCase() { - return ResponseTypeCase.forNumber( - responseTypeCase_); + public ResponseTypeCase getResponseTypeCase() { + return ResponseTypeCase.forNumber(responseTypeCase_); } public static final int TARGET_CHANGE_FIELD_NUMBER = 2; /** + * + * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return Whether the targetChange field is set. */ @java.lang.Override @@ -108,21 +138,26 @@ public boolean hasTargetChange() { return responseTypeCase_ == 2; } /** + * + * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return The targetChange. */ @java.lang.Override public com.google.firestore.v1.TargetChange getTargetChange() { if (responseTypeCase_ == 2) { - return (com.google.firestore.v1.TargetChange) responseType_; + return (com.google.firestore.v1.TargetChange) responseType_; } return com.google.firestore.v1.TargetChange.getDefaultInstance(); } /** + * + * *
    * Targets have changed.
    * 
@@ -132,18 +167,21 @@ public com.google.firestore.v1.TargetChange getTargetChange() { @java.lang.Override public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() { if (responseTypeCase_ == 2) { - return (com.google.firestore.v1.TargetChange) responseType_; + return (com.google.firestore.v1.TargetChange) responseType_; } return com.google.firestore.v1.TargetChange.getDefaultInstance(); } public static final int DOCUMENT_CHANGE_FIELD_NUMBER = 3; /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; + * * @return Whether the documentChange field is set. */ @java.lang.Override @@ -151,21 +189,26 @@ public boolean hasDocumentChange() { return responseTypeCase_ == 3; } /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; + * * @return The documentChange. */ @java.lang.Override public com.google.firestore.v1.DocumentChange getDocumentChange() { if (responseTypeCase_ == 3) { - return (com.google.firestore.v1.DocumentChange) responseType_; + return (com.google.firestore.v1.DocumentChange) responseType_; } return com.google.firestore.v1.DocumentChange.getDefaultInstance(); } /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
@@ -175,18 +218,21 @@ public com.google.firestore.v1.DocumentChange getDocumentChange() { @java.lang.Override public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder() { if (responseTypeCase_ == 3) { - return (com.google.firestore.v1.DocumentChange) responseType_; + return (com.google.firestore.v1.DocumentChange) responseType_; } return com.google.firestore.v1.DocumentChange.getDefaultInstance(); } public static final int DOCUMENT_DELETE_FIELD_NUMBER = 4; /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; + * * @return Whether the documentDelete field is set. */ @java.lang.Override @@ -194,21 +240,26 @@ public boolean hasDocumentDelete() { return responseTypeCase_ == 4; } /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; + * * @return The documentDelete. */ @java.lang.Override public com.google.firestore.v1.DocumentDelete getDocumentDelete() { if (responseTypeCase_ == 4) { - return (com.google.firestore.v1.DocumentDelete) responseType_; + return (com.google.firestore.v1.DocumentDelete) responseType_; } return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); } /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
@@ -218,19 +269,22 @@ public com.google.firestore.v1.DocumentDelete getDocumentDelete() { @java.lang.Override public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder() { if (responseTypeCase_ == 4) { - return (com.google.firestore.v1.DocumentDelete) responseType_; + return (com.google.firestore.v1.DocumentDelete) responseType_; } return com.google.firestore.v1.DocumentDelete.getDefaultInstance(); } public static final int DOCUMENT_REMOVE_FIELD_NUMBER = 6; /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; + * * @return Whether the documentRemove field is set. */ @java.lang.Override @@ -238,22 +292,27 @@ public boolean hasDocumentRemove() { return responseTypeCase_ == 6; } /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; + * * @return The documentRemove. */ @java.lang.Override public com.google.firestore.v1.DocumentRemove getDocumentRemove() { if (responseTypeCase_ == 6) { - return (com.google.firestore.v1.DocumentRemove) responseType_; + return (com.google.firestore.v1.DocumentRemove) responseType_; } return com.google.firestore.v1.DocumentRemove.getDefaultInstance(); } /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
@@ -264,13 +323,15 @@ public com.google.firestore.v1.DocumentRemove getDocumentRemove() {
   @java.lang.Override
   public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder() {
     if (responseTypeCase_ == 6) {
-       return (com.google.firestore.v1.DocumentRemove) responseType_;
+      return (com.google.firestore.v1.DocumentRemove) responseType_;
     }
     return com.google.firestore.v1.DocumentRemove.getDefaultInstance();
   }
 
   public static final int FILTER_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -279,6 +340,7 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -286,6 +348,8 @@ public boolean hasFilter() { return responseTypeCase_ == 5; } /** + * + * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -294,16 +358,19 @@ public boolean hasFilter() {
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return The filter. */ @java.lang.Override public com.google.firestore.v1.ExistenceFilter getFilter() { if (responseTypeCase_ == 5) { - return (com.google.firestore.v1.ExistenceFilter) responseType_; + return (com.google.firestore.v1.ExistenceFilter) responseType_; } return com.google.firestore.v1.ExistenceFilter.getDefaultInstance(); } /** + * + * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -316,12 +383,13 @@ public com.google.firestore.v1.ExistenceFilter getFilter() {
   @java.lang.Override
   public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
     if (responseTypeCase_ == 5) {
-       return (com.google.firestore.v1.ExistenceFilter) responseType_;
+      return (com.google.firestore.v1.ExistenceFilter) responseType_;
     }
     return com.google.firestore.v1.ExistenceFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -333,8 +401,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (responseTypeCase_ == 2) {
       output.writeMessage(2, (com.google.firestore.v1.TargetChange) responseType_);
     }
@@ -360,24 +427,29 @@ public int getSerializedSize() {
 
     size = 0;
     if (responseTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.firestore.v1.TargetChange) responseType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.firestore.v1.TargetChange) responseType_);
     }
     if (responseTypeCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.firestore.v1.DocumentChange) responseType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.firestore.v1.DocumentChange) responseType_);
     }
     if (responseTypeCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.firestore.v1.DocumentDelete) responseType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.firestore.v1.DocumentDelete) responseType_);
     }
     if (responseTypeCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.firestore.v1.ExistenceFilter) responseType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.firestore.v1.ExistenceFilter) responseType_);
     }
     if (responseTypeCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.firestore.v1.DocumentRemove) responseType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.firestore.v1.DocumentRemove) responseType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -387,7 +459,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.ListenResponse)) {
       return super.equals(obj);
@@ -397,24 +469,19 @@ public boolean equals(final java.lang.Object obj) {
     if (!getResponseTypeCase().equals(other.getResponseTypeCase())) return false;
     switch (responseTypeCase_) {
       case 2:
-        if (!getTargetChange()
-            .equals(other.getTargetChange())) return false;
+        if (!getTargetChange().equals(other.getTargetChange())) return false;
         break;
       case 3:
-        if (!getDocumentChange()
-            .equals(other.getDocumentChange())) return false;
+        if (!getDocumentChange().equals(other.getDocumentChange())) return false;
         break;
       case 4:
-        if (!getDocumentDelete()
-            .equals(other.getDocumentDelete())) return false;
+        if (!getDocumentDelete().equals(other.getDocumentDelete())) return false;
         break;
       case 6:
-        if (!getDocumentRemove()
-            .equals(other.getDocumentRemove())) return false;
+        if (!getDocumentRemove().equals(other.getDocumentRemove())) return false;
         break;
       case 5:
-        if (!getFilter()
-            .equals(other.getFilter())) return false;
+        if (!getFilter().equals(other.getFilter())) return false;
         break;
       case 0:
       default:
@@ -459,130 +526,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.ListenResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.ListenResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListenResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.ListenResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.ListenResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.ListenResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
    * 
* * Protobuf type {@code google.firestore.v1.ListenResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.ListenResponse) com.google.firestore.v1.ListenResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.ListenResponse.class, com.google.firestore.v1.ListenResponse.Builder.class); + com.google.firestore.v1.ListenResponse.class, + com.google.firestore.v1.ListenResponse.Builder.class); } // Construct using com.google.firestore.v1.ListenResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -608,9 +681,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_ListenResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_ListenResponse_descriptor; } @java.lang.Override @@ -629,8 +702,11 @@ public com.google.firestore.v1.ListenResponse build() { @java.lang.Override public com.google.firestore.v1.ListenResponse buildPartial() { - com.google.firestore.v1.ListenResponse result = new com.google.firestore.v1.ListenResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.ListenResponse result = + new com.google.firestore.v1.ListenResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -643,24 +719,19 @@ private void buildPartial0(com.google.firestore.v1.ListenResponse result) { private void buildPartialOneofs(com.google.firestore.v1.ListenResponse result) { result.responseTypeCase_ = responseTypeCase_; result.responseType_ = this.responseType_; - if (responseTypeCase_ == 2 && - targetChangeBuilder_ != null) { + if (responseTypeCase_ == 2 && targetChangeBuilder_ != null) { result.responseType_ = targetChangeBuilder_.build(); } - if (responseTypeCase_ == 3 && - documentChangeBuilder_ != null) { + if (responseTypeCase_ == 3 && documentChangeBuilder_ != null) { result.responseType_ = documentChangeBuilder_.build(); } - if (responseTypeCase_ == 4 && - documentDeleteBuilder_ != null) { + if (responseTypeCase_ == 4 && documentDeleteBuilder_ != null) { result.responseType_ = documentDeleteBuilder_.build(); } - if (responseTypeCase_ == 6 && - documentRemoveBuilder_ != null) { + if (responseTypeCase_ == 6 && documentRemoveBuilder_ != null) { result.responseType_ = documentRemoveBuilder_.build(); } - if (responseTypeCase_ == 5 && - filterBuilder_ != null) { + if (responseTypeCase_ == 5 && filterBuilder_ != null) { result.responseType_ = filterBuilder_.build(); } } @@ -669,38 +740,39 @@ private void buildPartialOneofs(com.google.firestore.v1.ListenResponse result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.ListenResponse) { - return mergeFrom((com.google.firestore.v1.ListenResponse)other); + return mergeFrom((com.google.firestore.v1.ListenResponse) other); } else { super.mergeFrom(other); return this; @@ -710,29 +782,35 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.v1.ListenResponse other) { if (other == com.google.firestore.v1.ListenResponse.getDefaultInstance()) return this; switch (other.getResponseTypeCase()) { - case TARGET_CHANGE: { - mergeTargetChange(other.getTargetChange()); - break; - } - case DOCUMENT_CHANGE: { - mergeDocumentChange(other.getDocumentChange()); - break; - } - case DOCUMENT_DELETE: { - mergeDocumentDelete(other.getDocumentDelete()); - break; - } - case DOCUMENT_REMOVE: { - mergeDocumentRemove(other.getDocumentRemove()); - break; - } - case FILTER: { - mergeFilter(other.getFilter()); - break; - } - case RESPONSETYPE_NOT_SET: { - break; - } + case TARGET_CHANGE: + { + mergeTargetChange(other.getTargetChange()); + break; + } + case DOCUMENT_CHANGE: + { + mergeDocumentChange(other.getDocumentChange()); + break; + } + case DOCUMENT_DELETE: + { + mergeDocumentDelete(other.getDocumentDelete()); + break; + } + case DOCUMENT_REMOVE: + { + mergeDocumentRemove(other.getDocumentRemove()); + break; + } + case FILTER: + { + mergeFilter(other.getFilter()); + break; + } + case RESPONSETYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -760,47 +838,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getTargetChangeFieldBuilder().getBuilder(), - extensionRegistry); - responseTypeCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getDocumentChangeFieldBuilder().getBuilder(), - extensionRegistry); - responseTypeCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getDocumentDeleteFieldBuilder().getBuilder(), - extensionRegistry); - responseTypeCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getFilterFieldBuilder().getBuilder(), - extensionRegistry); - responseTypeCase_ = 5; - break; - } // case 42 - case 50: { - input.readMessage( - getDocumentRemoveFieldBuilder().getBuilder(), - extensionRegistry); - responseTypeCase_ = 6; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage(getTargetChangeFieldBuilder().getBuilder(), extensionRegistry); + responseTypeCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getDocumentChangeFieldBuilder().getBuilder(), extensionRegistry); + responseTypeCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage(getDocumentDeleteFieldBuilder().getBuilder(), extensionRegistry); + responseTypeCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); + responseTypeCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage(getDocumentRemoveFieldBuilder().getBuilder(), extensionRegistry); + responseTypeCase_ = 6; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -810,12 +884,12 @@ public Builder mergeFrom( } // finally return this; } + private int responseTypeCase_ = 0; private java.lang.Object responseType_; - public ResponseTypeCase - getResponseTypeCase() { - return ResponseTypeCase.forNumber( - responseTypeCase_); + + public ResponseTypeCase getResponseTypeCase() { + return ResponseTypeCase.forNumber(responseTypeCase_); } public Builder clearResponseType() { @@ -828,13 +902,19 @@ public Builder clearResponseType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TargetChange, com.google.firestore.v1.TargetChange.Builder, com.google.firestore.v1.TargetChangeOrBuilder> targetChangeBuilder_; + com.google.firestore.v1.TargetChange, + com.google.firestore.v1.TargetChange.Builder, + com.google.firestore.v1.TargetChangeOrBuilder> + targetChangeBuilder_; /** + * + * *
      * Targets have changed.
      * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return Whether the targetChange field is set. */ @java.lang.Override @@ -842,11 +922,14 @@ public boolean hasTargetChange() { return responseTypeCase_ == 2; } /** + * + * *
      * Targets have changed.
      * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return The targetChange. */ @java.lang.Override @@ -864,6 +947,8 @@ public com.google.firestore.v1.TargetChange getTargetChange() { } } /** + * + * *
      * Targets have changed.
      * 
@@ -884,14 +969,15 @@ public Builder setTargetChange(com.google.firestore.v1.TargetChange value) { return this; } /** + * + * *
      * Targets have changed.
      * 
* * .google.firestore.v1.TargetChange target_change = 2; */ - public Builder setTargetChange( - com.google.firestore.v1.TargetChange.Builder builderForValue) { + public Builder setTargetChange(com.google.firestore.v1.TargetChange.Builder builderForValue) { if (targetChangeBuilder_ == null) { responseType_ = builderForValue.build(); onChanged(); @@ -902,6 +988,8 @@ public Builder setTargetChange( return this; } /** + * + * *
      * Targets have changed.
      * 
@@ -910,10 +998,13 @@ public Builder setTargetChange( */ public Builder mergeTargetChange(com.google.firestore.v1.TargetChange value) { if (targetChangeBuilder_ == null) { - if (responseTypeCase_ == 2 && - responseType_ != com.google.firestore.v1.TargetChange.getDefaultInstance()) { - responseType_ = com.google.firestore.v1.TargetChange.newBuilder((com.google.firestore.v1.TargetChange) responseType_) - .mergeFrom(value).buildPartial(); + if (responseTypeCase_ == 2 + && responseType_ != com.google.firestore.v1.TargetChange.getDefaultInstance()) { + responseType_ = + com.google.firestore.v1.TargetChange.newBuilder( + (com.google.firestore.v1.TargetChange) responseType_) + .mergeFrom(value) + .buildPartial(); } else { responseType_ = value; } @@ -929,6 +1020,8 @@ public Builder mergeTargetChange(com.google.firestore.v1.TargetChange value) { return this; } /** + * + * *
      * Targets have changed.
      * 
@@ -952,6 +1045,8 @@ public Builder clearTargetChange() { return this; } /** + * + * *
      * Targets have changed.
      * 
@@ -962,6 +1057,8 @@ public com.google.firestore.v1.TargetChange.Builder getTargetChangeBuilder() { return getTargetChangeFieldBuilder().getBuilder(); } /** + * + * *
      * Targets have changed.
      * 
@@ -980,6 +1077,8 @@ public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() } } /** + * + * *
      * Targets have changed.
      * 
@@ -987,14 +1086,19 @@ public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() * .google.firestore.v1.TargetChange target_change = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TargetChange, com.google.firestore.v1.TargetChange.Builder, com.google.firestore.v1.TargetChangeOrBuilder> + com.google.firestore.v1.TargetChange, + com.google.firestore.v1.TargetChange.Builder, + com.google.firestore.v1.TargetChangeOrBuilder> getTargetChangeFieldBuilder() { if (targetChangeBuilder_ == null) { if (!(responseTypeCase_ == 2)) { responseType_ = com.google.firestore.v1.TargetChange.getDefaultInstance(); } - targetChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TargetChange, com.google.firestore.v1.TargetChange.Builder, com.google.firestore.v1.TargetChangeOrBuilder>( + targetChangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TargetChange, + com.google.firestore.v1.TargetChange.Builder, + com.google.firestore.v1.TargetChangeOrBuilder>( (com.google.firestore.v1.TargetChange) responseType_, getParentForChildren(), isClean()); @@ -1006,13 +1110,19 @@ public com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder() } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentChange, com.google.firestore.v1.DocumentChange.Builder, com.google.firestore.v1.DocumentChangeOrBuilder> documentChangeBuilder_; + com.google.firestore.v1.DocumentChange, + com.google.firestore.v1.DocumentChange.Builder, + com.google.firestore.v1.DocumentChangeOrBuilder> + documentChangeBuilder_; /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
* * .google.firestore.v1.DocumentChange document_change = 3; + * * @return Whether the documentChange field is set. */ @java.lang.Override @@ -1020,11 +1130,14 @@ public boolean hasDocumentChange() { return responseTypeCase_ == 3; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
* * .google.firestore.v1.DocumentChange document_change = 3; + * * @return The documentChange. */ @java.lang.Override @@ -1042,6 +1155,8 @@ public com.google.firestore.v1.DocumentChange getDocumentChange() { } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1062,6 +1177,8 @@ public Builder setDocumentChange(com.google.firestore.v1.DocumentChange value) { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1080,6 +1197,8 @@ public Builder setDocumentChange( return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1088,10 +1207,13 @@ public Builder setDocumentChange( */ public Builder mergeDocumentChange(com.google.firestore.v1.DocumentChange value) { if (documentChangeBuilder_ == null) { - if (responseTypeCase_ == 3 && - responseType_ != com.google.firestore.v1.DocumentChange.getDefaultInstance()) { - responseType_ = com.google.firestore.v1.DocumentChange.newBuilder((com.google.firestore.v1.DocumentChange) responseType_) - .mergeFrom(value).buildPartial(); + if (responseTypeCase_ == 3 + && responseType_ != com.google.firestore.v1.DocumentChange.getDefaultInstance()) { + responseType_ = + com.google.firestore.v1.DocumentChange.newBuilder( + (com.google.firestore.v1.DocumentChange) responseType_) + .mergeFrom(value) + .buildPartial(); } else { responseType_ = value; } @@ -1107,6 +1229,8 @@ public Builder mergeDocumentChange(com.google.firestore.v1.DocumentChange value) return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1130,6 +1254,8 @@ public Builder clearDocumentChange() { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1140,6 +1266,8 @@ public com.google.firestore.v1.DocumentChange.Builder getDocumentChangeBuilder() return getDocumentChangeFieldBuilder().getBuilder(); } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1158,6 +1286,8 @@ public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilde } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has changed.
      * 
@@ -1165,14 +1295,19 @@ public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilde * .google.firestore.v1.DocumentChange document_change = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentChange, com.google.firestore.v1.DocumentChange.Builder, com.google.firestore.v1.DocumentChangeOrBuilder> + com.google.firestore.v1.DocumentChange, + com.google.firestore.v1.DocumentChange.Builder, + com.google.firestore.v1.DocumentChangeOrBuilder> getDocumentChangeFieldBuilder() { if (documentChangeBuilder_ == null) { if (!(responseTypeCase_ == 3)) { responseType_ = com.google.firestore.v1.DocumentChange.getDefaultInstance(); } - documentChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentChange, com.google.firestore.v1.DocumentChange.Builder, com.google.firestore.v1.DocumentChangeOrBuilder>( + documentChangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentChange, + com.google.firestore.v1.DocumentChange.Builder, + com.google.firestore.v1.DocumentChangeOrBuilder>( (com.google.firestore.v1.DocumentChange) responseType_, getParentForChildren(), isClean()); @@ -1184,13 +1319,19 @@ public com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentDelete, com.google.firestore.v1.DocumentDelete.Builder, com.google.firestore.v1.DocumentDeleteOrBuilder> documentDeleteBuilder_; + com.google.firestore.v1.DocumentDelete, + com.google.firestore.v1.DocumentDelete.Builder, + com.google.firestore.v1.DocumentDeleteOrBuilder> + documentDeleteBuilder_; /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; + * * @return Whether the documentDelete field is set. */ @java.lang.Override @@ -1198,11 +1339,14 @@ public boolean hasDocumentDelete() { return responseTypeCase_ == 4; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; + * * @return The documentDelete. */ @java.lang.Override @@ -1220,6 +1364,8 @@ public com.google.firestore.v1.DocumentDelete getDocumentDelete() { } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1240,6 +1386,8 @@ public Builder setDocumentDelete(com.google.firestore.v1.DocumentDelete value) { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1258,6 +1406,8 @@ public Builder setDocumentDelete( return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1266,10 +1416,13 @@ public Builder setDocumentDelete( */ public Builder mergeDocumentDelete(com.google.firestore.v1.DocumentDelete value) { if (documentDeleteBuilder_ == null) { - if (responseTypeCase_ == 4 && - responseType_ != com.google.firestore.v1.DocumentDelete.getDefaultInstance()) { - responseType_ = com.google.firestore.v1.DocumentDelete.newBuilder((com.google.firestore.v1.DocumentDelete) responseType_) - .mergeFrom(value).buildPartial(); + if (responseTypeCase_ == 4 + && responseType_ != com.google.firestore.v1.DocumentDelete.getDefaultInstance()) { + responseType_ = + com.google.firestore.v1.DocumentDelete.newBuilder( + (com.google.firestore.v1.DocumentDelete) responseType_) + .mergeFrom(value) + .buildPartial(); } else { responseType_ = value; } @@ -1285,6 +1438,8 @@ public Builder mergeDocumentDelete(com.google.firestore.v1.DocumentDelete value) return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1308,6 +1463,8 @@ public Builder clearDocumentDelete() { return this; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1318,6 +1475,8 @@ public com.google.firestore.v1.DocumentDelete.Builder getDocumentDeleteBuilder() return getDocumentDeleteFieldBuilder().getBuilder(); } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1336,6 +1495,8 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been deleted.
      * 
@@ -1343,14 +1504,19 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde * .google.firestore.v1.DocumentDelete document_delete = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentDelete, com.google.firestore.v1.DocumentDelete.Builder, com.google.firestore.v1.DocumentDeleteOrBuilder> + com.google.firestore.v1.DocumentDelete, + com.google.firestore.v1.DocumentDelete.Builder, + com.google.firestore.v1.DocumentDeleteOrBuilder> getDocumentDeleteFieldBuilder() { if (documentDeleteBuilder_ == null) { if (!(responseTypeCase_ == 4)) { responseType_ = com.google.firestore.v1.DocumentDelete.getDefaultInstance(); } - documentDeleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentDelete, com.google.firestore.v1.DocumentDelete.Builder, com.google.firestore.v1.DocumentDeleteOrBuilder>( + documentDeleteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentDelete, + com.google.firestore.v1.DocumentDelete.Builder, + com.google.firestore.v1.DocumentDeleteOrBuilder>( (com.google.firestore.v1.DocumentDelete) responseType_, getParentForChildren(), isClean()); @@ -1362,14 +1528,20 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentRemove, com.google.firestore.v1.DocumentRemove.Builder, com.google.firestore.v1.DocumentRemoveOrBuilder> documentRemoveBuilder_; + com.google.firestore.v1.DocumentRemove, + com.google.firestore.v1.DocumentRemove.Builder, + com.google.firestore.v1.DocumentRemoveOrBuilder> + documentRemoveBuilder_; /** + * + * *
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
      * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; + * * @return Whether the documentRemove field is set. */ @java.lang.Override @@ -1377,12 +1549,15 @@ public boolean hasDocumentRemove() { return responseTypeCase_ == 6; } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
      * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; + * * @return The documentRemove. */ @java.lang.Override @@ -1400,6 +1575,8 @@ public com.google.firestore.v1.DocumentRemove getDocumentRemove() { } } /** + * + * *
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1421,6 +1598,8 @@ public Builder setDocumentRemove(com.google.firestore.v1.DocumentRemove value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1440,6 +1619,8 @@ public Builder setDocumentRemove(
       return this;
     }
     /**
+     *
+     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1449,10 +1630,13 @@ public Builder setDocumentRemove(
      */
     public Builder mergeDocumentRemove(com.google.firestore.v1.DocumentRemove value) {
       if (documentRemoveBuilder_ == null) {
-        if (responseTypeCase_ == 6 &&
-            responseType_ != com.google.firestore.v1.DocumentRemove.getDefaultInstance()) {
-          responseType_ = com.google.firestore.v1.DocumentRemove.newBuilder((com.google.firestore.v1.DocumentRemove) responseType_)
-              .mergeFrom(value).buildPartial();
+        if (responseTypeCase_ == 6
+            && responseType_ != com.google.firestore.v1.DocumentRemove.getDefaultInstance()) {
+          responseType_ =
+              com.google.firestore.v1.DocumentRemove.newBuilder(
+                      (com.google.firestore.v1.DocumentRemove) responseType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseType_ = value;
         }
@@ -1468,6 +1652,8 @@ public Builder mergeDocumentRemove(com.google.firestore.v1.DocumentRemove value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1492,6 +1678,8 @@ public Builder clearDocumentRemove() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1503,6 +1691,8 @@ public com.google.firestore.v1.DocumentRemove.Builder getDocumentRemoveBuilder()
       return getDocumentRemoveFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1522,6 +1712,8 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * A [Document][google.firestore.v1.Document] has been removed from a target
      * (because it is no longer relevant to that target).
@@ -1530,14 +1722,19 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
      * .google.firestore.v1.DocumentRemove document_remove = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.DocumentRemove, com.google.firestore.v1.DocumentRemove.Builder, com.google.firestore.v1.DocumentRemoveOrBuilder> 
+            com.google.firestore.v1.DocumentRemove,
+            com.google.firestore.v1.DocumentRemove.Builder,
+            com.google.firestore.v1.DocumentRemoveOrBuilder>
         getDocumentRemoveFieldBuilder() {
       if (documentRemoveBuilder_ == null) {
         if (!(responseTypeCase_ == 6)) {
           responseType_ = com.google.firestore.v1.DocumentRemove.getDefaultInstance();
         }
-        documentRemoveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentRemove, com.google.firestore.v1.DocumentRemove.Builder, com.google.firestore.v1.DocumentRemoveOrBuilder>(
+        documentRemoveBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.DocumentRemove,
+                com.google.firestore.v1.DocumentRemove.Builder,
+                com.google.firestore.v1.DocumentRemoveOrBuilder>(
                 (com.google.firestore.v1.DocumentRemove) responseType_,
                 getParentForChildren(),
                 isClean());
@@ -1549,8 +1746,13 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.ExistenceFilter, com.google.firestore.v1.ExistenceFilter.Builder, com.google.firestore.v1.ExistenceFilterOrBuilder> filterBuilder_;
+            com.google.firestore.v1.ExistenceFilter,
+            com.google.firestore.v1.ExistenceFilter.Builder,
+            com.google.firestore.v1.ExistenceFilterOrBuilder>
+        filterBuilder_;
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1559,6 +1761,7 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
      * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -1566,6 +1769,8 @@ public boolean hasFilter() { return responseTypeCase_ == 5; } /** + * + * *
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1574,6 +1779,7 @@ public boolean hasFilter() {
      * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return The filter. */ @java.lang.Override @@ -1591,6 +1797,8 @@ public com.google.firestore.v1.ExistenceFilter getFilter() { } } /** + * + * *
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1614,6 +1822,8 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1623,8 +1833,7 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter value) {
      *
      * .google.firestore.v1.ExistenceFilter filter = 5;
      */
-    public Builder setFilter(
-        com.google.firestore.v1.ExistenceFilter.Builder builderForValue) {
+    public Builder setFilter(com.google.firestore.v1.ExistenceFilter.Builder builderForValue) {
       if (filterBuilder_ == null) {
         responseType_ = builderForValue.build();
         onChanged();
@@ -1635,6 +1844,8 @@ public Builder setFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1646,10 +1857,13 @@ public Builder setFilter(
      */
     public Builder mergeFilter(com.google.firestore.v1.ExistenceFilter value) {
       if (filterBuilder_ == null) {
-        if (responseTypeCase_ == 5 &&
-            responseType_ != com.google.firestore.v1.ExistenceFilter.getDefaultInstance()) {
-          responseType_ = com.google.firestore.v1.ExistenceFilter.newBuilder((com.google.firestore.v1.ExistenceFilter) responseType_)
-              .mergeFrom(value).buildPartial();
+        if (responseTypeCase_ == 5
+            && responseType_ != com.google.firestore.v1.ExistenceFilter.getDefaultInstance()) {
+          responseType_ =
+              com.google.firestore.v1.ExistenceFilter.newBuilder(
+                      (com.google.firestore.v1.ExistenceFilter) responseType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           responseType_ = value;
         }
@@ -1665,6 +1879,8 @@ public Builder mergeFilter(com.google.firestore.v1.ExistenceFilter value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1691,6 +1907,8 @@ public Builder clearFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1704,6 +1922,8 @@ public com.google.firestore.v1.ExistenceFilter.Builder getFilterBuilder() {
       return getFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1725,6 +1945,8 @@ public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A filter to apply to the set of documents previously returned for the
      * given target.
@@ -1735,14 +1957,19 @@ public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
      * .google.firestore.v1.ExistenceFilter filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.ExistenceFilter, com.google.firestore.v1.ExistenceFilter.Builder, com.google.firestore.v1.ExistenceFilterOrBuilder> 
+            com.google.firestore.v1.ExistenceFilter,
+            com.google.firestore.v1.ExistenceFilter.Builder,
+            com.google.firestore.v1.ExistenceFilterOrBuilder>
         getFilterFieldBuilder() {
       if (filterBuilder_ == null) {
         if (!(responseTypeCase_ == 5)) {
           responseType_ = com.google.firestore.v1.ExistenceFilter.getDefaultInstance();
         }
-        filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.ExistenceFilter, com.google.firestore.v1.ExistenceFilter.Builder, com.google.firestore.v1.ExistenceFilterOrBuilder>(
+        filterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.ExistenceFilter,
+                com.google.firestore.v1.ExistenceFilter.Builder,
+                com.google.firestore.v1.ExistenceFilterOrBuilder>(
                 (com.google.firestore.v1.ExistenceFilter) responseType_,
                 getParentForChildren(),
                 isClean());
@@ -1752,9 +1979,9 @@ public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
       onChanged();
       return filterBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1764,12 +1991,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.ListenResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.ListenResponse)
   private static final com.google.firestore.v1.ListenResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.ListenResponse();
   }
@@ -1778,27 +2005,27 @@ public static com.google.firestore.v1.ListenResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListenResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListenResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1813,6 +2040,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.ListenResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
index 54c35ddc5..c2c47e0d2 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface ListenResponseOrBuilder extends
+public interface ListenResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.ListenResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return Whether the targetChange field is set. */ boolean hasTargetChange(); /** + * + * *
    * Targets have changed.
    * 
* * .google.firestore.v1.TargetChange target_change = 2; + * * @return The targetChange. */ com.google.firestore.v1.TargetChange getTargetChange(); /** + * + * *
    * Targets have changed.
    * 
@@ -35,24 +59,32 @@ public interface ListenResponseOrBuilder extends com.google.firestore.v1.TargetChangeOrBuilder getTargetChangeOrBuilder(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; + * * @return Whether the documentChange field is set. */ boolean hasDocumentChange(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
* * .google.firestore.v1.DocumentChange document_change = 3; + * * @return The documentChange. */ com.google.firestore.v1.DocumentChange getDocumentChange(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has changed.
    * 
@@ -62,24 +94,32 @@ public interface ListenResponseOrBuilder extends com.google.firestore.v1.DocumentChangeOrBuilder getDocumentChangeOrBuilder(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; + * * @return Whether the documentDelete field is set. */ boolean hasDocumentDelete(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
* * .google.firestore.v1.DocumentDelete document_delete = 4; + * * @return The documentDelete. */ com.google.firestore.v1.DocumentDelete getDocumentDelete(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been deleted.
    * 
@@ -89,26 +129,34 @@ public interface ListenResponseOrBuilder extends com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilder(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; + * * @return Whether the documentRemove field is set. */ boolean hasDocumentRemove(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
    * 
* * .google.firestore.v1.DocumentRemove document_remove = 6; + * * @return The documentRemove. */ com.google.firestore.v1.DocumentRemove getDocumentRemove(); /** + * + * *
    * A [Document][google.firestore.v1.Document] has been removed from a target
    * (because it is no longer relevant to that target).
@@ -119,6 +167,8 @@ public interface ListenResponseOrBuilder extends
   com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilder();
 
   /**
+   *
+   *
    * 
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -127,10 +177,13 @@ public interface ListenResponseOrBuilder extends
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return Whether the filter field is set. */ boolean hasFilter(); /** + * + * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
@@ -139,10 +192,13 @@ public interface ListenResponseOrBuilder extends
    * 
* * .google.firestore.v1.ExistenceFilter filter = 5; + * * @return The filter. */ com.google.firestore.v1.ExistenceFilter getFilter(); /** + * + * *
    * A filter to apply to the set of documents previously returned for the
    * given target.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
index a703bd3e7..54c5c461c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
@@ -1,91 +1,112 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A map value.
  * 
* * Protobuf type {@code google.firestore.v1.MapValue} */ -public final class MapValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MapValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.MapValue) MapValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MapValue.newBuilder() to construct. private MapValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MapValue() { - } + + private MapValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MapValue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetFields(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.MapValue.class, com.google.firestore.v1.MapValue.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; + private static final class FieldsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, com.google.firestore.v1.Value> defaultEntry = + static final com.google.protobuf.MapEntry + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.firestore.v1.Value.getDefaultInstance()); + .newDefaultInstance( + com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_FieldsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.firestore.v1.Value.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.firestore.v1.Value> fields_; + private com.google.protobuf.MapField fields_; + private com.google.protobuf.MapField - internalGetFields() { + internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -97,20 +118,21 @@ public int getFieldsCount() {
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   @java.lang.Override
-  public boolean containsFields(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsFields(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetFields().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getFieldsMap()} instead.
-   */
+  /** Use {@link #getFieldsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getFields() {
     return getFieldsMap();
   }
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -126,6 +148,8 @@ public java.util.Map getFieldsM
     return internalGetFields().getMap();
   }
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -137,17 +161,20 @@ public java.util.Map getFieldsM
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.firestore.v1.Value getFieldsOrDefault(
+  public /* nullable */ com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.firestore.v1.Value defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.firestore.v1.Value defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetFields().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -159,9 +186,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.Value getFieldsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetFields().getMap();
     if (!map.containsKey(key)) {
@@ -171,6 +199,7 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -182,14 +211,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetFields(),
-        FieldsDefaultEntryHolder.defaultEntry,
-        1);
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetFields(), FieldsDefaultEntryHolder.defaultEntry, 1);
     getUnknownFields().writeTo(output);
   }
 
@@ -199,15 +223,15 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    for (java.util.Map.Entry entry
-         : internalGetFields().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      fields__ = FieldsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, fields__);
+    for (java.util.Map.Entry entry :
+        internalGetFields().getMap().entrySet()) {
+      com.google.protobuf.MapEntry fields__ =
+          FieldsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, fields__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -217,15 +241,14 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.MapValue)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.MapValue other = (com.google.firestore.v1.MapValue) obj;
 
-    if (!internalGetFields().equals(
-        other.internalGetFields())) return false;
+    if (!internalGetFields().equals(other.internalGetFields())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -246,152 +269,155 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.MapValue parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.MapValue parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.MapValue parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.MapValue parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.MapValue parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.MapValue parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.MapValue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.MapValue parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.MapValue parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.MapValue parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.MapValue parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.MapValue parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.MapValue parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.MapValue parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.MapValue prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A map value.
    * 
* * Protobuf type {@code google.firestore.v1.MapValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.MapValue) com.google.firestore.v1.MapValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetFields(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 1: return internalGetMutableFields(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_fieldAccessorTable + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.MapValue.class, com.google.firestore.v1.MapValue.Builder.class); + com.google.firestore.v1.MapValue.class, + com.google.firestore.v1.MapValue.Builder.class); } // Construct using com.google.firestore.v1.MapValue.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +427,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_MapValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_MapValue_descriptor; } @java.lang.Override @@ -423,7 +449,9 @@ public com.google.firestore.v1.MapValue build() { @java.lang.Override public com.google.firestore.v1.MapValue buildPartial() { com.google.firestore.v1.MapValue result = new com.google.firestore.v1.MapValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -440,38 +468,39 @@ private void buildPartial0(com.google.firestore.v1.MapValue result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.MapValue) { - return mergeFrom((com.google.firestore.v1.MapValue)other); + return mergeFrom((com.google.firestore.v1.MapValue) other); } else { super.mergeFrom(other); return this; @@ -480,8 +509,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.v1.MapValue other) { if (other == com.google.firestore.v1.MapValue.getDefaultInstance()) return this; - internalGetMutableFields().mergeFrom( - other.internalGetFields()); + internalGetMutableFields().mergeFrom(other.internalGetFields()); bitField0_ |= 0x00000001; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -509,21 +537,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.MapEntry - fields__ = input.readMessage( - FieldsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableFields().getMutableMap().put( - fields__.getKey(), fields__.getValue()); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.MapEntry + fields__ = + input.readMessage( + FieldsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableFields() + .getMutableMap() + .put(fields__.getKey(), fields__.getValue()); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,23 +566,23 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.MapField< - java.lang.String, com.google.firestore.v1.Value> fields_; + private com.google.protobuf.MapField fields_; + private com.google.protobuf.MapField internalGetFields() { if (fields_ == null) { - return com.google.protobuf.MapField.emptyMapField( - FieldsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(FieldsDefaultEntryHolder.defaultEntry); } return fields_; } + private com.google.protobuf.MapField internalGetMutableFields() { if (fields_ == null) { - fields_ = com.google.protobuf.MapField.newMapField( - FieldsDefaultEntryHolder.defaultEntry); + fields_ = com.google.protobuf.MapField.newMapField(FieldsDefaultEntryHolder.defaultEntry); } if (!fields_.isMutable()) { fields_ = fields_.copy(); @@ -558,10 +591,13 @@ public Builder mergeFrom( onChanged(); return fields_; } + public int getFieldsCount() { return internalGetFields().getMap().size(); } /** + * + * *
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -573,20 +609,21 @@ public int getFieldsCount() {
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
     @java.lang.Override
-    public boolean containsFields(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsFields(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetFields().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getFieldsMap()} instead.
-     */
+    /** Use {@link #getFieldsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getFields() {
       return getFieldsMap();
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -602,6 +639,8 @@ public java.util.Map getFieldsM
       return internalGetFields().getMap();
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -613,17 +652,20 @@ public java.util.Map getFieldsM
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.firestore.v1.Value getFieldsOrDefault(
+    public /* nullable */ com.google.firestore.v1.Value getFieldsOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.firestore.v1.Value defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        com.google.firestore.v1.Value defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFields().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -635,9 +677,10 @@ com.google.firestore.v1.Value getFieldsOrDefault(
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
     @java.lang.Override
-    public com.google.firestore.v1.Value getFieldsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetFields().getMap();
       if (!map.containsKey(key)) {
@@ -645,13 +688,15 @@ public com.google.firestore.v1.Value getFieldsOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearFields() {
       bitField0_ = (bitField0_ & ~0x00000001);
-      internalGetMutableFields().getMutableMap()
-          .clear();
+      internalGetMutableFields().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -662,23 +707,22 @@ public Builder clearFields() {
      *
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
-    public Builder removeFields(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableFields().getMutableMap()
-          .remove(key);
+    public Builder removeFields(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableFields().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableFields() {
+    public java.util.Map getMutableFields() {
       bitField0_ |= 0x00000001;
       return internalGetMutableFields().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -689,17 +733,20 @@ public Builder removeFields(
      *
      * map<string, .google.firestore.v1.Value> fields = 1;
      */
-    public Builder putFields(
-        java.lang.String key,
-        com.google.firestore.v1.Value value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableFields().getMutableMap()
-          .put(key, value);
+    public Builder putFields(java.lang.String key, com.google.firestore.v1.Value value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableFields().getMutableMap().put(key, value);
       bitField0_ |= 0x00000001;
       return this;
     }
     /**
+     *
+     *
      * 
      * The map's fields.
      * The map keys represent field names. Field names matching the regular
@@ -712,14 +759,13 @@ public Builder putFields(
      */
     public Builder putAllFields(
         java.util.Map values) {
-      internalGetMutableFields().getMutableMap()
-          .putAll(values);
+      internalGetMutableFields().getMutableMap().putAll(values);
       bitField0_ |= 0x00000001;
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -729,12 +775,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.MapValue)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.MapValue)
   private static final com.google.firestore.v1.MapValue DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.MapValue();
   }
@@ -743,27 +789,27 @@ public static com.google.firestore.v1.MapValue getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public MapValue parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MapValue parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -778,6 +824,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.MapValue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
index 7d25fb0e4..27cc2155e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
-public interface MapValueOrBuilder extends
+public interface MapValueOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.MapValue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -20,6 +38,8 @@ public interface MapValueOrBuilder extends
    */
   int getFieldsCount();
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -30,15 +50,13 @@ public interface MapValueOrBuilder extends
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  boolean containsFields(
-      java.lang.String key);
-  /**
-   * Use {@link #getFieldsMap()} instead.
-   */
+  boolean containsFields(java.lang.String key);
+  /** Use {@link #getFieldsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getFields();
+  java.util.Map getFields();
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -49,9 +67,10 @@ boolean containsFields(
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  java.util.Map
-  getFieldsMap();
+  java.util.Map getFieldsMap();
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -63,11 +82,13 @@ boolean containsFields(
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
   /* nullable */
-com.google.firestore.v1.Value getFieldsOrDefault(
+  com.google.firestore.v1.Value getFieldsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.firestore.v1.Value defaultValue);
+      com.google.firestore.v1.Value defaultValue);
   /**
+   *
+   *
    * 
    * The map's fields.
    * The map keys represent field names. Field names matching the regular
@@ -78,6 +99,5 @@ com.google.firestore.v1.Value getFieldsOrDefault(
    *
    * map<string, .google.firestore.v1.Value> fields = 1;
    */
-  com.google.firestore.v1.Value getFieldsOrThrow(
-      java.lang.String key);
+  com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
similarity index 77%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
index 8e7d4317e..fa0c620cb 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The request for
  * [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.v1.PartitionQueryRequest}
  */
-public final class PartitionQueryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PartitionQueryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.PartitionQueryRequest)
     PartitionQueryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PartitionQueryRequest.newBuilder() to construct.
   private PartitionQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PartitionQueryRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -27,37 +45,41 @@ private PartitionQueryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PartitionQueryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.PartitionQueryRequest.class, com.google.firestore.v1.PartitionQueryRequest.Builder.class);
+            com.google.firestore.v1.PartitionQueryRequest.class,
+            com.google.firestore.v1.PartitionQueryRequest.Builder.class);
   }
 
   private int queryTypeCase_ = 0;
   private java.lang.Object queryType_;
+
   public enum QueryTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STRUCTURED_QUERY(2),
     QUERYTYPE_NOT_SET(0);
     private final int value;
+
     private QueryTypeCase(int value) {
       this.value = value;
     }
@@ -73,30 +95,35 @@ public static QueryTypeCase valueOf(int value) {
 
     public static QueryTypeCase forNumber(int value) {
       switch (value) {
-        case 2: return STRUCTURED_QUERY;
-        case 0: return QUERYTYPE_NOT_SET;
-        default: return null;
+        case 2:
+          return STRUCTURED_QUERY;
+        case 0:
+          return QUERYTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public QueryTypeCase
-  getQueryTypeCase() {
-    return QueryTypeCase.forNumber(
-        queryTypeCase_);
+  public QueryTypeCase getQueryTypeCase() {
+    return QueryTypeCase.forNumber(queryTypeCase_);
   }
 
   private int consistencySelectorCase_ = 0;
   private java.lang.Object consistencySelector_;
+
   public enum ConsistencySelectorCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     READ_TIME(6),
     CONSISTENCYSELECTOR_NOT_SET(0);
     private final int value;
+
     private ConsistencySelectorCase(int value) {
       this.value = value;
     }
@@ -112,26 +139,31 @@ public static ConsistencySelectorCase valueOf(int value) {
 
     public static ConsistencySelectorCase forNumber(int value) {
       switch (value) {
-        case 6: return READ_TIME;
-        case 0: return CONSISTENCYSELECTOR_NOT_SET;
-        default: return null;
+        case 6:
+          return READ_TIME;
+        case 0:
+          return CONSISTENCYSELECTOR_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConsistencySelectorCase
-  getConsistencySelectorCase() {
-    return ConsistencySelectorCase.forNumber(
-        consistencySelectorCase_);
+  public ConsistencySelectorCase getConsistencySelectorCase() {
+    return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -140,6 +172,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -148,14 +181,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -164,16 +198,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -183,6 +216,8 @@ public java.lang.String getParent() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -191,6 +226,7 @@ public java.lang.String getParent() {
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -198,6 +234,8 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -206,16 +244,19 @@ public boolean hasStructuredQuery() {
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -228,7 +269,7 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() {
   @java.lang.Override
   public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() {
     if (queryTypeCase_ == 2) {
-       return (com.google.firestore.v1.StructuredQuery) queryType_;
+      return (com.google.firestore.v1.StructuredQuery) queryType_;
     }
     return com.google.firestore.v1.StructuredQuery.getDefaultInstance();
   }
@@ -236,6 +277,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
   public static final int PARTITION_COUNT_FIELD_NUMBER = 3;
   private long partitionCount_ = 0L;
   /**
+   *
+   *
    * 
    * The desired maximum number of partition points.
    * The partitions may be returned across multiple pages of results.
@@ -247,6 +290,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
    * 
* * int64 partition_count = 3; + * * @return The partitionCount. */ @java.lang.Override @@ -255,9 +299,12 @@ public long getPartitionCount() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -272,6 +319,7 @@ public long getPartitionCount() {
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -280,14 +328,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -302,16 +351,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -322,6 +370,8 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_ = 0; /** + * + * *
    * The maximum number of partitions to return in this call, subject to
    * `partition_count`.
@@ -332,6 +382,7 @@ public java.lang.String getPageToken() {
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -341,12 +392,15 @@ public int getPageSize() { public static final int READ_TIME_FIELD_NUMBER = 6; /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -354,22 +408,27 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 6) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -380,12 +439,13 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 6) {
-       return (com.google.protobuf.Timestamp) consistencySelector_;
+      return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -397,8 +457,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -430,23 +489,23 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queryTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery) queryType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.firestore.v1.StructuredQuery) queryType_);
     }
     if (partitionCount_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(3, partitionCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, partitionCount_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_);
     }
     if (pageSize_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(5, pageSize_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_);
     }
     if (consistencySelectorCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.protobuf.Timestamp) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -456,26 +515,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.PartitionQueryRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.PartitionQueryRequest other = (com.google.firestore.v1.PartitionQueryRequest) obj;
+    com.google.firestore.v1.PartitionQueryRequest other =
+        (com.google.firestore.v1.PartitionQueryRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (getPartitionCount()
-        != other.getPartitionCount()) return false;
-    if (!getPageToken()
-        .equals(other.getPageToken())) return false;
-    if (getPageSize()
-        != other.getPageSize()) return false;
+    if (!getParent().equals(other.getParent())) return false;
+    if (getPartitionCount() != other.getPartitionCount()) return false;
+    if (!getPageToken().equals(other.getPageToken())) return false;
+    if (getPageSize() != other.getPageSize()) return false;
     if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false;
     switch (queryTypeCase_) {
       case 2:
-        if (!getStructuredQuery()
-            .equals(other.getStructuredQuery())) return false;
+        if (!getStructuredQuery().equals(other.getStructuredQuery())) return false;
         break;
       case 0:
       default:
@@ -483,8 +538,7 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 6:
-        if (!getReadTime()
-            .equals(other.getReadTime())) return false;
+        if (!getReadTime().equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -503,8 +557,7 @@ public int hashCode() {
     hash = (37 * hash) + PARENT_FIELD_NUMBER;
     hash = (53 * hash) + getParent().hashCode();
     hash = (37 * hash) + PARTITION_COUNT_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getPartitionCount());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPartitionCount());
     hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
     hash = (53 * hash) + getPageToken().hashCode();
     hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
@@ -530,97 +583,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.PartitionQueryRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.PartitionQueryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.PartitionQueryRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.PartitionQueryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.PartitionQueryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.PartitionQueryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for
    * [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
@@ -628,33 +688,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.PartitionQueryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.PartitionQueryRequest)
       com.google.firestore.v1.PartitionQueryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_PartitionQueryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.PartitionQueryRequest.class, com.google.firestore.v1.PartitionQueryRequest.Builder.class);
+              com.google.firestore.v1.PartitionQueryRequest.class,
+              com.google.firestore.v1.PartitionQueryRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.PartitionQueryRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -677,9 +736,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_PartitionQueryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -698,8 +757,11 @@ public com.google.firestore.v1.PartitionQueryRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.PartitionQueryRequest buildPartial() {
-      com.google.firestore.v1.PartitionQueryRequest result = new com.google.firestore.v1.PartitionQueryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.PartitionQueryRequest result =
+          new com.google.firestore.v1.PartitionQueryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -724,14 +786,12 @@ private void buildPartial0(com.google.firestore.v1.PartitionQueryRequest result)
     private void buildPartialOneofs(com.google.firestore.v1.PartitionQueryRequest result) {
       result.queryTypeCase_ = queryTypeCase_;
       result.queryType_ = this.queryType_;
-      if (queryTypeCase_ == 2 &&
-          structuredQueryBuilder_ != null) {
+      if (queryTypeCase_ == 2 && structuredQueryBuilder_ != null) {
         result.queryType_ = structuredQueryBuilder_.build();
       }
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 6 &&
-          readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 6 && readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -740,38 +800,39 @@ private void buildPartialOneofs(com.google.firestore.v1.PartitionQueryRequest re
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.PartitionQueryRequest) {
-        return mergeFrom((com.google.firestore.v1.PartitionQueryRequest)other);
+        return mergeFrom((com.google.firestore.v1.PartitionQueryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -797,22 +858,26 @@ public Builder mergeFrom(com.google.firestore.v1.PartitionQueryRequest other) {
         setPageSize(other.getPageSize());
       }
       switch (other.getQueryTypeCase()) {
-        case STRUCTURED_QUERY: {
-          mergeStructuredQuery(other.getStructuredQuery());
-          break;
-        }
-        case QUERYTYPE_NOT_SET: {
-          break;
-        }
+        case STRUCTURED_QUERY:
+          {
+            mergeStructuredQuery(other.getStructuredQuery());
+            break;
+          }
+        case QUERYTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getConsistencySelectorCase()) {
-        case READ_TIME: {
-          mergeReadTime(other.getReadTime());
-          break;
-        }
-        case CONSISTENCYSELECTOR_NOT_SET: {
-          break;
-        }
+        case READ_TIME:
+          {
+            mergeReadTime(other.getReadTime());
+            break;
+          }
+        case CONSISTENCYSELECTOR_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -840,46 +905,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStructuredQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              queryTypeCase_ = 2;
-              break;
-            } // case 18
-            case 24: {
-              partitionCount_ = input.readInt64();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 40: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              consistencySelectorCase_ = 6;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry);
+                queryTypeCase_ = 2;
+                break;
+              } // case 18
+            case 24:
+              {
+                partitionCount_ = input.readInt64();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 40:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                consistencySelectorCase_ = 6;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -889,12 +957,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int queryTypeCase_ = 0;
     private java.lang.Object queryType_;
-    public QueryTypeCase
-        getQueryTypeCase() {
-      return QueryTypeCase.forNumber(
-          queryTypeCase_);
+
+    public QueryTypeCase getQueryTypeCase() {
+      return QueryTypeCase.forNumber(queryTypeCase_);
     }
 
     public Builder clearQueryType() {
@@ -906,10 +974,9 @@ public Builder clearQueryType() {
 
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-    public ConsistencySelectorCase
-        getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(
-          consistencySelectorCase_);
+
+    public ConsistencySelectorCase getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -923,6 +990,8 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -931,13 +1000,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -946,6 +1015,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -954,15 +1025,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -970,6 +1040,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -978,18 +1050,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -998,6 +1074,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1007,6 +1084,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents`.
@@ -1015,12 +1094,14 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1029,8 +1110,13 @@ public Builder setParentBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_; + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> + structuredQueryBuilder_; /** + * + * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1039,6 +1125,7 @@ public Builder setParentBytes(
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1046,6 +1133,8 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1054,6 +1143,7 @@ public boolean hasStructuredQuery() {
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -1071,6 +1161,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1094,6 +1186,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1115,6 +1209,8 @@ public Builder setStructuredQuery(
       return this;
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1126,10 +1222,13 @@ public Builder setStructuredQuery(
      */
     public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) {
       if (structuredQueryBuilder_ == null) {
-        if (queryTypeCase_ == 2 &&
-            queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) {
-          queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_)
-              .mergeFrom(value).buildPartial();
+        if (queryTypeCase_ == 2
+            && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) {
+          queryType_ =
+              com.google.firestore.v1.StructuredQuery.newBuilder(
+                      (com.google.firestore.v1.StructuredQuery) queryType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           queryType_ = value;
         }
@@ -1145,6 +1244,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu
       return this;
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1171,6 +1272,8 @@ public Builder clearStructuredQuery() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1184,6 +1287,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder
       return getStructuredQueryFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1205,6 +1310,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * A structured query.
      * Query must specify collection with all descendants and be ordered by name
@@ -1215,14 +1322,19 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
      * .google.firestore.v1.StructuredQuery structured_query = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> 
+            com.google.firestore.v1.StructuredQuery,
+            com.google.firestore.v1.StructuredQuery.Builder,
+            com.google.firestore.v1.StructuredQueryOrBuilder>
         getStructuredQueryFieldBuilder() {
       if (structuredQueryBuilder_ == null) {
         if (!(queryTypeCase_ == 2)) {
           queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance();
         }
-        structuredQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder>(
+        structuredQueryBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.StructuredQuery,
+                com.google.firestore.v1.StructuredQuery.Builder,
+                com.google.firestore.v1.StructuredQueryOrBuilder>(
                 (com.google.firestore.v1.StructuredQuery) queryType_,
                 getParentForChildren(),
                 isClean());
@@ -1233,8 +1345,10 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
       return structuredQueryBuilder_;
     }
 
-    private long partitionCount_ ;
+    private long partitionCount_;
     /**
+     *
+     *
      * 
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1246,6 +1360,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
      * 
* * int64 partition_count = 3; + * * @return The partitionCount. */ @java.lang.Override @@ -1253,6 +1368,8 @@ public long getPartitionCount() { return partitionCount_; } /** + * + * *
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1264,17 +1381,20 @@ public long getPartitionCount() {
      * 
* * int64 partition_count = 3; + * * @param value The partitionCount to set. * @return This builder for chaining. */ public Builder setPartitionCount(long value) { - + partitionCount_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The desired maximum number of partition points.
      * The partitions may be returned across multiple pages of results.
@@ -1286,6 +1406,7 @@ public Builder setPartitionCount(long value) {
      * 
* * int64 partition_count = 3; + * * @return This builder for chaining. */ public Builder clearPartitionCount() { @@ -1297,6 +1418,8 @@ public Builder clearPartitionCount() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1311,13 +1434,13 @@ public Builder clearPartitionCount() {
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1326,6 +1449,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1340,15 +1465,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1356,6 +1480,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1370,18 +1496,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1396,6 +1526,7 @@ public Builder setPageToken(
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1405,6 +1536,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The `next_page_token` value returned from a previous call to
      * PartitionQuery that may be used to get an additional set of results.
@@ -1419,12 +1552,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; @@ -1432,8 +1567,10 @@ public Builder setPageTokenBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1444,6 +1581,7 @@ public Builder setPageTokenBytes(
      * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -1451,6 +1589,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1461,17 +1601,20 @@ public int getPageSize() {
      * 
* * int32 page_size = 5; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The maximum number of partitions to return in this call, subject to
      * `partition_count`.
@@ -1482,6 +1625,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 5; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1492,14 +1636,20 @@ public Builder clearPageSize() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1507,12 +1657,15 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ @java.lang.Override @@ -1530,6 +1683,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1551,6 +1706,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1558,8 +1715,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 6;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1570,6 +1726,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1579,10 +1737,13 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 6 &&
-            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 6
+            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1598,6 +1759,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1622,6 +1785,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1633,6 +1798,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1652,6 +1819,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1660,14 +1829,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 6)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1677,9 +1851,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1689,12 +1863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.PartitionQueryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.PartitionQueryRequest)
   private static final com.google.firestore.v1.PartitionQueryRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.PartitionQueryRequest();
   }
@@ -1703,27 +1877,27 @@ public static com.google.firestore.v1.PartitionQueryRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public PartitionQueryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PartitionQueryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1738,6 +1912,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.PartitionQueryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
similarity index 85%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
index b9a154e11..bbd49e9ae 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface PartitionQueryRequestOrBuilder extends
+public interface PartitionQueryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.PartitionQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -16,10 +34,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents`.
@@ -28,12 +49,14 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -42,10 +65,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -54,10 +80,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** + * + * *
    * A structured query.
    * Query must specify collection with all descendants and be ordered by name
@@ -70,6 +99,8 @@ public interface PartitionQueryRequestOrBuilder extends
   com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder();
 
   /**
+   *
+   *
    * 
    * The desired maximum number of partition points.
    * The partitions may be returned across multiple pages of results.
@@ -81,11 +112,14 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * int64 partition_count = 3; + * * @return The partitionCount. */ long getPartitionCount(); /** + * + * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -100,10 +134,13 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The `next_page_token` value returned from a previous call to
    * PartitionQuery that may be used to get an additional set of results.
@@ -118,12 +155,14 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of partitions to return in this call, subject to
    * `partition_count`.
@@ -134,31 +173,40 @@ public interface PartitionQueryRequestOrBuilder extends
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -170,5 +218,6 @@ public interface PartitionQueryRequestOrBuilder extends
 
   public com.google.firestore.v1.PartitionQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.PartitionQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.PartitionQueryRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
similarity index 81%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
index 49ad358d9..511aaa941 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponse.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The response for
  * [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.firestore.v1.PartitionQueryResponse}
  */
-public final class PartitionQueryResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PartitionQueryResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.PartitionQueryResponse)
     PartitionQueryResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PartitionQueryResponse.newBuilder() to construct.
   private PartitionQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PartitionQueryResponse() {
     partitions_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,33 +45,37 @@ private PartitionQueryResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PartitionQueryResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.PartitionQueryResponse.class, com.google.firestore.v1.PartitionQueryResponse.Builder.class);
+            com.google.firestore.v1.PartitionQueryResponse.class,
+            com.google.firestore.v1.PartitionQueryResponse.Builder.class);
   }
 
   public static final int PARTITIONS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List partitions_;
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -78,6 +100,8 @@ public java.util.List getPartitionsList() {
     return partitions_;
   }
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -98,11 +122,13 @@ public java.util.List getPartitionsList() {
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getPartitionsOrBuilderList() {
     return partitions_;
   }
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -127,6 +153,8 @@ public int getPartitionsCount() {
     return partitions_.size();
   }
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -151,6 +179,8 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
     return partitions_.get(index);
   }
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -171,15 +201,17 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
   @java.lang.Override
-  public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
-      int index) {
+  public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index) {
     return partitions_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
+   *
+   *
    * 
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -187,6 +219,7 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -195,14 +228,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -210,16 +244,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -228,6 +261,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,8 +273,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < partitions_.size(); i++) { output.writeMessage(1, partitions_.get(i)); } @@ -257,8 +290,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < partitions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, partitions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, partitions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -271,17 +303,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.PartitionQueryResponse)) { return super.equals(obj); } - com.google.firestore.v1.PartitionQueryResponse other = (com.google.firestore.v1.PartitionQueryResponse) obj; + com.google.firestore.v1.PartitionQueryResponse other = + (com.google.firestore.v1.PartitionQueryResponse) obj; - if (!getPartitionsList() - .equals(other.getPartitionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPartitionsList().equals(other.getPartitionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,97 +335,104 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.PartitionQueryResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.PartitionQueryResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.PartitionQueryResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.PartitionQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.PartitionQueryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.PartitionQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.PartitionQueryResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.PartitionQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.PartitionQueryResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.PartitionQueryResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.PartitionQueryResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.PartitionQueryResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.PartitionQueryResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.PartitionQueryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.PartitionQueryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response for
    * [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
@@ -402,33 +440,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.PartitionQueryResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.PartitionQueryResponse)
       com.google.firestore.v1.PartitionQueryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_PartitionQueryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.PartitionQueryResponse.class, com.google.firestore.v1.PartitionQueryResponse.Builder.class);
+              com.google.firestore.v1.PartitionQueryResponse.class,
+              com.google.firestore.v1.PartitionQueryResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.PartitionQueryResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -445,9 +482,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_PartitionQueryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -466,9 +503,12 @@ public com.google.firestore.v1.PartitionQueryResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.PartitionQueryResponse buildPartial() {
-      com.google.firestore.v1.PartitionQueryResponse result = new com.google.firestore.v1.PartitionQueryResponse(this);
+      com.google.firestore.v1.PartitionQueryResponse result =
+          new com.google.firestore.v1.PartitionQueryResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -496,38 +536,39 @@ private void buildPartial0(com.google.firestore.v1.PartitionQueryResponse result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.PartitionQueryResponse) {
-        return mergeFrom((com.google.firestore.v1.PartitionQueryResponse)other);
+        return mergeFrom((com.google.firestore.v1.PartitionQueryResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -554,9 +595,10 @@ public Builder mergeFrom(com.google.firestore.v1.PartitionQueryResponse other) {
             partitionsBuilder_ = null;
             partitions_ = other.partitions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            partitionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPartitionsFieldBuilder() : null;
+            partitionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPartitionsFieldBuilder()
+                    : null;
           } else {
             partitionsBuilder_.addAllMessages(other.partitions_);
           }
@@ -593,30 +635,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.firestore.v1.Cursor m =
-                  input.readMessage(
-                      com.google.firestore.v1.Cursor.parser(),
-                      extensionRegistry);
-              if (partitionsBuilder_ == null) {
-                ensurePartitionsIsMutable();
-                partitions_.add(m);
-              } else {
-                partitionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.firestore.v1.Cursor m =
+                    input.readMessage(com.google.firestore.v1.Cursor.parser(), extensionRegistry);
+                if (partitionsBuilder_ == null) {
+                  ensurePartitionsIsMutable();
+                  partitions_.add(m);
+                } else {
+                  partitionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -626,21 +669,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List partitions_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensurePartitionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         partitions_ = new java.util.ArrayList(partitions_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> partitionsBuilder_;
+            com.google.firestore.v1.Cursor,
+            com.google.firestore.v1.Cursor.Builder,
+            com.google.firestore.v1.CursorOrBuilder>
+        partitionsBuilder_;
 
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -668,6 +718,8 @@ public java.util.List getPartitionsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -695,6 +747,8 @@ public int getPartitionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -722,6 +776,8 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -741,8 +797,7 @@ public com.google.firestore.v1.Cursor getPartitions(int index) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public Builder setPartitions(
-        int index, com.google.firestore.v1.Cursor value) {
+    public Builder setPartitions(int index, com.google.firestore.v1.Cursor value) {
       if (partitionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -756,6 +811,8 @@ public Builder setPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -787,6 +844,8 @@ public Builder setPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -820,6 +879,8 @@ public Builder addPartitions(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -839,8 +900,7 @@ public Builder addPartitions(com.google.firestore.v1.Cursor value) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public Builder addPartitions(
-        int index, com.google.firestore.v1.Cursor value) {
+    public Builder addPartitions(int index, com.google.firestore.v1.Cursor value) {
       if (partitionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -854,6 +914,8 @@ public Builder addPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -873,8 +935,7 @@ public Builder addPartitions(
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public Builder addPartitions(
-        com.google.firestore.v1.Cursor.Builder builderForValue) {
+    public Builder addPartitions(com.google.firestore.v1.Cursor.Builder builderForValue) {
       if (partitionsBuilder_ == null) {
         ensurePartitionsIsMutable();
         partitions_.add(builderForValue.build());
@@ -885,6 +946,8 @@ public Builder addPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -916,6 +979,8 @@ public Builder addPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -939,8 +1004,7 @@ public Builder addAllPartitions(
         java.lang.Iterable values) {
       if (partitionsBuilder_ == null) {
         ensurePartitionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, partitions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partitions_);
         onChanged();
       } else {
         partitionsBuilder_.addAllMessages(values);
@@ -948,6 +1012,8 @@ public Builder addAllPartitions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -978,6 +1044,8 @@ public Builder clearPartitions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1008,6 +1076,8 @@ public Builder removePartitions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1027,11 +1097,12 @@ public Builder removePartitions(int index) {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public com.google.firestore.v1.Cursor.Builder getPartitionsBuilder(
-        int index) {
+    public com.google.firestore.v1.Cursor.Builder getPartitionsBuilder(int index) {
       return getPartitionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1051,14 +1122,16 @@ public com.google.firestore.v1.Cursor.Builder getPartitionsBuilder(
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
-        int index) {
+    public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index) {
       if (partitionsBuilder_ == null) {
-        return partitions_.get(index);  } else {
+        return partitions_.get(index);
+      } else {
         return partitionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1078,8 +1151,8 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public java.util.List 
-         getPartitionsOrBuilderList() {
+    public java.util.List
+        getPartitionsOrBuilderList() {
       if (partitionsBuilder_ != null) {
         return partitionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1087,6 +1160,8 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1107,10 +1182,12 @@ public com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
     public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder() {
-      return getPartitionsFieldBuilder().addBuilder(
-          com.google.firestore.v1.Cursor.getDefaultInstance());
+      return getPartitionsFieldBuilder()
+          .addBuilder(com.google.firestore.v1.Cursor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1130,12 +1207,13 @@ public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder() {
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(
-        int index) {
-      return getPartitionsFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.Cursor.getDefaultInstance());
+    public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(int index) {
+      return getPartitionsFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.Cursor.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Partition results.
      * Each partition is a split point that can be used by RunQuery as a starting
@@ -1155,20 +1233,22 @@ public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(
      *
      * repeated .google.firestore.v1.Cursor partitions = 1;
      */
-    public java.util.List 
-         getPartitionsBuilderList() {
+    public java.util.List getPartitionsBuilderList() {
       return getPartitionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> 
+            com.google.firestore.v1.Cursor,
+            com.google.firestore.v1.Cursor.Builder,
+            com.google.firestore.v1.CursorOrBuilder>
         getPartitionsFieldBuilder() {
       if (partitionsBuilder_ == null) {
-        partitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder>(
-                partitions_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        partitionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.Cursor,
+                com.google.firestore.v1.Cursor.Builder,
+                com.google.firestore.v1.CursorOrBuilder>(
+                partitions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         partitions_ = null;
       }
       return partitionsBuilder_;
@@ -1176,6 +1256,8 @@ public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1183,13 +1265,13 @@ public com.google.firestore.v1.Cursor.Builder addPartitionsBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1198,6 +1280,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1205,15 +1289,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1221,6 +1304,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1228,18 +1313,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1247,6 +1336,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1256,6 +1346,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A page token that may be used to request an additional set of results, up
      * to the number specified by `partition_count` in the PartitionQuery request.
@@ -1263,21 +1355,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1381,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.PartitionQueryResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.PartitionQueryResponse) private static final com.google.firestore.v1.PartitionQueryResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.PartitionQueryResponse(); } @@ -1301,27 +1395,27 @@ public static com.google.firestore.v1.PartitionQueryResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionQueryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionQueryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1336,6 +1430,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.PartitionQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java similarity index 85% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java index 640fc2041..f92ce225a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface PartitionQueryResponseOrBuilder extends +public interface PartitionQueryResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.PartitionQueryResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -27,9 +45,10 @@ public interface PartitionQueryResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  java.util.List 
-      getPartitionsList();
+  java.util.List getPartitionsList();
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -51,6 +70,8 @@ public interface PartitionQueryResponseOrBuilder extends
    */
   com.google.firestore.v1.Cursor getPartitions(int index);
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -72,6 +93,8 @@ public interface PartitionQueryResponseOrBuilder extends
    */
   int getPartitionsCount();
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -91,9 +114,10 @@ public interface PartitionQueryResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  java.util.List 
-      getPartitionsOrBuilderList();
+  java.util.List getPartitionsOrBuilderList();
   /**
+   *
+   *
    * 
    * Partition results.
    * Each partition is a split point that can be used by RunQuery as a starting
@@ -113,10 +137,11 @@ public interface PartitionQueryResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.Cursor partitions = 1;
    */
-  com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
-      int index);
+  com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -124,10 +149,13 @@ com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A page token that may be used to request an additional set of results, up
    * to the number specified by `partition_count` in the PartitionQuery request.
@@ -135,8 +163,8 @@ com.google.firestore.v1.CursorOrBuilder getPartitionsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java index 24c00fb21..97696807b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Precondition.java @@ -1,61 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; /** + * + * *
  * A precondition on a document, used for conditional operations.
  * 
* * Protobuf type {@code google.firestore.v1.Precondition} */ -public final class Precondition extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Precondition extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Precondition) PreconditionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Precondition.newBuilder() to construct. private Precondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Precondition() { - } + + private Precondition() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Precondition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Precondition.class, com.google.firestore.v1.Precondition.Builder.class); + com.google.firestore.v1.Precondition.class, + com.google.firestore.v1.Precondition.Builder.class); } private int conditionTypeCase_ = 0; private java.lang.Object conditionType_; + public enum ConditionTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { EXISTS(1), UPDATE_TIME(2), CONDITIONTYPE_NOT_SET(0); private final int value; + private ConditionTypeCase(int value) { this.value = value; } @@ -71,31 +92,37 @@ public static ConditionTypeCase valueOf(int value) { public static ConditionTypeCase forNumber(int value) { switch (value) { - case 1: return EXISTS; - case 2: return UPDATE_TIME; - case 0: return CONDITIONTYPE_NOT_SET; - default: return null; + case 1: + return EXISTS; + case 2: + return UPDATE_TIME; + case 0: + return CONDITIONTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConditionTypeCase - getConditionTypeCase() { - return ConditionTypeCase.forNumber( - conditionTypeCase_); + public ConditionTypeCase getConditionTypeCase() { + return ConditionTypeCase.forNumber(conditionTypeCase_); } public static final int EXISTS_FIELD_NUMBER = 1; /** + * + * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; + * * @return Whether the exists field is set. */ @java.lang.Override @@ -103,12 +130,15 @@ public boolean hasExists() { return conditionTypeCase_ == 1; } /** + * + * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; + * * @return The exists. */ @java.lang.Override @@ -121,12 +151,15 @@ public boolean getExists() { public static final int UPDATE_TIME_FIELD_NUMBER = 2; /** + * + * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -134,22 +167,27 @@ public boolean hasUpdateTime() { return conditionTypeCase_ == 2; } /** + * + * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return The updateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdateTime() { if (conditionTypeCase_ == 2) { - return (com.google.protobuf.Timestamp) conditionType_; + return (com.google.protobuf.Timestamp) conditionType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
@@ -160,12 +198,13 @@ public com.google.protobuf.Timestamp getUpdateTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
     if (conditionTypeCase_ == 2) {
-       return (com.google.protobuf.Timestamp) conditionType_;
+      return (com.google.protobuf.Timestamp) conditionType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -177,11 +216,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (conditionTypeCase_ == 1) {
-      output.writeBool(
-          1, (boolean)((java.lang.Boolean) conditionType_));
+      output.writeBool(1, (boolean) ((java.lang.Boolean) conditionType_));
     }
     if (conditionTypeCase_ == 2) {
       output.writeMessage(2, (com.google.protobuf.Timestamp) conditionType_);
@@ -196,13 +233,14 @@ public int getSerializedSize() {
 
     size = 0;
     if (conditionTypeCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(
-            1, (boolean)((java.lang.Boolean) conditionType_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeBoolSize(
+              1, (boolean) ((java.lang.Boolean) conditionType_));
     }
     if (conditionTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.protobuf.Timestamp) conditionType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.protobuf.Timestamp) conditionType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -212,7 +250,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.Precondition)) {
       return super.equals(obj);
@@ -222,12 +260,10 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConditionTypeCase().equals(other.getConditionTypeCase())) return false;
     switch (conditionTypeCase_) {
       case 1:
-        if (getExists()
-            != other.getExists()) return false;
+        if (getExists() != other.getExists()) return false;
         break;
       case 2:
-        if (!getUpdateTime()
-            .equals(other.getUpdateTime())) return false;
+        if (!getUpdateTime().equals(other.getUpdateTime())) return false;
         break;
       case 0:
       default:
@@ -246,8 +282,7 @@ public int hashCode() {
     switch (conditionTypeCase_) {
       case 1:
         hash = (37 * hash) + EXISTS_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-            getExists());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExists());
         break;
       case 2:
         hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
@@ -261,130 +296,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.Precondition parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.Precondition parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.Precondition parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.Precondition parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Precondition parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Precondition parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Precondition parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.Precondition prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A precondition on a document, used for conditional operations.
    * 
* * Protobuf type {@code google.firestore.v1.Precondition} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Precondition) com.google.firestore.v1.PreconditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Precondition.class, com.google.firestore.v1.Precondition.Builder.class); + com.google.firestore.v1.Precondition.class, + com.google.firestore.v1.Precondition.Builder.class); } // Construct using com.google.firestore.v1.Precondition.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +438,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_Precondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_Precondition_descriptor; } @java.lang.Override @@ -420,7 +460,9 @@ public com.google.firestore.v1.Precondition build() { @java.lang.Override public com.google.firestore.v1.Precondition buildPartial() { com.google.firestore.v1.Precondition result = new com.google.firestore.v1.Precondition(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -433,8 +475,7 @@ private void buildPartial0(com.google.firestore.v1.Precondition result) { private void buildPartialOneofs(com.google.firestore.v1.Precondition result) { result.conditionTypeCase_ = conditionTypeCase_; result.conditionType_ = this.conditionType_; - if (conditionTypeCase_ == 2 && - updateTimeBuilder_ != null) { + if (conditionTypeCase_ == 2 && updateTimeBuilder_ != null) { result.conditionType_ = updateTimeBuilder_.build(); } } @@ -443,38 +484,39 @@ private void buildPartialOneofs(com.google.firestore.v1.Precondition result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Precondition) { - return mergeFrom((com.google.firestore.v1.Precondition)other); + return mergeFrom((com.google.firestore.v1.Precondition) other); } else { super.mergeFrom(other); return this; @@ -484,17 +526,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.v1.Precondition other) { if (other == com.google.firestore.v1.Precondition.getDefaultInstance()) return this; switch (other.getConditionTypeCase()) { - case EXISTS: { - setExists(other.getExists()); - break; - } - case UPDATE_TIME: { - mergeUpdateTime(other.getUpdateTime()); - break; - } - case CONDITIONTYPE_NOT_SET: { - break; - } + case EXISTS: + { + setExists(other.getExists()); + break; + } + case UPDATE_TIME: + { + mergeUpdateTime(other.getUpdateTime()); + break; + } + case CONDITIONTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -522,24 +567,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - conditionType_ = input.readBool(); - conditionTypeCase_ = 1; - break; - } // case 8 - case 18: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - conditionTypeCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + conditionType_ = input.readBool(); + conditionTypeCase_ = 1; + break; + } // case 8 + case 18: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + conditionTypeCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -549,12 +595,12 @@ public Builder mergeFrom( } // finally return this; } + private int conditionTypeCase_ = 0; private java.lang.Object conditionType_; - public ConditionTypeCase - getConditionTypeCase() { - return ConditionTypeCase.forNumber( - conditionTypeCase_); + + public ConditionTypeCase getConditionTypeCase() { + return ConditionTypeCase.forNumber(conditionTypeCase_); } public Builder clearConditionType() { @@ -567,24 +613,30 @@ public Builder clearConditionType() { private int bitField0_; /** + * + * *
      * When set to `true`, the target document must exist.
      * When set to `false`, the target document must not exist.
      * 
* * bool exists = 1; + * * @return Whether the exists field is set. */ public boolean hasExists() { return conditionTypeCase_ == 1; } /** + * + * *
      * When set to `true`, the target document must exist.
      * When set to `false`, the target document must not exist.
      * 
* * bool exists = 1; + * * @return The exists. */ public boolean getExists() { @@ -594,29 +646,35 @@ public boolean getExists() { return false; } /** + * + * *
      * When set to `true`, the target document must exist.
      * When set to `false`, the target document must not exist.
      * 
* * bool exists = 1; + * * @param value The exists to set. * @return This builder for chaining. */ public Builder setExists(boolean value) { - + conditionTypeCase_ = 1; conditionType_ = value; onChanged(); return this; } /** + * + * *
      * When set to `true`, the target document must exist.
      * When set to `false`, the target document must not exist.
      * 
* * bool exists = 1; + * * @return This builder for chaining. */ public Builder clearExists() { @@ -629,14 +687,20 @@ public Builder clearExists() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
      * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -644,12 +708,15 @@ public boolean hasUpdateTime() { return conditionTypeCase_ == 2; } /** + * + * *
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
      * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return The updateTime. */ @java.lang.Override @@ -667,6 +734,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { } } /** + * + * *
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -688,6 +757,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -695,8 +766,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 2;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         conditionType_ = builderForValue.build();
         onChanged();
@@ -707,6 +777,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -716,10 +788,13 @@ public Builder setUpdateTime(
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (conditionTypeCase_ == 2 &&
-            conditionType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          conditionType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) conditionType_)
-              .mergeFrom(value).buildPartial();
+        if (conditionTypeCase_ == 2
+            && conditionType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          conditionType_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) conditionType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           conditionType_ = value;
         }
@@ -735,6 +810,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -759,6 +836,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -770,6 +849,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -789,6 +870,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * When set, the target document must exist and have been last updated at
      * that time. Timestamp must be microsecond aligned.
@@ -797,26 +880,29 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
         if (!(conditionTypeCase_ == 2)) {
           conditionType_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) conditionType_,
-                getParentForChildren(),
-                isClean());
+        updateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) conditionType_, getParentForChildren(), isClean());
         conditionType_ = null;
       }
       conditionTypeCase_ = 2;
       onChanged();
       return updateTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -826,12 +912,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.Precondition)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.Precondition)
   private static final com.google.firestore.v1.Precondition DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.Precondition();
   }
@@ -840,27 +926,27 @@ public static com.google.firestore.v1.Precondition getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Precondition parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Precondition parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -875,6 +961,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.Precondition getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
index af3014ef1..7926afa17 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PreconditionOrBuilder.java
@@ -1,54 +1,84 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/common.proto
 
 package com.google.firestore.v1;
 
-public interface PreconditionOrBuilder extends
+public interface PreconditionOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.Precondition)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; + * * @return Whether the exists field is set. */ boolean hasExists(); /** + * + * *
    * When set to `true`, the target document must exist.
    * When set to `false`, the target document must not exist.
    * 
* * bool exists = 1; + * * @return The exists. */ boolean getExists(); /** + * + * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
    * 
* * .google.protobuf.Timestamp update_time = 2; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * When set, the target document must exist and have been last updated at
    * that time. Timestamp must be microsecond aligned.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java
new file mode 100644
index 000000000..2bc291fa2
--- /dev/null
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java
@@ -0,0 +1,290 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/query.proto
+
+package com.google.firestore.v1;
+
+public final class QueryProto {
+  private QueryProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredQuery_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredQuery_Order_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_Cursor_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Cursor_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\037google/firestore/v1/query.proto\022\023googl"
+          + "e.firestore.v1\032\037google/api/field_behavio"
+          + "r.proto\032\"google/firestore/v1/document.pr"
+          + "oto\032\036google/protobuf/wrappers.proto\"\276\017\n\017"
+          + "StructuredQuery\022?\n\006select\030\001 \001(\0132/.google"
+          + ".firestore.v1.StructuredQuery.Projection"
+          + "\022E\n\004from\030\002 \003(\01327.google.firestore.v1.Str"
+          + "ucturedQuery.CollectionSelector\022:\n\005where"
+          + "\030\003 \001(\0132+.google.firestore.v1.StructuredQ"
+          + "uery.Filter\022<\n\010order_by\030\004 \003(\0132*.google.f"
+          + "irestore.v1.StructuredQuery.Order\022-\n\010sta"
+          + "rt_at\030\007 \001(\0132\033.google.firestore.v1.Cursor"
+          + "\022+\n\006end_at\030\010 \001(\0132\033.google.firestore.v1.C"
+          + "ursor\022\016\n\006offset\030\006 \001(\005\022*\n\005limit\030\005 \001(\0132\033.g"
+          + "oogle.protobuf.Int32Value\032D\n\022CollectionS"
+          + "elector\022\025\n\rcollection_id\030\002 \001(\t\022\027\n\017all_de"
+          + "scendants\030\003 \001(\010\032\375\001\n\006Filter\022P\n\020composite_"
+          + "filter\030\001 \001(\01324.google.firestore.v1.Struc"
+          + "turedQuery.CompositeFilterH\000\022H\n\014field_fi"
+          + "lter\030\002 \001(\01320.google.firestore.v1.Structu"
+          + "redQuery.FieldFilterH\000\022H\n\014unary_filter\030\003"
+          + " \001(\01320.google.firestore.v1.StructuredQue"
+          + "ry.UnaryFilterH\000B\r\n\013filter_type\032\321\001\n\017Comp"
+          + "ositeFilter\022I\n\002op\030\001 \001(\0162=.google.firesto"
+          + "re.v1.StructuredQuery.CompositeFilter.Op"
+          + "erator\022<\n\007filters\030\002 \003(\0132+.google.firesto"
+          + "re.v1.StructuredQuery.Filter\"5\n\010Operator"
+          + "\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001\022\006\n\002O"
+          + "R\020\002\032\230\003\n\013FieldFilter\022B\n\005field\030\001 \001(\01323.goo"
+          + "gle.firestore.v1.StructuredQuery.FieldRe"
+          + "ference\022E\n\002op\030\002 \001(\01629.google.firestore.v"
+          + "1.StructuredQuery.FieldFilter.Operator\022)"
+          + "\n\005value\030\003 \001(\0132\032.google.firestore.v1.Valu"
+          + "e\"\322\001\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000"
+          + "\022\r\n\tLESS_THAN\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020\002\022"
+          + "\020\n\014GREATER_THAN\020\003\022\031\n\025GREATER_THAN_OR_EQU"
+          + "AL\020\004\022\t\n\005EQUAL\020\005\022\r\n\tNOT_EQUAL\020\006\022\022\n\016ARRAY_"
+          + "CONTAINS\020\007\022\006\n\002IN\020\010\022\026\n\022ARRAY_CONTAINS_ANY"
+          + "\020\t\022\n\n\006NOT_IN\020\n\032\212\002\n\013UnaryFilter\022E\n\002op\030\001 \001"
+          + "(\01629.google.firestore.v1.StructuredQuery"
+          + ".UnaryFilter.Operator\022D\n\005field\030\002 \001(\01323.g"
+          + "oogle.firestore.v1.StructuredQuery.Field"
+          + "ReferenceH\000\"^\n\010Operator\022\030\n\024OPERATOR_UNSP"
+          + "ECIFIED\020\000\022\n\n\006IS_NAN\020\002\022\013\n\007IS_NULL\020\003\022\016\n\nIS"
+          + "_NOT_NAN\020\004\022\017\n\013IS_NOT_NULL\020\005B\016\n\014operand_t"
+          + "ype\032\216\001\n\005Order\022B\n\005field\030\001 \001(\01323.google.fi"
+          + "restore.v1.StructuredQuery.FieldReferenc"
+          + "e\022A\n\tdirection\030\002 \001(\0162..google.firestore."
+          + "v1.StructuredQuery.Direction\032$\n\016FieldRef"
+          + "erence\022\022\n\nfield_path\030\002 \001(\t\032Q\n\nProjection"
+          + "\022C\n\006fields\030\002 \003(\01323.google.firestore.v1.S"
+          + "tructuredQuery.FieldReference\"E\n\tDirecti"
+          + "on\022\031\n\025DIRECTION_UNSPECIFIED\020\000\022\r\n\tASCENDI"
+          + "NG\020\001\022\016\n\nDESCENDING\020\002\"\202\003\n\032StructuredAggre"
+          + "gationQuery\022@\n\020structured_query\030\001 \001(\0132$."
+          + "google.firestore.v1.StructuredQueryH\000\022V\n"
+          + "\014aggregations\030\003 \003(\0132;.google.firestore.v"
+          + "1.StructuredAggregationQuery.Aggregation"
+          + "B\003\340A\001\032\273\001\n\013Aggregation\022R\n\005count\030\001 \001(\0132A.g"
+          + "oogle.firestore.v1.StructuredAggregation"
+          + "Query.Aggregation.CountH\000\022\022\n\005alias\030\007 \001(\t"
+          + "B\003\340A\001\0328\n\005Count\022/\n\005up_to\030\001 \001(\0132\033.google.p"
+          + "rotobuf.Int64ValueB\003\340A\001B\n\n\010operatorB\014\n\nq"
+          + "uery_type\"D\n\006Cursor\022*\n\006values\030\001 \003(\0132\032.go"
+          + "ogle.firestore.v1.Value\022\016\n\006before\030\002 \001(\010B"
+          + "\302\001\n\027com.google.firestore.v1B\nQueryProtoP"
+          + "\001Z;cloud.google.com/go/firestore/apiv1/f"
+          + "irestorepb;firestorepb\242\002\004GCFS\252\002\031Google.C"
+          + "loud.Firestore.V1\312\002\031Google\\Cloud\\Firesto"
+          + "re\\V1\352\002\034Google::Cloud::Firestore::V1b\006pr"
+          + "oto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.firestore.v1.DocumentProto.getDescriptor(),
+              com.google.protobuf.WrappersProto.getDescriptor(),
+            });
+    internal_static_google_firestore_v1_StructuredQuery_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredQuery_descriptor,
+            new java.lang.String[] {
+              "Select", "From", "Where", "OrderBy", "StartAt", "EndAt", "Offset", "Limit",
+            });
+    internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor =
+        internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor,
+            new java.lang.String[] {
+              "CollectionId", "AllDescendants",
+            });
+    internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor =
+        internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(1);
+    internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor,
+            new java.lang.String[] {
+              "CompositeFilter", "FieldFilter", "UnaryFilter", "FilterType",
+            });
+    internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor =
+        internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(2);
+    internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor,
+            new java.lang.String[] {
+              "Op", "Filters",
+            });
+    internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor =
+        internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(3);
+    internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor,
+            new java.lang.String[] {
+              "Field", "Op", "Value",
+            });
+    internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor =
+        internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(4);
+    internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor,
+            new java.lang.String[] {
+              "Op", "Field", "OperandType",
+            });
+    internal_static_google_firestore_v1_StructuredQuery_Order_descriptor =
+        internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(5);
+    internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredQuery_Order_descriptor,
+            new java.lang.String[] {
+              "Field", "Direction",
+            });
+    internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor =
+        internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(6);
+    internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor,
+            new java.lang.String[] {
+              "FieldPath",
+            });
+    internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor =
+        internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(7);
+    internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor,
+            new java.lang.String[] {
+              "Fields",
+            });
+    internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor,
+            new java.lang.String[] {
+              "StructuredQuery", "Aggregations", "QueryType",
+            });
+    internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor =
+        internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor,
+            new java.lang.String[] {
+              "Count", "Alias", "Operator",
+            });
+    internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor =
+        internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor,
+            new java.lang.String[] {
+              "UpTo",
+            });
+    internal_static_google_firestore_v1_Cursor_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_v1_Cursor_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_Cursor_descriptor,
+            new java.lang.String[] {
+              "Values", "Before",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.firestore.v1.DocumentProto.getDescriptor();
+    com.google.protobuf.WrappersProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java
index fdc448c73..5f001914d 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback].
  * 
* * Protobuf type {@code google.firestore.v1.RollbackRequest} */ -public final class RollbackRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RollbackRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RollbackRequest) RollbackRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RollbackRequest.newBuilder() to construct. private RollbackRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RollbackRequest() { database_ = ""; transaction_ = com.google.protobuf.ByteString.EMPTY; @@ -26,39 +44,44 @@ private RollbackRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollbackRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RollbackRequest.class, com.google.firestore.v1.RollbackRequest.Builder.class); + com.google.firestore.v1.RollbackRequest.class, + com.google.firestore.v1.RollbackRequest.Builder.class); } public static final int DATABASE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object database_ = ""; /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ @java.lang.Override @@ -67,30 +90,30 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -101,11 +124,14 @@ public java.lang.String getDatabase() { public static final int TRANSACTION_FIELD_NUMBER = 2; private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The transaction. */ @java.lang.Override @@ -114,6 +140,7 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,8 +152,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -146,8 +172,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); } if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, transaction_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -157,17 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.RollbackRequest)) { return super.equals(obj); } com.google.firestore.v1.RollbackRequest other = (com.google.firestore.v1.RollbackRequest) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,130 +211,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.RollbackRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.RollbackRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.RollbackRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.RollbackRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.RollbackRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.RollbackRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.RollbackRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.RollbackRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.RollbackRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.RollbackRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.RollbackRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.RollbackRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.RollbackRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback].
    * 
* * Protobuf type {@code google.firestore.v1.RollbackRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.RollbackRequest) com.google.firestore.v1.RollbackRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RollbackRequest.class, com.google.firestore.v1.RollbackRequest.Builder.class); + com.google.firestore.v1.RollbackRequest.class, + com.google.firestore.v1.RollbackRequest.Builder.class); } // Construct using com.google.firestore.v1.RollbackRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RollbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RollbackRequest_descriptor; } @java.lang.Override @@ -343,8 +372,11 @@ public com.google.firestore.v1.RollbackRequest build() { @java.lang.Override public com.google.firestore.v1.RollbackRequest buildPartial() { - com.google.firestore.v1.RollbackRequest result = new com.google.firestore.v1.RollbackRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.RollbackRequest result = + new com.google.firestore.v1.RollbackRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -363,38 +395,39 @@ private void buildPartial0(com.google.firestore.v1.RollbackRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.RollbackRequest) { - return mergeFrom((com.google.firestore.v1.RollbackRequest)other); + return mergeFrom((com.google.firestore.v1.RollbackRequest) other); } else { super.mergeFrom(other); return this; @@ -437,22 +470,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - database_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - transaction_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + database_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + transaction_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,23 +498,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object database_ = ""; /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -487,21 +526,22 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -509,30 +549,37 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -542,18 +589,22 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -563,11 +614,14 @@ public Builder setDatabaseBytes( private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The transaction. */ @java.lang.Override @@ -575,27 +629,35 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The transaction to roll back.
      * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -604,9 +666,9 @@ public Builder clearTransaction() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +678,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.RollbackRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.RollbackRequest) private static final com.google.firestore.v1.RollbackRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.RollbackRequest(); } @@ -630,27 +692,27 @@ public static com.google.firestore.v1.RollbackRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -665,6 +727,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.RollbackRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java index 30c7378ee..5dae3e0b7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RollbackRequestOrBuilder.java @@ -1,40 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface RollbackRequestOrBuilder extends +public interface RollbackRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.RollbackRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * Required. The transaction to roll back.
    * 
* * bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java index a9829b0c9..9f8f96534 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The request for
  * [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
@@ -11,52 +28,57 @@
  *
  * Protobuf type {@code google.firestore.v1.RunAggregationQueryRequest}
  */
-public final class RunAggregationQueryRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunAggregationQueryRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.RunAggregationQueryRequest)
     RunAggregationQueryRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunAggregationQueryRequest.newBuilder() to construct.
   private RunAggregationQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunAggregationQueryRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunAggregationQueryRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.RunAggregationQueryRequest.class, com.google.firestore.v1.RunAggregationQueryRequest.Builder.class);
+            com.google.firestore.v1.RunAggregationQueryRequest.class,
+            com.google.firestore.v1.RunAggregationQueryRequest.Builder.class);
   }
 
   private int queryTypeCase_ = 0;
   private java.lang.Object queryType_;
+
   public enum QueryTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     STRUCTURED_AGGREGATION_QUERY(2),
     QUERYTYPE_NOT_SET(0);
     private final int value;
+
     private QueryTypeCase(int value) {
       this.value = value;
     }
@@ -72,32 +94,37 @@ public static QueryTypeCase valueOf(int value) {
 
     public static QueryTypeCase forNumber(int value) {
       switch (value) {
-        case 2: return STRUCTURED_AGGREGATION_QUERY;
-        case 0: return QUERYTYPE_NOT_SET;
-        default: return null;
+        case 2:
+          return STRUCTURED_AGGREGATION_QUERY;
+        case 0:
+          return QUERYTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public QueryTypeCase
-  getQueryTypeCase() {
-    return QueryTypeCase.forNumber(
-        queryTypeCase_);
+  public QueryTypeCase getQueryTypeCase() {
+    return QueryTypeCase.forNumber(queryTypeCase_);
   }
 
   private int consistencySelectorCase_ = 0;
   private java.lang.Object consistencySelector_;
+
   public enum ConsistencySelectorCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     TRANSACTION(4),
     NEW_TRANSACTION(5),
     READ_TIME(6),
     CONSISTENCYSELECTOR_NOT_SET(0);
     private final int value;
+
     private ConsistencySelectorCase(int value) {
       this.value = value;
     }
@@ -113,28 +140,35 @@ public static ConsistencySelectorCase valueOf(int value) {
 
     public static ConsistencySelectorCase forNumber(int value) {
       switch (value) {
-        case 4: return TRANSACTION;
-        case 5: return NEW_TRANSACTION;
-        case 6: return READ_TIME;
-        case 0: return CONSISTENCYSELECTOR_NOT_SET;
-        default: return null;
+        case 4:
+          return TRANSACTION;
+        case 5:
+          return NEW_TRANSACTION;
+        case 6:
+          return READ_TIME;
+        case 0:
+          return CONSISTENCYSELECTOR_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ConsistencySelectorCase
-  getConsistencySelectorCase() {
-    return ConsistencySelectorCase.forNumber(
-        consistencySelectorCase_);
+  public ConsistencySelectorCase getConsistencySelectorCase() {
+    return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -145,6 +179,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -153,14 +188,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -171,16 +207,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -190,11 +225,14 @@ public java.lang.String getParent() { public static final int STRUCTURED_AGGREGATION_QUERY_FIELD_NUMBER = 2; /** + * + * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * * @return Whether the structuredAggregationQuery field is set. */ @java.lang.Override @@ -202,21 +240,26 @@ public boolean hasStructuredAggregationQuery() { return queryTypeCase_ == 2; } /** + * + * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * * @return The structuredAggregationQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregationQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; + return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; } return com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance(); } /** + * + * *
    * An aggregation query.
    * 
@@ -224,21 +267,25 @@ public com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregati * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQueryOrBuilder + getStructuredAggregationQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; + return (com.google.firestore.v1.StructuredAggregationQuery) queryType_; } return com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance(); } public static final int TRANSACTION_FIELD_NUMBER = 4; /** + * + * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -246,12 +293,15 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; + * * @return The transaction. */ @java.lang.Override @@ -264,6 +314,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 5; /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -271,6 +323,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -278,6 +331,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -285,16 +340,19 @@ public boolean hasNewTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getNewTransaction() { if (consistencySelectorCase_ == 5) { - return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; } return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); } /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -306,13 +364,15 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencySelectorCase_ == 5) {
-       return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+      return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
     }
     return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * Executes the query at the given timestamp.
    * Requires:
@@ -320,6 +380,7 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -327,6 +388,8 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** + * + * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -334,16 +397,19 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 6) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -355,12 +421,13 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 6) {
-       return (com.google.protobuf.Timestamp) consistencySelector_;
+      return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -372,8 +439,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -381,8 +447,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       output.writeMessage(2, (com.google.firestore.v1.StructuredAggregationQuery) queryType_);
     }
     if (consistencySelectorCase_ == 4) {
-      output.writeBytes(
-          4, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(4, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
       output.writeMessage(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
@@ -403,21 +468,24 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queryTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.firestore.v1.StructuredAggregationQuery) queryType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.firestore.v1.StructuredAggregationQuery) queryType_);
     }
     if (consistencySelectorCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(
-            4, (com.google.protobuf.ByteString) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeBytesSize(
+              4, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
     }
     if (consistencySelectorCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.protobuf.Timestamp) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -427,20 +495,20 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.RunAggregationQueryRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.RunAggregationQueryRequest other = (com.google.firestore.v1.RunAggregationQueryRequest) obj;
+    com.google.firestore.v1.RunAggregationQueryRequest other =
+        (com.google.firestore.v1.RunAggregationQueryRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false;
     switch (queryTypeCase_) {
       case 2:
-        if (!getStructuredAggregationQuery()
-            .equals(other.getStructuredAggregationQuery())) return false;
+        if (!getStructuredAggregationQuery().equals(other.getStructuredAggregationQuery()))
+          return false;
         break;
       case 0:
       default:
@@ -448,16 +516,13 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 4:
-        if (!getTransaction()
-            .equals(other.getTransaction())) return false;
+        if (!getTransaction().equals(other.getTransaction())) return false;
         break;
       case 5:
-        if (!getNewTransaction()
-            .equals(other.getNewTransaction())) return false;
+        if (!getNewTransaction().equals(other.getNewTransaction())) return false;
         break;
       case 6:
-        if (!getReadTime()
-            .equals(other.getReadTime())) return false;
+        if (!getReadTime().equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -505,96 +570,103 @@ public int hashCode() {
   }
 
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.RunAggregationQueryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.RunAggregationQueryRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.RunAggregationQueryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for
    * [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
@@ -602,33 +674,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.RunAggregationQueryRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunAggregationQueryRequest)
       com.google.firestore.v1.RunAggregationQueryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_RunAggregationQueryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.RunAggregationQueryRequest.class, com.google.firestore.v1.RunAggregationQueryRequest.Builder.class);
+              com.google.firestore.v1.RunAggregationQueryRequest.class,
+              com.google.firestore.v1.RunAggregationQueryRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.RunAggregationQueryRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -651,9 +722,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_RunAggregationQueryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -672,8 +743,11 @@ public com.google.firestore.v1.RunAggregationQueryRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.RunAggregationQueryRequest buildPartial() {
-      com.google.firestore.v1.RunAggregationQueryRequest result = new com.google.firestore.v1.RunAggregationQueryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.RunAggregationQueryRequest result =
+          new com.google.firestore.v1.RunAggregationQueryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -689,18 +763,15 @@ private void buildPartial0(com.google.firestore.v1.RunAggregationQueryRequest re
     private void buildPartialOneofs(com.google.firestore.v1.RunAggregationQueryRequest result) {
       result.queryTypeCase_ = queryTypeCase_;
       result.queryType_ = this.queryType_;
-      if (queryTypeCase_ == 2 &&
-          structuredAggregationQueryBuilder_ != null) {
+      if (queryTypeCase_ == 2 && structuredAggregationQueryBuilder_ != null) {
         result.queryType_ = structuredAggregationQueryBuilder_.build();
       }
       result.consistencySelectorCase_ = consistencySelectorCase_;
       result.consistencySelector_ = this.consistencySelector_;
-      if (consistencySelectorCase_ == 5 &&
-          newTransactionBuilder_ != null) {
+      if (consistencySelectorCase_ == 5 && newTransactionBuilder_ != null) {
         result.consistencySelector_ = newTransactionBuilder_.build();
       }
-      if (consistencySelectorCase_ == 6 &&
-          readTimeBuilder_ != null) {
+      if (consistencySelectorCase_ == 6 && readTimeBuilder_ != null) {
         result.consistencySelector_ = readTimeBuilder_.build();
       }
     }
@@ -709,38 +780,39 @@ private void buildPartialOneofs(com.google.firestore.v1.RunAggregationQueryReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.RunAggregationQueryRequest) {
-        return mergeFrom((com.google.firestore.v1.RunAggregationQueryRequest)other);
+        return mergeFrom((com.google.firestore.v1.RunAggregationQueryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -748,37 +820,44 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.RunAggregationQueryRequest other) {
-      if (other == com.google.firestore.v1.RunAggregationQueryRequest.getDefaultInstance()) return this;
+      if (other == com.google.firestore.v1.RunAggregationQueryRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       switch (other.getQueryTypeCase()) {
-        case STRUCTURED_AGGREGATION_QUERY: {
-          mergeStructuredAggregationQuery(other.getStructuredAggregationQuery());
-          break;
-        }
-        case QUERYTYPE_NOT_SET: {
-          break;
-        }
+        case STRUCTURED_AGGREGATION_QUERY:
+          {
+            mergeStructuredAggregationQuery(other.getStructuredAggregationQuery());
+            break;
+          }
+        case QUERYTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getConsistencySelectorCase()) {
-        case TRANSACTION: {
-          setTransaction(other.getTransaction());
-          break;
-        }
-        case NEW_TRANSACTION: {
-          mergeNewTransaction(other.getNewTransaction());
-          break;
-        }
-        case READ_TIME: {
-          mergeReadTime(other.getReadTime());
-          break;
-        }
-        case CONSISTENCYSELECTOR_NOT_SET: {
-          break;
-        }
+        case TRANSACTION:
+          {
+            setTransaction(other.getTransaction());
+            break;
+          }
+        case NEW_TRANSACTION:
+          {
+            mergeNewTransaction(other.getNewTransaction());
+            break;
+          }
+        case READ_TIME:
+          {
+            mergeReadTime(other.getReadTime());
+            break;
+          }
+        case CONSISTENCYSELECTOR_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -806,43 +885,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStructuredAggregationQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              queryTypeCase_ = 2;
-              break;
-            } // case 18
-            case 34: {
-              consistencySelector_ = input.readBytes();
-              consistencySelectorCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getNewTransactionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              consistencySelectorCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              consistencySelectorCase_ = 6;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getStructuredAggregationQueryFieldBuilder().getBuilder(), extensionRegistry);
+                queryTypeCase_ = 2;
+                break;
+              } // case 18
+            case 34:
+              {
+                consistencySelector_ = input.readBytes();
+                consistencySelectorCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getNewTransactionFieldBuilder().getBuilder(), extensionRegistry);
+                consistencySelectorCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                consistencySelectorCase_ = 6;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -852,12 +932,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int queryTypeCase_ = 0;
     private java.lang.Object queryType_;
-    public QueryTypeCase
-        getQueryTypeCase() {
-      return QueryTypeCase.forNumber(
-          queryTypeCase_);
+
+    public QueryTypeCase getQueryTypeCase() {
+      return QueryTypeCase.forNumber(queryTypeCase_);
     }
 
     public Builder clearQueryType() {
@@ -869,10 +949,9 @@ public Builder clearQueryType() {
 
     private int consistencySelectorCase_ = 0;
     private java.lang.Object consistencySelector_;
-    public ConsistencySelectorCase
-        getConsistencySelectorCase() {
-      return ConsistencySelectorCase.forNumber(
-          consistencySelectorCase_);
+
+    public ConsistencySelectorCase getConsistencySelectorCase() {
+      return ConsistencySelectorCase.forNumber(consistencySelectorCase_);
     }
 
     public Builder clearConsistencySelector() {
@@ -886,6 +965,8 @@ public Builder clearConsistencySelector() {
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -896,13 +977,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -911,6 +992,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -921,15 +1004,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -937,6 +1019,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -947,18 +1031,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -969,6 +1057,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -978,6 +1067,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -988,12 +1079,14 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1002,13 +1095,20 @@ public Builder setParentBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery, com.google.firestore.v1.StructuredAggregationQuery.Builder, com.google.firestore.v1.StructuredAggregationQueryOrBuilder> structuredAggregationQueryBuilder_; + com.google.firestore.v1.StructuredAggregationQuery, + com.google.firestore.v1.StructuredAggregationQuery.Builder, + com.google.firestore.v1.StructuredAggregationQueryOrBuilder> + structuredAggregationQueryBuilder_; /** + * + * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * + * * @return Whether the structuredAggregationQuery field is set. */ @java.lang.Override @@ -1016,11 +1116,15 @@ public boolean hasStructuredAggregationQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * + * * @return The structuredAggregationQuery. */ @java.lang.Override @@ -1038,13 +1142,17 @@ public com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregati } } /** + * + * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * */ - public Builder setStructuredAggregationQuery(com.google.firestore.v1.StructuredAggregationQuery value) { + public Builder setStructuredAggregationQuery( + com.google.firestore.v1.StructuredAggregationQuery value) { if (structuredAggregationQueryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1058,11 +1166,14 @@ public Builder setStructuredAggregationQuery(com.google.firestore.v1.StructuredA return this; } /** + * + * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * */ public Builder setStructuredAggregationQuery( com.google.firestore.v1.StructuredAggregationQuery.Builder builderForValue) { @@ -1076,18 +1187,26 @@ public Builder setStructuredAggregationQuery( return this; } /** + * + * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * */ - public Builder mergeStructuredAggregationQuery(com.google.firestore.v1.StructuredAggregationQuery value) { + public Builder mergeStructuredAggregationQuery( + com.google.firestore.v1.StructuredAggregationQuery value) { if (structuredAggregationQueryBuilder_ == null) { - if (queryTypeCase_ == 2 && - queryType_ != com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance()) { - queryType_ = com.google.firestore.v1.StructuredAggregationQuery.newBuilder((com.google.firestore.v1.StructuredAggregationQuery) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 2 + && queryType_ + != com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance()) { + queryType_ = + com.google.firestore.v1.StructuredAggregationQuery.newBuilder( + (com.google.firestore.v1.StructuredAggregationQuery) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -1103,11 +1222,14 @@ public Builder mergeStructuredAggregationQuery(com.google.firestore.v1.Structure return this; } /** + * + * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * */ public Builder clearStructuredAggregationQuery() { if (structuredAggregationQueryBuilder_ == null) { @@ -1126,24 +1248,32 @@ public Builder clearStructuredAggregationQuery() { return this; } /** + * + * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * */ - public com.google.firestore.v1.StructuredAggregationQuery.Builder getStructuredAggregationQueryBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Builder + getStructuredAggregationQueryBuilder() { return getStructuredAggregationQueryFieldBuilder().getBuilder(); } /** + * + * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQueryOrBuilder + getStructuredAggregationQueryOrBuilder() { if ((queryTypeCase_ == 2) && (structuredAggregationQueryBuilder_ != null)) { return structuredAggregationQueryBuilder_.getMessageOrBuilder(); } else { @@ -1154,21 +1284,29 @@ public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructured } } /** + * + * *
      * An aggregation query.
      * 
* - * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery, com.google.firestore.v1.StructuredAggregationQuery.Builder, com.google.firestore.v1.StructuredAggregationQueryOrBuilder> + com.google.firestore.v1.StructuredAggregationQuery, + com.google.firestore.v1.StructuredAggregationQuery.Builder, + com.google.firestore.v1.StructuredAggregationQueryOrBuilder> getStructuredAggregationQueryFieldBuilder() { if (structuredAggregationQueryBuilder_ == null) { if (!(queryTypeCase_ == 2)) { queryType_ = com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance(); } - structuredAggregationQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery, com.google.firestore.v1.StructuredAggregationQuery.Builder, com.google.firestore.v1.StructuredAggregationQueryOrBuilder>( + structuredAggregationQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredAggregationQuery, + com.google.firestore.v1.StructuredAggregationQuery.Builder, + com.google.firestore.v1.StructuredAggregationQueryOrBuilder>( (com.google.firestore.v1.StructuredAggregationQuery) queryType_, getParentForChildren(), isClean()); @@ -1180,24 +1318,30 @@ public com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructured } /** + * + * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 4; } /** + * + * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1207,29 +1351,37 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } consistencySelectorCase_ = 4; consistencySelector_ = value; onChanged(); return this; } /** + * + * *
      * Run the aggregation within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 4; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1242,8 +1394,13 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + newTransactionBuilder_; /** + * + * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1251,6 +1408,7 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1258,6 +1416,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1265,6 +1425,7 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ @java.lang.Override @@ -1282,6 +1443,8 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** + * + * *
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1304,6 +1467,8 @@ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1324,6 +1489,8 @@ public Builder setNewTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1334,10 +1501,14 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencySelectorCase_ == 5 &&
-            consistencySelector_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencySelector_ = com.google.firestore.v1.TransactionOptions.newBuilder((com.google.firestore.v1.TransactionOptions) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 5
+            && consistencySelector_
+                != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.firestore.v1.TransactionOptions.newBuilder(
+                      (com.google.firestore.v1.TransactionOptions) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1353,6 +1524,8 @@ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions va
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1378,6 +1551,8 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1390,6 +1565,8 @@ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1410,6 +1587,8 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction as part of the query, defaulting to read-only.
      * The new transaction ID will be returned as the first response in the
@@ -1419,14 +1598,19 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * .google.firestore.v1.TransactionOptions new_transaction = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> 
+            com.google.firestore.v1.TransactionOptions,
+            com.google.firestore.v1.TransactionOptions.Builder,
+            com.google.firestore.v1.TransactionOptionsOrBuilder>
         getNewTransactionFieldBuilder() {
       if (newTransactionBuilder_ == null) {
         if (!(consistencySelectorCase_ == 5)) {
           consistencySelector_ = com.google.firestore.v1.TransactionOptions.getDefaultInstance();
         }
-        newTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder>(
+        newTransactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.TransactionOptions,
+                com.google.firestore.v1.TransactionOptions.Builder,
+                com.google.firestore.v1.TransactionOptionsOrBuilder>(
                 (com.google.firestore.v1.TransactionOptions) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1438,8 +1622,13 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        readTimeBuilder_;
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1447,6 +1636,7 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1454,6 +1644,8 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 6; } /** + * + * *
      * Executes the query at the given timestamp.
      * Requires:
@@ -1461,6 +1653,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ @java.lang.Override @@ -1478,6 +1671,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Executes the query at the given timestamp.
      * Requires:
@@ -1500,6 +1695,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1508,8 +1705,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 6;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1520,6 +1716,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1530,10 +1728,13 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 6 &&
-            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 6
+            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1549,6 +1750,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1574,6 +1777,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1586,6 +1791,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1606,6 +1813,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Executes the query at the given timestamp.
      * Requires:
@@ -1615,14 +1824,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 6)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1632,9 +1846,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1644,12 +1858,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunAggregationQueryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.RunAggregationQueryRequest)
   private static final com.google.firestore.v1.RunAggregationQueryRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.RunAggregationQueryRequest();
   }
@@ -1658,27 +1872,27 @@ public static com.google.firestore.v1.RunAggregationQueryRequest getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RunAggregationQueryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RunAggregationQueryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1693,6 +1907,4 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.firestore.v1.RunAggregationQueryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
similarity index 82%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
index e5f0943a8..ff91dc2fa 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface RunAggregationQueryRequestOrBuilder extends
+public interface RunAggregationQueryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunAggregationQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -18,10 +36,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -32,60 +53,77 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * * @return Whether the structuredAggregationQuery field is set. */ boolean hasStructuredAggregationQuery(); /** + * + * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; + * * @return The structuredAggregationQuery. */ com.google.firestore.v1.StructuredAggregationQuery getStructuredAggregationQuery(); /** + * + * *
    * An aggregation query.
    * 
* * .google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2; */ - com.google.firestore.v1.StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder(); + com.google.firestore.v1.StructuredAggregationQueryOrBuilder + getStructuredAggregationQueryOrBuilder(); /** + * + * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Run the aggregation within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 4; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -93,10 +131,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -104,10 +145,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 5; + * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** + * + * *
    * Starts a new transaction as part of the query, defaulting to read-only.
    * The new transaction ID will be returned as the first response in the
@@ -119,6 +163,8 @@ public interface RunAggregationQueryRequestOrBuilder extends
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Executes the query at the given timestamp.
    * Requires:
@@ -126,10 +172,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -137,10 +186,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Executes the query at the given timestamp.
    * Requires:
@@ -153,5 +205,6 @@ public interface RunAggregationQueryRequestOrBuilder extends
 
   public com.google.firestore.v1.RunAggregationQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.RunAggregationQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.RunAggregationQueryRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
index 50586baad..d26e887ed 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponse.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The response for
  * [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
@@ -11,53 +28,58 @@
  *
  * Protobuf type {@code google.firestore.v1.RunAggregationQueryResponse}
  */
-public final class RunAggregationQueryResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunAggregationQueryResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.RunAggregationQueryResponse)
     RunAggregationQueryResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunAggregationQueryResponse.newBuilder() to construct.
   private RunAggregationQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunAggregationQueryResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunAggregationQueryResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.RunAggregationQueryResponse.class, com.google.firestore.v1.RunAggregationQueryResponse.Builder.class);
+            com.google.firestore.v1.RunAggregationQueryResponse.class,
+            com.google.firestore.v1.RunAggregationQueryResponse.Builder.class);
   }
 
   public static final int RESULT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.AggregationResult result_;
   /**
+   *
+   *
    * 
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return Whether the result field is set. */ @java.lang.Override @@ -65,19 +87,26 @@ public boolean hasResult() { return result_ != null; } /** + * + * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return The result. */ @java.lang.Override public com.google.firestore.v1.AggregationResult getResult() { - return result_ == null ? com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.firestore.v1.AggregationResult.getDefaultInstance() + : result_; } /** + * + * *
    * A single aggregation result.
    * Not present when reporting partial progress.
@@ -87,12 +116,16 @@ public com.google.firestore.v1.AggregationResult getResult() {
    */
   @java.lang.Override
   public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
-    return result_ == null ? com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_;
+    return result_ == null
+        ? com.google.firestore.v1.AggregationResult.getDefaultInstance()
+        : result_;
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 2;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * The transaction that was started as part of this request.
    * Only present on the first response when the request requested to start
@@ -100,6 +133,7 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
    * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -110,6 +144,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The time at which the aggregate result was computed. This is always
    * monotonically increasing; in this case, the previous AggregationResult in
@@ -121,6 +157,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -128,6 +165,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The time at which the aggregate result was computed. This is always
    * monotonically increasing; in this case, the previous AggregationResult in
@@ -139,6 +178,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ @java.lang.Override @@ -146,6 +186,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The time at which the aggregate result was computed. This is always
    * monotonically increasing; in this case, the previous AggregationResult in
@@ -164,6 +206,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -175,8 +218,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (result_ != null) {
       output.writeMessage(1, getResult());
     }
@@ -196,16 +238,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (result_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getResult());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getResult());
     }
     if (!transaction_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(2, transaction_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transaction_);
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,24 +254,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.RunAggregationQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.RunAggregationQueryResponse other = (com.google.firestore.v1.RunAggregationQueryResponse) obj;
+    com.google.firestore.v1.RunAggregationQueryResponse other =
+        (com.google.firestore.v1.RunAggregationQueryResponse) obj;
 
     if (hasResult() != other.hasResult()) return false;
     if (hasResult()) {
-      if (!getResult()
-          .equals(other.getResult())) return false;
+      if (!getResult().equals(other.getResult())) return false;
     }
-    if (!getTransaction()
-        .equals(other.getTransaction())) return false;
+    if (!getTransaction().equals(other.getTransaction())) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime()
-          .equals(other.getReadTime())) return false;
+      if (!getReadTime().equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -261,96 +298,103 @@ public int hashCode() {
   }
 
   public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.RunAggregationQueryResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.RunAggregationQueryResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.RunAggregationQueryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.RunAggregationQueryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The response for
    * [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
@@ -358,33 +402,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.RunAggregationQueryResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunAggregationQueryResponse)
       com.google.firestore.v1.RunAggregationQueryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_RunAggregationQueryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.RunAggregationQueryResponse.class, com.google.firestore.v1.RunAggregationQueryResponse.Builder.class);
+              com.google.firestore.v1.RunAggregationQueryResponse.class,
+              com.google.firestore.v1.RunAggregationQueryResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.RunAggregationQueryResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -404,9 +447,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_RunAggregationQueryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -425,8 +468,11 @@ public com.google.firestore.v1.RunAggregationQueryResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.RunAggregationQueryResponse buildPartial() {
-      com.google.firestore.v1.RunAggregationQueryResponse result = new com.google.firestore.v1.RunAggregationQueryResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.RunAggregationQueryResponse result =
+          new com.google.firestore.v1.RunAggregationQueryResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -434,17 +480,13 @@ public com.google.firestore.v1.RunAggregationQueryResponse buildPartial() {
     private void buildPartial0(com.google.firestore.v1.RunAggregationQueryResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.result_ = resultBuilder_ == null
-            ? result_
-            : resultBuilder_.build();
+        result.result_ = resultBuilder_ == null ? result_ : resultBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.transaction_ = transaction_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null
-            ? readTime_
-            : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
       }
     }
 
@@ -452,38 +494,39 @@ private void buildPartial0(com.google.firestore.v1.RunAggregationQueryResponse r
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.RunAggregationQueryResponse) {
-        return mergeFrom((com.google.firestore.v1.RunAggregationQueryResponse)other);
+        return mergeFrom((com.google.firestore.v1.RunAggregationQueryResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -491,7 +534,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.RunAggregationQueryResponse other) {
-      if (other == com.google.firestore.v1.RunAggregationQueryResponse.getDefaultInstance()) return this;
+      if (other == com.google.firestore.v1.RunAggregationQueryResponse.getDefaultInstance())
+        return this;
       if (other.hasResult()) {
         mergeResult(other.getResult());
       }
@@ -527,31 +571,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getResultFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              transaction_ = input.readBytes();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getResultFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                transaction_ = input.readBytes();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -561,40 +605,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.firestore.v1.AggregationResult result_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.AggregationResult, com.google.firestore.v1.AggregationResult.Builder, com.google.firestore.v1.AggregationResultOrBuilder> resultBuilder_;
+            com.google.firestore.v1.AggregationResult,
+            com.google.firestore.v1.AggregationResult.Builder,
+            com.google.firestore.v1.AggregationResultOrBuilder>
+        resultBuilder_;
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
      * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return Whether the result field is set. */ public boolean hasResult() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * A single aggregation result.
      * Not present when reporting partial progress.
      * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return The result. */ public com.google.firestore.v1.AggregationResult getResult() { if (resultBuilder_ == null) { - return result_ == null ? com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_; + return result_ == null + ? com.google.firestore.v1.AggregationResult.getDefaultInstance() + : result_; } else { return resultBuilder_.getMessage(); } } /** + * + * *
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -616,6 +674,8 @@ public Builder setResult(com.google.firestore.v1.AggregationResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -623,8 +683,7 @@ public Builder setResult(com.google.firestore.v1.AggregationResult value) {
      *
      * .google.firestore.v1.AggregationResult result = 1;
      */
-    public Builder setResult(
-        com.google.firestore.v1.AggregationResult.Builder builderForValue) {
+    public Builder setResult(com.google.firestore.v1.AggregationResult.Builder builderForValue) {
       if (resultBuilder_ == null) {
         result_ = builderForValue.build();
       } else {
@@ -635,6 +694,8 @@ public Builder setResult(
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -644,9 +705,9 @@ public Builder setResult(
      */
     public Builder mergeResult(com.google.firestore.v1.AggregationResult value) {
       if (resultBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          result_ != null &&
-          result_ != com.google.firestore.v1.AggregationResult.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && result_ != null
+            && result_ != com.google.firestore.v1.AggregationResult.getDefaultInstance()) {
           getResultBuilder().mergeFrom(value);
         } else {
           result_ = value;
@@ -659,6 +720,8 @@ public Builder mergeResult(com.google.firestore.v1.AggregationResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -677,6 +740,8 @@ public Builder clearResult() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -690,6 +755,8 @@ public com.google.firestore.v1.AggregationResult.Builder getResultBuilder() {
       return getResultFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -701,11 +768,14 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
       if (resultBuilder_ != null) {
         return resultBuilder_.getMessageOrBuilder();
       } else {
-        return result_ == null ?
-            com.google.firestore.v1.AggregationResult.getDefaultInstance() : result_;
+        return result_ == null
+            ? com.google.firestore.v1.AggregationResult.getDefaultInstance()
+            : result_;
       }
     }
     /**
+     *
+     *
      * 
      * A single aggregation result.
      * Not present when reporting partial progress.
@@ -714,14 +784,17 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
      * .google.firestore.v1.AggregationResult result = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.AggregationResult, com.google.firestore.v1.AggregationResult.Builder, com.google.firestore.v1.AggregationResultOrBuilder> 
+            com.google.firestore.v1.AggregationResult,
+            com.google.firestore.v1.AggregationResult.Builder,
+            com.google.firestore.v1.AggregationResultOrBuilder>
         getResultFieldBuilder() {
       if (resultBuilder_ == null) {
-        resultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.AggregationResult, com.google.firestore.v1.AggregationResult.Builder, com.google.firestore.v1.AggregationResultOrBuilder>(
-                getResult(),
-                getParentForChildren(),
-                isClean());
+        resultBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.AggregationResult,
+                com.google.firestore.v1.AggregationResult.Builder,
+                com.google.firestore.v1.AggregationResultOrBuilder>(
+                getResult(), getParentForChildren(), isClean());
         result_ = null;
       }
       return resultBuilder_;
@@ -729,6 +802,8 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -736,6 +811,7 @@ public com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder() {
      * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -743,6 +819,8 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -750,17 +828,22 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 2; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The transaction that was started as part of this request.
      * Only present on the first response when the request requested to start
@@ -768,6 +851,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -779,8 +863,13 @@ public Builder clearTransaction() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The time at which the aggregate result was computed. This is always
      * monotonically increasing; in this case, the previous AggregationResult in
@@ -792,12 +881,15 @@ public Builder clearTransaction() {
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which the aggregate result was computed. This is always
      * monotonically increasing; in this case, the previous AggregationResult in
@@ -809,6 +901,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -819,6 +912,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The time at which the aggregate result was computed. This is always
      * monotonically increasing; in this case, the previous AggregationResult in
@@ -845,6 +940,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the aggregate result was computed. This is always
      * monotonically increasing; in this case, the previous AggregationResult in
@@ -857,8 +954,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 3;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -869,6 +965,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the aggregate result was computed. This is always
      * monotonically increasing; in this case, the previous AggregationResult in
@@ -883,9 +981,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -898,6 +996,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the aggregate result was computed. This is always
      * monotonically increasing; in this case, the previous AggregationResult in
@@ -921,6 +1021,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the aggregate result was computed. This is always
      * monotonically increasing; in this case, the previous AggregationResult in
@@ -939,6 +1041,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which the aggregate result was computed. This is always
      * monotonically increasing; in this case, the previous AggregationResult in
@@ -955,11 +1059,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which the aggregate result was computed. This is always
      * monotonically increasing; in this case, the previous AggregationResult in
@@ -973,21 +1078,24 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(),
-                getParentForChildren(),
-                isClean());
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(), getParentForChildren(), isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -997,12 +1105,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunAggregationQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.RunAggregationQueryResponse)
   private static final com.google.firestore.v1.RunAggregationQueryResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.RunAggregationQueryResponse();
   }
@@ -1011,27 +1119,27 @@ public static com.google.firestore.v1.RunAggregationQueryResponse getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RunAggregationQueryResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RunAggregationQueryResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1046,6 +1154,4 @@ public com.google.protobuf.Parser getParserForType(
   public com.google.firestore.v1.RunAggregationQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java
index b9a87d25f..e6c7fb085 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunAggregationQueryResponseOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface RunAggregationQueryResponseOrBuilder extends
+public interface RunAggregationQueryResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunAggregationQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return Whether the result field is set. */ boolean hasResult(); /** + * + * *
    * A single aggregation result.
    * Not present when reporting partial progress.
    * 
* * .google.firestore.v1.AggregationResult result = 1; + * * @return The result. */ com.google.firestore.v1.AggregationResult getResult(); /** + * + * *
    * A single aggregation result.
    * Not present when reporting partial progress.
@@ -38,6 +62,8 @@ public interface RunAggregationQueryResponseOrBuilder extends
   com.google.firestore.v1.AggregationResultOrBuilder getResultOrBuilder();
 
   /**
+   *
+   *
    * 
    * The transaction that was started as part of this request.
    * Only present on the first response when the request requested to start
@@ -45,11 +71,14 @@ public interface RunAggregationQueryResponseOrBuilder extends
    * 
* * bytes transaction = 2; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * The time at which the aggregate result was computed. This is always
    * monotonically increasing; in this case, the previous AggregationResult in
@@ -61,10 +90,13 @@ public interface RunAggregationQueryResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The time at which the aggregate result was computed. This is always
    * monotonically increasing; in this case, the previous AggregationResult in
@@ -76,10 +108,13 @@ public interface RunAggregationQueryResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The time at which the aggregate result was computed. This is always
    * monotonically increasing; in this case, the previous AggregationResult in
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java
index bb67385a4..18b627e12 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequest.java
@@ -1,61 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
  * 
* * Protobuf type {@code google.firestore.v1.RunQueryRequest} */ -public final class RunQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RunQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.RunQueryRequest) RunQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RunQueryRequest.newBuilder() to construct. private RunQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RunQueryRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunQueryRequest.class, com.google.firestore.v1.RunQueryRequest.Builder.class); + com.google.firestore.v1.RunQueryRequest.class, + com.google.firestore.v1.RunQueryRequest.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; + public enum QueryTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; + private QueryTypeCase(int value) { this.value = value; } @@ -71,32 +93,37 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 2: return STRUCTURED_QUERY; - case 0: return QUERYTYPE_NOT_SET; - default: return null; + case 2: + return STRUCTURED_QUERY; + case 0: + return QUERYTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueryTypeCase - getQueryTypeCase() { - return QueryTypeCase.forNumber( - queryTypeCase_); + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(5), NEW_TRANSACTION(6), READ_TIME(7), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -112,28 +139,35 @@ public static ConsistencySelectorCase valueOf(int value) { public static ConsistencySelectorCase forNumber(int value) { switch (value) { - case 5: return TRANSACTION; - case 6: return NEW_TRANSACTION; - case 7: return READ_TIME; - case 0: return CONSISTENCYSELECTOR_NOT_SET; - default: return null; + case 5: + return TRANSACTION; + case 6: + return NEW_TRANSACTION; + case 7: + return READ_TIME; + case 0: + return CONSISTENCYSELECTOR_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConsistencySelectorCase - getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber( - consistencySelectorCase_); + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -144,6 +178,7 @@ public int getNumber() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -152,14 +187,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -170,16 +206,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -189,11 +224,14 @@ public java.lang.String getParent() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** + * + * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -201,21 +239,26 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** + * + * *
    * A structured query.
    * 
@@ -225,19 +268,22 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } public static final int TRANSACTION_FIELD_NUMBER = 5; /** + * + * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -245,12 +291,15 @@ public boolean hasTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; + * * @return The transaction. */ @java.lang.Override @@ -263,6 +312,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 6; /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -271,6 +322,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -278,6 +330,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 6; } /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -286,16 +340,19 @@ public boolean hasNewTransaction() {
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return The newTransaction. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions getNewTransaction() { if (consistencySelectorCase_ == 6) { - return (com.google.firestore.v1.TransactionOptions) consistencySelector_; + return (com.google.firestore.v1.TransactionOptions) consistencySelector_; } return com.google.firestore.v1.TransactionOptions.getDefaultInstance(); } /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -308,19 +365,22 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencySelectorCase_ == 6) {
-       return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
+      return (com.google.firestore.v1.TransactionOptions) consistencySelector_;
     }
     return com.google.firestore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -328,22 +388,27 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 7) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -354,12 +419,13 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencySelectorCase_ == 7) {
-       return (com.google.protobuf.Timestamp) consistencySelector_;
+      return (com.google.protobuf.Timestamp) consistencySelector_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -371,8 +437,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -380,8 +445,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       output.writeMessage(2, (com.google.firestore.v1.StructuredQuery) queryType_);
     }
     if (consistencySelectorCase_ == 5) {
-      output.writeBytes(
-          5, (com.google.protobuf.ByteString) consistencySelector_);
+      output.writeBytes(5, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 6) {
       output.writeMessage(6, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
@@ -402,21 +466,24 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (queryTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery) queryType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.firestore.v1.StructuredQuery) queryType_);
     }
     if (consistencySelectorCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(
-            5, (com.google.protobuf.ByteString) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeBytesSize(
+              5, (com.google.protobuf.ByteString) consistencySelector_);
     }
     if (consistencySelectorCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.firestore.v1.TransactionOptions) consistencySelector_);
     }
     if (consistencySelectorCase_ == 7) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, (com.google.protobuf.Timestamp) consistencySelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              7, (com.google.protobuf.Timestamp) consistencySelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -426,20 +493,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.RunQueryRequest)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.RunQueryRequest other = (com.google.firestore.v1.RunQueryRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false;
     switch (queryTypeCase_) {
       case 2:
-        if (!getStructuredQuery()
-            .equals(other.getStructuredQuery())) return false;
+        if (!getStructuredQuery().equals(other.getStructuredQuery())) return false;
         break;
       case 0:
       default:
@@ -447,16 +512,13 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
     switch (consistencySelectorCase_) {
       case 5:
-        if (!getTransaction()
-            .equals(other.getTransaction())) return false;
+        if (!getTransaction().equals(other.getTransaction())) return false;
         break;
       case 6:
-        if (!getNewTransaction()
-            .equals(other.getNewTransaction())) return false;
+        if (!getNewTransaction().equals(other.getNewTransaction())) return false;
         break;
       case 7:
-        if (!getReadTime()
-            .equals(other.getReadTime())) return false;
+        if (!getReadTime().equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -503,130 +565,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.RunQueryRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.RunQueryRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.RunQueryRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.RunQueryRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.RunQueryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.RunQueryRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.RunQueryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.RunQueryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.RunQueryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
    * 
* * Protobuf type {@code google.firestore.v1.RunQueryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunQueryRequest) com.google.firestore.v1.RunQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.RunQueryRequest.class, com.google.firestore.v1.RunQueryRequest.Builder.class); + com.google.firestore.v1.RunQueryRequest.class, + com.google.firestore.v1.RunQueryRequest.Builder.class); } // Construct using com.google.firestore.v1.RunQueryRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -649,9 +717,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_RunQueryRequest_descriptor; } @java.lang.Override @@ -670,8 +738,11 @@ public com.google.firestore.v1.RunQueryRequest build() { @java.lang.Override public com.google.firestore.v1.RunQueryRequest buildPartial() { - com.google.firestore.v1.RunQueryRequest result = new com.google.firestore.v1.RunQueryRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.RunQueryRequest result = + new com.google.firestore.v1.RunQueryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -687,18 +758,15 @@ private void buildPartial0(com.google.firestore.v1.RunQueryRequest result) { private void buildPartialOneofs(com.google.firestore.v1.RunQueryRequest result) { result.queryTypeCase_ = queryTypeCase_; result.queryType_ = this.queryType_; - if (queryTypeCase_ == 2 && - structuredQueryBuilder_ != null) { + if (queryTypeCase_ == 2 && structuredQueryBuilder_ != null) { result.queryType_ = structuredQueryBuilder_.build(); } result.consistencySelectorCase_ = consistencySelectorCase_; result.consistencySelector_ = this.consistencySelector_; - if (consistencySelectorCase_ == 6 && - newTransactionBuilder_ != null) { + if (consistencySelectorCase_ == 6 && newTransactionBuilder_ != null) { result.consistencySelector_ = newTransactionBuilder_.build(); } - if (consistencySelectorCase_ == 7 && - readTimeBuilder_ != null) { + if (consistencySelectorCase_ == 7 && readTimeBuilder_ != null) { result.consistencySelector_ = readTimeBuilder_.build(); } } @@ -707,38 +775,39 @@ private void buildPartialOneofs(com.google.firestore.v1.RunQueryRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.RunQueryRequest) { - return mergeFrom((com.google.firestore.v1.RunQueryRequest)other); + return mergeFrom((com.google.firestore.v1.RunQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -753,30 +822,36 @@ public Builder mergeFrom(com.google.firestore.v1.RunQueryRequest other) { onChanged(); } switch (other.getQueryTypeCase()) { - case STRUCTURED_QUERY: { - mergeStructuredQuery(other.getStructuredQuery()); - break; - } - case QUERYTYPE_NOT_SET: { - break; - } + case STRUCTURED_QUERY: + { + mergeStructuredQuery(other.getStructuredQuery()); + break; + } + case QUERYTYPE_NOT_SET: + { + break; + } } switch (other.getConsistencySelectorCase()) { - case TRANSACTION: { - setTransaction(other.getTransaction()); - break; - } - case NEW_TRANSACTION: { - mergeNewTransaction(other.getNewTransaction()); - break; - } - case READ_TIME: { - mergeReadTime(other.getReadTime()); - break; - } - case CONSISTENCYSELECTOR_NOT_SET: { - break; - } + case TRANSACTION: + { + setTransaction(other.getTransaction()); + break; + } + case NEW_TRANSACTION: + { + mergeNewTransaction(other.getNewTransaction()); + break; + } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYSELECTOR_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -804,43 +879,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getStructuredQueryFieldBuilder().getBuilder(), - extensionRegistry); - queryTypeCase_ = 2; - break; - } // case 18 - case 42: { - consistencySelector_ = input.readBytes(); - consistencySelectorCase_ = 5; - break; - } // case 42 - case 50: { - input.readMessage( - getNewTransactionFieldBuilder().getBuilder(), - extensionRegistry); - consistencySelectorCase_ = 6; - break; - } // case 50 - case 58: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - consistencySelectorCase_ = 7; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry); + queryTypeCase_ = 2; + break; + } // case 18 + case 42: + { + consistencySelector_ = input.readBytes(); + consistencySelectorCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage(getNewTransactionFieldBuilder().getBuilder(), extensionRegistry); + consistencySelectorCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + consistencySelectorCase_ = 7; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -850,12 +925,12 @@ public Builder mergeFrom( } // finally return this; } + private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public QueryTypeCase - getQueryTypeCase() { - return QueryTypeCase.forNumber( - queryTypeCase_); + + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); } public Builder clearQueryType() { @@ -867,10 +942,9 @@ public Builder clearQueryType() { private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public ConsistencySelectorCase - getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber( - consistencySelectorCase_); + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); } public Builder clearConsistencySelector() { @@ -884,6 +958,8 @@ public Builder clearConsistencySelector() { private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -894,13 +970,13 @@ public Builder clearConsistencySelector() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -909,6 +985,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -919,15 +997,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -935,6 +1012,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -945,18 +1024,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -967,6 +1050,7 @@ public Builder setParent(
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -976,6 +1060,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -986,12 +1072,14 @@ public Builder clearParent() {
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1000,13 +1088,19 @@ public Builder setParentBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_; + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> + structuredQueryBuilder_; /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1014,11 +1108,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -1036,6 +1133,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * A structured query.
      * 
@@ -1056,6 +1155,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
      * A structured query.
      * 
@@ -1074,6 +1175,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
      * A structured query.
      * 
@@ -1082,10 +1185,13 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 2 && - queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 2 + && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = + com.google.firestore.v1.StructuredQuery.newBuilder( + (com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -1101,6 +1207,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
      * A structured query.
      * 
@@ -1124,6 +1232,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
      * A structured query.
      * 
@@ -1134,6 +1244,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
      * A structured query.
      * 
@@ -1152,6 +1264,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
      * A structured query.
      * 
@@ -1159,14 +1273,19 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil * .google.firestore.v1.StructuredQuery structured_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> getStructuredQueryFieldBuilder() { if (structuredQueryBuilder_ == null) { if (!(queryTypeCase_ == 2)) { queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } - structuredQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder>( + structuredQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder>( (com.google.firestore.v1.StructuredQuery) queryType_, getParentForChildren(), isClean()); @@ -1178,24 +1297,30 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } /** + * + * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencySelectorCase_ == 5; } /** + * + * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1205,29 +1330,37 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } consistencySelectorCase_ = 5; consistencySelector_ = value; onChanged(); return this; } /** + * + * *
      * Run the query within an already active transaction.
      * The value here is the opaque transaction ID to execute the query in.
      * 
* * bytes transaction = 5; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1240,8 +1373,13 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; + com.google.firestore.v1.TransactionOptions, + com.google.firestore.v1.TransactionOptions.Builder, + com.google.firestore.v1.TransactionOptionsOrBuilder> + newTransactionBuilder_; /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1250,6 +1388,7 @@ public Builder clearTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1257,6 +1396,8 @@ public boolean hasNewTransaction() { return consistencySelectorCase_ == 6; } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1265,6 +1406,7 @@ public boolean hasNewTransaction() {
      * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return The newTransaction. */ @java.lang.Override @@ -1282,6 +1424,8 @@ public com.google.firestore.v1.TransactionOptions getNewTransaction() { } } /** + * + * *
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1305,6 +1449,8 @@ public Builder setNewTransaction(com.google.firestore.v1.TransactionOptions valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1326,6 +1472,8 @@ public Builder setNewTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1337,10 +1485,14 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencySelectorCase_ == 6 &&
-            consistencySelector_ != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencySelector_ = com.google.firestore.v1.TransactionOptions.newBuilder((com.google.firestore.v1.TransactionOptions) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 6
+            && consistencySelector_
+                != com.google.firestore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.firestore.v1.TransactionOptions.newBuilder(
+                      (com.google.firestore.v1.TransactionOptions) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1356,6 +1508,8 @@ public Builder mergeNewTransaction(com.google.firestore.v1.TransactionOptions va
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1382,6 +1536,8 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1395,6 +1551,8 @@ public com.google.firestore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1416,6 +1574,8 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Starts a new transaction and reads the documents.
      * Defaults to a read-only transaction.
@@ -1426,14 +1586,19 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * .google.firestore.v1.TransactionOptions new_transaction = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder> 
+            com.google.firestore.v1.TransactionOptions,
+            com.google.firestore.v1.TransactionOptions.Builder,
+            com.google.firestore.v1.TransactionOptionsOrBuilder>
         getNewTransactionFieldBuilder() {
       if (newTransactionBuilder_ == null) {
         if (!(consistencySelectorCase_ == 6)) {
           consistencySelector_ = com.google.firestore.v1.TransactionOptions.getDefaultInstance();
         }
-        newTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.TransactionOptions, com.google.firestore.v1.TransactionOptions.Builder, com.google.firestore.v1.TransactionOptionsOrBuilder>(
+        newTransactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.TransactionOptions,
+                com.google.firestore.v1.TransactionOptions.Builder,
+                com.google.firestore.v1.TransactionOptionsOrBuilder>(
                 (com.google.firestore.v1.TransactionOptions) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1445,14 +1610,20 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        readTimeBuilder_;
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1460,12 +1631,15 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 7; } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ @java.lang.Override @@ -1483,6 +1657,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1504,6 +1680,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1511,8 +1689,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 7;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         consistencySelector_ = builderForValue.build();
         onChanged();
@@ -1523,6 +1700,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1532,10 +1711,13 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencySelectorCase_ == 7 &&
-            consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
-              .mergeFrom(value).buildPartial();
+        if (consistencySelectorCase_ == 7
+            && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencySelector_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) consistencySelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencySelector_ = value;
         }
@@ -1551,6 +1733,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1575,6 +1759,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1586,6 +1772,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1605,6 +1793,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads documents as they were at the given time.
      * This may not be older than 270 seconds.
@@ -1613,14 +1803,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencySelectorCase_ == 7)) {
           consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) consistencySelector_,
                 getParentForChildren(),
                 isClean());
@@ -1630,9 +1825,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1642,12 +1837,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunQueryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.RunQueryRequest)
   private static final com.google.firestore.v1.RunQueryRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.RunQueryRequest();
   }
@@ -1656,27 +1851,27 @@ public static com.google.firestore.v1.RunQueryRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RunQueryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RunQueryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1691,6 +1886,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.RunQueryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
index 62a4acba0..b6c813a6b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface RunQueryRequestOrBuilder extends
+public interface RunQueryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunQueryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -18,10 +36,13 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource name. In the format:
    * `projects/{project_id}/databases/{database_id}/documents` or
@@ -32,30 +53,38 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** + * + * *
    * A structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** + * + * *
    * A structured query.
    * 
@@ -65,27 +94,35 @@ public interface RunQueryRequestOrBuilder extends com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); /** + * + * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * Run the query within an already active transaction.
    * The value here is the opaque transaction ID to execute the query in.
    * 
* * bytes transaction = 5; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -94,10 +131,13 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -106,10 +146,13 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * .google.firestore.v1.TransactionOptions new_transaction = 6; + * * @return The newTransaction. */ com.google.firestore.v1.TransactionOptions getNewTransaction(); /** + * + * *
    * Starts a new transaction and reads the documents.
    * Defaults to a read-only transaction.
@@ -122,26 +165,34 @@ public interface RunQueryRequestOrBuilder extends
   com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads documents as they were at the given time.
    * This may not be older than 270 seconds.
@@ -153,5 +204,6 @@ public interface RunQueryRequestOrBuilder extends
 
   public com.google.firestore.v1.RunQueryRequest.QueryTypeCase getQueryTypeCase();
 
-  public com.google.firestore.v1.RunQueryRequest.ConsistencySelectorCase getConsistencySelectorCase();
+  public com.google.firestore.v1.RunQueryRequest.ConsistencySelectorCase
+      getConsistencySelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
index 9ad5bc4d7..edff7d0c5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The response for
  * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
@@ -11,52 +28,57 @@
  *
  * Protobuf type {@code google.firestore.v1.RunQueryResponse}
  */
-public final class RunQueryResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunQueryResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.RunQueryResponse)
     RunQueryResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunQueryResponse.newBuilder() to construct.
   private RunQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunQueryResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunQueryResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_RunQueryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.RunQueryResponse.class, com.google.firestore.v1.RunQueryResponse.Builder.class);
+            com.google.firestore.v1.RunQueryResponse.class,
+            com.google.firestore.v1.RunQueryResponse.Builder.class);
   }
 
   private int continuationSelectorCase_ = 0;
   private java.lang.Object continuationSelector_;
+
   public enum ContinuationSelectorCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DONE(6),
     CONTINUATIONSELECTOR_NOT_SET(0);
     private final int value;
+
     private ContinuationSelectorCase(int value) {
       this.value = value;
     }
@@ -72,25 +94,29 @@ public static ContinuationSelectorCase valueOf(int value) {
 
     public static ContinuationSelectorCase forNumber(int value) {
       switch (value) {
-        case 6: return DONE;
-        case 0: return CONTINUATIONSELECTOR_NOT_SET;
-        default: return null;
+        case 6:
+          return DONE;
+        case 0:
+          return CONTINUATIONSELECTOR_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ContinuationSelectorCase
-  getContinuationSelectorCase() {
-    return ContinuationSelectorCase.forNumber(
-        continuationSelectorCase_);
+  public ContinuationSelectorCase getContinuationSelectorCase() {
+    return ContinuationSelectorCase.forNumber(continuationSelectorCase_);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 2;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * The transaction that was started as part of this request.
    * Can only be set in the first response, and only if
@@ -100,6 +126,7 @@ public int getNumber() {
    * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -110,11 +137,14 @@ public com.google.protobuf.ByteString getTransaction() { public static final int DOCUMENT_FIELD_NUMBER = 1; private com.google.firestore.v1.Document document_; /** + * + * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return Whether the document field is set. */ @java.lang.Override @@ -122,11 +152,14 @@ public boolean hasDocument() { return document_ != null; } /** + * + * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return The document. */ @java.lang.Override @@ -134,6 +167,8 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** + * + * *
    * A query result, not set when reporting partial progress.
    * 
@@ -148,6 +183,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -158,6 +195,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -165,6 +203,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -175,6 +215,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ @java.lang.Override @@ -182,6 +223,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -201,12 +244,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int SKIPPED_RESULTS_FIELD_NUMBER = 4;
   private int skippedResults_ = 0;
   /**
+   *
+   *
    * 
    * The number of results that have been skipped due to an offset between
    * the last response and the current response.
    * 
* * int32 skipped_results = 4; + * * @return The skippedResults. */ @java.lang.Override @@ -216,12 +262,15 @@ public int getSkippedResults() { public static final int DONE_FIELD_NUMBER = 6; /** + * + * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; + * * @return Whether the done field is set. */ @java.lang.Override @@ -229,12 +278,15 @@ public boolean hasDone() { return continuationSelectorCase_ == 6; } /** + * + * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; + * * @return The done. */ @java.lang.Override @@ -246,6 +298,7 @@ public boolean getDone() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (document_ != null) { output.writeMessage(1, getDocument()); } @@ -272,8 +324,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeInt32(4, skippedResults_); } if (continuationSelectorCase_ == 6) { - output.writeBool( - 6, (boolean)((java.lang.Boolean) continuationSelector_)); + output.writeBool(6, (boolean) ((java.lang.Boolean) continuationSelector_)); } getUnknownFields().writeTo(output); } @@ -285,25 +336,21 @@ public int getSerializedSize() { size = 0; if (document_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDocument()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDocument()); } if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, transaction_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, transaction_); } if (readTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getReadTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReadTime()); } if (skippedResults_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, skippedResults_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, skippedResults_); } if (continuationSelectorCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 6, (boolean)((java.lang.Boolean) continuationSelector_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 6, (boolean) ((java.lang.Boolean) continuationSelector_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -313,32 +360,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.RunQueryResponse)) { return super.equals(obj); } com.google.firestore.v1.RunQueryResponse other = (com.google.firestore.v1.RunQueryResponse) obj; - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; if (hasDocument() != other.hasDocument()) return false; if (hasDocument()) { - if (!getDocument() - .equals(other.getDocument())) return false; + if (!getDocument().equals(other.getDocument())) return false; } if (hasReadTime() != other.hasReadTime()) return false; if (hasReadTime()) { - if (!getReadTime() - .equals(other.getReadTime())) return false; + if (!getReadTime().equals(other.getReadTime())) return false; } - if (getSkippedResults() - != other.getSkippedResults()) return false; + if (getSkippedResults() != other.getSkippedResults()) return false; if (!getContinuationSelectorCase().equals(other.getContinuationSelectorCase())) return false; switch (continuationSelectorCase_) { case 6: - if (getDone() - != other.getDone()) return false; + if (getDone() != other.getDone()) return false; break; case 0: default: @@ -369,8 +411,7 @@ public int hashCode() { switch (continuationSelectorCase_) { case 6: hash = (37 * hash) + DONE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDone()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDone()); break; case 0: default: @@ -380,97 +421,104 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.RunQueryResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.RunQueryResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.RunQueryResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.RunQueryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.RunQueryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.RunQueryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.RunQueryResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.RunQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.RunQueryResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.RunQueryResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.RunQueryResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.RunQueryResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.RunQueryResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.RunQueryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.RunQueryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response for
    * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
@@ -478,33 +526,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.RunQueryResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.RunQueryResponse)
       com.google.firestore.v1.RunQueryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_RunQueryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_RunQueryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.RunQueryResponse.class, com.google.firestore.v1.RunQueryResponse.Builder.class);
+              com.google.firestore.v1.RunQueryResponse.class,
+              com.google.firestore.v1.RunQueryResponse.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.RunQueryResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -527,9 +574,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_RunQueryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_RunQueryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -548,8 +595,11 @@ public com.google.firestore.v1.RunQueryResponse build() {
 
     @java.lang.Override
     public com.google.firestore.v1.RunQueryResponse buildPartial() {
-      com.google.firestore.v1.RunQueryResponse result = new com.google.firestore.v1.RunQueryResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.RunQueryResponse result =
+          new com.google.firestore.v1.RunQueryResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -561,14 +611,10 @@ private void buildPartial0(com.google.firestore.v1.RunQueryResponse result) {
         result.transaction_ = transaction_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.document_ = documentBuilder_ == null
-            ? document_
-            : documentBuilder_.build();
+        result.document_ = documentBuilder_ == null ? document_ : documentBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.readTime_ = readTimeBuilder_ == null
-            ? readTime_
-            : readTimeBuilder_.build();
+        result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.skippedResults_ = skippedResults_;
@@ -584,38 +630,39 @@ private void buildPartialOneofs(com.google.firestore.v1.RunQueryResponse result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.RunQueryResponse) {
-        return mergeFrom((com.google.firestore.v1.RunQueryResponse)other);
+        return mergeFrom((com.google.firestore.v1.RunQueryResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -637,13 +684,15 @@ public Builder mergeFrom(com.google.firestore.v1.RunQueryResponse other) {
         setSkippedResults(other.getSkippedResults());
       }
       switch (other.getContinuationSelectorCase()) {
-        case DONE: {
-          setDone(other.getDone());
-          break;
-        }
-        case CONTINUATIONSELECTOR_NOT_SET: {
-          break;
-        }
+        case DONE:
+          {
+            setDone(other.getDone());
+            break;
+          }
+        case CONTINUATIONSELECTOR_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -671,41 +720,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getDocumentFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 10
-            case 18: {
-              transaction_ = input.readBytes();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getReadTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              skippedResults_ = input.readInt32();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 48: {
-              continuationSelector_ = input.readBool();
-              continuationSelectorCase_ = 6;
-              break;
-            } // case 48
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 10
+            case 18:
+              {
+                transaction_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                skippedResults_ = input.readInt32();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 48:
+              {
+                continuationSelector_ = input.readBool();
+                continuationSelectorCase_ = 6;
+                break;
+              } // case 48
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -715,12 +766,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int continuationSelectorCase_ = 0;
     private java.lang.Object continuationSelector_;
-    public ContinuationSelectorCase
-        getContinuationSelectorCase() {
-      return ContinuationSelectorCase.forNumber(
-          continuationSelectorCase_);
+
+    public ContinuationSelectorCase getContinuationSelectorCase() {
+      return ContinuationSelectorCase.forNumber(continuationSelectorCase_);
     }
 
     public Builder clearContinuationSelector() {
@@ -734,6 +785,8 @@ public Builder clearContinuationSelector() {
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * The transaction that was started as part of this request.
      * Can only be set in the first response, and only if
@@ -743,6 +796,7 @@ public Builder clearContinuationSelector() {
      * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -750,6 +804,8 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * The transaction that was started as part of this request.
      * Can only be set in the first response, and only if
@@ -759,17 +815,22 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 2; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The transaction that was started as part of this request.
      * Can only be set in the first response, and only if
@@ -779,6 +840,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -790,34 +852,47 @@ public Builder clearTransaction() { private com.google.firestore.v1.Document document_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_; + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + documentBuilder_; /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
* * .google.firestore.v1.Document document = 1; + * * @return Whether the document field is set. */ public boolean hasDocument() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
* * .google.firestore.v1.Document document = 1; + * * @return The document. */ public com.google.firestore.v1.Document getDocument() { if (documentBuilder_ == null) { - return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; } else { return documentBuilder_.getMessage(); } } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -838,14 +913,15 @@ public Builder setDocument(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
* * .google.firestore.v1.Document document = 1; */ - public Builder setDocument( - com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { document_ = builderForValue.build(); } else { @@ -856,6 +932,8 @@ public Builder setDocument( return this; } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -864,9 +942,9 @@ public Builder setDocument( */ public Builder mergeDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - document_ != null && - document_ != com.google.firestore.v1.Document.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && document_ != null + && document_ != com.google.firestore.v1.Document.getDefaultInstance()) { getDocumentBuilder().mergeFrom(value); } else { document_ = value; @@ -879,6 +957,8 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -896,6 +976,8 @@ public Builder clearDocument() { return this; } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -908,6 +990,8 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { return getDocumentFieldBuilder().getBuilder(); } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -918,11 +1002,14 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { return documentBuilder_.getMessageOrBuilder(); } else { - return document_ == null ? - com.google.firestore.v1.Document.getDefaultInstance() : document_; + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; } } /** + * + * *
      * A query result, not set when reporting partial progress.
      * 
@@ -930,14 +1017,17 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { * .google.firestore.v1.Document document = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> getDocumentFieldBuilder() { if (documentBuilder_ == null) { - documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( - getDocument(), - getParentForChildren(), - isClean()); + documentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), getParentForChildren(), isClean()); document_ = null; } return documentBuilder_; @@ -945,8 +1035,13 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -957,12 +1052,15 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -973,6 +1071,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -983,6 +1082,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1008,6 +1109,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1019,8 +1122,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 3;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -1031,6 +1133,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1044,9 +1148,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1059,6 +1163,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1081,6 +1187,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1098,6 +1206,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1113,11 +1223,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which the document was read. This may be monotonically
      * increasing; in this case, the previous documents in the result stream are
@@ -1130,27 +1241,33 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(),
-                getParentForChildren(),
-                isClean());
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(), getParentForChildren(), isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
 
-    private int skippedResults_ ;
+    private int skippedResults_;
     /**
+     *
+     *
      * 
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; + * * @return The skippedResults. */ @java.lang.Override @@ -1158,29 +1275,35 @@ public int getSkippedResults() { return skippedResults_; } /** + * + * *
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; + * * @param value The skippedResults to set. * @return This builder for chaining. */ public Builder setSkippedResults(int value) { - + skippedResults_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The number of results that have been skipped due to an offset between
      * the last response and the current response.
      * 
* * int32 skipped_results = 4; + * * @return This builder for chaining. */ public Builder clearSkippedResults() { @@ -1191,24 +1314,30 @@ public Builder clearSkippedResults() { } /** + * + * *
      * If present, Firestore has completely finished the request and no more
      * documents will be returned.
      * 
* * bool done = 6; + * * @return Whether the done field is set. */ public boolean hasDone() { return continuationSelectorCase_ == 6; } /** + * + * *
      * If present, Firestore has completely finished the request and no more
      * documents will be returned.
      * 
* * bool done = 6; + * * @return The done. */ public boolean getDone() { @@ -1218,29 +1347,35 @@ public boolean getDone() { return false; } /** + * + * *
      * If present, Firestore has completely finished the request and no more
      * documents will be returned.
      * 
* * bool done = 6; + * * @param value The done to set. * @return This builder for chaining. */ public Builder setDone(boolean value) { - + continuationSelectorCase_ = 6; continuationSelector_ = value; onChanged(); return this; } /** + * + * *
      * If present, Firestore has completely finished the request and no more
      * documents will be returned.
      * 
* * bool done = 6; + * * @return This builder for chaining. */ public Builder clearDone() { @@ -1251,9 +1386,9 @@ public Builder clearDone() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1263,12 +1398,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.RunQueryResponse) } // @@protoc_insertion_point(class_scope:google.firestore.v1.RunQueryResponse) private static final com.google.firestore.v1.RunQueryResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.RunQueryResponse(); } @@ -1277,27 +1412,27 @@ public static com.google.firestore.v1.RunQueryResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunQueryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunQueryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1312,6 +1447,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.RunQueryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java index 319faa8f4..01dcbd7e6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface RunQueryResponseOrBuilder extends +public interface RunQueryResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.RunQueryResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The transaction that was started as part of this request.
    * Can only be set in the first response, and only if
@@ -17,29 +35,38 @@ public interface RunQueryResponseOrBuilder extends
    * 
* * bytes transaction = 2; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return Whether the document field is set. */ boolean hasDocument(); /** + * + * *
    * A query result, not set when reporting partial progress.
    * 
* * .google.firestore.v1.Document document = 1; + * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** + * + * *
    * A query result, not set when reporting partial progress.
    * 
@@ -49,6 +76,8 @@ public interface RunQueryResponseOrBuilder extends com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** + * + * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -59,10 +88,13 @@ public interface RunQueryResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -73,10 +105,13 @@ public interface RunQueryResponseOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The time at which the document was read. This may be monotonically
    * increasing; in this case, the previous documents in the result stream are
@@ -91,36 +126,46 @@ public interface RunQueryResponseOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The number of results that have been skipped due to an offset between
    * the last response and the current response.
    * 
* * int32 skipped_results = 4; + * * @return The skippedResults. */ int getSkippedResults(); /** + * + * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; + * * @return Whether the done field is set. */ boolean hasDone(); /** + * + * *
    * If present, Firestore has completely finished the request and no more
    * documents will be returned.
    * 
* * bool done = 6; + * * @return The done. */ boolean getDone(); - public com.google.firestore.v1.RunQueryResponse.ContinuationSelectorCase getContinuationSelectorCase(); + public com.google.firestore.v1.RunQueryResponse.ContinuationSelectorCase + getContinuationSelectorCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java index 737c61365..4713859cd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQuery.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; /** + * + * *
  * Firestore query for running an aggregation over a
  * [StructuredQuery][google.firestore.v1.StructuredQuery].
@@ -11,76 +28,90 @@
  *
  * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery}
  */
-public final class StructuredAggregationQuery extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StructuredAggregationQuery extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery)
     StructuredAggregationQueryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StructuredAggregationQuery.newBuilder() to construct.
   private StructuredAggregationQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StructuredAggregationQuery() {
     aggregations_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StructuredAggregationQuery();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.QueryProto
+        .internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable
+    return com.google.firestore.v1.QueryProto
+        .internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.StructuredAggregationQuery.class, com.google.firestore.v1.StructuredAggregationQuery.Builder.class);
+            com.google.firestore.v1.StructuredAggregationQuery.class,
+            com.google.firestore.v1.StructuredAggregationQuery.Builder.class);
   }
 
-  public interface AggregationOrBuilder extends
+  public interface AggregationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredAggregationQuery.Aggregation)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; + * * @return Whether the count field is set. */ boolean hasCount(); /** + * + * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; + * * @return The count. */ com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getCount(); /** + * + * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder(); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder + getCountOrBuilder(); /** + * + * *
      * Optional. Optional name of the field to store the result of the
      * aggregation into.
@@ -114,10 +145,13 @@ public interface AggregationOrBuilder extends
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The alias. */ java.lang.String getAlias(); /** + * + * *
      * Optional. Optional name of the field to store the result of the
      * aggregation into.
@@ -151,63 +185,71 @@ public interface AggregationOrBuilder extends
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for alias. */ - com.google.protobuf.ByteString - getAliasBytes(); + com.google.protobuf.ByteString getAliasBytes(); - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.OperatorCase getOperatorCase(); + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.OperatorCase + getOperatorCase(); } /** + * + * *
    * Defines an aggregation that produces a single result.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation} */ - public static final class Aggregation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Aggregation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation) AggregationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Aggregation.newBuilder() to construct. private Aggregation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Aggregation() { alias_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Aggregation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); } - public interface CountOrBuilder extends + public interface CountOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
@@ -222,11 +264,15 @@ public interface CountOrBuilder extends
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the upTo field is set. */ boolean hasUpTo(); /** + * + * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
@@ -241,11 +287,15 @@ public interface CountOrBuilder extends
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The upTo. */ com.google.protobuf.Int64Value getUpTo(); /** + * + * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
@@ -260,11 +310,14 @@ public interface CountOrBuilder extends
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder(); } /** + * + * *
      * Count of documents that match the query.
      * The `COUNT(*)` aggregation function operates on the entire document
@@ -273,46 +326,49 @@ public interface CountOrBuilder extends
      *
      * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation.Count}
      */
-    public static final class Count extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Count extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)
         CountOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Count.newBuilder() to construct.
       private Count(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private Count() {
-      }
+
+      private Count() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Count();
       }
 
       @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
+      public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.firestore.v1.QueryProto
+            .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
+        return com.google.firestore.v1.QueryProto
+            .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
+                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class,
+                com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
       }
 
       public static final int UP_TO_FIELD_NUMBER = 1;
       private com.google.protobuf.Int64Value upTo_;
       /**
+       *
+       *
        * 
        * Optional. Optional constraint on the maximum number of documents to
        * count.
@@ -327,7 +383,9 @@ protected java.lang.Object newInstance(
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the upTo field is set. */ @java.lang.Override @@ -335,6 +393,8 @@ public boolean hasUpTo() { return upTo_ != null; } /** + * + * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
@@ -349,7 +409,9 @@ public boolean hasUpTo() {
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The upTo. */ @java.lang.Override @@ -357,6 +419,8 @@ public com.google.protobuf.Int64Value getUpTo() { return upTo_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; } /** + * + * *
        * Optional. Optional constraint on the maximum number of documents to
        * count.
@@ -371,7 +435,8 @@ public com.google.protobuf.Int64Value getUpTo() {
        * * Must be greater than zero when present.
        * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { @@ -379,6 +444,7 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,8 +456,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (upTo_ != null) { output.writeMessage(1, getUpTo()); } @@ -405,8 +470,7 @@ public int getSerializedSize() { size = 0; if (upTo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpTo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpTo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -416,17 +480,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)) { + if (!(obj + instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)) { return super.equals(obj); } - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count other = (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) obj; + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count other = + (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) obj; if (hasUpTo() != other.hasUpTo()) return false; if (hasUpTo()) { - if (!getUpTo() - .equals(other.getUpTo())) return false; + if (!getUpTo().equals(other.getUpTo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -449,87 +514,96 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count prototype) { + + public static Builder newBuilder( + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -539,6 +613,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Count of documents that match the query.
        * The `COUNT(*)` aggregation function operates on the entire document
@@ -547,33 +623,35 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation.Count}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)
           com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.firestore.v1.QueryProto
+              .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
+          return com.google.firestore.v1.QueryProto
+              .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder.class);
+                  com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.class,
+                  com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder
+                      .class);
         }
 
-        // Construct using com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder()
-        private Builder() {
-
-        }
+        // Construct using
+        // com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder()
+        private Builder() {}
 
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
-
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -587,19 +665,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.firestore.v1.QueryProto
+              .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_Count_descriptor;
         }
 
         @java.lang.Override
-        public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getDefaultInstanceForType() {
-          return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance();
+        public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count
+            getDefaultInstanceForType() {
+          return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count build() {
-          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result = buildPartial();
+          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -608,18 +689,20 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count buil
 
         @java.lang.Override
         public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count buildPartial() {
-          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(this);
-          if (bitField0_ != 0) { buildPartial0(result); }
+          com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result =
+              new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(this);
+          if (bitField0_ != 0) {
+            buildPartial0(result);
+          }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result) {
+        private void buildPartial0(
+            com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count result) {
           int from_bitField0_ = bitField0_;
           if (((from_bitField0_ & 0x00000001) != 0)) {
-            result.upTo_ = upToBuilder_ == null
-                ? upTo_
-                : upToBuilder_.build();
+            result.upTo_ = upToBuilder_ == null ? upTo_ : upToBuilder_.build();
           }
         }
 
@@ -627,46 +710,54 @@ private void buildPartial0(com.google.firestore.v1.StructuredAggregationQuery.Ag
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
+
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index, java.lang.Object value) {
+            int index,
+            java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
+
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
+
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) {
-            return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)other);
+          if (other
+              instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) {
+            return mergeFrom(
+                (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count other) {
-          if (other == com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count other) {
+          if (other
+              == com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count
+                  .getDefaultInstance()) return this;
           if (other.hasUpTo()) {
             mergeUpTo(other.getUpTo());
           }
@@ -696,19 +787,19 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  input.readMessage(
-                      getUpToFieldBuilder().getBuilder(),
-                      extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-                default: {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                case 10:
+                  {
+                    input.readMessage(getUpToFieldBuilder().getBuilder(), extensionRegistry);
+                    bitField0_ |= 0x00000001;
+                    break;
+                  } // case 10
+                default:
+                  {
+                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                      done = true; // was an endgroup tag
+                    }
+                    break;
+                  } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -718,12 +809,18 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
+
         private int bitField0_;
 
         private com.google.protobuf.Int64Value upTo_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> upToBuilder_;
+                com.google.protobuf.Int64Value,
+                com.google.protobuf.Int64Value.Builder,
+                com.google.protobuf.Int64ValueOrBuilder>
+            upToBuilder_;
         /**
+         *
+         *
          * 
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -738,13 +835,17 @@ public Builder mergeFrom(
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the upTo field is set. */ public boolean hasUpTo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -759,7 +860,9 @@ public boolean hasUpTo() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The upTo. */ public com.google.protobuf.Int64Value getUpTo() { @@ -770,6 +873,8 @@ public com.google.protobuf.Int64Value getUpTo() { } } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -784,7 +889,8 @@ public com.google.protobuf.Int64Value getUpTo() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpTo(com.google.protobuf.Int64Value value) { if (upToBuilder_ == null) { @@ -800,6 +906,8 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -814,10 +922,10 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpTo( - com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setUpTo(com.google.protobuf.Int64Value.Builder builderForValue) { if (upToBuilder_ == null) { upTo_ = builderForValue.build(); } else { @@ -828,6 +936,8 @@ public Builder setUpTo( return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -842,13 +952,14 @@ public Builder setUpTo(
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { if (upToBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - upTo_ != null && - upTo_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && upTo_ != null + && upTo_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getUpToBuilder().mergeFrom(value); } else { upTo_ = value; @@ -861,6 +972,8 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -875,7 +988,8 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpTo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -888,6 +1002,8 @@ public Builder clearUpTo() { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -902,7 +1018,8 @@ public Builder clearUpTo() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Int64Value.Builder getUpToBuilder() { bitField0_ |= 0x00000001; @@ -910,6 +1027,8 @@ public com.google.protobuf.Int64Value.Builder getUpToBuilder() { return getUpToFieldBuilder().getBuilder(); } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -924,17 +1043,19 @@ public com.google.protobuf.Int64Value.Builder getUpToBuilder() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { if (upToBuilder_ != null) { return upToBuilder_.getMessageOrBuilder(); } else { - return upTo_ == null ? - com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; + return upTo_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; } } /** + * + * *
          * Optional. Optional constraint on the maximum number of documents to
          * count.
@@ -949,21 +1070,26 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() {
          * * Must be greater than zero when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> getUpToFieldBuilder() { if (upToBuilder_ == null) { - upToBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( - getUpTo(), - getParentForChildren(), - isClean()); + upToBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder>( + getUpTo(), getParentForChildren(), isClean()); upTo_ = null; } return upToBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -976,41 +1102,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) - private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count DEFAULT_INSTANCE; + private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(); + DEFAULT_INSTANCE = + new com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count(); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getDefaultInstance() { + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Count parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Count parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1022,20 +1152,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int operatorCase_ = 0; private java.lang.Object operator_; + public enum OperatorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COUNT(1), OPERATOR_NOT_SET(0); private final int value; + private OperatorCase(int value) { this.value = value; } @@ -1051,29 +1184,34 @@ public static OperatorCase valueOf(int value) { public static OperatorCase forNumber(int value) { switch (value) { - case 1: return COUNT; - case 0: return OPERATOR_NOT_SET; - default: return null; + case 1: + return COUNT; + case 0: + return OPERATOR_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OperatorCase - getOperatorCase() { - return OperatorCase.forNumber( - operatorCase_); + public OperatorCase getOperatorCase() { + return OperatorCase.forNumber(operatorCase_); } public static final int COUNT_FIELD_NUMBER = 1; /** + * + * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; + * * @return Whether the count field is set. */ @java.lang.Override @@ -1081,21 +1219,27 @@ public boolean hasCount() { return operatorCase_ == 1; } /** + * + * *
      * Count aggregator.
      * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; + * * @return The count. */ @java.lang.Override public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getCount() { if (operatorCase_ == 1) { - return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; + return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + .getDefaultInstance(); } /** + * + * *
      * Count aggregator.
      * 
@@ -1103,17 +1247,22 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getC * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder + getCountOrBuilder() { if (operatorCase_ == 1) { - return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; + return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + .getDefaultInstance(); } public static final int ALIAS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object alias_ = ""; /** + * + * *
      * Optional. Optional name of the field to store the result of the
      * aggregation into.
@@ -1147,6 +1296,7 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBui
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The alias. */ @java.lang.Override @@ -1155,14 +1305,15 @@ public java.lang.String getAlias() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alias_ = s; return s; } } /** + * + * *
      * Optional. Optional name of the field to store the result of the
      * aggregation into.
@@ -1196,16 +1347,15 @@ public java.lang.String getAlias() {
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for alias. */ @java.lang.Override - public com.google.protobuf.ByteString - getAliasBytes() { + public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alias_ = b; return b; } else { @@ -1214,6 +1364,7 @@ public java.lang.String getAlias() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1225,10 +1376,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (operatorCase_ == 1) { - output.writeMessage(1, (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_); + output.writeMessage( + 1, (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alias_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, alias_); @@ -1243,8 +1394,10 @@ public int getSerializedSize() { size = 0; if (operatorCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alias_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, alias_); @@ -1257,20 +1410,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation)) { return super.equals(obj); } - com.google.firestore.v1.StructuredAggregationQuery.Aggregation other = (com.google.firestore.v1.StructuredAggregationQuery.Aggregation) obj; + com.google.firestore.v1.StructuredAggregationQuery.Aggregation other = + (com.google.firestore.v1.StructuredAggregationQuery.Aggregation) obj; - if (!getAlias() - .equals(other.getAlias())) return false; + if (!getAlias().equals(other.getAlias())) return false; if (!getOperatorCase().equals(other.getOperatorCase())) return false; switch (operatorCase_) { case 1: - if (!getCount() - .equals(other.getCount())) return false; + if (!getCount().equals(other.getCount())) return false; break; case 0: default: @@ -1302,87 +1454,94 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.StructuredAggregationQuery.Aggregation prototype) { + + public static Builder newBuilder( + com.google.firestore.v1.StructuredAggregationQuery.Aggregation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1392,39 +1551,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Defines an aggregation that produces a single result.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery.Aggregation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredAggregationQuery.Aggregation) com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.class, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder.class); } // Construct using com.google.firestore.v1.StructuredAggregationQuery.Aggregation.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1439,13 +1600,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredAggregationQuery_Aggregation_descriptor; } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation + getDefaultInstanceForType() { return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance(); } @@ -1460,25 +1622,29 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation build() { @java.lang.Override public com.google.firestore.v1.StructuredAggregationQuery.Aggregation buildPartial() { - com.google.firestore.v1.StructuredAggregationQuery.Aggregation result = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.StructuredAggregationQuery.Aggregation result = + new com.google.firestore.v1.StructuredAggregationQuery.Aggregation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.firestore.v1.StructuredAggregationQuery.Aggregation result) { + private void buildPartial0( + com.google.firestore.v1.StructuredAggregationQuery.Aggregation result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.alias_ = alias_; } } - private void buildPartialOneofs(com.google.firestore.v1.StructuredAggregationQuery.Aggregation result) { + private void buildPartialOneofs( + com.google.firestore.v1.StructuredAggregationQuery.Aggregation result) { result.operatorCase_ = operatorCase_; result.operator_ = this.operator_; - if (operatorCase_ == 1 && - countBuilder_ != null) { + if (operatorCase_ == 1 && countBuilder_ != null) { result.operator_ = countBuilder_.build(); } } @@ -1487,59 +1653,67 @@ private void buildPartialOneofs(com.google.firestore.v1.StructuredAggregationQue public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredAggregationQuery.Aggregation) { - return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery.Aggregation)other); + return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery.Aggregation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery.Aggregation other) { - if (other == com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.firestore.v1.StructuredAggregationQuery.Aggregation other) { + if (other + == com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()) + return this; if (!other.getAlias().isEmpty()) { alias_ = other.alias_; bitField0_ |= 0x00000002; onChanged(); } switch (other.getOperatorCase()) { - case COUNT: { - mergeCount(other.getCount()); - break; - } - case OPERATOR_NOT_SET: { - break; - } + case COUNT: + { + mergeCount(other.getCount()); + break; + } + case OPERATOR_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1567,24 +1741,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCountFieldBuilder().getBuilder(), - extensionRegistry); - operatorCase_ = 1; - break; - } // case 10 - case 58: { - alias_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCountFieldBuilder().getBuilder(), extensionRegistry); + operatorCase_ = 1; + break; + } // case 10 + case 58: + { + alias_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1594,12 +1769,12 @@ public Builder mergeFrom( } // finally return this; } + private int operatorCase_ = 0; private java.lang.Object operator_; - public OperatorCase - getOperatorCase() { - return OperatorCase.forNumber( - operatorCase_); + + public OperatorCase getOperatorCase() { + return OperatorCase.forNumber(operatorCase_); } public Builder clearOperator() { @@ -1612,13 +1787,19 @@ public Builder clearOperator() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder> countBuilder_; + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder> + countBuilder_; /** + * + * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; + * * @return Whether the count field is set. */ @java.lang.Override @@ -1626,11 +1807,14 @@ public boolean hasCount() { return operatorCase_ == 1; } /** + * + * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; + * * @return The count. */ @java.lang.Override @@ -1639,22 +1823,27 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count getC if (operatorCase_ == 1) { return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + .getDefaultInstance(); } else { if (operatorCase_ == 1) { return countBuilder_.getMessage(); } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + .getDefaultInstance(); } } /** + * + * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - public Builder setCount(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { + public Builder setCount( + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { if (countBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1668,6 +1857,8 @@ public Builder setCount(com.google.firestore.v1.StructuredAggregationQuery.Aggre return this; } /** + * + * *
        * Count aggregator.
        * 
@@ -1675,7 +1866,8 @@ public Builder setCount(com.google.firestore.v1.StructuredAggregationQuery.Aggre * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ public Builder setCount( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder builderForValue) { + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder + builderForValue) { if (countBuilder_ == null) { operator_ = builderForValue.build(); onChanged(); @@ -1686,18 +1878,27 @@ public Builder setCount( return this; } /** + * + * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - public Builder mergeCount(com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { + public Builder mergeCount( + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count value) { if (countBuilder_ == null) { - if (operatorCase_ == 1 && - operator_ != com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance()) { - operator_ = com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder((com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_) - .mergeFrom(value).buildPartial(); + if (operatorCase_ == 1 + && operator_ + != com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + .getDefaultInstance()) { + operator_ = + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.newBuilder( + (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) + operator_) + .mergeFrom(value) + .buildPartial(); } else { operator_ = value; } @@ -1713,6 +1914,8 @@ public Builder mergeCount(com.google.firestore.v1.StructuredAggregationQuery.Agg return this; } /** + * + * *
        * Count aggregator.
        * 
@@ -1736,16 +1939,21 @@ public Builder clearCount() { return this; } /** + * + * *
        * Count aggregator.
        * 
* * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder getCountBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder + getCountBuilder() { return getCountFieldBuilder().getBuilder(); } /** + * + * *
        * Count aggregator.
        * 
@@ -1753,17 +1961,21 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Buil * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder + getCountOrBuilder() { if ((operatorCase_ == 1) && (countBuilder_ != null)) { return countBuilder_.getMessageOrBuilder(); } else { if (operatorCase_ == 1) { return (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_; } - return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); + return com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + .getDefaultInstance(); } } /** + * + * *
        * Count aggregator.
        * 
@@ -1771,14 +1983,21 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBui * .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder> + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder> getCountFieldBuilder() { if (countBuilder_ == null) { if (!(operatorCase_ == 1)) { - operator_ = com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.getDefaultInstance(); + operator_ = + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count + .getDefaultInstance(); } - countBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder>( + countBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.Builder, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBuilder>( (com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) operator_, getParentForChildren(), isClean()); @@ -1791,6 +2010,8 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBui private java.lang.Object alias_ = ""; /** + * + * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -1824,13 +2045,13 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.CountOrBui
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The alias. */ public java.lang.String getAlias() { java.lang.Object ref = alias_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alias_ = s; return s; @@ -1839,6 +2060,8 @@ public java.lang.String getAlias() { } } /** + * + * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -1872,15 +2095,14 @@ public java.lang.String getAlias() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for alias. */ - public com.google.protobuf.ByteString - getAliasBytes() { + public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alias_ = b; return b; } else { @@ -1888,6 +2110,8 @@ public java.lang.String getAlias() { } } /** + * + * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -1921,18 +2145,22 @@ public java.lang.String getAlias() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The alias to set. * @return This builder for chaining. */ - public Builder setAlias( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAlias(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } alias_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -1966,6 +2194,7 @@ public Builder setAlias(
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAlias() { @@ -1975,6 +2204,8 @@ public Builder clearAlias() { return this; } /** + * + * *
        * Optional. Optional name of the field to store the result of the
        * aggregation into.
@@ -2008,18 +2239,21 @@ public Builder clearAlias() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for alias to set. * @return This builder for chaining. */ - public Builder setAliasBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAliasBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); alias_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2032,41 +2266,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation) - private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation DEFAULT_INSTANCE; + private static final com.google.firestore.v1.StructuredAggregationQuery.Aggregation + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredAggregationQuery.Aggregation(); } - public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation getDefaultInstance() { + public static com.google.firestore.v1.StructuredAggregationQuery.Aggregation + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Aggregation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Aggregation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2078,20 +2315,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int queryTypeCase_ = 0; private java.lang.Object queryType_; + public enum QueryTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(1), QUERYTYPE_NOT_SET(0); private final int value; + private QueryTypeCase(int value) { this.value = value; } @@ -2107,29 +2347,34 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 1: return STRUCTURED_QUERY; - case 0: return QUERYTYPE_NOT_SET; - default: return null; + case 1: + return STRUCTURED_QUERY; + case 0: + return QUERYTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueryTypeCase - getQueryTypeCase() { - return QueryTypeCase.forNumber( - queryTypeCase_); + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); } public static final int STRUCTURED_QUERY_FIELD_NUMBER = 1; /** + * + * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -2137,21 +2382,26 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 1; } /** + * + * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; + * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** + * + * *
    * Nested structured query.
    * 
@@ -2161,15 +2411,19 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } public static final int AGGREGATIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") - private java.util.List aggregations_; + private java.util.List + aggregations_; /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -2177,13 +2431,18 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getAggregationsList() { + public java.util.List + getAggregationsList() { return aggregations_; } /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -2191,14 +2450,19 @@ public java.util.List
    *
-   * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL];
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder>
       getAggregationsOrBuilderList() {
     return aggregations_;
   }
   /**
+   *
+   *
    * 
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -2206,13 +2470,17 @@ public java.util.List
    *
-   * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL];
+   * 
    */
   @java.lang.Override
   public int getAggregationsCount() {
     return aggregations_.size();
   }
   /**
+   *
+   *
    * 
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -2220,13 +2488,17 @@ public int getAggregationsCount() {
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggregations(int index) { return aggregations_.get(index); } /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -2234,15 +2506,18 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggrega
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( - int index) { + public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder + getAggregationsOrBuilder(int index) { return aggregations_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2254,8 +2529,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (queryTypeCase_ == 1) { output.writeMessage(1, (com.google.firestore.v1.StructuredQuery) queryType_); } @@ -2272,12 +2546,12 @@ public int getSerializedSize() { size = 0; if (queryTypeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.firestore.v1.StructuredQuery) queryType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.firestore.v1.StructuredQuery) queryType_); } for (int i = 0; i < aggregations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, aggregations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, aggregations_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2287,20 +2561,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredAggregationQuery)) { return super.equals(obj); } - com.google.firestore.v1.StructuredAggregationQuery other = (com.google.firestore.v1.StructuredAggregationQuery) obj; + com.google.firestore.v1.StructuredAggregationQuery other = + (com.google.firestore.v1.StructuredAggregationQuery) obj; - if (!getAggregationsList() - .equals(other.getAggregationsList())) return false; + if (!getAggregationsList().equals(other.getAggregationsList())) return false; if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 1: - if (!getStructuredQuery() - .equals(other.getStructuredQuery())) return false; + if (!getStructuredQuery().equals(other.getStructuredQuery())) return false; break; case 0: default: @@ -2334,96 +2607,103 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredAggregationQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredAggregationQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredAggregationQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredAggregationQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredAggregationQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.StructuredAggregationQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Firestore query for running an aggregation over a
    * [StructuredQuery][google.firestore.v1.StructuredQuery].
@@ -2431,33 +2711,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.StructuredAggregationQuery}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredAggregationQuery)
       com.google.firestore.v1.StructuredAggregationQueryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.QueryProto
+          .internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable
+      return com.google.firestore.v1.QueryProto
+          .internal_static_google_firestore_v1_StructuredAggregationQuery_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.StructuredAggregationQuery.class, com.google.firestore.v1.StructuredAggregationQuery.Builder.class);
+              com.google.firestore.v1.StructuredAggregationQuery.class,
+              com.google.firestore.v1.StructuredAggregationQuery.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.StructuredAggregationQuery.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2478,9 +2757,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.QueryProto
+          .internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor;
     }
 
     @java.lang.Override
@@ -2499,15 +2778,19 @@ public com.google.firestore.v1.StructuredAggregationQuery build() {
 
     @java.lang.Override
     public com.google.firestore.v1.StructuredAggregationQuery buildPartial() {
-      com.google.firestore.v1.StructuredAggregationQuery result = new com.google.firestore.v1.StructuredAggregationQuery(this);
+      com.google.firestore.v1.StructuredAggregationQuery result =
+          new com.google.firestore.v1.StructuredAggregationQuery(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.firestore.v1.StructuredAggregationQuery result) {
+    private void buildPartialRepeatedFields(
+        com.google.firestore.v1.StructuredAggregationQuery result) {
       if (aggregationsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           aggregations_ = java.util.Collections.unmodifiableList(aggregations_);
@@ -2526,8 +2809,7 @@ private void buildPartial0(com.google.firestore.v1.StructuredAggregationQuery re
     private void buildPartialOneofs(com.google.firestore.v1.StructuredAggregationQuery result) {
       result.queryTypeCase_ = queryTypeCase_;
       result.queryType_ = this.queryType_;
-      if (queryTypeCase_ == 1 &&
-          structuredQueryBuilder_ != null) {
+      if (queryTypeCase_ == 1 && structuredQueryBuilder_ != null) {
         result.queryType_ = structuredQueryBuilder_.build();
       }
     }
@@ -2536,38 +2818,39 @@ private void buildPartialOneofs(com.google.firestore.v1.StructuredAggregationQue
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.StructuredAggregationQuery) {
-        return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery)other);
+        return mergeFrom((com.google.firestore.v1.StructuredAggregationQuery) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2575,7 +2858,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery other) {
-      if (other == com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance()) return this;
+      if (other == com.google.firestore.v1.StructuredAggregationQuery.getDefaultInstance())
+        return this;
       if (aggregationsBuilder_ == null) {
         if (!other.aggregations_.isEmpty()) {
           if (aggregations_.isEmpty()) {
@@ -2594,22 +2878,25 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredAggregationQuery othe
             aggregationsBuilder_ = null;
             aggregations_ = other.aggregations_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            aggregationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAggregationsFieldBuilder() : null;
+            aggregationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAggregationsFieldBuilder()
+                    : null;
           } else {
             aggregationsBuilder_.addAllMessages(other.aggregations_);
           }
         }
       }
       switch (other.getQueryTypeCase()) {
-        case STRUCTURED_QUERY: {
-          mergeStructuredQuery(other.getStructuredQuery());
-          break;
-        }
-        case QUERYTYPE_NOT_SET: {
-          break;
-        }
+        case STRUCTURED_QUERY:
+          {
+            mergeStructuredQuery(other.getStructuredQuery());
+            break;
+          }
+        case QUERYTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2637,32 +2924,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getStructuredQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              queryTypeCase_ = 1;
-              break;
-            } // case 10
-            case 26: {
-              com.google.firestore.v1.StructuredAggregationQuery.Aggregation m =
-                  input.readMessage(
-                      com.google.firestore.v1.StructuredAggregationQuery.Aggregation.parser(),
-                      extensionRegistry);
-              if (aggregationsBuilder_ == null) {
-                ensureAggregationsIsMutable();
-                aggregations_.add(m);
-              } else {
-                aggregationsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry);
+                queryTypeCase_ = 1;
+                break;
+              } // case 10
+            case 26:
+              {
+                com.google.firestore.v1.StructuredAggregationQuery.Aggregation m =
+                    input.readMessage(
+                        com.google.firestore.v1.StructuredAggregationQuery.Aggregation.parser(),
+                        extensionRegistry);
+                if (aggregationsBuilder_ == null) {
+                  ensureAggregationsIsMutable();
+                  aggregations_.add(m);
+                } else {
+                  aggregationsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2672,12 +2960,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int queryTypeCase_ = 0;
     private java.lang.Object queryType_;
-    public QueryTypeCase
-        getQueryTypeCase() {
-      return QueryTypeCase.forNumber(
-          queryTypeCase_);
+
+    public QueryTypeCase getQueryTypeCase() {
+      return QueryTypeCase.forNumber(queryTypeCase_);
     }
 
     public Builder clearQueryType() {
@@ -2690,13 +2978,19 @@ public Builder clearQueryType() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_;
+            com.google.firestore.v1.StructuredQuery,
+            com.google.firestore.v1.StructuredQuery.Builder,
+            com.google.firestore.v1.StructuredQueryOrBuilder>
+        structuredQueryBuilder_;
     /**
+     *
+     *
      * 
      * Nested structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -2704,11 +2998,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 1; } /** + * + * *
      * Nested structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; + * * @return The structuredQuery. */ @java.lang.Override @@ -2726,6 +3023,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
      * Nested structured query.
      * 
@@ -2746,6 +3045,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2764,6 +3065,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2772,10 +3075,13 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 1 && - queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 1 + && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = + com.google.firestore.v1.StructuredQuery.newBuilder( + (com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -2791,6 +3097,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2814,6 +3122,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
      * Nested structured query.
      * 
@@ -2824,6 +3134,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Nested structured query.
      * 
@@ -2842,6 +3154,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
      * Nested structured query.
      * 
@@ -2849,14 +3163,19 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil * .google.firestore.v1.StructuredQuery structured_query = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> getStructuredQueryFieldBuilder() { if (structuredQueryBuilder_ == null) { if (!(queryTypeCase_ == 1)) { queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } - structuredQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder>( + structuredQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder>( (com.google.firestore.v1.StructuredQuery) queryType_, getParentForChildren(), isClean()); @@ -2867,19 +3186,27 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil return structuredQueryBuilder_; } - private java.util.List aggregations_ = - java.util.Collections.emptyList(); + private java.util.List + aggregations_ = java.util.Collections.emptyList(); + private void ensureAggregationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - aggregations_ = new java.util.ArrayList(aggregations_); + aggregations_ = + new java.util.ArrayList( + aggregations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> aggregationsBuilder_; + com.google.firestore.v1.StructuredAggregationQuery.Aggregation, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, + com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> + aggregationsBuilder_; /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -2887,9 +3214,12 @@ private void ensureAggregationsIsMutable() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getAggregationsList() { + public java.util.List + getAggregationsList() { if (aggregationsBuilder_ == null) { return java.util.Collections.unmodifiableList(aggregations_); } else { @@ -2897,6 +3227,8 @@ public java.util.List * Optional. Series of aggregations to apply over the results of the * `structured_query`. @@ -2904,7 +3236,9 @@ public java.util.List * - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAggregationsCount() { if (aggregationsBuilder_ == null) { @@ -2914,6 +3248,8 @@ public int getAggregationsCount() { } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -2921,9 +3257,12 @@ public int getAggregationsCount() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggregations(int index) { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggregations( + int index) { if (aggregationsBuilder_ == null) { return aggregations_.get(index); } else { @@ -2931,6 +3270,8 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggrega } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -2938,7 +3279,9 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggrega
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAggregations( int index, com.google.firestore.v1.StructuredAggregationQuery.Aggregation value) { @@ -2955,6 +3298,8 @@ public Builder setAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -2962,10 +3307,13 @@ public Builder setAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAggregations( - int index, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder builderForValue) { + int index, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder builderForValue) { if (aggregationsBuilder_ == null) { ensureAggregationsIsMutable(); aggregations_.set(index, builderForValue.build()); @@ -2976,6 +3324,8 @@ public Builder setAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -2983,9 +3333,12 @@ public Builder setAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addAggregations(com.google.firestore.v1.StructuredAggregationQuery.Aggregation value) { + public Builder addAggregations( + com.google.firestore.v1.StructuredAggregationQuery.Aggregation value) { if (aggregationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2999,6 +3352,8 @@ public Builder addAggregations(com.google.firestore.v1.StructuredAggregationQuer return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3006,7 +3361,9 @@ public Builder addAggregations(com.google.firestore.v1.StructuredAggregationQuer
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAggregations( int index, com.google.firestore.v1.StructuredAggregationQuery.Aggregation value) { @@ -3023,6 +3380,8 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3030,7 +3389,9 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAggregations( com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder builderForValue) { @@ -3044,6 +3405,8 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3051,10 +3414,13 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAggregations( - int index, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder builderForValue) { + int index, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder builderForValue) { if (aggregationsBuilder_ == null) { ensureAggregationsIsMutable(); aggregations_.add(index, builderForValue.build()); @@ -3065,6 +3431,8 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3072,14 +3440,16 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAggregations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (aggregationsBuilder_ == null) { ensureAggregationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aggregations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregations_); onChanged(); } else { aggregationsBuilder_.addAllMessages(values); @@ -3087,6 +3457,8 @@ public Builder addAllAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3094,7 +3466,9 @@ public Builder addAllAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAggregations() { if (aggregationsBuilder_ == null) { @@ -3107,6 +3481,8 @@ public Builder clearAggregations() { return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3114,7 +3490,9 @@ public Builder clearAggregations() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAggregations(int index) { if (aggregationsBuilder_ == null) { @@ -3127,6 +3505,8 @@ public Builder removeAggregations(int index) { return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3134,13 +3514,17 @@ public Builder removeAggregations(int index) {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder getAggregationsBuilder( - int index) { + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder + getAggregationsBuilder(int index) { return getAggregationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3148,16 +3532,21 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder ge
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( - int index) { + public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder + getAggregationsOrBuilder(int index) { if (aggregationsBuilder_ == null) { - return aggregations_.get(index); } else { + return aggregations_.get(index); + } else { return aggregationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3165,10 +3554,13 @@ public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder g
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAggregationsOrBuilderList() { + public java.util.List< + ? extends com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> + getAggregationsOrBuilderList() { if (aggregationsBuilder_ != null) { return aggregationsBuilder_.getMessageOrBuilderList(); } else { @@ -3176,6 +3568,8 @@ public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder g } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3183,13 +3577,19 @@ public com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder g
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder addAggregationsBuilder() { - return getAggregationsFieldBuilder().addBuilder( - com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()); + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder + addAggregationsBuilder() { + return getAggregationsFieldBuilder() + .addBuilder( + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()); } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3197,14 +3597,20 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder ad
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder addAggregationsBuilder( - int index) { - return getAggregationsFieldBuilder().addBuilder( - index, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()); + public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder + addAggregationsBuilder(int index) { + return getAggregationsFieldBuilder() + .addBuilder( + index, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.getDefaultInstance()); } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `structured_query`.
@@ -3212,29 +3618,34 @@ public com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder ad
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAggregationsBuilderList() { + public java.util.List + getAggregationsBuilderList() { return getAggregationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> + com.google.firestore.v1.StructuredAggregationQuery.Aggregation, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, + com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder> getAggregationsFieldBuilder() { if (aggregationsBuilder_ == null) { - aggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredAggregationQuery.Aggregation, com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder>( - aggregations_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + aggregationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredAggregationQuery.Aggregation, + com.google.firestore.v1.StructuredAggregationQuery.Aggregation.Builder, + com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder>( + aggregations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); aggregations_ = null; } return aggregationsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3244,12 +3655,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredAggregationQuery) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery) private static final com.google.firestore.v1.StructuredAggregationQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredAggregationQuery(); } @@ -3258,27 +3669,27 @@ public static com.google.firestore.v1.StructuredAggregationQuery getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StructuredAggregationQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StructuredAggregationQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3293,6 +3704,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.firestore.v1.StructuredAggregationQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java index c0973d87b..c57d69e11 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredAggregationQueryOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; -public interface StructuredAggregationQueryOrBuilder extends +public interface StructuredAggregationQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredAggregationQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; + * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** + * + * *
    * Nested structured query.
    * 
* * .google.firestore.v1.StructuredQuery structured_query = 1; + * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** + * + * *
    * Nested structured query.
    * 
@@ -35,6 +59,8 @@ public interface StructuredAggregationQueryOrBuilder extends com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder(); /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -42,11 +68,15 @@ public interface StructuredAggregationQueryOrBuilder extends
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAggregationsList(); /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -54,10 +84,14 @@ public interface StructuredAggregationQueryOrBuilder extends
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.firestore.v1.StructuredAggregationQuery.Aggregation getAggregations(int index); /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -65,10 +99,14 @@ public interface StructuredAggregationQueryOrBuilder extends
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAggregationsCount(); /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -76,11 +114,15 @@ public interface StructuredAggregationQueryOrBuilder extends
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAggregationsOrBuilderList(); /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `structured_query`.
@@ -88,7 +130,9 @@ public interface StructuredAggregationQueryOrBuilder extends
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.firestore.v1.StructuredAggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( int index); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java index b6d838fd9..370084e48 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/query.proto package com.google.firestore.v1; /** + * + * *
  * A Firestore query.
  * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery} */ -public final class StructuredQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class StructuredQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery) StructuredQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StructuredQuery.newBuilder() to construct. private StructuredQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StructuredQuery() { from_ = java.util.Collections.emptyList(); orderBy_ = java.util.Collections.emptyList(); @@ -26,39 +44,43 @@ private StructuredQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StructuredQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.class, com.google.firestore.v1.StructuredQuery.Builder.class); + com.google.firestore.v1.StructuredQuery.class, + com.google.firestore.v1.StructuredQuery.Builder.class); } /** + * + * *
    * A sort direction.
    * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.Direction} */ - public enum Direction - implements com.google.protobuf.ProtocolMessageEnum { + public enum Direction implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -67,6 +89,8 @@ public enum Direction */ DIRECTION_UNSPECIFIED(0), /** + * + * *
      * Ascending.
      * 
@@ -75,6 +99,8 @@ public enum Direction */ ASCENDING(1), /** + * + * *
      * Descending.
      * 
@@ -86,6 +112,8 @@ public enum Direction ; /** + * + * *
      * Unspecified.
      * 
@@ -94,6 +122,8 @@ public enum Direction */ public static final int DIRECTION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Ascending.
      * 
@@ -102,6 +132,8 @@ public enum Direction */ public static final int ASCENDING_VALUE = 1; /** + * + * *
      * Descending.
      * 
@@ -110,7 +142,6 @@ public enum Direction */ public static final int DESCENDING_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,49 +166,49 @@ public static Direction valueOf(int value) { */ public static Direction forNumber(int value) { switch (value) { - case 0: return DIRECTION_UNSPECIFIED; - case 1: return ASCENDING; - case 2: return DESCENDING; - default: return null; + case 0: + return DIRECTION_UNSPECIFIED; + case 1: + return ASCENDING; + case 2: + return DESCENDING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Direction> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Direction findValueByNumber(int number) { - return Direction.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Direction findValueByNumber(int number) { + return Direction.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.firestore.v1.StructuredQuery.getDescriptor().getEnumTypes().get(0); } private static final Direction[] VALUES = values(); - public static Direction valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Direction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -194,33 +225,41 @@ private Direction(int value) { // @@protoc_insertion_point(enum_scope:google.firestore.v1.StructuredQuery.Direction) } - public interface CollectionSelectorOrBuilder extends + public interface CollectionSelectorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.CollectionSelector) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; + * * @return The collectionId. */ java.lang.String getCollectionId(); /** + * + * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; + * * @return The bytes for collectionId. */ - com.google.protobuf.ByteString - getCollectionIdBytes(); + com.google.protobuf.ByteString getCollectionIdBytes(); /** + * + * *
      * When false, selects only collections that are immediate children of
      * the `parent` specified in the containing `RunQueryRequest`.
@@ -228,65 +267,74 @@ public interface CollectionSelectorOrBuilder extends
      * 
* * bool all_descendants = 3; + * * @return The allDescendants. */ boolean getAllDescendants(); } /** + * + * *
    * A selection of a collection, such as `messages as m1`.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CollectionSelector} */ - public static final class CollectionSelector extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CollectionSelector extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.CollectionSelector) CollectionSelectorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CollectionSelector.newBuilder() to construct. private CollectionSelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CollectionSelector() { collectionId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CollectionSelector(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CollectionSelector.class, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); + com.google.firestore.v1.StructuredQuery.CollectionSelector.class, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); } public static final int COLLECTION_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object collectionId_ = ""; /** + * + * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; + * * @return The collectionId. */ @java.lang.Override @@ -295,30 +343,30 @@ public java.lang.String getCollectionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; } } /** + * + * *
      * The collection ID.
      * When set, selects only collections with this ID.
      * 
* * string collection_id = 2; + * * @return The bytes for collectionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCollectionIdBytes() { + public com.google.protobuf.ByteString getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); collectionId_ = b; return b; } else { @@ -329,6 +377,8 @@ public java.lang.String getCollectionId() { public static final int ALL_DESCENDANTS_FIELD_NUMBER = 3; private boolean allDescendants_ = false; /** + * + * *
      * When false, selects only collections that are immediate children of
      * the `parent` specified in the containing `RunQueryRequest`.
@@ -336,6 +386,7 @@ public java.lang.String getCollectionId() {
      * 
* * bool all_descendants = 3; + * * @return The allDescendants. */ @java.lang.Override @@ -344,6 +395,7 @@ public boolean getAllDescendants() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,8 +407,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collectionId_); } @@ -376,8 +427,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collectionId_); } if (allDescendants_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allDescendants_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allDescendants_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -387,17 +437,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.CollectionSelector)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.CollectionSelector other = (com.google.firestore.v1.StructuredQuery.CollectionSelector) obj; + com.google.firestore.v1.StructuredQuery.CollectionSelector other = + (com.google.firestore.v1.StructuredQuery.CollectionSelector) obj; - if (!getCollectionId() - .equals(other.getCollectionId())) return false; - if (getAllDescendants() - != other.getAllDescendants()) return false; + if (!getCollectionId().equals(other.getCollectionId())) return false; + if (getAllDescendants() != other.getAllDescendants()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -412,95 +461,101 @@ public int hashCode() { hash = (37 * hash) + COLLECTION_ID_FIELD_NUMBER; hash = (53 * hash) + getCollectionId().hashCode(); hash = (37 * hash) + ALL_DESCENDANTS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllDescendants()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllDescendants()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.CollectionSelector parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.CollectionSelector prototype) { + + public static Builder newBuilder( + com.google.firestore.v1.StructuredQuery.CollectionSelector prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -510,39 +565,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A selection of a collection, such as `messages as m1`.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CollectionSelector} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.CollectionSelector) com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CollectionSelector.class, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); + com.google.firestore.v1.StructuredQuery.CollectionSelector.class, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.CollectionSelector.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -553,13 +610,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CollectionSelector_descriptor; } @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CollectionSelector getDefaultInstanceForType() { + public com.google.firestore.v1.StructuredQuery.CollectionSelector + getDefaultInstanceForType() { return com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance(); } @@ -574,13 +632,17 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.CollectionSelector buildPartial() { - com.google.firestore.v1.StructuredQuery.CollectionSelector result = new com.google.firestore.v1.StructuredQuery.CollectionSelector(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.StructuredQuery.CollectionSelector result = + new com.google.firestore.v1.StructuredQuery.CollectionSelector(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.firestore.v1.StructuredQuery.CollectionSelector result) { + private void buildPartial0( + com.google.firestore.v1.StructuredQuery.CollectionSelector result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.collectionId_ = collectionId_; @@ -594,38 +656,41 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.CollectionSel public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.CollectionSelector) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.CollectionSelector)other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.CollectionSelector) other); } else { super.mergeFrom(other); return this; @@ -633,7 +698,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CollectionSelector other) { - if (other == com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()) return this; + if (other + == com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()) + return this; if (!other.getCollectionId().isEmpty()) { collectionId_ = other.collectionId_; bitField0_ |= 0x00000001; @@ -668,22 +735,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - collectionId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - case 24: { - allDescendants_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + collectionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + case 24: + { + allDescendants_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -693,23 +763,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object collectionId_ = ""; /** + * + * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; + * * @return The collectionId. */ public java.lang.String getCollectionId() { java.lang.Object ref = collectionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionId_ = s; return s; @@ -718,21 +791,22 @@ public java.lang.String getCollectionId() { } } /** + * + * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; + * * @return The bytes for collectionId. */ - public com.google.protobuf.ByteString - getCollectionIdBytes() { + public com.google.protobuf.ByteString getCollectionIdBytes() { java.lang.Object ref = collectionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); collectionId_ = b; return b; } else { @@ -740,30 +814,37 @@ public java.lang.String getCollectionId() { } } /** + * + * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; + * * @param value The collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } collectionId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; + * * @return This builder for chaining. */ public Builder clearCollectionId() { @@ -773,18 +854,22 @@ public Builder clearCollectionId() { return this; } /** + * + * *
        * The collection ID.
        * When set, selects only collections with this ID.
        * 
* * string collection_id = 2; + * * @param value The bytes for collectionId to set. * @return This builder for chaining. */ - public Builder setCollectionIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); collectionId_ = value; bitField0_ |= 0x00000001; @@ -792,8 +877,10 @@ public Builder setCollectionIdBytes( return this; } - private boolean allDescendants_ ; + private boolean allDescendants_; /** + * + * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -801,6 +888,7 @@ public Builder setCollectionIdBytes(
        * 
* * bool all_descendants = 3; + * * @return The allDescendants. */ @java.lang.Override @@ -808,6 +896,8 @@ public boolean getAllDescendants() { return allDescendants_; } /** + * + * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -815,17 +905,20 @@ public boolean getAllDescendants() {
        * 
* * bool all_descendants = 3; + * * @param value The allDescendants to set. * @return This builder for chaining. */ public Builder setAllDescendants(boolean value) { - + allDescendants_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * When false, selects only collections that are immediate children of
        * the `parent` specified in the containing `RunQueryRequest`.
@@ -833,6 +926,7 @@ public Builder setAllDescendants(boolean value) {
        * 
* * bool all_descendants = 3; + * * @return This builder for chaining. */ public Builder clearAllDescendants() { @@ -841,6 +935,7 @@ public Builder clearAllDescendants() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -853,12 +948,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.CollectionSelector) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.CollectionSelector) - private static final com.google.firestore.v1.StructuredQuery.CollectionSelector DEFAULT_INSTANCE; + private static final com.google.firestore.v1.StructuredQuery.CollectionSelector + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.CollectionSelector(); } @@ -867,27 +963,28 @@ public static com.google.firestore.v1.StructuredQuery.CollectionSelector getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CollectionSelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CollectionSelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -902,32 +999,40 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.CollectionSelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface FilterOrBuilder extends + public interface FilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Filter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + * * @return Whether the compositeFilter field is set. */ boolean hasCompositeFilter(); /** + * + * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + * * @return The compositeFilter. */ com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilter(); /** + * + * *
      * A composite filter.
      * 
@@ -937,24 +1042,32 @@ public interface FilterOrBuilder extends com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder(); /** + * + * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + * * @return Whether the fieldFilter field is set. */ boolean hasFieldFilter(); /** + * + * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + * * @return The fieldFilter. */ com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter(); /** + * + * *
      * A filter on a document field.
      * 
@@ -964,24 +1077,32 @@ public interface FilterOrBuilder extends com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder(); /** + * + * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + * * @return Whether the unaryFilter field is set. */ boolean hasUnaryFilter(); /** + * + * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + * * @return The unaryFilter. */ com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter(); /** + * + * *
      * A filter that takes exactly one argument.
      * 
@@ -993,59 +1114,65 @@ public interface FilterOrBuilder extends public com.google.firestore.v1.StructuredQuery.Filter.FilterTypeCase getFilterTypeCase(); } /** + * + * *
    * A filter.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Filter} */ - public static final class Filter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Filter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Filter) FilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Filter() { - } + + private Filter() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Filter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Filter.class, com.google.firestore.v1.StructuredQuery.Filter.Builder.class); + com.google.firestore.v1.StructuredQuery.Filter.class, + com.google.firestore.v1.StructuredQuery.Filter.Builder.class); } private int filterTypeCase_ = 0; private java.lang.Object filterType_; + public enum FilterTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPOSITE_FILTER(1), FIELD_FILTER(2), UNARY_FILTER(3), FILTERTYPE_NOT_SET(0); private final int value; + private FilterTypeCase(int value) { this.value = value; } @@ -1061,31 +1188,38 @@ public static FilterTypeCase valueOf(int value) { public static FilterTypeCase forNumber(int value) { switch (value) { - case 1: return COMPOSITE_FILTER; - case 2: return FIELD_FILTER; - case 3: return UNARY_FILTER; - case 0: return FILTERTYPE_NOT_SET; - default: return null; + case 1: + return COMPOSITE_FILTER; + case 2: + return FIELD_FILTER; + case 3: + return UNARY_FILTER; + case 0: + return FILTERTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FilterTypeCase - getFilterTypeCase() { - return FilterTypeCase.forNumber( - filterTypeCase_); + public FilterTypeCase getFilterTypeCase() { + return FilterTypeCase.forNumber(filterTypeCase_); } public static final int COMPOSITE_FILTER_FIELD_NUMBER = 1; /** + * + * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + * * @return Whether the compositeFilter field is set. */ @java.lang.Override @@ -1093,21 +1227,26 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** + * + * *
      * A composite filter.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + * * @return The compositeFilter. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilter() { if (filterTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); } /** + * + * *
      * A composite filter.
      * 
@@ -1115,20 +1254,24 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilte * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder + getCompositeFilterOrBuilder() { if (filterTypeCase_ == 1) { - return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); } public static final int FIELD_FILTER_FIELD_NUMBER = 2; /** + * + * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + * * @return Whether the fieldFilter field is set. */ @java.lang.Override @@ -1136,21 +1279,26 @@ public boolean hasFieldFilter() { return filterTypeCase_ == 2; } /** + * + * *
      * A filter on a document field.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + * * @return The fieldFilter. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { if (filterTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); } /** + * + * *
      * A filter on a document field.
      * 
@@ -1160,18 +1308,21 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder() { if (filterTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); } public static final int UNARY_FILTER_FIELD_NUMBER = 3; /** + * + * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + * * @return Whether the unaryFilter field is set. */ @java.lang.Override @@ -1179,21 +1330,26 @@ public boolean hasUnaryFilter() { return filterTypeCase_ == 3; } /** + * + * *
      * A filter that takes exactly one argument.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + * * @return The unaryFilter. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { if (filterTypeCase_ == 3) { - return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); } /** + * + * *
      * A filter that takes exactly one argument.
      * 
@@ -1203,12 +1359,13 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilterOrBuilder() { if (filterTypeCase_ == 3) { - return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; + return (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_; } return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1220,10 +1377,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (filterTypeCase_ == 1) { - output.writeMessage(1, (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); + output.writeMessage( + 1, (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); } if (filterTypeCase_ == 2) { output.writeMessage(2, (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_); @@ -1241,16 +1398,19 @@ public int getSerializedSize() { size = 0; if (filterTypeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_); } if (filterTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_); } if (filterTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1260,26 +1420,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.Filter)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.Filter other = (com.google.firestore.v1.StructuredQuery.Filter) obj; + com.google.firestore.v1.StructuredQuery.Filter other = + (com.google.firestore.v1.StructuredQuery.Filter) obj; if (!getFilterTypeCase().equals(other.getFilterTypeCase())) return false; switch (filterTypeCase_) { case 1: - if (!getCompositeFilter() - .equals(other.getCompositeFilter())) return false; + if (!getCompositeFilter().equals(other.getCompositeFilter())) return false; break; case 2: - if (!getFieldFilter() - .equals(other.getFieldFilter())) return false; + if (!getFieldFilter().equals(other.getFieldFilter())) return false; break; case 3: - if (!getUnaryFilter() - .equals(other.getUnaryFilter())) return false; + if (!getUnaryFilter().equals(other.getUnaryFilter())) return false; break; case 0: default: @@ -1316,88 +1474,94 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.Filter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.Filter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.Filter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.Filter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.Filter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.Filter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1407,39 +1571,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A filter.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Filter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.Filter) com.google.firestore.v1.StructuredQuery.FilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Filter.class, com.google.firestore.v1.StructuredQuery.Filter.Builder.class); + com.google.firestore.v1.StructuredQuery.Filter.class, + com.google.firestore.v1.StructuredQuery.Filter.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.Filter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1459,9 +1625,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Filter_descriptor; } @java.lang.Override @@ -1480,8 +1646,11 @@ public com.google.firestore.v1.StructuredQuery.Filter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.Filter buildPartial() { - com.google.firestore.v1.StructuredQuery.Filter result = new com.google.firestore.v1.StructuredQuery.Filter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.StructuredQuery.Filter result = + new com.google.firestore.v1.StructuredQuery.Filter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1494,16 +1663,13 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.Filter result private void buildPartialOneofs(com.google.firestore.v1.StructuredQuery.Filter result) { result.filterTypeCase_ = filterTypeCase_; result.filterType_ = this.filterType_; - if (filterTypeCase_ == 1 && - compositeFilterBuilder_ != null) { + if (filterTypeCase_ == 1 && compositeFilterBuilder_ != null) { result.filterType_ = compositeFilterBuilder_.build(); } - if (filterTypeCase_ == 2 && - fieldFilterBuilder_ != null) { + if (filterTypeCase_ == 2 && fieldFilterBuilder_ != null) { result.filterType_ = fieldFilterBuilder_.build(); } - if (filterTypeCase_ == 3 && - unaryFilterBuilder_ != null) { + if (filterTypeCase_ == 3 && unaryFilterBuilder_ != null) { result.filterType_ = unaryFilterBuilder_.build(); } } @@ -1512,38 +1678,41 @@ private void buildPartialOneofs(com.google.firestore.v1.StructuredQuery.Filter r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.Filter) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.Filter)other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.Filter) other); } else { super.mergeFrom(other); return this; @@ -1551,23 +1720,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Filter other) { - if (other == com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()) + return this; switch (other.getFilterTypeCase()) { - case COMPOSITE_FILTER: { - mergeCompositeFilter(other.getCompositeFilter()); - break; - } - case FIELD_FILTER: { - mergeFieldFilter(other.getFieldFilter()); - break; - } - case UNARY_FILTER: { - mergeUnaryFilter(other.getUnaryFilter()); - break; - } - case FILTERTYPE_NOT_SET: { - break; - } + case COMPOSITE_FILTER: + { + mergeCompositeFilter(other.getCompositeFilter()); + break; + } + case FIELD_FILTER: + { + mergeFieldFilter(other.getFieldFilter()); + break; + } + case UNARY_FILTER: + { + mergeUnaryFilter(other.getUnaryFilter()); + break; + } + case FILTERTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1595,33 +1769,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCompositeFilterFieldBuilder().getBuilder(), - extensionRegistry); - filterTypeCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getFieldFilterFieldBuilder().getBuilder(), - extensionRegistry); - filterTypeCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getUnaryFilterFieldBuilder().getBuilder(), - extensionRegistry); - filterTypeCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getCompositeFilterFieldBuilder().getBuilder(), extensionRegistry); + filterTypeCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getFieldFilterFieldBuilder().getBuilder(), extensionRegistry); + filterTypeCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getUnaryFilterFieldBuilder().getBuilder(), extensionRegistry); + filterTypeCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1631,12 +1804,12 @@ public Builder mergeFrom( } // finally return this; } + private int filterTypeCase_ = 0; private java.lang.Object filterType_; - public FilterTypeCase - getFilterTypeCase() { - return FilterTypeCase.forNumber( - filterTypeCase_); + + public FilterTypeCase getFilterTypeCase() { + return FilterTypeCase.forNumber(filterTypeCase_); } public Builder clearFilterType() { @@ -1649,13 +1822,19 @@ public Builder clearFilterType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CompositeFilter, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> compositeFilterBuilder_; + com.google.firestore.v1.StructuredQuery.CompositeFilter, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, + com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> + compositeFilterBuilder_; /** + * + * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + * * @return Whether the compositeFilter field is set. */ @java.lang.Override @@ -1663,11 +1842,14 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** + * + * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; + * * @return The compositeFilter. */ @java.lang.Override @@ -1685,13 +1867,16 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter getCompositeFilte } } /** + * + * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ - public Builder setCompositeFilter(com.google.firestore.v1.StructuredQuery.CompositeFilter value) { + public Builder setCompositeFilter( + com.google.firestore.v1.StructuredQuery.CompositeFilter value) { if (compositeFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1705,6 +1890,8 @@ public Builder setCompositeFilter(com.google.firestore.v1.StructuredQuery.Compos return this; } /** + * + * *
        * A composite filter.
        * 
@@ -1723,18 +1910,25 @@ public Builder setCompositeFilter( return this; } /** + * + * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ - public Builder mergeCompositeFilter(com.google.firestore.v1.StructuredQuery.CompositeFilter value) { + public Builder mergeCompositeFilter( + com.google.firestore.v1.StructuredQuery.CompositeFilter value) { if (compositeFilterBuilder_ == null) { - if (filterTypeCase_ == 1 && - filterType_ != com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) { - filterType_ = com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder((com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_) - .mergeFrom(value).buildPartial(); + if (filterTypeCase_ == 1 + && filterType_ + != com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) { + filterType_ = + com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder( + (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_) + .mergeFrom(value) + .buildPartial(); } else { filterType_ = value; } @@ -1750,6 +1944,8 @@ public Builder mergeCompositeFilter(com.google.firestore.v1.StructuredQuery.Comp return this; } /** + * + * *
        * A composite filter.
        * 
@@ -1773,16 +1969,21 @@ public Builder clearCompositeFilter() { return this; } /** + * + * *
        * A composite filter.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ - public com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder getCompositeFilterBuilder() { + public com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder + getCompositeFilterBuilder() { return getCompositeFilterFieldBuilder().getBuilder(); } /** + * + * *
        * A composite filter.
        * 
@@ -1790,7 +1991,8 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder getCompos * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompositeFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder + getCompositeFilterOrBuilder() { if ((filterTypeCase_ == 1) && (compositeFilterBuilder_ != null)) { return compositeFilterBuilder_.getMessageOrBuilder(); } else { @@ -1801,6 +2003,8 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompo } } /** + * + * *
        * A composite filter.
        * 
@@ -1808,14 +2012,20 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompo * .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CompositeFilter, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> + com.google.firestore.v1.StructuredQuery.CompositeFilter, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, + com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder> getCompositeFilterFieldBuilder() { if (compositeFilterBuilder_ == null) { if (!(filterTypeCase_ == 1)) { - filterType_ = com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); + filterType_ = + com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance(); } - compositeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CompositeFilter, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder>( + compositeFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CompositeFilter, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder, + com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder>( (com.google.firestore.v1.StructuredQuery.CompositeFilter) filterType_, getParentForChildren(), isClean()); @@ -1827,13 +2037,19 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder getCompo } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldFilter, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> fieldFilterBuilder_; + com.google.firestore.v1.StructuredQuery.FieldFilter, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, + com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> + fieldFilterBuilder_; /** + * + * *
        * A filter on a document field.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + * * @return Whether the fieldFilter field is set. */ @java.lang.Override @@ -1841,11 +2057,14 @@ public boolean hasFieldFilter() { return filterTypeCase_ == 2; } /** + * + * *
        * A filter on a document field.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; + * * @return The fieldFilter. */ @java.lang.Override @@ -1863,6 +2082,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter getFieldFilter() { } } /** + * + * *
        * A filter on a document field.
        * 
@@ -1883,6 +2104,8 @@ public Builder setFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFilte return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1901,6 +2124,8 @@ public Builder setFieldFilter( return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1909,10 +2134,14 @@ public Builder setFieldFilter( */ public Builder mergeFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFilter value) { if (fieldFilterBuilder_ == null) { - if (filterTypeCase_ == 2 && - filterType_ != com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) { - filterType_ = com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder((com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_) - .mergeFrom(value).buildPartial(); + if (filterTypeCase_ == 2 + && filterType_ + != com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) { + filterType_ = + com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder( + (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_) + .mergeFrom(value) + .buildPartial(); } else { filterType_ = value; } @@ -1928,6 +2157,8 @@ public Builder mergeFieldFilter(com.google.firestore.v1.StructuredQuery.FieldFil return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1951,6 +2182,8 @@ public Builder clearFieldFilter() { return this; } /** + * + * *
        * A filter on a document field.
        * 
@@ -1961,6 +2194,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte return getFieldFilterFieldBuilder().getBuilder(); } /** + * + * *
        * A filter on a document field.
        * 
@@ -1968,7 +2203,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter.Builder getFieldFilte * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder + getFieldFilterOrBuilder() { if ((filterTypeCase_ == 2) && (fieldFilterBuilder_ != null)) { return fieldFilterBuilder_.getMessageOrBuilder(); } else { @@ -1979,6 +2215,8 @@ public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilt } } /** + * + * *
        * A filter on a document field.
        * 
@@ -1986,14 +2224,19 @@ public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilt * .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldFilter, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldFilter, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, + com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder> getFieldFilterFieldBuilder() { if (fieldFilterBuilder_ == null) { if (!(filterTypeCase_ == 2)) { filterType_ = com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance(); } - fieldFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldFilter, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder>( + fieldFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldFilter, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder, + com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder>( (com.google.firestore.v1.StructuredQuery.FieldFilter) filterType_, getParentForChildren(), isClean()); @@ -2005,13 +2248,19 @@ public com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder getFieldFilt } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.UnaryFilter, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> unaryFilterBuilder_; + com.google.firestore.v1.StructuredQuery.UnaryFilter, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, + com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> + unaryFilterBuilder_; /** + * + * *
        * A filter that takes exactly one argument.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + * * @return Whether the unaryFilter field is set. */ @java.lang.Override @@ -2019,11 +2268,14 @@ public boolean hasUnaryFilter() { return filterTypeCase_ == 3; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; + * * @return The unaryFilter. */ @java.lang.Override @@ -2041,6 +2293,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter getUnaryFilter() { } } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2061,6 +2315,8 @@ public Builder setUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFilte return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2079,6 +2335,8 @@ public Builder setUnaryFilter( return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2087,10 +2345,14 @@ public Builder setUnaryFilter( */ public Builder mergeUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFilter value) { if (unaryFilterBuilder_ == null) { - if (filterTypeCase_ == 3 && - filterType_ != com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) { - filterType_ = com.google.firestore.v1.StructuredQuery.UnaryFilter.newBuilder((com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_) - .mergeFrom(value).buildPartial(); + if (filterTypeCase_ == 3 + && filterType_ + != com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) { + filterType_ = + com.google.firestore.v1.StructuredQuery.UnaryFilter.newBuilder( + (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_) + .mergeFrom(value) + .buildPartial(); } else { filterType_ = value; } @@ -2106,6 +2368,8 @@ public Builder mergeUnaryFilter(com.google.firestore.v1.StructuredQuery.UnaryFil return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2129,6 +2393,8 @@ public Builder clearUnaryFilter() { return this; } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2139,6 +2405,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte return getUnaryFilterFieldBuilder().getBuilder(); } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2146,7 +2414,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder getUnaryFilte * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; */ @java.lang.Override - public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilterOrBuilder() { + public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder + getUnaryFilterOrBuilder() { if ((filterTypeCase_ == 3) && (unaryFilterBuilder_ != null)) { return unaryFilterBuilder_.getMessageOrBuilder(); } else { @@ -2157,6 +2426,8 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilt } } /** + * + * *
        * A filter that takes exactly one argument.
        * 
@@ -2164,14 +2435,19 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilt * .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.UnaryFilter, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> + com.google.firestore.v1.StructuredQuery.UnaryFilter, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, + com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder> getUnaryFilterFieldBuilder() { if (unaryFilterBuilder_ == null) { if (!(filterTypeCase_ == 3)) { filterType_ = com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance(); } - unaryFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.UnaryFilter, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder>( + unaryFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.UnaryFilter, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder, + com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder>( (com.google.firestore.v1.StructuredQuery.UnaryFilter) filterType_, getParentForChildren(), isClean()); @@ -2181,6 +2457,7 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder getUnaryFilt onChanged(); return unaryFilterBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2193,12 +2470,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Filter) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Filter) private static final com.google.firestore.v1.StructuredQuery.Filter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Filter(); } @@ -2207,27 +2484,28 @@ public static com.google.firestore.v1.StructuredQuery.Filter getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Filter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2242,33 +2520,41 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CompositeFilterOrBuilder extends + public interface CompositeFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.CompositeFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** + * + * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @return The op. */ com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp(); /** + * + * *
      * The list of filters to combine.
      * Requires:
@@ -2277,9 +2563,10 @@ public interface CompositeFilterOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    java.util.List 
-        getFiltersList();
+    java.util.List getFiltersList();
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2290,6 +2577,8 @@ public interface CompositeFilterOrBuilder extends
      */
     com.google.firestore.v1.StructuredQuery.Filter getFilters(int index);
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2300,6 +2589,8 @@ public interface CompositeFilterOrBuilder extends
      */
     int getFiltersCount();
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2308,9 +2599,11 @@ public interface CompositeFilterOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    java.util.List 
+    java.util.List
         getFiltersOrBuilderList();
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2319,25 +2612,27 @@ public interface CompositeFilterOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
-    com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(
-        int index);
+    com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * A filter that merges multiple other filters using the given operator.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CompositeFilter} */ - public static final class CompositeFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompositeFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.CompositeFilter) CompositeFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompositeFilter.newBuilder() to construct. private CompositeFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompositeFilter() { op_ = 0; filters_ = java.util.Collections.emptyList(); @@ -2345,39 +2640,43 @@ private CompositeFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompositeFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CompositeFilter.class, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.CompositeFilter.class, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); } /** + * + * *
      * A composite filter operator.
      * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.CompositeFilter.Operator} */ - public enum Operator - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -2386,6 +2685,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
        * Documents are required to satisfy all of the combined filters.
        * 
@@ -2394,6 +2695,8 @@ public enum Operator */ AND(1), /** + * + * *
        * Documents are required to satisfy at least one of the combined filters.
        * 
@@ -2405,6 +2708,8 @@ public enum Operator ; /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -2413,6 +2718,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Documents are required to satisfy all of the combined filters.
        * 
@@ -2421,6 +2728,8 @@ public enum Operator */ public static final int AND_VALUE = 1; /** + * + * *
        * Documents are required to satisfy at least one of the combined filters.
        * 
@@ -2429,7 +2738,6 @@ public enum Operator */ public static final int OR_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2454,49 +2762,51 @@ public static Operator valueOf(int value) { */ public static Operator forNumber(int value) { switch (value) { - case 0: return OPERATOR_UNSPECIFIED; - case 1: return AND; - case 2: return OR; - default: return null; + case 0: + return OPERATOR_UNSPECIFIED; + case 1: + return AND; + case 2: + return OR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Operator> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operator findValueByNumber(int number) { - return Operator.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operator findValueByNumber(int number) { + return Operator.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.firestore.v1.StructuredQuery.CompositeFilter.getDescriptor() + .getEnumTypes() + .get(0); } private static final Operator[] VALUES = values(); - public static Operator valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2516,33 +2826,47 @@ private Operator(int value) { public static final int OP_FIELD_NUMBER = 1; private int op_ = 0; /** + * + * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @return The enum numeric value on the wire for op. */ - @java.lang.Override public int getOpValue() { + @java.lang.Override + public int getOpValue() { return op_; } /** + * + * *
      * The operator for combining multiple filters.
      * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @return The op. */ - @java.lang.Override public com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.forNumber(op_); - return result == null ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp() { + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.forNumber(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED + : result; } public static final int FILTERS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List filters_; /** + * + * *
      * The list of filters to combine.
      * Requires:
@@ -2556,6 +2880,8 @@ public java.util.List getFilters
       return filters_;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2565,11 +2891,13 @@ public java.util.List getFilters
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getFiltersOrBuilderList() {
       return filters_;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2583,6 +2911,8 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2596,6 +2926,8 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
       return filters_.get(index);
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      * Requires:
@@ -2605,12 +2937,12 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
      * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
      */
     @java.lang.Override
-    public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(
-        int index) {
+    public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(int index) {
       return filters_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2622,9 +2954,10 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      if (op_ != com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      if (op_
+          != com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.OPERATOR_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(1, op_);
       }
       for (int i = 0; i < filters_.size(); i++) {
@@ -2639,13 +2972,13 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (op_ != com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, op_);
+      if (op_
+          != com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.OPERATOR_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, op_);
       }
       for (int i = 0; i < filters_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, filters_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, filters_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2655,16 +2988,16 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.firestore.v1.StructuredQuery.CompositeFilter)) {
         return super.equals(obj);
       }
-      com.google.firestore.v1.StructuredQuery.CompositeFilter other = (com.google.firestore.v1.StructuredQuery.CompositeFilter) obj;
+      com.google.firestore.v1.StructuredQuery.CompositeFilter other =
+          (com.google.firestore.v1.StructuredQuery.CompositeFilter) obj;
 
       if (op_ != other.op_) return false;
-      if (!getFiltersList()
-          .equals(other.getFiltersList())) return false;
+      if (!getFiltersList().equals(other.getFiltersList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -2688,87 +3021,94 @@ public int hashCode() {
     }
 
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.StructuredQuery.CompositeFilter parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.CompositeFilter prototype) {
+
+    public static Builder newBuilder(
+        com.google.firestore.v1.StructuredQuery.CompositeFilter prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2778,39 +3118,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A filter that merges multiple other filters using the given operator.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.CompositeFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.CompositeFilter) com.google.firestore.v1.StructuredQuery.CompositeFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.CompositeFilter.class, com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.CompositeFilter.class, + com.google.firestore.v1.StructuredQuery.CompositeFilter.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.CompositeFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2827,9 +3169,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_CompositeFilter_descriptor; } @java.lang.Override @@ -2848,14 +3190,18 @@ public com.google.firestore.v1.StructuredQuery.CompositeFilter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.CompositeFilter buildPartial() { - com.google.firestore.v1.StructuredQuery.CompositeFilter result = new com.google.firestore.v1.StructuredQuery.CompositeFilter(this); + com.google.firestore.v1.StructuredQuery.CompositeFilter result = + new com.google.firestore.v1.StructuredQuery.CompositeFilter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.firestore.v1.StructuredQuery.CompositeFilter result) { + private void buildPartialRepeatedFields( + com.google.firestore.v1.StructuredQuery.CompositeFilter result) { if (filtersBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { filters_ = java.util.Collections.unmodifiableList(filters_); @@ -2878,38 +3224,41 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.CompositeFilt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.CompositeFilter) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.CompositeFilter)other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.CompositeFilter) other); } else { super.mergeFrom(other); return this; @@ -2917,7 +3266,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CompositeFilter other) { - if (other == com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.StructuredQuery.CompositeFilter.getDefaultInstance()) + return this; if (other.op_ != 0) { setOpValue(other.getOpValue()); } @@ -2939,9 +3289,10 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.CompositeFilter filtersBuilder_ = null; filters_ = other.filters_; bitField0_ = (bitField0_ & ~0x00000002); - filtersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFiltersFieldBuilder() : null; + filtersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFiltersFieldBuilder() + : null; } else { filtersBuilder_.addAllMessages(other.filters_); } @@ -2973,30 +3324,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - op_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - com.google.firestore.v1.StructuredQuery.Filter m = - input.readMessage( - com.google.firestore.v1.StructuredQuery.Filter.parser(), - extensionRegistry); - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.add(m); - } else { - filtersBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + op_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + com.google.firestore.v1.StructuredQuery.Filter m = + input.readMessage( + com.google.firestore.v1.StructuredQuery.Filter.parser(), + extensionRegistry); + if (filtersBuilder_ == null) { + ensureFiltersIsMutable(); + filters_.add(m); + } else { + filtersBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3006,26 +3360,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int op_ = 0; /** + * + * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @return The enum numeric value on the wire for op. */ - @java.lang.Override public int getOpValue() { + @java.lang.Override + public int getOpValue() { return op_; } /** + * + * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @param value The enum numeric value on the wire for op to set. * @return This builder for chaining. */ @@ -3036,24 +3398,33 @@ public Builder setOpValue(int value) { return this; } /** + * + * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @return The op. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.forNumber(op_); - return result == null ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED : result; + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator result = + com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.forNumber(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.CompositeFilter.Operator.UNRECOGNIZED + : result; } /** + * + * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @param value The op to set. * @return This builder for chaining. */ @@ -3067,11 +3438,14 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.CompositeFilter.Ope return this; } /** + * + * *
        * The operator for combining multiple filters.
        * 
* * .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1; + * * @return This builder for chaining. */ public Builder clearOp() { @@ -3082,18 +3456,25 @@ public Builder clearOp() { } private java.util.List filters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - filters_ = new java.util.ArrayList(filters_); + filters_ = + new java.util.ArrayList(filters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> filtersBuilder_; + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder> + filtersBuilder_; /** + * + * *
        * The list of filters to combine.
        * Requires:
@@ -3110,6 +3491,8 @@ public java.util.List getFilters
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3126,6 +3509,8 @@ public int getFiltersCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3142,7 +3527,9 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
         }
       }
       /**
-       * 
+       *
+       *
+       * 
        * The list of filters to combine.
        * Requires:
        * * At least one filter is present.
@@ -3150,8 +3537,7 @@ public com.google.firestore.v1.StructuredQuery.Filter getFilters(int index) {
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public Builder setFilters(
-          int index, com.google.firestore.v1.StructuredQuery.Filter value) {
+      public Builder setFilters(int index, com.google.firestore.v1.StructuredQuery.Filter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -3165,6 +3551,8 @@ public Builder setFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3185,6 +3573,8 @@ public Builder setFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3207,6 +3597,8 @@ public Builder addFilters(com.google.firestore.v1.StructuredQuery.Filter value)
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3215,8 +3607,7 @@ public Builder addFilters(com.google.firestore.v1.StructuredQuery.Filter value)
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public Builder addFilters(
-          int index, com.google.firestore.v1.StructuredQuery.Filter value) {
+      public Builder addFilters(int index, com.google.firestore.v1.StructuredQuery.Filter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -3230,6 +3621,8 @@ public Builder addFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3250,6 +3643,8 @@ public Builder addFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3270,6 +3665,8 @@ public Builder addFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3282,8 +3679,7 @@ public Builder addAllFilters(
           java.lang.Iterable values) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, filters_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filters_);
           onChanged();
         } else {
           filtersBuilder_.addAllMessages(values);
@@ -3291,6 +3687,8 @@ public Builder addAllFilters(
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3310,6 +3708,8 @@ public Builder clearFilters() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3329,6 +3729,8 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3337,11 +3739,12 @@ public Builder removeFilters(int index) {
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(
-          int index) {
+      public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(int index) {
         return getFiltersFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3353,11 +3756,14 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder getFiltersBuilder(
       public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuilder(
           int index) {
         if (filtersBuilder_ == null) {
-          return filters_.get(index);  } else {
+          return filters_.get(index);
+        } else {
           return filtersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3366,8 +3772,8 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public java.util.List 
-           getFiltersOrBuilderList() {
+      public java.util.List
+          getFiltersOrBuilderList() {
         if (filtersBuilder_ != null) {
           return filtersBuilder_.getMessageOrBuilderList();
         } else {
@@ -3375,6 +3781,8 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
         }
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3384,10 +3792,12 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getFiltersOrBuild
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
       public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder() {
-        return getFiltersFieldBuilder().addBuilder(
-            com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
+        return getFiltersFieldBuilder()
+            .addBuilder(com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3396,12 +3806,13 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
-          int index) {
-        return getFiltersFieldBuilder().addBuilder(
-            index, com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
+      public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(int index) {
+        return getFiltersFieldBuilder()
+            .addBuilder(index, com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The list of filters to combine.
        * Requires:
@@ -3410,24 +3821,28 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder addFiltersBuilder(
        *
        * repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
        */
-      public java.util.List 
-           getFiltersBuilderList() {
+      public java.util.List
+          getFiltersBuilderList() {
         return getFiltersFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> 
+              com.google.firestore.v1.StructuredQuery.Filter,
+              com.google.firestore.v1.StructuredQuery.Filter.Builder,
+              com.google.firestore.v1.StructuredQuery.FilterOrBuilder>
           getFiltersFieldBuilder() {
         if (filtersBuilder_ == null) {
-          filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder>(
-                  filters_,
-                  ((bitField0_ & 0x00000002) != 0),
-                  getParentForChildren(),
-                  isClean());
+          filtersBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.firestore.v1.StructuredQuery.Filter,
+                  com.google.firestore.v1.StructuredQuery.Filter.Builder,
+                  com.google.firestore.v1.StructuredQuery.FilterOrBuilder>(
+                  filters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
           filters_ = null;
         }
         return filtersBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3440,12 +3855,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.CompositeFilter)
     }
 
     // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.CompositeFilter)
     private static final com.google.firestore.v1.StructuredQuery.CompositeFilter DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.CompositeFilter();
     }
@@ -3454,27 +3869,28 @@ public static com.google.firestore.v1.StructuredQuery.CompositeFilter getDefault
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CompositeFilter parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CompositeFilter parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3489,32 +3905,40 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.StructuredQuery.CompositeFilter getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface FieldFilterOrBuilder extends
+  public interface FieldFilterOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.FieldFilter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return The field. */ com.google.firestore.v1.StructuredQuery.FieldReference getField(); /** + * + * *
      * The field to filter by.
      * 
@@ -3524,43 +3948,57 @@ public interface FieldFilterOrBuilder extends com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); /** + * + * *
      * The operator to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** + * + * *
      * The operator to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + * * @return The op. */ com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp(); /** + * + * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; + * * @return The value. */ com.google.firestore.v1.Value getValue(); /** + * + * *
      * The value to compare to.
      * 
@@ -3570,60 +4008,67 @@ public interface FieldFilterOrBuilder extends com.google.firestore.v1.ValueOrBuilder getValueOrBuilder(); } /** + * + * *
    * A filter on a specific field.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldFilter} */ - public static final class FieldFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class FieldFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldFilter) FieldFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldFilter.newBuilder() to construct. private FieldFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FieldFilter() { op_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldFilter.class, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldFilter.class, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); } /** + * + * *
      * A field filter operator.
      * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.FieldFilter.Operator} */ - public enum Operator - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -3632,6 +4077,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
        * The given `field` is less than the given `value`.
        * Requires:
@@ -3642,6 +4089,8 @@ public enum Operator
        */
       LESS_THAN(1),
       /**
+       *
+       *
        * 
        * The given `field` is less than or equal to the given `value`.
        * Requires:
@@ -3652,6 +4101,8 @@ public enum Operator
        */
       LESS_THAN_OR_EQUAL(2),
       /**
+       *
+       *
        * 
        * The given `field` is greater than the given `value`.
        * Requires:
@@ -3662,6 +4113,8 @@ public enum Operator
        */
       GREATER_THAN(3),
       /**
+       *
+       *
        * 
        * The given `field` is greater than or equal to the given `value`.
        * Requires:
@@ -3672,6 +4125,8 @@ public enum Operator
        */
       GREATER_THAN_OR_EQUAL(4),
       /**
+       *
+       *
        * 
        * The given `field` is equal to the given `value`.
        * 
@@ -3680,6 +4135,8 @@ public enum Operator */ EQUAL(5), /** + * + * *
        * The given `field` is not equal to the given `value`.
        * Requires:
@@ -3691,6 +4148,8 @@ public enum Operator
        */
       NOT_EQUAL(6),
       /**
+       *
+       *
        * 
        * The given `field` is an array that contains the given `value`.
        * 
@@ -3699,6 +4158,8 @@ public enum Operator */ ARRAY_CONTAINS(7), /** + * + * *
        * The given `field` is equal to at least one value in the given array.
        * Requires:
@@ -3711,6 +4172,8 @@ public enum Operator
        */
       IN(8),
       /**
+       *
+       *
        * 
        * The given `field` is an array that contains any of the values in the
        * given array.
@@ -3725,6 +4188,8 @@ public enum Operator
        */
       ARRAY_CONTAINS_ANY(9),
       /**
+       *
+       *
        * 
        * The value of the `field` is not in the given array.
        * Requires:
@@ -3741,6 +4206,8 @@ public enum Operator
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -3749,6 +4216,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The given `field` is less than the given `value`.
        * Requires:
@@ -3759,6 +4228,8 @@ public enum Operator
        */
       public static final int LESS_THAN_VALUE = 1;
       /**
+       *
+       *
        * 
        * The given `field` is less than or equal to the given `value`.
        * Requires:
@@ -3769,6 +4240,8 @@ public enum Operator
        */
       public static final int LESS_THAN_OR_EQUAL_VALUE = 2;
       /**
+       *
+       *
        * 
        * The given `field` is greater than the given `value`.
        * Requires:
@@ -3779,6 +4252,8 @@ public enum Operator
        */
       public static final int GREATER_THAN_VALUE = 3;
       /**
+       *
+       *
        * 
        * The given `field` is greater than or equal to the given `value`.
        * Requires:
@@ -3789,6 +4264,8 @@ public enum Operator
        */
       public static final int GREATER_THAN_OR_EQUAL_VALUE = 4;
       /**
+       *
+       *
        * 
        * The given `field` is equal to the given `value`.
        * 
@@ -3797,6 +4274,8 @@ public enum Operator */ public static final int EQUAL_VALUE = 5; /** + * + * *
        * The given `field` is not equal to the given `value`.
        * Requires:
@@ -3808,6 +4287,8 @@ public enum Operator
        */
       public static final int NOT_EQUAL_VALUE = 6;
       /**
+       *
+       *
        * 
        * The given `field` is an array that contains the given `value`.
        * 
@@ -3816,6 +4297,8 @@ public enum Operator */ public static final int ARRAY_CONTAINS_VALUE = 7; /** + * + * *
        * The given `field` is equal to at least one value in the given array.
        * Requires:
@@ -3828,6 +4311,8 @@ public enum Operator
        */
       public static final int IN_VALUE = 8;
       /**
+       *
+       *
        * 
        * The given `field` is an array that contains any of the values in the
        * given array.
@@ -3842,6 +4327,8 @@ public enum Operator
        */
       public static final int ARRAY_CONTAINS_ANY_VALUE = 9;
       /**
+       *
+       *
        * 
        * The value of the `field` is not in the given array.
        * Requires:
@@ -3855,7 +4342,6 @@ public enum Operator
        */
       public static final int NOT_IN_VALUE = 10;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -3880,57 +4366,67 @@ public static Operator valueOf(int value) {
        */
       public static Operator forNumber(int value) {
         switch (value) {
-          case 0: return OPERATOR_UNSPECIFIED;
-          case 1: return LESS_THAN;
-          case 2: return LESS_THAN_OR_EQUAL;
-          case 3: return GREATER_THAN;
-          case 4: return GREATER_THAN_OR_EQUAL;
-          case 5: return EQUAL;
-          case 6: return NOT_EQUAL;
-          case 7: return ARRAY_CONTAINS;
-          case 8: return IN;
-          case 9: return ARRAY_CONTAINS_ANY;
-          case 10: return NOT_IN;
-          default: return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+          case 0:
+            return OPERATOR_UNSPECIFIED;
+          case 1:
+            return LESS_THAN;
+          case 2:
+            return LESS_THAN_OR_EQUAL;
+          case 3:
+            return GREATER_THAN;
+          case 4:
+            return GREATER_THAN_OR_EQUAL;
+          case 5:
+            return EQUAL;
+          case 6:
+            return NOT_EQUAL;
+          case 7:
+            return ARRAY_CONTAINS;
+          case 8:
+            return IN;
+          case 9:
+            return ARRAY_CONTAINS_ANY;
+          case 10:
+            return NOT_IN;
+          default:
+            return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Operator> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Operator findValueByNumber(int number) {
-                return Operator.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Operator findValueByNumber(int number) {
+              return Operator.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.firestore.v1.StructuredQuery.FieldFilter.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.firestore.v1.StructuredQuery.FieldFilter.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Operator[] VALUES = values();
 
-      public static Operator valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -3950,11 +4446,14 @@ private Operator(int value) {
     public static final int FIELD_FIELD_NUMBER = 1;
     private com.google.firestore.v1.StructuredQuery.FieldReference field_;
     /**
+     *
+     *
      * 
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return Whether the field field is set. */ @java.lang.Override @@ -3962,18 +4461,25 @@ public boolean hasField() { return field_ != null; } /** + * + * *
      * The field to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return The field. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference getField() { - return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; } /** + * + * *
      * The field to filter by.
      * 
@@ -3982,43 +4488,59 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { - return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; } public static final int OP_FIELD_NUMBER = 2; private int op_ = 0; /** + * + * *
      * The operator to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + * * @return The enum numeric value on the wire for op. */ - @java.lang.Override public int getOpValue() { + @java.lang.Override + public int getOpValue() { return op_; } /** + * + * *
      * The operator to filter by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + * * @return The op. */ - @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.forNumber(op_); - return result == null ? com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp() { + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.forNumber(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 3; private com.google.firestore.v1.Value value_; /** + * + * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; + * * @return Whether the value field is set. */ @java.lang.Override @@ -4026,11 +4548,14 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
      * The value to compare to.
      * 
* * .google.firestore.v1.Value value = 3; + * * @return The value. */ @java.lang.Override @@ -4038,6 +4563,8 @@ public com.google.firestore.v1.Value getValue() { return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; } /** + * + * *
      * The value to compare to.
      * 
@@ -4050,6 +4577,7 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4061,12 +4589,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } - if (op_ != com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) { + if (op_ + != com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { output.writeEnum(2, op_); } if (value_ != null) { @@ -4082,16 +4611,15 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); } - if (op_ != com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, op_); + if (op_ + != com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, op_); } if (value_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4101,23 +4629,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.FieldFilter)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.FieldFilter other = (com.google.firestore.v1.StructuredQuery.FieldFilter) obj; + com.google.firestore.v1.StructuredQuery.FieldFilter other = + (com.google.firestore.v1.StructuredQuery.FieldFilter) obj; if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; } if (op_ != other.op_) return false; if (hasValue() != other.hasValue()) return false; if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4146,87 +4673,94 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.FieldFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.FieldFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.FieldFilter prototype) { + + public static Builder newBuilder( + com.google.firestore.v1.StructuredQuery.FieldFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4236,39 +4770,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A filter on a specific field.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.FieldFilter) com.google.firestore.v1.StructuredQuery.FieldFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldFilter.class, com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldFilter.class, + com.google.firestore.v1.StructuredQuery.FieldFilter.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.FieldFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4288,9 +4824,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldFilter_descriptor; } @java.lang.Override @@ -4309,8 +4845,11 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter buildPartial() { - com.google.firestore.v1.StructuredQuery.FieldFilter result = new com.google.firestore.v1.StructuredQuery.FieldFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.StructuredQuery.FieldFilter result = + new com.google.firestore.v1.StructuredQuery.FieldFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -4318,17 +4857,13 @@ public com.google.firestore.v1.StructuredQuery.FieldFilter buildPartial() { private void buildPartial0(com.google.firestore.v1.StructuredQuery.FieldFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.field_ = fieldBuilder_ == null - ? field_ - : fieldBuilder_.build(); + result.field_ = fieldBuilder_ == null ? field_ : fieldBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.op_ = op_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.value_ = valueBuilder_ == null - ? value_ - : valueBuilder_.build(); + result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); } } @@ -4336,38 +4871,41 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.FieldFilter r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.FieldFilter) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.FieldFilter)other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.FieldFilter) other); } else { super.mergeFrom(other); return this; @@ -4375,7 +4913,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.FieldFilter other) { - if (other == com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.StructuredQuery.FieldFilter.getDefaultInstance()) + return this; if (other.hasField()) { mergeField(other.getField()); } @@ -4411,31 +4950,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getFieldFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - op_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getFieldFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + op_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4445,38 +4984,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.firestore.v1.StructuredQuery.FieldReference field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> fieldBuilder_; + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + fieldBuilder_; /** + * + * *
        * The field to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return Whether the field field is set. */ public boolean hasField() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The field to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return The field. */ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { if (fieldBuilder_ == null) { - return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; } else { return fieldBuilder_.getMessage(); } } /** + * + * *
        * The field to filter by.
        * 
@@ -4497,6 +5050,8 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4515,6 +5070,8 @@ public Builder setField( return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4523,9 +5080,10 @@ public Builder setField( */ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) { if (fieldBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - field_ != null && - field_ != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && field_ != null + && field_ + != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { getFieldBuilder().mergeFrom(value); } else { field_ = value; @@ -4538,6 +5096,8 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4555,6 +5115,8 @@ public Builder clearField() { return this; } /** + * + * *
        * The field to filter by.
        * 
@@ -4567,6 +5129,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * The field to filter by.
        * 
@@ -4577,11 +5141,14 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; } } /** + * + * *
        * The field to filter by.
        * 
@@ -4589,14 +5156,17 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO * .google.firestore.v1.StructuredQuery.FieldReference field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; @@ -4604,22 +5174,29 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO private int op_ = 0; /** + * + * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + * * @return The enum numeric value on the wire for op. */ - @java.lang.Override public int getOpValue() { + @java.lang.Override + public int getOpValue() { return op_; } /** + * + * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + * * @param value The enum numeric value on the wire for op to set. * @return This builder for chaining. */ @@ -4630,24 +5207,33 @@ public Builder setOpValue(int value) { return this; } /** + * + * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + * * @return The op. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.forNumber(op_); - return result == null ? com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.UNRECOGNIZED : result; + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator result = + com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.forNumber(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.FieldFilter.Operator.UNRECOGNIZED + : result; } /** + * + * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + * * @param value The op to set. * @return This builder for chaining. */ @@ -4661,11 +5247,14 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.FieldFilter.Operato return this; } /** + * + * *
        * The operator to filter by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2; + * * @return This builder for chaining. */ public Builder clearOp() { @@ -4677,24 +5266,33 @@ public Builder clearOp() { private com.google.firestore.v1.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> valueBuilder_; + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> + valueBuilder_; /** - *
+       *
+       *
+       * 
        * The value to compare to.
        * 
* * .google.firestore.v1.Value value = 3; + * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * The value to compare to.
        * 
* * .google.firestore.v1.Value value = 3; + * * @return The value. */ public com.google.firestore.v1.Value getValue() { @@ -4705,6 +5303,8 @@ public com.google.firestore.v1.Value getValue() { } } /** + * + * *
        * The value to compare to.
        * 
@@ -4725,14 +5325,15 @@ public Builder setValue(com.google.firestore.v1.Value value) { return this; } /** + * + * *
        * The value to compare to.
        * 
* * .google.firestore.v1.Value value = 3; */ - public Builder setValue( - com.google.firestore.v1.Value.Builder builderForValue) { + public Builder setValue(com.google.firestore.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { @@ -4743,6 +5344,8 @@ public Builder setValue( return this; } /** + * + * *
        * The value to compare to.
        * 
@@ -4751,9 +5354,9 @@ public Builder setValue( */ public Builder mergeValue(com.google.firestore.v1.Value value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - value_ != null && - value_ != com.google.firestore.v1.Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && value_ != null + && value_ != com.google.firestore.v1.Value.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -4766,6 +5369,8 @@ public Builder mergeValue(com.google.firestore.v1.Value value) { return this; } /** + * + * *
        * The value to compare to.
        * 
@@ -4783,6 +5388,8 @@ public Builder clearValue() { return this; } /** + * + * *
        * The value to compare to.
        * 
@@ -4795,6 +5402,8 @@ public com.google.firestore.v1.Value.Builder getValueBuilder() { return getValueFieldBuilder().getBuilder(); } /** + * + * *
        * The value to compare to.
        * 
@@ -4805,11 +5414,12 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.firestore.v1.Value.getDefaultInstance() : value_; + return value_ == null ? com.google.firestore.v1.Value.getDefaultInstance() : value_; } } /** + * + * *
        * The value to compare to.
        * 
@@ -4817,18 +5427,22 @@ public com.google.firestore.v1.ValueOrBuilder getValueOrBuilder() { * .google.firestore.v1.Value value = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Value, + com.google.firestore.v1.Value.Builder, + com.google.firestore.v1.ValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4841,12 +5455,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.FieldFilter) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.FieldFilter) private static final com.google.firestore.v1.StructuredQuery.FieldFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.FieldFilter(); } @@ -4855,27 +5469,28 @@ public static com.google.firestore.v1.StructuredQuery.FieldFilter getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4890,51 +5505,65 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.FieldFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UnaryFilterOrBuilder extends + public interface UnaryFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.UnaryFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The unary operator to apply.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** + * + * *
      * The unary operator to apply.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + * * @return The op. */ com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp(); /** + * + * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + * * @return The field. */ com.google.firestore.v1.StructuredQuery.FieldReference getField(); /** + * + * *
      * The field to which to apply the operator.
      * 
@@ -4946,60 +5575,67 @@ public interface UnaryFilterOrBuilder extends public com.google.firestore.v1.StructuredQuery.UnaryFilter.OperandTypeCase getOperandTypeCase(); } /** + * + * *
    * A filter with a single operand.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.UnaryFilter} */ - public static final class UnaryFilter extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UnaryFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.UnaryFilter) UnaryFilterOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UnaryFilter.newBuilder() to construct. private UnaryFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UnaryFilter() { op_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UnaryFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.UnaryFilter.class, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.UnaryFilter.class, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); } /** + * + * *
      * A unary operator.
      * 
* * Protobuf enum {@code google.firestore.v1.StructuredQuery.UnaryFilter.Operator} */ - public enum Operator - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified. This value must not be used.
        * 
@@ -5008,6 +5644,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
        * The given `field` is equal to `NaN`.
        * 
@@ -5016,6 +5654,8 @@ public enum Operator */ IS_NAN(2), /** + * + * *
        * The given `field` is equal to `NULL`.
        * 
@@ -5024,6 +5664,8 @@ public enum Operator */ IS_NULL(3), /** + * + * *
        * The given `field` is not equal to `NaN`.
        * Requires:
@@ -5035,6 +5677,8 @@ public enum Operator
        */
       IS_NOT_NAN(4),
       /**
+       *
+       *
        * 
        * The given `field` is not equal to `NULL`.
        * Requires:
@@ -5049,6 +5693,8 @@ public enum Operator
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified. This value must not be used.
        * 
@@ -5057,6 +5703,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The given `field` is equal to `NaN`.
        * 
@@ -5065,6 +5713,8 @@ public enum Operator */ public static final int IS_NAN_VALUE = 2; /** + * + * *
        * The given `field` is equal to `NULL`.
        * 
@@ -5073,6 +5723,8 @@ public enum Operator */ public static final int IS_NULL_VALUE = 3; /** + * + * *
        * The given `field` is not equal to `NaN`.
        * Requires:
@@ -5084,6 +5736,8 @@ public enum Operator
        */
       public static final int IS_NOT_NAN_VALUE = 4;
       /**
+       *
+       *
        * 
        * The given `field` is not equal to `NULL`.
        * Requires:
@@ -5095,7 +5749,6 @@ public enum Operator
        */
       public static final int IS_NOT_NULL_VALUE = 5;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -5120,51 +5773,55 @@ public static Operator valueOf(int value) {
        */
       public static Operator forNumber(int value) {
         switch (value) {
-          case 0: return OPERATOR_UNSPECIFIED;
-          case 2: return IS_NAN;
-          case 3: return IS_NULL;
-          case 4: return IS_NOT_NAN;
-          case 5: return IS_NOT_NULL;
-          default: return null;
-        }
-      }
-
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+          case 0:
+            return OPERATOR_UNSPECIFIED;
+          case 2:
+            return IS_NAN;
+          case 3:
+            return IS_NULL;
+          case 4:
+            return IS_NOT_NAN;
+          case 5:
+            return IS_NOT_NULL;
+          default:
+            return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Operator> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Operator findValueByNumber(int number) {
-                return Operator.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Operator findValueByNumber(int number) {
+              return Operator.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.firestore.v1.StructuredQuery.UnaryFilter.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Operator[] VALUES = values();
 
-      public static Operator valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -5183,12 +5840,15 @@ private Operator(int value) {
 
     private int operandTypeCase_ = 0;
     private java.lang.Object operandType_;
+
     public enum OperandTypeCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       FIELD(2),
       OPERANDTYPE_NOT_SET(0);
       private final int value;
+
       private OperandTypeCase(int value) {
         this.value = value;
       }
@@ -5204,55 +5864,71 @@ public static OperandTypeCase valueOf(int value) {
 
       public static OperandTypeCase forNumber(int value) {
         switch (value) {
-          case 2: return FIELD;
-          case 0: return OPERANDTYPE_NOT_SET;
-          default: return null;
+          case 2:
+            return FIELD;
+          case 0:
+            return OPERANDTYPE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public OperandTypeCase
-    getOperandTypeCase() {
-      return OperandTypeCase.forNumber(
-          operandTypeCase_);
+    public OperandTypeCase getOperandTypeCase() {
+      return OperandTypeCase.forNumber(operandTypeCase_);
     }
 
     public static final int OP_FIELD_NUMBER = 1;
     private int op_ = 0;
     /**
+     *
+     *
      * 
      * The unary operator to apply.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + * * @return The enum numeric value on the wire for op. */ - @java.lang.Override public int getOpValue() { + @java.lang.Override + public int getOpValue() { return op_; } /** + * + * *
      * The unary operator to apply.
      * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + * * @return The op. */ - @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.forNumber(op_); - return result == null ? com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp() { + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.forNumber(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED + : result; } public static final int FIELD_FIELD_NUMBER = 2; /** + * + * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + * * @return Whether the field field is set. */ @java.lang.Override @@ -5260,21 +5936,26 @@ public boolean hasField() { return operandTypeCase_ == 2; } /** + * + * *
      * The field to which to apply the operator.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + * * @return The field. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference getField() { if (operandTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; + return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; } return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); } /** + * + * *
      * The field to which to apply the operator.
      * 
@@ -5284,12 +5965,13 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { if (operandTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; + return (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_; } return com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5301,13 +5983,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (op_ != com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (op_ + != com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { output.writeEnum(1, op_); } if (operandTypeCase_ == 2) { - output.writeMessage(2, (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); + output.writeMessage( + 2, (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); } getUnknownFields().writeTo(output); } @@ -5318,13 +6002,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (op_ != com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, op_); + if (op_ + != com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, op_); } if (operandTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5334,19 +6020,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.UnaryFilter)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.UnaryFilter other = (com.google.firestore.v1.StructuredQuery.UnaryFilter) obj; + com.google.firestore.v1.StructuredQuery.UnaryFilter other = + (com.google.firestore.v1.StructuredQuery.UnaryFilter) obj; if (op_ != other.op_) return false; if (!getOperandTypeCase().equals(other.getOperandTypeCase())) return false; switch (operandTypeCase_) { case 2: - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; break; case 0: default: @@ -5378,87 +6064,94 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.UnaryFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.UnaryFilter prototype) { + + public static Builder newBuilder( + com.google.firestore.v1.StructuredQuery.UnaryFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5468,39 +6161,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A filter with a single operand.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.UnaryFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.UnaryFilter) com.google.firestore.v1.StructuredQuery.UnaryFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.UnaryFilter.class, com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); + com.google.firestore.v1.StructuredQuery.UnaryFilter.class, + com.google.firestore.v1.StructuredQuery.UnaryFilter.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.UnaryFilter.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5515,9 +6210,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor; } @java.lang.Override @@ -5536,8 +6231,11 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter buildPartial() { - com.google.firestore.v1.StructuredQuery.UnaryFilter result = new com.google.firestore.v1.StructuredQuery.UnaryFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.StructuredQuery.UnaryFilter result = + new com.google.firestore.v1.StructuredQuery.UnaryFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -5553,8 +6251,7 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.UnaryFilter r private void buildPartialOneofs(com.google.firestore.v1.StructuredQuery.UnaryFilter result) { result.operandTypeCase_ = operandTypeCase_; result.operandType_ = this.operandType_; - if (operandTypeCase_ == 2 && - fieldBuilder_ != null) { + if (operandTypeCase_ == 2 && fieldBuilder_ != null) { result.operandType_ = fieldBuilder_.build(); } } @@ -5563,38 +6260,41 @@ private void buildPartialOneofs(com.google.firestore.v1.StructuredQuery.UnaryFil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.UnaryFilter) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.UnaryFilter)other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.UnaryFilter) other); } else { super.mergeFrom(other); return this; @@ -5602,18 +6302,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.UnaryFilter other) { - if (other == com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.StructuredQuery.UnaryFilter.getDefaultInstance()) + return this; if (other.op_ != 0) { setOpValue(other.getOpValue()); } switch (other.getOperandTypeCase()) { - case FIELD: { - mergeField(other.getField()); - break; - } - case OPERANDTYPE_NOT_SET: { - break; - } + case FIELD: + { + mergeField(other.getField()); + break; + } + case OPERANDTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -5641,24 +6344,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - op_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getFieldFieldBuilder().getBuilder(), - extensionRegistry); - operandTypeCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + op_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getFieldFieldBuilder().getBuilder(), extensionRegistry); + operandTypeCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5668,12 +6372,12 @@ public Builder mergeFrom( } // finally return this; } + private int operandTypeCase_ = 0; private java.lang.Object operandType_; - public OperandTypeCase - getOperandTypeCase() { - return OperandTypeCase.forNumber( - operandTypeCase_); + + public OperandTypeCase getOperandTypeCase() { + return OperandTypeCase.forNumber(operandTypeCase_); } public Builder clearOperandType() { @@ -5687,22 +6391,29 @@ public Builder clearOperandType() { private int op_ = 0; /** + * + * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + * * @return The enum numeric value on the wire for op. */ - @java.lang.Override public int getOpValue() { + @java.lang.Override + public int getOpValue() { return op_; } /** + * + * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + * * @param value The enum numeric value on the wire for op to set. * @return This builder for chaining. */ @@ -5713,24 +6424,33 @@ public Builder setOpValue(int value) { return this; } /** + * + * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + * * @return The op. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator getOp() { - com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.forNumber(op_); - return result == null ? com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED : result; + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator result = + com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.forNumber(op_); + return result == null + ? com.google.firestore.v1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED + : result; } /** + * + * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + * * @param value The op to set. * @return This builder for chaining. */ @@ -5744,11 +6464,14 @@ public Builder setOp(com.google.firestore.v1.StructuredQuery.UnaryFilter.Operato return this; } /** + * + * *
        * The unary operator to apply.
        * 
* * .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1; + * * @return This builder for chaining. */ public Builder clearOp() { @@ -5759,13 +6482,19 @@ public Builder clearOp() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> fieldBuilder_; + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + fieldBuilder_; /** + * + * *
        * The field to which to apply the operator.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + * * @return Whether the field field is set. */ @java.lang.Override @@ -5773,11 +6502,14 @@ public boolean hasField() { return operandTypeCase_ == 2; } /** + * + * *
        * The field to which to apply the operator.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 2; + * * @return The field. */ @java.lang.Override @@ -5795,6 +6527,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { } } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5815,6 +6549,8 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5833,6 +6569,8 @@ public Builder setField( return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5841,10 +6579,14 @@ public Builder setField( */ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) { if (fieldBuilder_ == null) { - if (operandTypeCase_ == 2 && - operandType_ != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { - operandType_ = com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder((com.google.firestore.v1.StructuredQuery.FieldReference) operandType_) - .mergeFrom(value).buildPartial(); + if (operandTypeCase_ == 2 + && operandType_ + != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { + operandType_ = + com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder( + (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_) + .mergeFrom(value) + .buildPartial(); } else { operandType_ = value; } @@ -5860,6 +6602,8 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5883,6 +6627,8 @@ public Builder clearField() { return this; } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5893,6 +6639,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5911,6 +6659,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO } } /** + * + * *
        * The field to which to apply the operator.
        * 
@@ -5918,14 +6668,20 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO * .google.firestore.v1.StructuredQuery.FieldReference field = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { if (!(operandTypeCase_ == 2)) { - operandType_ = com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); + operandType_ = + com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance(); } - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( (com.google.firestore.v1.StructuredQuery.FieldReference) operandType_, getParentForChildren(), isClean()); @@ -5935,6 +6691,7 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO onChanged(); return fieldBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5947,12 +6704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.UnaryFilter) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.UnaryFilter) private static final com.google.firestore.v1.StructuredQuery.UnaryFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.UnaryFilter(); } @@ -5961,27 +6718,28 @@ public static com.google.firestore.v1.StructuredQuery.UnaryFilter getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnaryFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnaryFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5996,32 +6754,40 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.UnaryFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface OrderOrBuilder extends + public interface OrderOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Order) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return Whether the field field is set. */ boolean hasField(); /** + * + * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return The field. */ com.google.firestore.v1.StructuredQuery.FieldReference getField(); /** + * + * *
      * The field to order by.
      * 
@@ -6031,77 +6797,90 @@ public interface OrderOrBuilder extends com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); /** + * + * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @return The enum numeric value on the wire for direction. */ int getDirectionValue(); /** + * + * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @return The direction. */ com.google.firestore.v1.StructuredQuery.Direction getDirection(); } /** + * + * *
    * An order on a field.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} */ - public static final class Order extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Order extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Order) OrderOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Order.newBuilder() to construct. private Order(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Order() { direction_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Order(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Order.class, com.google.firestore.v1.StructuredQuery.Order.Builder.class); + com.google.firestore.v1.StructuredQuery.Order.class, + com.google.firestore.v1.StructuredQuery.Order.Builder.class); } public static final int FIELD_FIELD_NUMBER = 1; private com.google.firestore.v1.StructuredQuery.FieldReference field_; /** + * + * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return Whether the field field is set. */ @java.lang.Override @@ -6109,18 +6888,25 @@ public boolean hasField() { return field_ != null; } /** + * + * *
      * The field to order by.
      * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return The field. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference getField() { - return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; } /** + * + * *
      * The field to order by.
      * 
@@ -6129,36 +6915,50 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { - return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; } public static final int DIRECTION_FIELD_NUMBER = 2; private int direction_ = 0; /** + * + * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @return The enum numeric value on the wire for direction. */ - @java.lang.Override public int getDirectionValue() { + @java.lang.Override + public int getDirectionValue() { return direction_; } /** + * + * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @return The direction. */ - @java.lang.Override public com.google.firestore.v1.StructuredQuery.Direction getDirection() { - com.google.firestore.v1.StructuredQuery.Direction result = com.google.firestore.v1.StructuredQuery.Direction.forNumber(direction_); - return result == null ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.v1.StructuredQuery.Direction getDirection() { + com.google.firestore.v1.StructuredQuery.Direction result = + com.google.firestore.v1.StructuredQuery.Direction.forNumber(direction_); + return result == null + ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6170,12 +6970,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (field_ != null) { output.writeMessage(1, getField()); } - if (direction_ != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + if (direction_ + != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) { output.writeEnum(2, direction_); } getUnknownFields().writeTo(output); @@ -6188,12 +6988,11 @@ public int getSerializedSize() { size = 0; if (field_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getField()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); } - if (direction_ != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, direction_); + if (direction_ + != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6203,17 +7002,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.Order)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.Order other = (com.google.firestore.v1.StructuredQuery.Order) obj; + com.google.firestore.v1.StructuredQuery.Order other = + (com.google.firestore.v1.StructuredQuery.Order) obj; if (hasField() != other.hasField()) return false; if (hasField()) { - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; } if (direction_ != other.direction_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -6238,88 +7037,94 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.StructuredQuery.Order parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.StructuredQuery.Order parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.Order parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.Order parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.Order parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.Order parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.Order parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.Order parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.Order prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6329,39 +7134,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An order on a field.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.Order) com.google.firestore.v1.StructuredQuery.OrderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Order.class, com.google.firestore.v1.StructuredQuery.Order.Builder.class); + com.google.firestore.v1.StructuredQuery.Order.class, + com.google.firestore.v1.StructuredQuery.Order.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.Order.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6376,9 +7183,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; } @java.lang.Override @@ -6397,8 +7204,11 @@ public com.google.firestore.v1.StructuredQuery.Order build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.Order buildPartial() { - com.google.firestore.v1.StructuredQuery.Order result = new com.google.firestore.v1.StructuredQuery.Order(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.StructuredQuery.Order result = + new com.google.firestore.v1.StructuredQuery.Order(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -6406,9 +7216,7 @@ public com.google.firestore.v1.StructuredQuery.Order buildPartial() { private void buildPartial0(com.google.firestore.v1.StructuredQuery.Order result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.field_ = fieldBuilder_ == null - ? field_ - : fieldBuilder_.build(); + result.field_ = fieldBuilder_ == null ? field_ : fieldBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.direction_ = direction_; @@ -6419,38 +7227,41 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.Order result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.Order) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.Order)other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.Order) other); } else { super.mergeFrom(other); return this; @@ -6458,7 +7269,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Order other) { - if (other == com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance()) + return this; if (other.hasField()) { mergeField(other.getField()); } @@ -6491,24 +7303,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getFieldFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - direction_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getFieldFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + direction_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6518,38 +7331,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.firestore.v1.StructuredQuery.FieldReference field_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> fieldBuilder_; + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + fieldBuilder_; /** + * + * *
        * The field to order by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return Whether the field field is set. */ public boolean hasField() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The field to order by.
        * 
* * .google.firestore.v1.StructuredQuery.FieldReference field = 1; + * * @return The field. */ public com.google.firestore.v1.StructuredQuery.FieldReference getField() { if (fieldBuilder_ == null) { - return field_ == null ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; } else { return fieldBuilder_.getMessage(); } } /** + * + * *
        * The field to order by.
        * 
@@ -6570,6 +7397,8 @@ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference v return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6588,6 +7417,8 @@ public Builder setField( return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6596,9 +7427,10 @@ public Builder setField( */ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) { if (fieldBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - field_ != null && - field_ != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && field_ != null + && field_ + != com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) { getFieldBuilder().mergeFrom(value); } else { field_ = value; @@ -6611,6 +7443,8 @@ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6628,6 +7462,8 @@ public Builder clearField() { return this; } /** + * + * *
        * The field to order by.
        * 
@@ -6640,6 +7476,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBu return getFieldFieldBuilder().getBuilder(); } /** + * + * *
        * The field to order by.
        * 
@@ -6650,11 +7488,14 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO if (fieldBuilder_ != null) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null ? - com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() : field_; + return field_ == null + ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; } } /** + * + * *
        * The field to order by.
        * 
@@ -6662,14 +7503,17 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO * .google.firestore.v1.StructuredQuery.FieldReference field = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { - fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( - getField(), - getParentForChildren(), - isClean()); + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>( + getField(), getParentForChildren(), isClean()); field_ = null; } return fieldBuilder_; @@ -6677,22 +7521,29 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldO private int direction_ = 0; /** + * + * *
        * The direction to order by. Defaults to `ASCENDING`.
        * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @return The enum numeric value on the wire for direction. */ - @java.lang.Override public int getDirectionValue() { + @java.lang.Override + public int getDirectionValue() { return direction_; } /** + * + * *
        * The direction to order by. Defaults to `ASCENDING`.
        * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @param value The enum numeric value on the wire for direction to set. * @return This builder for chaining. */ @@ -6703,24 +7554,33 @@ public Builder setDirectionValue(int value) { return this; } /** + * + * *
        * The direction to order by. Defaults to `ASCENDING`.
        * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @return The direction. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.Direction getDirection() { - com.google.firestore.v1.StructuredQuery.Direction result = com.google.firestore.v1.StructuredQuery.Direction.forNumber(direction_); - return result == null ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED : result; + com.google.firestore.v1.StructuredQuery.Direction result = + com.google.firestore.v1.StructuredQuery.Direction.forNumber(direction_); + return result == null + ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED + : result; } /** + * + * *
        * The direction to order by. Defaults to `ASCENDING`.
        * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @param value The direction to set. * @return This builder for chaining. */ @@ -6734,11 +7594,14 @@ public Builder setDirection(com.google.firestore.v1.StructuredQuery.Direction va return this; } /** + * + * *
        * The direction to order by. Defaults to `ASCENDING`.
        * 
* * .google.firestore.v1.StructuredQuery.Direction direction = 2; + * * @return This builder for chaining. */ public Builder clearDirection() { @@ -6747,6 +7610,7 @@ public Builder clearDirection() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6759,12 +7623,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Order) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Order) private static final com.google.firestore.v1.StructuredQuery.Order DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Order(); } @@ -6773,27 +7637,28 @@ public static com.google.firestore.v1.StructuredQuery.Order getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Order parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Order parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6808,14 +7673,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.Order getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface FieldReferenceOrBuilder extends + public interface FieldReferenceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.FieldReference) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The relative path of the document being referenced.
      * Requires:
@@ -6824,10 +7691,13 @@ public interface FieldReferenceOrBuilder extends
      * 
* * string field_path = 2; + * * @return The fieldPath. */ java.lang.String getFieldPath(); /** + * + * *
      * The relative path of the document being referenced.
      * Requires:
@@ -6836,60 +7706,67 @@ public interface FieldReferenceOrBuilder extends
      * 
* * string field_path = 2; + * * @return The bytes for fieldPath. */ - com.google.protobuf.ByteString - getFieldPathBytes(); + com.google.protobuf.ByteString getFieldPathBytes(); } /** + * + * *
    * A reference to a field in a document, ex: `stats.operations`.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} */ - public static final class FieldReference extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class FieldReference extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldReference) FieldReferenceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FieldReference.newBuilder() to construct. private FieldReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FieldReference() { fieldPath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FieldReference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldReference.class, com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldReference.class, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); } public static final int FIELD_PATH_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object fieldPath_ = ""; /** + * + * *
      * The relative path of the document being referenced.
      * Requires:
@@ -6898,6 +7775,7 @@ protected java.lang.Object newInstance(
      * 
* * string field_path = 2; + * * @return The fieldPath. */ @java.lang.Override @@ -6906,14 +7784,15 @@ public java.lang.String getFieldPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; } } /** + * + * *
      * The relative path of the document being referenced.
      * Requires:
@@ -6922,16 +7801,15 @@ public java.lang.String getFieldPath() {
      * 
* * string field_path = 2; + * * @return The bytes for fieldPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldPathBytes() { + public com.google.protobuf.ByteString getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -6940,6 +7818,7 @@ public java.lang.String getFieldPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6951,8 +7830,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldPath_); } @@ -6976,15 +7854,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.StructuredQuery.FieldReference)) { return super.equals(obj); } - com.google.firestore.v1.StructuredQuery.FieldReference other = (com.google.firestore.v1.StructuredQuery.FieldReference) obj; + com.google.firestore.v1.StructuredQuery.FieldReference other = + (com.google.firestore.v1.StructuredQuery.FieldReference) obj; - if (!getFieldPath() - .equals(other.getFieldPath())) return false; + if (!getFieldPath().equals(other.getFieldPath())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7004,87 +7882,94 @@ public int hashCode() { } public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.StructuredQuery.FieldReference parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.StructuredQuery.FieldReference parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.FieldReference parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.FieldReference prototype) { + + public static Builder newBuilder( + com.google.firestore.v1.StructuredQuery.FieldReference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7094,39 +7979,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A reference to a field in a document, ex: `stats.operations`.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.FieldReference) com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldReference.class, com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); + com.google.firestore.v1.StructuredQuery.FieldReference.class, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -7136,9 +8023,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override @@ -7157,8 +8044,11 @@ public com.google.firestore.v1.StructuredQuery.FieldReference build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.FieldReference buildPartial() { - com.google.firestore.v1.StructuredQuery.FieldReference result = new com.google.firestore.v1.StructuredQuery.FieldReference(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.StructuredQuery.FieldReference result = + new com.google.firestore.v1.StructuredQuery.FieldReference(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -7174,38 +8064,41 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.FieldReferenc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.FieldReference) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.FieldReference)other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.FieldReference) other); } else { super.mergeFrom(other); return this; @@ -7213,7 +8106,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.FieldReference other) { - if (other == com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()) + return this; if (!other.getFieldPath().isEmpty()) { fieldPath_ = other.fieldPath_; bitField0_ |= 0x00000001; @@ -7245,17 +8139,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - fieldPath_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + fieldPath_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7265,10 +8161,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object fieldPath_ = ""; /** + * + * *
        * The relative path of the document being referenced.
        * Requires:
@@ -7277,13 +8176,13 @@ public Builder mergeFrom(
        * 
* * string field_path = 2; + * * @return The fieldPath. */ public java.lang.String getFieldPath() { java.lang.Object ref = fieldPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fieldPath_ = s; return s; @@ -7292,6 +8191,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The relative path of the document being referenced.
        * Requires:
@@ -7300,15 +8201,14 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 2; + * * @return The bytes for fieldPath. */ - public com.google.protobuf.ByteString - getFieldPathBytes() { + public com.google.protobuf.ByteString getFieldPathBytes() { java.lang.Object ref = fieldPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fieldPath_ = b; return b; } else { @@ -7316,6 +8216,8 @@ public java.lang.String getFieldPath() { } } /** + * + * *
        * The relative path of the document being referenced.
        * Requires:
@@ -7324,18 +8226,22 @@ public java.lang.String getFieldPath() {
        * 
* * string field_path = 2; + * * @param value The fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPath( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } fieldPath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The relative path of the document being referenced.
        * Requires:
@@ -7344,6 +8250,7 @@ public Builder setFieldPath(
        * 
* * string field_path = 2; + * * @return This builder for chaining. */ public Builder clearFieldPath() { @@ -7353,6 +8260,8 @@ public Builder clearFieldPath() { return this; } /** + * + * *
        * The relative path of the document being referenced.
        * Requires:
@@ -7361,18 +8270,21 @@ public Builder clearFieldPath() {
        * 
* * string field_path = 2; + * * @param value The bytes for fieldPath to set. * @return This builder for chaining. */ - public Builder setFieldPathBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); fieldPath_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7385,12 +8297,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.FieldReference) } // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.FieldReference) private static final com.google.firestore.v1.StructuredQuery.FieldReference DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.FieldReference(); } @@ -7399,27 +8311,28 @@ public static com.google.firestore.v1.StructuredQuery.FieldReference getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FieldReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FieldReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7434,14 +8347,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.StructuredQuery.FieldReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ProjectionOrBuilder extends + public interface ProjectionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Projection) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7450,9 +8365,10 @@ public interface ProjectionOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    java.util.List 
-        getFieldsList();
+    java.util.List getFieldsList();
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7463,6 +8379,8 @@ public interface ProjectionOrBuilder extends
      */
     com.google.firestore.v1.StructuredQuery.FieldReference getFields(int index);
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7473,6 +8391,8 @@ public interface ProjectionOrBuilder extends
      */
     int getFieldsCount();
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7481,9 +8401,11 @@ public interface ProjectionOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    java.util.List 
+    java.util.List
         getFieldsOrBuilderList();
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7492,58 +8414,64 @@ public interface ProjectionOrBuilder extends
      *
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
-    com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(
-        int index);
+    com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * The projection of document's fields to return.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Projection} */ - public static final class Projection extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Projection extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Projection) ProjectionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Projection.newBuilder() to construct. private Projection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Projection() { fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Projection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Projection.class, com.google.firestore.v1.StructuredQuery.Projection.Builder.class); + com.google.firestore.v1.StructuredQuery.Projection.class, + com.google.firestore.v1.StructuredQuery.Projection.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List fields_; /** + * + * *
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7557,6 +8485,8 @@ public java.util.List ge
       return fields_;
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7566,11 +8496,13 @@ public java.util.List ge
      * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getFieldsOrBuilderList() {
       return fields_;
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7584,6 +8516,8 @@ public int getFieldsCount() {
       return fields_.size();
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7597,6 +8531,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int inde
       return fields_.get(index);
     }
     /**
+     *
+     *
      * 
      * The fields to return.
      * If empty, all fields are returned. To only return the name
@@ -7612,6 +8548,7 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -7623,8 +8560,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       for (int i = 0; i < fields_.size(); i++) {
         output.writeMessage(2, fields_.get(i));
       }
@@ -7638,8 +8574,7 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < fields_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, fields_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -7649,15 +8584,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.firestore.v1.StructuredQuery.Projection)) {
         return super.equals(obj);
       }
-      com.google.firestore.v1.StructuredQuery.Projection other = (com.google.firestore.v1.StructuredQuery.Projection) obj;
+      com.google.firestore.v1.StructuredQuery.Projection other =
+          (com.google.firestore.v1.StructuredQuery.Projection) obj;
 
-      if (!getFieldsList()
-          .equals(other.getFieldsList())) return false;
+      if (!getFieldsList().equals(other.getFieldsList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -7679,87 +8614,93 @@ public int hashCode() {
     }
 
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.firestore.v1.StructuredQuery.Projection parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.firestore.v1.StructuredQuery.Projection parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.StructuredQuery.Projection parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.StructuredQuery.Projection parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.Projection prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -7769,39 +8710,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * The projection of document's fields to return.
      * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery.Projection} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery.Projection) com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Projection.class, com.google.firestore.v1.StructuredQuery.Projection.Builder.class); + com.google.firestore.v1.StructuredQuery.Projection.class, + com.google.firestore.v1.StructuredQuery.Projection.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.Projection.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -7817,9 +8760,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor; } @java.lang.Override @@ -7838,14 +8781,18 @@ public com.google.firestore.v1.StructuredQuery.Projection build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery.Projection buildPartial() { - com.google.firestore.v1.StructuredQuery.Projection result = new com.google.firestore.v1.StructuredQuery.Projection(this); + com.google.firestore.v1.StructuredQuery.Projection result = + new com.google.firestore.v1.StructuredQuery.Projection(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.firestore.v1.StructuredQuery.Projection result) { + private void buildPartialRepeatedFields( + com.google.firestore.v1.StructuredQuery.Projection result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -7865,38 +8812,41 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery.Projection re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery.Projection) { - return mergeFrom((com.google.firestore.v1.StructuredQuery.Projection)other); + return mergeFrom((com.google.firestore.v1.StructuredQuery.Projection) other); } else { super.mergeFrom(other); return this; @@ -7904,7 +8854,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Projection other) { - if (other == com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) + return this; if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { @@ -7923,9 +8874,10 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery.Projection othe fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFieldsFieldBuilder() : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -7957,25 +8909,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - com.google.firestore.v1.StructuredQuery.FieldReference m = - input.readMessage( - com.google.firestore.v1.StructuredQuery.FieldReference.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + com.google.firestore.v1.StructuredQuery.FieldReference m = + input.readMessage( + com.google.firestore.v1.StructuredQuery.FieldReference.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7985,21 +8939,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - fields_ = new java.util.ArrayList(fields_); + fields_ = + new java.util.ArrayList( + fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> fieldsBuilder_; + com.google.firestore.v1.StructuredQuery.FieldReference, + com.google.firestore.v1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> + fieldsBuilder_; /** + * + * *
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8008,7 +8971,8 @@ private void ensureFieldsIsMutable() {
        *
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
-      public java.util.List getFieldsList() {
+      public java.util.List
+          getFieldsList() {
         if (fieldsBuilder_ == null) {
           return java.util.Collections.unmodifiableList(fields_);
         } else {
@@ -8016,6 +8980,8 @@ public java.util.List ge
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8032,6 +8998,8 @@ public int getFieldsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8048,6 +9016,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference getFields(int inde
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8071,6 +9041,8 @@ public Builder setFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8080,7 +9052,8 @@ public Builder setFields(
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public Builder setFields(
-          int index, com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
+          int index,
+          com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
         if (fieldsBuilder_ == null) {
           ensureFieldsIsMutable();
           fields_.set(index, builderForValue.build());
@@ -8091,6 +9064,8 @@ public Builder setFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8113,6 +9088,8 @@ public Builder addFields(com.google.firestore.v1.StructuredQuery.FieldReference
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8136,6 +9113,8 @@ public Builder addFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8156,6 +9135,8 @@ public Builder addFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8165,7 +9146,8 @@ public Builder addFields(
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public Builder addFields(
-          int index, com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
+          int index,
+          com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
         if (fieldsBuilder_ == null) {
           ensureFieldsIsMutable();
           fields_.add(index, builderForValue.build());
@@ -8176,6 +9158,8 @@ public Builder addFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8185,11 +9169,11 @@ public Builder addFields(
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public Builder addAllFields(
-          java.lang.Iterable values) {
+          java.lang.Iterable
+              values) {
         if (fieldsBuilder_ == null) {
           ensureFieldsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, fields_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_);
           onChanged();
         } else {
           fieldsBuilder_.addAllMessages(values);
@@ -8197,6 +9181,8 @@ public Builder addAllFields(
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8216,6 +9202,8 @@ public Builder clearFields() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8235,6 +9223,8 @@ public Builder removeFields(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8248,6 +9238,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldsB
         return getFieldsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8259,11 +9251,14 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldsB
       public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder(
           int index) {
         if (fieldsBuilder_ == null) {
-          return fields_.get(index);  } else {
+          return fields_.get(index);
+        } else {
           return fieldsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8272,8 +9267,9 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
        *
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
-      public java.util.List 
-           getFieldsOrBuilderList() {
+      public java.util.List<
+              ? extends com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>
+          getFieldsOrBuilderList() {
         if (fieldsBuilder_ != null) {
           return fieldsBuilder_.getMessageOrBuilderList();
         } else {
@@ -8281,6 +9277,8 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
         }
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8290,10 +9288,13 @@ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFields
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
       public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsBuilder() {
-        return getFieldsFieldBuilder().addBuilder(
-            com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
+        return getFieldsFieldBuilder()
+            .addBuilder(
+                com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8304,10 +9305,13 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsB
        */
       public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsBuilder(
           int index) {
-        return getFieldsFieldBuilder().addBuilder(
-            index, com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
+        return getFieldsFieldBuilder()
+            .addBuilder(
+                index, com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The fields to return.
        * If empty, all fields are returned. To only return the name
@@ -8316,24 +9320,28 @@ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder addFieldsB
        *
        * repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
        */
-      public java.util.List 
-           getFieldsBuilderList() {
+      public java.util.List
+          getFieldsBuilderList() {
         return getFieldsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder> 
+              com.google.firestore.v1.StructuredQuery.FieldReference,
+              com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
+              com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>
           getFieldsFieldBuilder() {
         if (fieldsBuilder_ == null) {
-          fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.firestore.v1.StructuredQuery.FieldReference, com.google.firestore.v1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>(
-                  fields_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          fieldsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.firestore.v1.StructuredQuery.FieldReference,
+                  com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
+                  com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>(
+                  fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           fields_ = null;
         }
         return fieldsBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -8346,12 +9354,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Projection)
     }
 
     // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Projection)
     private static final com.google.firestore.v1.StructuredQuery.Projection DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Projection();
     }
@@ -8360,27 +9368,28 @@ public static com.google.firestore.v1.StructuredQuery.Projection getDefaultInsta
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Projection parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Projection parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -8395,12 +9404,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.StructuredQuery.Projection getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int SELECT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.StructuredQuery.Projection select_;
   /**
+   *
+   *
    * 
    * Optional sub-set of the fields to return.
    * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -8409,6 +9419,7 @@ public com.google.firestore.v1.StructuredQuery.Projection getDefaultInstanceForT
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return Whether the select field is set. */ @java.lang.Override @@ -8416,6 +9427,8 @@ public boolean hasSelect() { return select_ != null; } /** + * + * *
    * Optional sub-set of the fields to return.
    * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -8424,13 +9437,18 @@ public boolean hasSelect() {
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return The select. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.Projection getSelect() { - return select_ == null ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; + return select_ == null + ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() + : select_; } /** + * + * *
    * Optional sub-set of the fields to return.
    * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -8442,13 +9460,18 @@ public com.google.firestore.v1.StructuredQuery.Projection getSelect() {
    */
   @java.lang.Override
   public com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBuilder() {
-    return select_ == null ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_;
+    return select_ == null
+        ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()
+        : select_;
   }
 
   public static final int FROM_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List from_;
   /**
+   *
+   *
    * 
    * The collections to query.
    * 
@@ -8460,6 +9483,8 @@ public java.util.List * The collections to query. *
@@ -8467,11 +9492,14 @@ public java.util.Listrepeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> getFromOrBuilderList() { return from_; } /** + * + * *
    * The collections to query.
    * 
@@ -8483,6 +9511,8 @@ public int getFromCount() { return from_.size(); } /** + * + * *
    * The collections to query.
    * 
@@ -8494,6 +9524,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int in return from_.get(index); } /** + * + * *
    * The collections to query.
    * 
@@ -8509,11 +9541,14 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr public static final int WHERE_FIELD_NUMBER = 3; private com.google.firestore.v1.StructuredQuery.Filter where_; /** + * + * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; + * * @return Whether the where field is set. */ @java.lang.Override @@ -8521,18 +9556,25 @@ public boolean hasWhere() { return where_ != null; } /** + * + * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; + * * @return The where. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.Filter getWhere() { - return where_ == null ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() : where_; + return where_ == null + ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() + : where_; } /** + * + * *
    * The filter to apply.
    * 
@@ -8541,13 +9583,18 @@ public com.google.firestore.v1.StructuredQuery.Filter getWhere() { */ @java.lang.Override public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder() { - return where_ == null ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() : where_; + return where_ == null + ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() + : where_; } public static final int ORDER_BY_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List orderBy_; /** + * + * *
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -8574,6 +9621,8 @@ public java.util.List getOrderByL
     return orderBy_;
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -8596,11 +9645,13 @@ public java.util.List getOrderByL
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getOrderByOrBuilderList() {
     return orderBy_;
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -8627,6 +9678,8 @@ public int getOrderByCount() {
     return orderBy_.size();
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -8653,6 +9706,8 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
     return orderBy_.get(index);
   }
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -8675,14 +9730,15 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
   @java.lang.Override
-  public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
-      int index) {
+  public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index) {
     return orderBy_.get(index);
   }
 
   public static final int START_AT_FIELD_NUMBER = 7;
   private com.google.firestore.v1.Cursor startAt_;
   /**
+   *
+   *
    * 
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -8709,6 +9765,7 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
    * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return Whether the startAt field is set. */ @java.lang.Override @@ -8716,6 +9773,8 @@ public boolean hasStartAt() { return startAt_ != null; } /** + * + * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -8742,6 +9801,7 @@ public boolean hasStartAt() {
    * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return The startAt. */ @java.lang.Override @@ -8749,6 +9809,8 @@ public com.google.firestore.v1.Cursor getStartAt() { return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_; } /** + * + * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -8784,6 +9846,8 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
   public static final int END_AT_FIELD_NUMBER = 8;
   private com.google.firestore.v1.Cursor endAt_;
   /**
+   *
+   *
    * 
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -8794,6 +9858,7 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
    * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return Whether the endAt field is set. */ @java.lang.Override @@ -8801,6 +9866,8 @@ public boolean hasEndAt() { return endAt_ != null; } /** + * + * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -8811,6 +9878,7 @@ public boolean hasEndAt() {
    * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return The endAt. */ @java.lang.Override @@ -8818,6 +9886,8 @@ public com.google.firestore.v1.Cursor getEndAt() { return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_; } /** + * + * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -8837,6 +9907,8 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
   public static final int OFFSET_FIELD_NUMBER = 6;
   private int offset_ = 0;
   /**
+   *
+   *
    * 
    * The number of documents to skip before returning the first result.
    * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -8846,6 +9918,7 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
    * 
* * int32 offset = 6; + * * @return The offset. */ @java.lang.Override @@ -8856,6 +9929,8 @@ public int getOffset() { public static final int LIMIT_FIELD_NUMBER = 5; private com.google.protobuf.Int32Value limit_; /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -8864,6 +9939,7 @@ public int getOffset() {
    * 
* * .google.protobuf.Int32Value limit = 5; + * * @return Whether the limit field is set. */ @java.lang.Override @@ -8871,6 +9947,8 @@ public boolean hasLimit() { return limit_ != null; } /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -8879,6 +9957,7 @@ public boolean hasLimit() {
    * 
* * .google.protobuf.Int32Value limit = 5; + * * @return The limit. */ @java.lang.Override @@ -8886,6 +9965,8 @@ public com.google.protobuf.Int32Value getLimit() { return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_; } /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -8901,6 +9982,7 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -8912,8 +9994,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (select_ != null) {
       output.writeMessage(1, getSelect());
     }
@@ -8948,36 +10029,28 @@ public int getSerializedSize() {
 
     size = 0;
     if (select_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getSelect());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSelect());
     }
     for (int i = 0; i < from_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, from_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, from_.get(i));
     }
     if (where_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getWhere());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getWhere());
     }
     for (int i = 0; i < orderBy_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, orderBy_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, orderBy_.get(i));
     }
     if (limit_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getLimit());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getLimit());
     }
     if (offset_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(6, offset_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, offset_);
     }
     if (startAt_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getStartAt());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getStartAt());
     }
     if (endAt_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getEndAt());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndAt());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -8987,7 +10060,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.StructuredQuery)) {
       return super.equals(obj);
@@ -8996,34 +10069,26 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasSelect() != other.hasSelect()) return false;
     if (hasSelect()) {
-      if (!getSelect()
-          .equals(other.getSelect())) return false;
+      if (!getSelect().equals(other.getSelect())) return false;
     }
-    if (!getFromList()
-        .equals(other.getFromList())) return false;
+    if (!getFromList().equals(other.getFromList())) return false;
     if (hasWhere() != other.hasWhere()) return false;
     if (hasWhere()) {
-      if (!getWhere()
-          .equals(other.getWhere())) return false;
+      if (!getWhere().equals(other.getWhere())) return false;
     }
-    if (!getOrderByList()
-        .equals(other.getOrderByList())) return false;
+    if (!getOrderByList().equals(other.getOrderByList())) return false;
     if (hasStartAt() != other.hasStartAt()) return false;
     if (hasStartAt()) {
-      if (!getStartAt()
-          .equals(other.getStartAt())) return false;
+      if (!getStartAt().equals(other.getStartAt())) return false;
     }
     if (hasEndAt() != other.hasEndAt()) return false;
     if (hasEndAt()) {
-      if (!getEndAt()
-          .equals(other.getEndAt())) return false;
+      if (!getEndAt().equals(other.getEndAt())) return false;
     }
-    if (getOffset()
-        != other.getOffset()) return false;
+    if (getOffset() != other.getOffset()) return false;
     if (hasLimit() != other.hasLimit()) return false;
     if (hasLimit()) {
-      if (!getLimit()
-          .equals(other.getLimit())) return false;
+      if (!getLimit().equals(other.getLimit())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -9071,130 +10136,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.StructuredQuery parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.StructuredQuery parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.StructuredQuery parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.StructuredQuery parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.StructuredQuery parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.StructuredQuery parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.StructuredQuery parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.StructuredQuery parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.StructuredQuery parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.StructuredQuery parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.StructuredQuery parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.StructuredQuery parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.StructuredQuery parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.StructuredQuery parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.StructuredQuery prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A Firestore query.
    * 
* * Protobuf type {@code google.firestore.v1.StructuredQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.StructuredQuery) com.google.firestore.v1.StructuredQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.class, com.google.firestore.v1.StructuredQuery.Builder.class); + com.google.firestore.v1.StructuredQuery.class, + com.google.firestore.v1.StructuredQuery.Builder.class); } // Construct using com.google.firestore.v1.StructuredQuery.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -9243,9 +10314,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_StructuredQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.QueryProto + .internal_static_google_firestore_v1_StructuredQuery_descriptor; } @java.lang.Override @@ -9264,9 +10335,12 @@ public com.google.firestore.v1.StructuredQuery build() { @java.lang.Override public com.google.firestore.v1.StructuredQuery buildPartial() { - com.google.firestore.v1.StructuredQuery result = new com.google.firestore.v1.StructuredQuery(this); + com.google.firestore.v1.StructuredQuery result = + new com.google.firestore.v1.StructuredQuery(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -9295,32 +10369,22 @@ private void buildPartialRepeatedFields(com.google.firestore.v1.StructuredQuery private void buildPartial0(com.google.firestore.v1.StructuredQuery result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.select_ = selectBuilder_ == null - ? select_ - : selectBuilder_.build(); + result.select_ = selectBuilder_ == null ? select_ : selectBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.where_ = whereBuilder_ == null - ? where_ - : whereBuilder_.build(); + result.where_ = whereBuilder_ == null ? where_ : whereBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.startAt_ = startAtBuilder_ == null - ? startAt_ - : startAtBuilder_.build(); + result.startAt_ = startAtBuilder_ == null ? startAt_ : startAtBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.endAt_ = endAtBuilder_ == null - ? endAt_ - : endAtBuilder_.build(); + result.endAt_ = endAtBuilder_ == null ? endAt_ : endAtBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.offset_ = offset_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.limit_ = limitBuilder_ == null - ? limit_ - : limitBuilder_.build(); + result.limit_ = limitBuilder_ == null ? limit_ : limitBuilder_.build(); } } @@ -9328,38 +10392,39 @@ private void buildPartial0(com.google.firestore.v1.StructuredQuery result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.StructuredQuery) { - return mergeFrom((com.google.firestore.v1.StructuredQuery)other); + return mergeFrom((com.google.firestore.v1.StructuredQuery) other); } else { super.mergeFrom(other); return this; @@ -9389,9 +10454,10 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery other) { fromBuilder_ = null; from_ = other.from_; bitField0_ = (bitField0_ & ~0x00000002); - fromBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFromFieldBuilder() : null; + fromBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFromFieldBuilder() + : null; } else { fromBuilder_.addAllMessages(other.from_); } @@ -9418,9 +10484,10 @@ public Builder mergeFrom(com.google.firestore.v1.StructuredQuery other) { orderByBuilder_ = null; orderBy_ = other.orderBy_; bitField0_ = (bitField0_ & ~0x00000008); - orderByBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOrderByFieldBuilder() : null; + orderByBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOrderByFieldBuilder() + : null; } else { orderByBuilder_.addAllMessages(other.orderBy_); } @@ -9453,89 +10520,87 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - input.readMessage( - getSelectFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.firestore.v1.StructuredQuery.CollectionSelector m = - input.readMessage( - com.google.firestore.v1.StructuredQuery.CollectionSelector.parser(), - extensionRegistry); - if (fromBuilder_ == null) { - ensureFromIsMutable(); - from_.add(m); - } else { - fromBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - input.readMessage( - getWhereFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.firestore.v1.StructuredQuery.Order m = - input.readMessage( - com.google.firestore.v1.StructuredQuery.Order.parser(), - extensionRegistry); - if (orderByBuilder_ == null) { - ensureOrderByIsMutable(); - orderBy_.add(m); - } else { - orderByBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - input.readMessage( - getLimitFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 42 - case 48: { - offset_ = input.readInt32(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: { - input.readMessage( - getStartAtFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - case 66: { - input.readMessage( - getEndAtFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; break; - } // default: + case 10: + { + input.readMessage(getSelectFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.firestore.v1.StructuredQuery.CollectionSelector m = + input.readMessage( + com.google.firestore.v1.StructuredQuery.CollectionSelector.parser(), + extensionRegistry); + if (fromBuilder_ == null) { + ensureFromIsMutable(); + from_.add(m); + } else { + fromBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + input.readMessage(getWhereFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.firestore.v1.StructuredQuery.Order m = + input.readMessage( + com.google.firestore.v1.StructuredQuery.Order.parser(), extensionRegistry); + if (orderByBuilder_ == null) { + ensureOrderByIsMutable(); + orderBy_.add(m); + } else { + orderByBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + input.readMessage(getLimitFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 42 + case 48: + { + offset_ = input.readInt32(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: + { + input.readMessage(getStartAtFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 58 + case 66: + { + input.readMessage(getEndAtFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9545,12 +10610,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.firestore.v1.StructuredQuery.Projection select_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Projection, com.google.firestore.v1.StructuredQuery.Projection.Builder, com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> selectBuilder_; + com.google.firestore.v1.StructuredQuery.Projection, + com.google.firestore.v1.StructuredQuery.Projection.Builder, + com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> + selectBuilder_; /** + * + * *
      * Optional sub-set of the fields to return.
      * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -9559,12 +10630,15 @@ public Builder mergeFrom(
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return Whether the select field is set. */ public boolean hasSelect() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional sub-set of the fields to return.
      * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -9573,16 +10647,21 @@ public boolean hasSelect() {
      * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return The select. */ public com.google.firestore.v1.StructuredQuery.Projection getSelect() { if (selectBuilder_ == null) { - return select_ == null ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_; + return select_ == null + ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() + : select_; } else { return selectBuilder_.getMessage(); } } /** + * + * *
      * Optional sub-set of the fields to return.
      * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -9606,6 +10685,8 @@ public Builder setSelect(com.google.firestore.v1.StructuredQuery.Projection valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -9627,6 +10708,8 @@ public Builder setSelect(
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -9638,9 +10721,9 @@ public Builder setSelect(
      */
     public Builder mergeSelect(com.google.firestore.v1.StructuredQuery.Projection value) {
       if (selectBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          select_ != null &&
-          select_ != com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && select_ != null
+            && select_ != com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()) {
           getSelectBuilder().mergeFrom(value);
         } else {
           select_ = value;
@@ -9653,6 +10736,8 @@ public Builder mergeSelect(com.google.firestore.v1.StructuredQuery.Projection va
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -9673,6 +10758,8 @@ public Builder clearSelect() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -9688,6 +10775,8 @@ public com.google.firestore.v1.StructuredQuery.Projection.Builder getSelectBuild
       return getSelectFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -9701,11 +10790,14 @@ public com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBu
       if (selectBuilder_ != null) {
         return selectBuilder_.getMessageOrBuilder();
       } else {
-        return select_ == null ?
-            com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance() : select_;
+        return select_ == null
+            ? com.google.firestore.v1.StructuredQuery.Projection.getDefaultInstance()
+            : select_;
       }
     }
     /**
+     *
+     *
      * 
      * Optional sub-set of the fields to return.
      * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -9716,39 +10808,51 @@ public com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBu
      * .google.firestore.v1.StructuredQuery.Projection select = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.StructuredQuery.Projection, com.google.firestore.v1.StructuredQuery.Projection.Builder, com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder> 
+            com.google.firestore.v1.StructuredQuery.Projection,
+            com.google.firestore.v1.StructuredQuery.Projection.Builder,
+            com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder>
         getSelectFieldBuilder() {
       if (selectBuilder_ == null) {
-        selectBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.StructuredQuery.Projection, com.google.firestore.v1.StructuredQuery.Projection.Builder, com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder>(
-                getSelect(),
-                getParentForChildren(),
-                isClean());
+        selectBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.StructuredQuery.Projection,
+                com.google.firestore.v1.StructuredQuery.Projection.Builder,
+                com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder>(
+                getSelect(), getParentForChildren(), isClean());
         select_ = null;
       }
       return selectBuilder_;
     }
 
     private java.util.List from_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureFromIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        from_ = new java.util.ArrayList(from_);
+        from_ =
+            new java.util.ArrayList(
+                from_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.StructuredQuery.CollectionSelector, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> fromBuilder_;
+            com.google.firestore.v1.StructuredQuery.CollectionSelector,
+            com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder,
+            com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder>
+        fromBuilder_;
 
     /**
+     *
+     *
      * 
      * The collections to query.
      * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - public java.util.List getFromList() { + public java.util.List + getFromList() { if (fromBuilder_ == null) { return java.util.Collections.unmodifiableList(from_); } else { @@ -9756,6 +10860,8 @@ public java.util.List * The collections to query. *
@@ -9770,6 +10876,8 @@ public int getFromCount() { } } /** + * + * *
      * The collections to query.
      * 
@@ -9784,6 +10892,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int in } } /** + * + * *
      * The collections to query.
      * 
@@ -9805,6 +10915,8 @@ public Builder setFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9812,7 +10924,8 @@ public Builder setFrom( * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public Builder setFrom( - int index, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { + int index, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { if (fromBuilder_ == null) { ensureFromIsMutable(); from_.set(index, builderForValue.build()); @@ -9823,6 +10936,8 @@ public Builder setFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9843,6 +10958,8 @@ public Builder addFrom(com.google.firestore.v1.StructuredQuery.CollectionSelecto return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9864,6 +10981,8 @@ public Builder addFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9882,6 +11001,8 @@ public Builder addFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9889,7 +11010,8 @@ public Builder addFrom( * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public Builder addFrom( - int index, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { + int index, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder builderForValue) { if (fromBuilder_ == null) { ensureFromIsMutable(); from_.add(index, builderForValue.build()); @@ -9900,6 +11022,8 @@ public Builder addFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9907,11 +11031,11 @@ public Builder addFrom( * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public Builder addAllFrom( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (fromBuilder_ == null) { ensureFromIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, from_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, from_); onChanged(); } else { fromBuilder_.addAllMessages(values); @@ -9919,6 +11043,8 @@ public Builder addAllFrom( return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9936,6 +11062,8 @@ public Builder clearFrom() { return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9953,6 +11081,8 @@ public Builder removeFrom(int index) { return this; } /** + * + * *
      * The collections to query.
      * 
@@ -9964,6 +11094,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder getFro return getFromFieldBuilder().getBuilder(index); } /** + * + * *
      * The collections to query.
      * 
@@ -9973,19 +11105,23 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder getFro public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder( int index) { if (fromBuilder_ == null) { - return from_.get(index); } else { + return from_.get(index); + } else { return fromBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The collections to query.
      * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - public java.util.List - getFromOrBuilderList() { + public java.util.List< + ? extends com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> + getFromOrBuilderList() { if (fromBuilder_ != null) { return fromBuilder_.getMessageOrBuilderList(); } else { @@ -9993,6 +11129,8 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr } } /** + * + * *
      * The collections to query.
      * 
@@ -10000,10 +11138,13 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFr * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFromBuilder() { - return getFromFieldBuilder().addBuilder( - com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); + return getFromFieldBuilder() + .addBuilder( + com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); } /** + * + * *
      * The collections to query.
      * 
@@ -10012,30 +11153,37 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFro */ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFromBuilder( int index) { - return getFromFieldBuilder().addBuilder( - index, com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); + return getFromFieldBuilder() + .addBuilder( + index, + com.google.firestore.v1.StructuredQuery.CollectionSelector.getDefaultInstance()); } /** + * + * *
      * The collections to query.
      * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - public java.util.List - getFromBuilderList() { + public java.util.List + getFromBuilderList() { return getFromFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CollectionSelector, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> + com.google.firestore.v1.StructuredQuery.CollectionSelector, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, + com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder> getFromFieldBuilder() { if (fromBuilder_ == null) { - fromBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.CollectionSelector, com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder>( - from_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + fromBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.CollectionSelector, + com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder, + com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder>( + from_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); from_ = null; } return fromBuilder_; @@ -10043,34 +11191,47 @@ public com.google.firestore.v1.StructuredQuery.CollectionSelector.Builder addFro private com.google.firestore.v1.StructuredQuery.Filter where_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> whereBuilder_; + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder> + whereBuilder_; /** + * + * *
      * The filter to apply.
      * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; + * * @return Whether the where field is set. */ public boolean hasWhere() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The filter to apply.
      * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; + * * @return The where. */ public com.google.firestore.v1.StructuredQuery.Filter getWhere() { if (whereBuilder_ == null) { - return where_ == null ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() : where_; + return where_ == null + ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() + : where_; } else { return whereBuilder_.getMessage(); } } /** + * + * *
      * The filter to apply.
      * 
@@ -10091,6 +11252,8 @@ public Builder setWhere(com.google.firestore.v1.StructuredQuery.Filter value) { return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -10109,6 +11272,8 @@ public Builder setWhere( return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -10117,9 +11282,9 @@ public Builder setWhere( */ public Builder mergeWhere(com.google.firestore.v1.StructuredQuery.Filter value) { if (whereBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - where_ != null && - where_ != com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && where_ != null + && where_ != com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance()) { getWhereBuilder().mergeFrom(value); } else { where_ = value; @@ -10132,6 +11297,8 @@ public Builder mergeWhere(com.google.firestore.v1.StructuredQuery.Filter value) return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -10149,6 +11316,8 @@ public Builder clearWhere() { return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -10161,6 +11330,8 @@ public com.google.firestore.v1.StructuredQuery.Filter.Builder getWhereBuilder() return getWhereFieldBuilder().getBuilder(); } /** + * + * *
      * The filter to apply.
      * 
@@ -10171,11 +11342,14 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder if (whereBuilder_ != null) { return whereBuilder_.getMessageOrBuilder(); } else { - return where_ == null ? - com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() : where_; + return where_ == null + ? com.google.firestore.v1.StructuredQuery.Filter.getDefaultInstance() + : where_; } } /** + * + * *
      * The filter to apply.
      * 
@@ -10183,32 +11357,41 @@ public com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder * .google.firestore.v1.StructuredQuery.Filter where = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder> + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder> getWhereFieldBuilder() { if (whereBuilder_ == null) { - whereBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Filter, com.google.firestore.v1.StructuredQuery.Filter.Builder, com.google.firestore.v1.StructuredQuery.FilterOrBuilder>( - getWhere(), - getParentForChildren(), - isClean()); + whereBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery.Filter, + com.google.firestore.v1.StructuredQuery.Filter.Builder, + com.google.firestore.v1.StructuredQuery.FilterOrBuilder>( + getWhere(), getParentForChildren(), isClean()); where_ = null; } return whereBuilder_; } private java.util.List orderBy_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOrderByIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { orderBy_ = new java.util.ArrayList(orderBy_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.StructuredQuery.Order, com.google.firestore.v1.StructuredQuery.Order.Builder, com.google.firestore.v1.StructuredQuery.OrderOrBuilder> orderByBuilder_; + com.google.firestore.v1.StructuredQuery.Order, + com.google.firestore.v1.StructuredQuery.Order.Builder, + com.google.firestore.v1.StructuredQuery.OrderOrBuilder> + orderByBuilder_; /** + * + * *
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10238,6 +11421,8 @@ public java.util.List getOrderByL
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10267,6 +11452,8 @@ public int getOrderByCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10296,6 +11483,8 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10317,8 +11506,7 @@ public com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index) {
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public Builder setOrderBy(
-        int index, com.google.firestore.v1.StructuredQuery.Order value) {
+    public Builder setOrderBy(int index, com.google.firestore.v1.StructuredQuery.Order value) {
       if (orderByBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -10332,6 +11520,8 @@ public Builder setOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10365,6 +11555,8 @@ public Builder setOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10400,6 +11592,8 @@ public Builder addOrderBy(com.google.firestore.v1.StructuredQuery.Order value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10421,8 +11615,7 @@ public Builder addOrderBy(com.google.firestore.v1.StructuredQuery.Order value) {
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public Builder addOrderBy(
-        int index, com.google.firestore.v1.StructuredQuery.Order value) {
+    public Builder addOrderBy(int index, com.google.firestore.v1.StructuredQuery.Order value) {
       if (orderByBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -10436,6 +11629,8 @@ public Builder addOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10469,6 +11664,8 @@ public Builder addOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10502,6 +11699,8 @@ public Builder addOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10527,8 +11726,7 @@ public Builder addAllOrderBy(
         java.lang.Iterable values) {
       if (orderByBuilder_ == null) {
         ensureOrderByIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, orderBy_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, orderBy_);
         onChanged();
       } else {
         orderByBuilder_.addAllMessages(values);
@@ -10536,6 +11734,8 @@ public Builder addAllOrderBy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10568,6 +11768,8 @@ public Builder clearOrderBy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10600,6 +11802,8 @@ public Builder removeOrderBy(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10621,11 +11825,12 @@ public Builder removeOrderBy(int index) {
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(
-        int index) {
+    public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(int index) {
       return getOrderByFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10647,14 +11852,16 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder getOrderByBuilder(
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
-        int index) {
+    public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index) {
       if (orderByBuilder_ == null) {
-        return orderBy_.get(index);  } else {
+        return orderBy_.get(index);
+      } else {
         return orderByBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10676,8 +11883,8 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public java.util.List 
-         getOrderByOrBuilderList() {
+    public java.util.List
+        getOrderByOrBuilderList() {
       if (orderByBuilder_ != null) {
         return orderByBuilder_.getMessageOrBuilderList();
       } else {
@@ -10685,6 +11892,8 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10707,10 +11916,12 @@ public com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilde
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
     public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder() {
-      return getOrderByFieldBuilder().addBuilder(
-          com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
+      return getOrderByFieldBuilder()
+          .addBuilder(com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10732,12 +11943,13 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder()
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(
-        int index) {
-      return getOrderByFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
+    public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(int index) {
+      return getOrderByFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.StructuredQuery.Order.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The order to apply to the query results.
      * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -10759,20 +11971,23 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(
      *
      * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
      */
-    public java.util.List 
-         getOrderByBuilderList() {
+    public java.util.List
+        getOrderByBuilderList() {
       return getOrderByFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.StructuredQuery.Order, com.google.firestore.v1.StructuredQuery.Order.Builder, com.google.firestore.v1.StructuredQuery.OrderOrBuilder> 
+            com.google.firestore.v1.StructuredQuery.Order,
+            com.google.firestore.v1.StructuredQuery.Order.Builder,
+            com.google.firestore.v1.StructuredQuery.OrderOrBuilder>
         getOrderByFieldBuilder() {
       if (orderByBuilder_ == null) {
-        orderByBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.StructuredQuery.Order, com.google.firestore.v1.StructuredQuery.Order.Builder, com.google.firestore.v1.StructuredQuery.OrderOrBuilder>(
-                orderBy_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        orderByBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.StructuredQuery.Order,
+                com.google.firestore.v1.StructuredQuery.Order.Builder,
+                com.google.firestore.v1.StructuredQuery.OrderOrBuilder>(
+                orderBy_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         orderBy_ = null;
       }
       return orderByBuilder_;
@@ -10780,8 +11995,13 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(
 
     private com.google.firestore.v1.Cursor startAt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> startAtBuilder_;
+            com.google.firestore.v1.Cursor,
+            com.google.firestore.v1.Cursor.Builder,
+            com.google.firestore.v1.CursorOrBuilder>
+        startAtBuilder_;
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10808,12 +12028,15 @@ public com.google.firestore.v1.StructuredQuery.Order.Builder addOrderByBuilder(
      * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return Whether the startAt field is set. */ public boolean hasStartAt() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10840,6 +12063,7 @@ public boolean hasStartAt() {
      * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return The startAt. */ public com.google.firestore.v1.Cursor getStartAt() { @@ -10850,6 +12074,8 @@ public com.google.firestore.v1.Cursor getStartAt() { } } /** + * + * *
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10891,6 +12117,8 @@ public Builder setStartAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10918,8 +12146,7 @@ public Builder setStartAt(com.google.firestore.v1.Cursor value) {
      *
      * .google.firestore.v1.Cursor start_at = 7;
      */
-    public Builder setStartAt(
-        com.google.firestore.v1.Cursor.Builder builderForValue) {
+    public Builder setStartAt(com.google.firestore.v1.Cursor.Builder builderForValue) {
       if (startAtBuilder_ == null) {
         startAt_ = builderForValue.build();
       } else {
@@ -10930,6 +12157,8 @@ public Builder setStartAt(
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -10959,9 +12188,9 @@ public Builder setStartAt(
      */
     public Builder mergeStartAt(com.google.firestore.v1.Cursor value) {
       if (startAtBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          startAt_ != null &&
-          startAt_ != com.google.firestore.v1.Cursor.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && startAt_ != null
+            && startAt_ != com.google.firestore.v1.Cursor.getDefaultInstance()) {
           getStartAtBuilder().mergeFrom(value);
         } else {
           startAt_ = value;
@@ -10974,6 +12203,8 @@ public Builder mergeStartAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -11012,6 +12243,8 @@ public Builder clearStartAt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -11045,6 +12278,8 @@ public com.google.firestore.v1.Cursor.Builder getStartAtBuilder() {
       return getStartAtFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -11076,11 +12311,12 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
       if (startAtBuilder_ != null) {
         return startAtBuilder_.getMessageOrBuilder();
       } else {
-        return startAt_ == null ?
-            com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_;
+        return startAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : startAt_;
       }
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to start the query at.
      * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -11109,14 +12345,17 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
      * .google.firestore.v1.Cursor start_at = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> 
+            com.google.firestore.v1.Cursor,
+            com.google.firestore.v1.Cursor.Builder,
+            com.google.firestore.v1.CursorOrBuilder>
         getStartAtFieldBuilder() {
       if (startAtBuilder_ == null) {
-        startAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder>(
-                getStartAt(),
-                getParentForChildren(),
-                isClean());
+        startAtBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.Cursor,
+                com.google.firestore.v1.Cursor.Builder,
+                com.google.firestore.v1.CursorOrBuilder>(
+                getStartAt(), getParentForChildren(), isClean());
         startAt_ = null;
       }
       return startAtBuilder_;
@@ -11124,8 +12363,13 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
 
     private com.google.firestore.v1.Cursor endAt_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> endAtBuilder_;
+            com.google.firestore.v1.Cursor,
+            com.google.firestore.v1.Cursor.Builder,
+            com.google.firestore.v1.CursorOrBuilder>
+        endAtBuilder_;
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11136,12 +12380,15 @@ public com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder() {
      * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return Whether the endAt field is set. */ public boolean hasEndAt() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11152,6 +12399,7 @@ public boolean hasEndAt() {
      * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return The endAt. */ public com.google.firestore.v1.Cursor getEndAt() { @@ -11162,6 +12410,8 @@ public com.google.firestore.v1.Cursor getEndAt() { } } /** + * + * *
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11187,6 +12437,8 @@ public Builder setEndAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11198,8 +12450,7 @@ public Builder setEndAt(com.google.firestore.v1.Cursor value) {
      *
      * .google.firestore.v1.Cursor end_at = 8;
      */
-    public Builder setEndAt(
-        com.google.firestore.v1.Cursor.Builder builderForValue) {
+    public Builder setEndAt(com.google.firestore.v1.Cursor.Builder builderForValue) {
       if (endAtBuilder_ == null) {
         endAt_ = builderForValue.build();
       } else {
@@ -11210,6 +12461,8 @@ public Builder setEndAt(
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11223,9 +12476,9 @@ public Builder setEndAt(
      */
     public Builder mergeEndAt(com.google.firestore.v1.Cursor value) {
       if (endAtBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          endAt_ != null &&
-          endAt_ != com.google.firestore.v1.Cursor.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && endAt_ != null
+            && endAt_ != com.google.firestore.v1.Cursor.getDefaultInstance()) {
           getEndAtBuilder().mergeFrom(value);
         } else {
           endAt_ = value;
@@ -11238,6 +12491,8 @@ public Builder mergeEndAt(com.google.firestore.v1.Cursor value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11260,6 +12515,8 @@ public Builder clearEndAt() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11277,6 +12534,8 @@ public com.google.firestore.v1.Cursor.Builder getEndAtBuilder() {
       return getEndAtFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11292,11 +12551,12 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
       if (endAtBuilder_ != null) {
         return endAtBuilder_.getMessageOrBuilder();
       } else {
-        return endAt_ == null ?
-            com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_;
+        return endAt_ == null ? com.google.firestore.v1.Cursor.getDefaultInstance() : endAt_;
       }
     }
     /**
+     *
+     *
      * 
      * A potential prefix of a position in the result set to end the query at.
      * This is similar to `START_AT` but with it controlling the end position
@@ -11309,21 +12569,26 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
      * .google.firestore.v1.Cursor end_at = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder> 
+            com.google.firestore.v1.Cursor,
+            com.google.firestore.v1.Cursor.Builder,
+            com.google.firestore.v1.CursorOrBuilder>
         getEndAtFieldBuilder() {
       if (endAtBuilder_ == null) {
-        endAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Cursor, com.google.firestore.v1.Cursor.Builder, com.google.firestore.v1.CursorOrBuilder>(
-                getEndAt(),
-                getParentForChildren(),
-                isClean());
+        endAtBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.Cursor,
+                com.google.firestore.v1.Cursor.Builder,
+                com.google.firestore.v1.CursorOrBuilder>(
+                getEndAt(), getParentForChildren(), isClean());
         endAt_ = null;
       }
       return endAtBuilder_;
     }
 
-    private int offset_ ;
+    private int offset_;
     /**
+     *
+     *
      * 
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -11333,6 +12598,7 @@ public com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder() {
      * 
* * int32 offset = 6; + * * @return The offset. */ @java.lang.Override @@ -11340,6 +12606,8 @@ public int getOffset() { return offset_; } /** + * + * *
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -11349,17 +12617,20 @@ public int getOffset() {
      * 
* * int32 offset = 6; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The number of documents to skip before returning the first result.
      * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -11369,6 +12640,7 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 6; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -11380,8 +12652,13 @@ public Builder clearOffset() { private com.google.protobuf.Int32Value limit_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> limitBuilder_; + com.google.protobuf.Int32Value, + com.google.protobuf.Int32Value.Builder, + com.google.protobuf.Int32ValueOrBuilder> + limitBuilder_; /** + * + * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11390,12 +12667,15 @@ public Builder clearOffset() {
      * 
* * .google.protobuf.Int32Value limit = 5; + * * @return Whether the limit field is set. */ public boolean hasLimit() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11404,6 +12684,7 @@ public boolean hasLimit() {
      * 
* * .google.protobuf.Int32Value limit = 5; + * * @return The limit. */ public com.google.protobuf.Int32Value getLimit() { @@ -11414,6 +12695,8 @@ public com.google.protobuf.Int32Value getLimit() { } } /** + * + * *
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11437,6 +12720,8 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11446,8 +12731,7 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
      *
      * .google.protobuf.Int32Value limit = 5;
      */
-    public Builder setLimit(
-        com.google.protobuf.Int32Value.Builder builderForValue) {
+    public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue) {
       if (limitBuilder_ == null) {
         limit_ = builderForValue.build();
       } else {
@@ -11458,6 +12742,8 @@ public Builder setLimit(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11469,9 +12755,9 @@ public Builder setLimit(
      */
     public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       if (limitBuilder_ == null) {
-        if (((bitField0_ & 0x00000080) != 0) &&
-          limit_ != null &&
-          limit_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000080) != 0)
+            && limit_ != null
+            && limit_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
           getLimitBuilder().mergeFrom(value);
         } else {
           limit_ = value;
@@ -11484,6 +12770,8 @@ public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11504,6 +12792,8 @@ public Builder clearLimit() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11519,6 +12809,8 @@ public com.google.protobuf.Int32Value.Builder getLimitBuilder() {
       return getLimitFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11532,11 +12824,12 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
       if (limitBuilder_ != null) {
         return limitBuilder_.getMessageOrBuilder();
       } else {
-        return limit_ == null ?
-            com.google.protobuf.Int32Value.getDefaultInstance() : limit_;
+        return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return.
      * Applies after all other constraints.
@@ -11547,21 +12840,24 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
      * .google.protobuf.Int32Value limit = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
+            com.google.protobuf.Int32Value,
+            com.google.protobuf.Int32Value.Builder,
+            com.google.protobuf.Int32ValueOrBuilder>
         getLimitFieldBuilder() {
       if (limitBuilder_ == null) {
-        limitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
-                getLimit(),
-                getParentForChildren(),
-                isClean());
+        limitBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Int32Value,
+                com.google.protobuf.Int32Value.Builder,
+                com.google.protobuf.Int32ValueOrBuilder>(
+                getLimit(), getParentForChildren(), isClean());
         limit_ = null;
       }
       return limitBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -11571,12 +12867,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery)
   private static final com.google.firestore.v1.StructuredQuery DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery();
   }
@@ -11585,27 +12881,27 @@ public static com.google.firestore.v1.StructuredQuery getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public StructuredQuery parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public StructuredQuery parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -11620,6 +12916,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.StructuredQuery getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
similarity index 93%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
index 49de215fb..97885b040 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQueryOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/query.proto
 
 package com.google.firestore.v1;
 
-public interface StructuredQueryOrBuilder extends
+public interface StructuredQueryOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Optional sub-set of the fields to return.
    * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -16,10 +34,13 @@ public interface StructuredQueryOrBuilder extends
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return Whether the select field is set. */ boolean hasSelect(); /** + * + * *
    * Optional sub-set of the fields to return.
    * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -28,10 +49,13 @@ public interface StructuredQueryOrBuilder extends
    * 
* * .google.firestore.v1.StructuredQuery.Projection select = 1; + * * @return The select. */ com.google.firestore.v1.StructuredQuery.Projection getSelect(); /** + * + * *
    * Optional sub-set of the fields to return.
    * This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the
@@ -44,15 +68,18 @@ public interface StructuredQueryOrBuilder extends
   com.google.firestore.v1.StructuredQuery.ProjectionOrBuilder getSelectOrBuilder();
 
   /**
+   *
+   *
    * 
    * The collections to query.
    * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - java.util.List - getFromList(); + java.util.List getFromList(); /** + * + * *
    * The collections to query.
    * 
@@ -61,6 +88,8 @@ public interface StructuredQueryOrBuilder extends */ com.google.firestore.v1.StructuredQuery.CollectionSelector getFrom(int index); /** + * + * *
    * The collections to query.
    * 
@@ -69,43 +98,54 @@ public interface StructuredQueryOrBuilder extends */ int getFromCount(); /** + * + * *
    * The collections to query.
    * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - java.util.List + java.util.List getFromOrBuilderList(); /** + * + * *
    * The collections to query.
    * 
* * repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2; */ - com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder( - int index); + com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder(int index); /** + * + * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; + * * @return Whether the where field is set. */ boolean hasWhere(); /** + * + * *
    * The filter to apply.
    * 
* * .google.firestore.v1.StructuredQuery.Filter where = 3; + * * @return The where. */ com.google.firestore.v1.StructuredQuery.Filter getWhere(); /** + * + * *
    * The filter to apply.
    * 
@@ -115,6 +155,8 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui com.google.firestore.v1.StructuredQuery.FilterOrBuilder getWhereOrBuilder(); /** + * + * *
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -136,9 +178,10 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  java.util.List 
-      getOrderByList();
+  java.util.List getOrderByList();
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -162,6 +205,8 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    */
   com.google.firestore.v1.StructuredQuery.Order getOrderBy(int index);
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -185,6 +230,8 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    */
   int getOrderByCount();
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -206,9 +253,11 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  java.util.List 
+  java.util.List
       getOrderByOrBuilderList();
   /**
+   *
+   *
    * 
    * The order to apply to the query results.
    * Firestore allows callers to provide a full ordering, a partial ordering, or
@@ -230,10 +279,11 @@ com.google.firestore.v1.StructuredQuery.CollectionSelectorOrBuilder getFromOrBui
    *
    * repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
    */
-  com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
-      int index);
+  com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -260,10 +310,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return Whether the startAt field is set. */ boolean hasStartAt(); /** + * + * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -290,10 +343,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.firestore.v1.Cursor start_at = 7; + * * @return The startAt. */ com.google.firestore.v1.Cursor getStartAt(); /** + * + * *
    * A potential prefix of a position in the result set to start the query at.
    * The ordering of the result set is based on the `ORDER BY` clause of the
@@ -324,6 +380,8 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
   com.google.firestore.v1.CursorOrBuilder getStartAtOrBuilder();
 
   /**
+   *
+   *
    * 
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -334,10 +392,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return Whether the endAt field is set. */ boolean hasEndAt(); /** + * + * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -348,10 +409,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.firestore.v1.Cursor end_at = 8; + * * @return The endAt. */ com.google.firestore.v1.Cursor getEndAt(); /** + * + * *
    * A potential prefix of a position in the result set to end the query at.
    * This is similar to `START_AT` but with it controlling the end position
@@ -366,6 +430,8 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
   com.google.firestore.v1.CursorOrBuilder getEndAtOrBuilder();
 
   /**
+   *
+   *
    * 
    * The number of documents to skip before returning the first result.
    * This applies after the constraints specified by the `WHERE`, `START AT`, &
@@ -375,11 +441,14 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * int32 offset = 6; + * * @return The offset. */ int getOffset(); /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -388,10 +457,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.protobuf.Int32Value limit = 5; + * * @return Whether the limit field is set. */ boolean hasLimit(); /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
@@ -400,10 +472,13 @@ com.google.firestore.v1.StructuredQuery.OrderOrBuilder getOrderByOrBuilder(
    * 
* * .google.protobuf.Int32Value limit = 5; + * * @return The limit. */ com.google.protobuf.Int32Value getLimit(); /** + * + * *
    * The maximum number of results to return.
    * Applies after all other constraints.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
index 919b4053e..496f7be8d 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Target.java
@@ -1,57 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A specification of a set of documents to listen to.
  * 
* * Protobuf type {@code google.firestore.v1.Target} */ -public final class Target extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Target extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target) TargetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Target.newBuilder() to construct. private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Target() { - } + + private Target() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Target(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Target.class, com.google.firestore.v1.Target.Builder.class); } - public interface DocumentsTargetOrBuilder extends + public interface DocumentsTargetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target.DocumentsTarget) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -60,11 +80,13 @@ public interface DocumentsTargetOrBuilder extends
      * 
* * repeated string documents = 2; + * * @return A list containing the documents. */ - java.util.List - getDocumentsList(); + java.util.List getDocumentsList(); /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -73,10 +95,13 @@ public interface DocumentsTargetOrBuilder extends
      * 
* * repeated string documents = 2; + * * @return The count of documents. */ int getDocumentsCount(); /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -85,11 +110,14 @@ public interface DocumentsTargetOrBuilder extends
      * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ java.lang.String getDocuments(int index); /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -98,61 +126,68 @@ public interface DocumentsTargetOrBuilder extends
      * 
* * repeated string documents = 2; + * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - com.google.protobuf.ByteString - getDocumentsBytes(int index); + com.google.protobuf.ByteString getDocumentsBytes(int index); } /** + * + * *
    * A target specified by a set of documents names.
    * 
* * Protobuf type {@code google.firestore.v1.Target.DocumentsTarget} */ - public static final class DocumentsTarget extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DocumentsTarget extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target.DocumentsTarget) DocumentsTargetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DocumentsTarget.newBuilder() to construct. private DocumentsTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DocumentsTarget() { documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocumentsTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.DocumentsTarget.class, com.google.firestore.v1.Target.DocumentsTarget.Builder.class); + com.google.firestore.v1.Target.DocumentsTarget.class, + com.google.firestore.v1.Target.DocumentsTarget.Builder.class); } public static final int DOCUMENTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringList documents_; /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -161,13 +196,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string documents = 2; + * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList - getDocumentsList() { + public com.google.protobuf.ProtocolStringList getDocumentsList() { return documents_; } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -176,12 +213,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string documents = 2; + * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -190,6 +230,7 @@ public int getDocumentsCount() {
      * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -197,6 +238,8 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** + * + * *
      * The names of the documents to retrieve. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -205,15 +248,16 @@ public java.lang.String getDocuments(int index) {
      * 
* * repeated string documents = 2; + * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString - getDocumentsBytes(int index) { + public com.google.protobuf.ByteString getDocumentsBytes(int index) { return documents_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < documents_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, documents_.getRaw(i)); } @@ -255,15 +298,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Target.DocumentsTarget)) { return super.equals(obj); } - com.google.firestore.v1.Target.DocumentsTarget other = (com.google.firestore.v1.Target.DocumentsTarget) obj; + com.google.firestore.v1.Target.DocumentsTarget other = + (com.google.firestore.v1.Target.DocumentsTarget) obj; - if (!getDocumentsList() - .equals(other.getDocumentsList())) return false; + if (!getDocumentsList().equals(other.getDocumentsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,88 +327,94 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Target.DocumentsTarget parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Target.DocumentsTarget parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.Target.DocumentsTarget parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.Target.DocumentsTarget parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Target.DocumentsTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.Target.DocumentsTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -375,39 +424,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A target specified by a set of documents names.
      * 
* * Protobuf type {@code google.firestore.v1.Target.DocumentsTarget} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target.DocumentsTarget) com.google.firestore.v1.Target.DocumentsTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.DocumentsTarget.class, com.google.firestore.v1.Target.DocumentsTarget.Builder.class); + com.google.firestore.v1.Target.DocumentsTarget.class, + com.google.firestore.v1.Target.DocumentsTarget.Builder.class); } // Construct using com.google.firestore.v1.Target.DocumentsTarget.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_DocumentsTarget_descriptor; } @java.lang.Override @@ -439,14 +490,18 @@ public com.google.firestore.v1.Target.DocumentsTarget build() { @java.lang.Override public com.google.firestore.v1.Target.DocumentsTarget buildPartial() { - com.google.firestore.v1.Target.DocumentsTarget result = new com.google.firestore.v1.Target.DocumentsTarget(this); + com.google.firestore.v1.Target.DocumentsTarget result = + new com.google.firestore.v1.Target.DocumentsTarget(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.firestore.v1.Target.DocumentsTarget result) { + private void buildPartialRepeatedFields( + com.google.firestore.v1.Target.DocumentsTarget result) { if (((bitField0_ & 0x00000001) != 0)) { documents_ = documents_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); @@ -462,38 +517,41 @@ private void buildPartial0(com.google.firestore.v1.Target.DocumentsTarget result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Target.DocumentsTarget) { - return mergeFrom((com.google.firestore.v1.Target.DocumentsTarget)other); + return mergeFrom((com.google.firestore.v1.Target.DocumentsTarget) other); } else { super.mergeFrom(other); return this; @@ -501,7 +559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.Target.DocumentsTarget other) { - if (other == com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) + return this; if (!other.documents_.isEmpty()) { if (documents_.isEmpty()) { documents_ = other.documents_; @@ -538,18 +597,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDocumentsIsMutable(); - documents_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDocumentsIsMutable(); + documents_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,16 +620,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList documents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList documents_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDocumentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { documents_ = new com.google.protobuf.LazyStringArrayList(documents_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -577,13 +643,15 @@ private void ensureDocumentsIsMutable() {
        * 
* * repeated string documents = 2; + * * @return A list containing the documents. */ - public com.google.protobuf.ProtocolStringList - getDocumentsList() { + public com.google.protobuf.ProtocolStringList getDocumentsList() { return documents_.getUnmodifiableView(); } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -592,12 +660,15 @@ private void ensureDocumentsIsMutable() {
        * 
* * repeated string documents = 2; + * * @return The count of documents. */ public int getDocumentsCount() { return documents_.size(); } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -606,6 +677,7 @@ public int getDocumentsCount() {
        * 
* * repeated string documents = 2; + * * @param index The index of the element to return. * @return The documents at the given index. */ @@ -613,6 +685,8 @@ public java.lang.String getDocuments(int index) { return documents_.get(index); } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -621,14 +695,16 @@ public java.lang.String getDocuments(int index) {
        * 
* * repeated string documents = 2; + * * @param index The index of the value to return. * @return The bytes of the documents at the given index. */ - public com.google.protobuf.ByteString - getDocumentsBytes(int index) { + public com.google.protobuf.ByteString getDocumentsBytes(int index) { return documents_.getByteString(index); } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -637,19 +713,23 @@ public java.lang.String getDocuments(int index) {
        * 
* * repeated string documents = 2; + * * @param index The index to set the value at. * @param value The documents to set. * @return This builder for chaining. */ - public Builder setDocuments( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDocuments(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDocumentsIsMutable(); documents_.set(index, value); onChanged(); return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -658,18 +738,22 @@ public Builder setDocuments(
        * 
* * repeated string documents = 2; + * * @param value The documents to add. * @return This builder for chaining. */ - public Builder addDocuments( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDocuments(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -678,18 +762,19 @@ public Builder addDocuments(
        * 
* * repeated string documents = 2; + * * @param values The documents to add. * @return This builder for chaining. */ - public Builder addAllDocuments( - java.lang.Iterable values) { + public Builder addAllDocuments(java.lang.Iterable values) { ensureDocumentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, documents_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_); onChanged(); return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -698,6 +783,7 @@ public Builder addAllDocuments(
        * 
* * repeated string documents = 2; + * * @return This builder for chaining. */ public Builder clearDocuments() { @@ -707,6 +793,8 @@ public Builder clearDocuments() { return this; } /** + * + * *
        * The names of the documents to retrieve. In the format:
        * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
@@ -715,18 +803,21 @@ public Builder clearDocuments() {
        * 
* * repeated string documents = 2; + * * @param value The bytes of the documents to add. * @return This builder for chaining. */ - public Builder addDocumentsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDocumentsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDocumentsIsMutable(); documents_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -739,12 +830,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.Target.DocumentsTarget) } // @@protoc_insertion_point(class_scope:google.firestore.v1.Target.DocumentsTarget) private static final com.google.firestore.v1.Target.DocumentsTarget DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.Target.DocumentsTarget(); } @@ -753,27 +844,28 @@ public static com.google.firestore.v1.Target.DocumentsTarget getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocumentsTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocumentsTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -788,14 +880,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target.DocumentsTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface QueryTargetOrBuilder extends + public interface QueryTargetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target.QueryTarget) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -806,10 +900,13 @@ public interface QueryTargetOrBuilder extends
      * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -820,30 +917,38 @@ public interface QueryTargetOrBuilder extends
      * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ boolean hasStructuredQuery(); /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ com.google.firestore.v1.StructuredQuery getStructuredQuery(); /** + * + * *
      * A structured query.
      * 
@@ -855,58 +960,65 @@ public interface QueryTargetOrBuilder extends public com.google.firestore.v1.Target.QueryTarget.QueryTypeCase getQueryTypeCase(); } /** + * + * *
    * A target specified by a query.
    * 
* * Protobuf type {@code google.firestore.v1.Target.QueryTarget} */ - public static final class QueryTarget extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class QueryTarget extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Target.QueryTarget) QueryTargetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryTarget.newBuilder() to construct. private QueryTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryTarget() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.QueryTarget.class, com.google.firestore.v1.Target.QueryTarget.Builder.class); + com.google.firestore.v1.Target.QueryTarget.class, + com.google.firestore.v1.Target.QueryTarget.Builder.class); } private int queryTypeCase_ = 0; private java.lang.Object queryType_; + public enum QueryTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRUCTURED_QUERY(2), QUERYTYPE_NOT_SET(0); private final int value; + private QueryTypeCase(int value) { this.value = value; } @@ -922,26 +1034,31 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 2: return STRUCTURED_QUERY; - case 0: return QUERYTYPE_NOT_SET; - default: return null; + case 2: + return STRUCTURED_QUERY; + case 0: + return QUERYTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public QueryTypeCase - getQueryTypeCase() { - return QueryTypeCase.forNumber( - queryTypeCase_); + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -952,6 +1069,7 @@ public int getNumber() {
      * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -960,14 +1078,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * The parent resource name. In the format:
      * `projects/{project_id}/databases/{database_id}/documents` or
@@ -978,16 +1097,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -997,11 +1115,14 @@ public java.lang.String getParent() { public static final int STRUCTURED_QUERY_FIELD_NUMBER = 2; /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1009,21 +1130,26 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
      * A structured query.
      * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override public com.google.firestore.v1.StructuredQuery getStructuredQuery() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } /** + * + * *
      * A structured query.
      * 
@@ -1033,12 +1159,13 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { @java.lang.Override public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuilder() { if (queryTypeCase_ == 2) { - return (com.google.firestore.v1.StructuredQuery) queryType_; + return (com.google.firestore.v1.StructuredQuery) queryType_; } return com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1050,8 +1177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -1071,8 +1197,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (queryTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.firestore.v1.StructuredQuery) queryType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.StructuredQuery) queryType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1082,20 +1209,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Target.QueryTarget)) { return super.equals(obj); } - com.google.firestore.v1.Target.QueryTarget other = (com.google.firestore.v1.Target.QueryTarget) obj; + com.google.firestore.v1.Target.QueryTarget other = + (com.google.firestore.v1.Target.QueryTarget) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 2: - if (!getStructuredQuery() - .equals(other.getStructuredQuery())) return false; + if (!getStructuredQuery().equals(other.getStructuredQuery())) return false; break; case 0: default: @@ -1126,88 +1252,94 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.Target.QueryTarget parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.Target.QueryTarget parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Target.QueryTarget parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Target.QueryTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Target.QueryTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Target.QueryTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Target.QueryTarget parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Target.QueryTarget parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Target.QueryTarget parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Target.QueryTarget parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.Target.QueryTarget parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.Target.QueryTarget parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.Target.QueryTarget parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Target.QueryTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.Target.QueryTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1217,39 +1349,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A target specified by a query.
      * 
* * Protobuf type {@code google.firestore.v1.Target.QueryTarget} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target.QueryTarget) com.google.firestore.v1.Target.QueryTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.Target.QueryTarget.class, com.google.firestore.v1.Target.QueryTarget.Builder.class); + com.google.firestore.v1.Target.QueryTarget.class, + com.google.firestore.v1.Target.QueryTarget.Builder.class); } // Construct using com.google.firestore.v1.Target.QueryTarget.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1264,9 +1398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_QueryTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_QueryTarget_descriptor; } @java.lang.Override @@ -1285,8 +1419,11 @@ public com.google.firestore.v1.Target.QueryTarget build() { @java.lang.Override public com.google.firestore.v1.Target.QueryTarget buildPartial() { - com.google.firestore.v1.Target.QueryTarget result = new com.google.firestore.v1.Target.QueryTarget(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.Target.QueryTarget result = + new com.google.firestore.v1.Target.QueryTarget(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1302,8 +1439,7 @@ private void buildPartial0(com.google.firestore.v1.Target.QueryTarget result) { private void buildPartialOneofs(com.google.firestore.v1.Target.QueryTarget result) { result.queryTypeCase_ = queryTypeCase_; result.queryType_ = this.queryType_; - if (queryTypeCase_ == 2 && - structuredQueryBuilder_ != null) { + if (queryTypeCase_ == 2 && structuredQueryBuilder_ != null) { result.queryType_ = structuredQueryBuilder_.build(); } } @@ -1312,38 +1448,41 @@ private void buildPartialOneofs(com.google.firestore.v1.Target.QueryTarget resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Target.QueryTarget) { - return mergeFrom((com.google.firestore.v1.Target.QueryTarget)other); + return mergeFrom((com.google.firestore.v1.Target.QueryTarget) other); } else { super.mergeFrom(other); return this; @@ -1358,13 +1497,15 @@ public Builder mergeFrom(com.google.firestore.v1.Target.QueryTarget other) { onChanged(); } switch (other.getQueryTypeCase()) { - case STRUCTURED_QUERY: { - mergeStructuredQuery(other.getStructuredQuery()); - break; - } - case QUERYTYPE_NOT_SET: { - break; - } + case STRUCTURED_QUERY: + { + mergeStructuredQuery(other.getStructuredQuery()); + break; + } + case QUERYTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1392,24 +1533,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getStructuredQueryFieldBuilder().getBuilder(), - extensionRegistry); - queryTypeCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getStructuredQueryFieldBuilder().getBuilder(), extensionRegistry); + queryTypeCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1419,12 +1562,12 @@ public Builder mergeFrom( } // finally return this; } + private int queryTypeCase_ = 0; private java.lang.Object queryType_; - public QueryTypeCase - getQueryTypeCase() { - return QueryTypeCase.forNumber( - queryTypeCase_); + + public QueryTypeCase getQueryTypeCase() { + return QueryTypeCase.forNumber(queryTypeCase_); } public Builder clearQueryType() { @@ -1438,6 +1581,8 @@ public Builder clearQueryType() { private java.lang.Object parent_ = ""; /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1448,13 +1593,13 @@ public Builder clearQueryType() {
        * 
* * string parent = 1; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1463,6 +1608,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1473,15 +1620,14 @@ public java.lang.String getParent() {
        * 
* * string parent = 1; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1489,6 +1635,8 @@ public java.lang.String getParent() { } } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1499,18 +1647,22 @@ public java.lang.String getParent() {
        * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1521,6 +1673,7 @@ public Builder setParent(
        * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1530,6 +1683,8 @@ public Builder clearParent() { return this; } /** + * + * *
        * The parent resource name. In the format:
        * `projects/{project_id}/databases/{database_id}/documents` or
@@ -1540,12 +1695,14 @@ public Builder clearParent() {
        * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1554,13 +1711,19 @@ public Builder setParentBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> structuredQueryBuilder_; + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> + structuredQueryBuilder_; /** + * + * *
        * A structured query.
        * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return Whether the structuredQuery field is set. */ @java.lang.Override @@ -1568,11 +1731,14 @@ public boolean hasStructuredQuery() { return queryTypeCase_ == 2; } /** + * + * *
        * A structured query.
        * 
* * .google.firestore.v1.StructuredQuery structured_query = 2; + * * @return The structuredQuery. */ @java.lang.Override @@ -1590,6 +1756,8 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() { } } /** + * + * *
        * A structured query.
        * 
@@ -1610,6 +1778,8 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value) return this; } /** + * + * *
        * A structured query.
        * 
@@ -1628,6 +1798,8 @@ public Builder setStructuredQuery( return this; } /** + * + * *
        * A structured query.
        * 
@@ -1636,10 +1808,13 @@ public Builder setStructuredQuery( */ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery value) { if (structuredQueryBuilder_ == null) { - if (queryTypeCase_ == 2 && - queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { - queryType_ = com.google.firestore.v1.StructuredQuery.newBuilder((com.google.firestore.v1.StructuredQuery) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 2 + && queryType_ != com.google.firestore.v1.StructuredQuery.getDefaultInstance()) { + queryType_ = + com.google.firestore.v1.StructuredQuery.newBuilder( + (com.google.firestore.v1.StructuredQuery) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -1655,6 +1830,8 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu return this; } /** + * + * *
        * A structured query.
        * 
@@ -1678,6 +1855,8 @@ public Builder clearStructuredQuery() { return this; } /** + * + * *
        * A structured query.
        * 
@@ -1688,6 +1867,8 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder return getStructuredQueryFieldBuilder().getBuilder(); } /** + * + * *
        * A structured query.
        * 
@@ -1706,6 +1887,8 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil } } /** + * + * *
        * A structured query.
        * 
@@ -1713,14 +1896,19 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil * .google.firestore.v1.StructuredQuery structured_query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder> + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder> getStructuredQueryFieldBuilder() { if (structuredQueryBuilder_ == null) { if (!(queryTypeCase_ == 2)) { queryType_ = com.google.firestore.v1.StructuredQuery.getDefaultInstance(); } - structuredQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.StructuredQuery, com.google.firestore.v1.StructuredQuery.Builder, com.google.firestore.v1.StructuredQueryOrBuilder>( + structuredQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.StructuredQuery, + com.google.firestore.v1.StructuredQuery.Builder, + com.google.firestore.v1.StructuredQueryOrBuilder>( (com.google.firestore.v1.StructuredQuery) queryType_, getParentForChildren(), isClean()); @@ -1730,6 +1918,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil onChanged(); return structuredQueryBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1742,12 +1931,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.Target.QueryTarget) } // @@protoc_insertion_point(class_scope:google.firestore.v1.Target.QueryTarget) private static final com.google.firestore.v1.Target.QueryTarget DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.Target.QueryTarget(); } @@ -1756,27 +1945,28 @@ public static com.google.firestore.v1.Target.QueryTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1791,18 +1981,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target.QueryTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int targetTypeCase_ = 0; private java.lang.Object targetType_; + public enum TargetTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY(2), DOCUMENTS(3), TARGETTYPE_NOT_SET(0); private final int value; + private TargetTypeCase(int value) { this.value = value; } @@ -1818,32 +2010,38 @@ public static TargetTypeCase valueOf(int value) { public static TargetTypeCase forNumber(int value) { switch (value) { - case 2: return QUERY; - case 3: return DOCUMENTS; - case 0: return TARGETTYPE_NOT_SET; - default: return null; + case 2: + return QUERY; + case 3: + return DOCUMENTS; + case 0: + return TARGETTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TargetTypeCase - getTargetTypeCase() { - return TargetTypeCase.forNumber( - targetTypeCase_); + public TargetTypeCase getTargetTypeCase() { + return TargetTypeCase.forNumber(targetTypeCase_); } private int resumeTypeCase_ = 0; private java.lang.Object resumeType_; + public enum ResumeTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { RESUME_TOKEN(4), READ_TIME(11), RESUMETYPE_NOT_SET(0); private final int value; + private ResumeTypeCase(int value) { this.value = value; } @@ -1859,30 +2057,36 @@ public static ResumeTypeCase valueOf(int value) { public static ResumeTypeCase forNumber(int value) { switch (value) { - case 4: return RESUME_TOKEN; - case 11: return READ_TIME; - case 0: return RESUMETYPE_NOT_SET; - default: return null; + case 4: + return RESUME_TOKEN; + case 11: + return READ_TIME; + case 0: + return RESUMETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ResumeTypeCase - getResumeTypeCase() { - return ResumeTypeCase.forNumber( - resumeTypeCase_); + public ResumeTypeCase getResumeTypeCase() { + return ResumeTypeCase.forNumber(resumeTypeCase_); } public static final int QUERY_FIELD_NUMBER = 2; /** + * + * *
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; + * * @return Whether the query field is set. */ @java.lang.Override @@ -1890,21 +2094,26 @@ public boolean hasQuery() { return targetTypeCase_ == 2; } /** + * + * *
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; + * * @return The query. */ @java.lang.Override public com.google.firestore.v1.Target.QueryTarget getQuery() { if (targetTypeCase_ == 2) { - return (com.google.firestore.v1.Target.QueryTarget) targetType_; + return (com.google.firestore.v1.Target.QueryTarget) targetType_; } return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); } /** + * + * *
    * A target specified by a query.
    * 
@@ -1914,18 +2123,21 @@ public com.google.firestore.v1.Target.QueryTarget getQuery() { @java.lang.Override public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { if (targetTypeCase_ == 2) { - return (com.google.firestore.v1.Target.QueryTarget) targetType_; + return (com.google.firestore.v1.Target.QueryTarget) targetType_; } return com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); } public static final int DOCUMENTS_FIELD_NUMBER = 3; /** + * + * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; + * * @return Whether the documents field is set. */ @java.lang.Override @@ -1933,21 +2145,26 @@ public boolean hasDocuments() { return targetTypeCase_ == 3; } /** + * + * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; + * * @return The documents. */ @java.lang.Override public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { if (targetTypeCase_ == 3) { - return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; + return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; } return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); } /** + * + * *
    * A target specified by a set of document names.
    * 
@@ -1957,13 +2174,15 @@ public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { @java.lang.Override public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBuilder() { if (targetTypeCase_ == 3) { - return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; + return (com.google.firestore.v1.Target.DocumentsTarget) targetType_; } return com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); } public static final int RESUME_TOKEN_FIELD_NUMBER = 4; /** + * + * *
    * A resume token from a prior
    * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -1971,6 +2190,7 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui
    * 
* * bytes resume_token = 4; + * * @return Whether the resumeToken field is set. */ @java.lang.Override @@ -1978,6 +2198,8 @@ public boolean hasResumeToken() { return resumeTypeCase_ == 4; } /** + * + * *
    * A resume token from a prior
    * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -1985,6 +2207,7 @@ public boolean hasResumeToken() {
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -1997,12 +2220,15 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int READ_TIME_FIELD_NUMBER = 11; /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -2010,22 +2236,27 @@ public boolean hasReadTime() { return resumeTypeCase_ == 11; } /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (resumeTypeCase_ == 11) { - return (com.google.protobuf.Timestamp) resumeType_; + return (com.google.protobuf.Timestamp) resumeType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
@@ -2036,7 +2267,7 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (resumeTypeCase_ == 11) {
-       return (com.google.protobuf.Timestamp) resumeType_;
+      return (com.google.protobuf.Timestamp) resumeType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
@@ -2044,12 +2275,15 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   public static final int TARGET_ID_FIELD_NUMBER = 5;
   private int targetId_ = 0;
   /**
+   *
+   *
    * 
    * The target ID that identifies the target on the stream. Must be a positive
    * number and non-zero.
    * 
* * int32 target_id = 5; + * * @return The targetId. */ @java.lang.Override @@ -2060,11 +2294,14 @@ public int getTargetId() { public static final int ONCE_FIELD_NUMBER = 6; private boolean once_ = false; /** + * + * *
    * If the target should be removed once it is current and consistent.
    * 
* * bool once = 6; + * * @return The once. */ @java.lang.Override @@ -2073,6 +2310,7 @@ public boolean getOnce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2084,8 +2322,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (targetTypeCase_ == 2) { output.writeMessage(2, (com.google.firestore.v1.Target.QueryTarget) targetType_); } @@ -2093,8 +2330,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); } if (resumeTypeCase_ == 4) { - output.writeBytes( - 4, (com.google.protobuf.ByteString) resumeType_); + output.writeBytes(4, (com.google.protobuf.ByteString) resumeType_); } if (targetId_ != 0) { output.writeInt32(5, targetId_); @@ -2115,29 +2351,30 @@ public int getSerializedSize() { size = 0; if (targetTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.firestore.v1.Target.QueryTarget) targetType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.Target.QueryTarget) targetType_); } if (targetTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.firestore.v1.Target.DocumentsTarget) targetType_); } if (resumeTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize( - 4, (com.google.protobuf.ByteString) resumeType_); + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 4, (com.google.protobuf.ByteString) resumeType_); } if (targetId_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, targetId_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, targetId_); } if (once_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, once_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, once_); } if (resumeTypeCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.protobuf.Timestamp) resumeType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.protobuf.Timestamp) resumeType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2147,26 +2384,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Target)) { return super.equals(obj); } com.google.firestore.v1.Target other = (com.google.firestore.v1.Target) obj; - if (getTargetId() - != other.getTargetId()) return false; - if (getOnce() - != other.getOnce()) return false; + if (getTargetId() != other.getTargetId()) return false; + if (getOnce() != other.getOnce()) return false; if (!getTargetTypeCase().equals(other.getTargetTypeCase())) return false; switch (targetTypeCase_) { case 2: - if (!getQuery() - .equals(other.getQuery())) return false; + if (!getQuery().equals(other.getQuery())) return false; break; case 3: - if (!getDocuments() - .equals(other.getDocuments())) return false; + if (!getDocuments().equals(other.getDocuments())) return false; break; case 0: default: @@ -2174,12 +2407,10 @@ public boolean equals(final java.lang.Object obj) { if (!getResumeTypeCase().equals(other.getResumeTypeCase())) return false; switch (resumeTypeCase_) { case 4: - if (!getResumeToken() - .equals(other.getResumeToken())) return false; + if (!getResumeToken().equals(other.getResumeToken())) return false; break; case 11: - if (!getReadTime() - .equals(other.getReadTime())) return false; + if (!getReadTime().equals(other.getReadTime())) return false; break; case 0: default: @@ -2198,8 +2429,7 @@ public int hashCode() { hash = (37 * hash) + TARGET_ID_FIELD_NUMBER; hash = (53 * hash) + getTargetId(); hash = (37 * hash) + ONCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOnce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOnce()); switch (targetTypeCase_) { case 2: hash = (37 * hash) + QUERY_FIELD_NUMBER; @@ -2229,130 +2459,134 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.Target parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.Target parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Target parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Target parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.Target parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Target parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Target parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Target parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Target parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Target parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.Target parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.Target parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Target parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.firestore.v1.Target parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Target parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.Target prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A specification of a set of documents to listen to.
    * 
* * Protobuf type {@code google.firestore.v1.Target} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Target) com.google.firestore.v1.TargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Target.class, com.google.firestore.v1.Target.Builder.class); } // Construct using com.google.firestore.v1.Target.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2376,9 +2610,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_Target_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_Target_descriptor; } @java.lang.Override @@ -2398,7 +2632,9 @@ public com.google.firestore.v1.Target build() { @java.lang.Override public com.google.firestore.v1.Target buildPartial() { com.google.firestore.v1.Target result = new com.google.firestore.v1.Target(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -2417,18 +2653,15 @@ private void buildPartial0(com.google.firestore.v1.Target result) { private void buildPartialOneofs(com.google.firestore.v1.Target result) { result.targetTypeCase_ = targetTypeCase_; result.targetType_ = this.targetType_; - if (targetTypeCase_ == 2 && - queryBuilder_ != null) { + if (targetTypeCase_ == 2 && queryBuilder_ != null) { result.targetType_ = queryBuilder_.build(); } - if (targetTypeCase_ == 3 && - documentsBuilder_ != null) { + if (targetTypeCase_ == 3 && documentsBuilder_ != null) { result.targetType_ = documentsBuilder_.build(); } result.resumeTypeCase_ = resumeTypeCase_; result.resumeType_ = this.resumeType_; - if (resumeTypeCase_ == 11 && - readTimeBuilder_ != null) { + if (resumeTypeCase_ == 11 && readTimeBuilder_ != null) { result.resumeType_ = readTimeBuilder_.build(); } } @@ -2437,38 +2670,39 @@ private void buildPartialOneofs(com.google.firestore.v1.Target result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Target) { - return mergeFrom((com.google.firestore.v1.Target)other); + return mergeFrom((com.google.firestore.v1.Target) other); } else { super.mergeFrom(other); return this; @@ -2484,30 +2718,36 @@ public Builder mergeFrom(com.google.firestore.v1.Target other) { setOnce(other.getOnce()); } switch (other.getTargetTypeCase()) { - case QUERY: { - mergeQuery(other.getQuery()); - break; - } - case DOCUMENTS: { - mergeDocuments(other.getDocuments()); - break; - } - case TARGETTYPE_NOT_SET: { - break; - } + case QUERY: + { + mergeQuery(other.getQuery()); + break; + } + case DOCUMENTS: + { + mergeDocuments(other.getDocuments()); + break; + } + case TARGETTYPE_NOT_SET: + { + break; + } } switch (other.getResumeTypeCase()) { - case RESUME_TOKEN: { - setResumeToken(other.getResumeToken()); - break; - } - case READ_TIME: { - mergeReadTime(other.getReadTime()); - break; - } - case RESUMETYPE_NOT_SET: { - break; - } + case RESUME_TOKEN: + { + setResumeToken(other.getResumeToken()); + break; + } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case RESUMETYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2535,48 +2775,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getQueryFieldBuilder().getBuilder(), - extensionRegistry); - targetTypeCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getDocumentsFieldBuilder().getBuilder(), - extensionRegistry); - targetTypeCase_ = 3; - break; - } // case 26 - case 34: { - resumeType_ = input.readBytes(); - resumeTypeCase_ = 4; - break; - } // case 34 - case 40: { - targetId_ = input.readInt32(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - once_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 90: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - resumeTypeCase_ = 11; - break; - } // case 90 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry); + targetTypeCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getDocumentsFieldBuilder().getBuilder(), extensionRegistry); + targetTypeCase_ = 3; + break; + } // case 26 + case 34: + { + resumeType_ = input.readBytes(); + resumeTypeCase_ = 4; + break; + } // case 34 + case 40: + { + targetId_ = input.readInt32(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + once_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 90: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + resumeTypeCase_ = 11; + break; + } // case 90 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2586,12 +2827,12 @@ public Builder mergeFrom( } // finally return this; } + private int targetTypeCase_ = 0; private java.lang.Object targetType_; - public TargetTypeCase - getTargetTypeCase() { - return TargetTypeCase.forNumber( - targetTypeCase_); + + public TargetTypeCase getTargetTypeCase() { + return TargetTypeCase.forNumber(targetTypeCase_); } public Builder clearTargetType() { @@ -2603,10 +2844,9 @@ public Builder clearTargetType() { private int resumeTypeCase_ = 0; private java.lang.Object resumeType_; - public ResumeTypeCase - getResumeTypeCase() { - return ResumeTypeCase.forNumber( - resumeTypeCase_); + + public ResumeTypeCase getResumeTypeCase() { + return ResumeTypeCase.forNumber(resumeTypeCase_); } public Builder clearResumeType() { @@ -2619,13 +2859,19 @@ public Builder clearResumeType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.QueryTarget, com.google.firestore.v1.Target.QueryTarget.Builder, com.google.firestore.v1.Target.QueryTargetOrBuilder> queryBuilder_; + com.google.firestore.v1.Target.QueryTarget, + com.google.firestore.v1.Target.QueryTarget.Builder, + com.google.firestore.v1.Target.QueryTargetOrBuilder> + queryBuilder_; /** + * + * *
      * A target specified by a query.
      * 
* * .google.firestore.v1.Target.QueryTarget query = 2; + * * @return Whether the query field is set. */ @java.lang.Override @@ -2633,11 +2879,14 @@ public boolean hasQuery() { return targetTypeCase_ == 2; } /** + * + * *
      * A target specified by a query.
      * 
* * .google.firestore.v1.Target.QueryTarget query = 2; + * * @return The query. */ @java.lang.Override @@ -2655,6 +2904,8 @@ public com.google.firestore.v1.Target.QueryTarget getQuery() { } } /** + * + * *
      * A target specified by a query.
      * 
@@ -2675,14 +2926,15 @@ public Builder setQuery(com.google.firestore.v1.Target.QueryTarget value) { return this; } /** + * + * *
      * A target specified by a query.
      * 
* * .google.firestore.v1.Target.QueryTarget query = 2; */ - public Builder setQuery( - com.google.firestore.v1.Target.QueryTarget.Builder builderForValue) { + public Builder setQuery(com.google.firestore.v1.Target.QueryTarget.Builder builderForValue) { if (queryBuilder_ == null) { targetType_ = builderForValue.build(); onChanged(); @@ -2693,6 +2945,8 @@ public Builder setQuery( return this; } /** + * + * *
      * A target specified by a query.
      * 
@@ -2701,10 +2955,13 @@ public Builder setQuery( */ public Builder mergeQuery(com.google.firestore.v1.Target.QueryTarget value) { if (queryBuilder_ == null) { - if (targetTypeCase_ == 2 && - targetType_ != com.google.firestore.v1.Target.QueryTarget.getDefaultInstance()) { - targetType_ = com.google.firestore.v1.Target.QueryTarget.newBuilder((com.google.firestore.v1.Target.QueryTarget) targetType_) - .mergeFrom(value).buildPartial(); + if (targetTypeCase_ == 2 + && targetType_ != com.google.firestore.v1.Target.QueryTarget.getDefaultInstance()) { + targetType_ = + com.google.firestore.v1.Target.QueryTarget.newBuilder( + (com.google.firestore.v1.Target.QueryTarget) targetType_) + .mergeFrom(value) + .buildPartial(); } else { targetType_ = value; } @@ -2720,6 +2977,8 @@ public Builder mergeQuery(com.google.firestore.v1.Target.QueryTarget value) { return this; } /** + * + * *
      * A target specified by a query.
      * 
@@ -2743,6 +3002,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * A target specified by a query.
      * 
@@ -2753,6 +3014,8 @@ public com.google.firestore.v1.Target.QueryTarget.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** + * + * *
      * A target specified by a query.
      * 
@@ -2771,6 +3034,8 @@ public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { } } /** + * + * *
      * A target specified by a query.
      * 
@@ -2778,14 +3043,19 @@ public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { * .google.firestore.v1.Target.QueryTarget query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.QueryTarget, com.google.firestore.v1.Target.QueryTarget.Builder, com.google.firestore.v1.Target.QueryTargetOrBuilder> + com.google.firestore.v1.Target.QueryTarget, + com.google.firestore.v1.Target.QueryTarget.Builder, + com.google.firestore.v1.Target.QueryTargetOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { if (!(targetTypeCase_ == 2)) { targetType_ = com.google.firestore.v1.Target.QueryTarget.getDefaultInstance(); } - queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.QueryTarget, com.google.firestore.v1.Target.QueryTarget.Builder, com.google.firestore.v1.Target.QueryTargetOrBuilder>( + queryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target.QueryTarget, + com.google.firestore.v1.Target.QueryTarget.Builder, + com.google.firestore.v1.Target.QueryTargetOrBuilder>( (com.google.firestore.v1.Target.QueryTarget) targetType_, getParentForChildren(), isClean()); @@ -2797,13 +3067,19 @@ public com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.DocumentsTarget, com.google.firestore.v1.Target.DocumentsTarget.Builder, com.google.firestore.v1.Target.DocumentsTargetOrBuilder> documentsBuilder_; + com.google.firestore.v1.Target.DocumentsTarget, + com.google.firestore.v1.Target.DocumentsTarget.Builder, + com.google.firestore.v1.Target.DocumentsTargetOrBuilder> + documentsBuilder_; /** + * + * *
      * A target specified by a set of document names.
      * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; + * * @return Whether the documents field is set. */ @java.lang.Override @@ -2811,11 +3087,14 @@ public boolean hasDocuments() { return targetTypeCase_ == 3; } /** + * + * *
      * A target specified by a set of document names.
      * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; + * * @return The documents. */ @java.lang.Override @@ -2833,6 +3112,8 @@ public com.google.firestore.v1.Target.DocumentsTarget getDocuments() { } } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2853,6 +3134,8 @@ public Builder setDocuments(com.google.firestore.v1.Target.DocumentsTarget value return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2871,6 +3154,8 @@ public Builder setDocuments( return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2879,10 +3164,13 @@ public Builder setDocuments( */ public Builder mergeDocuments(com.google.firestore.v1.Target.DocumentsTarget value) { if (documentsBuilder_ == null) { - if (targetTypeCase_ == 3 && - targetType_ != com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) { - targetType_ = com.google.firestore.v1.Target.DocumentsTarget.newBuilder((com.google.firestore.v1.Target.DocumentsTarget) targetType_) - .mergeFrom(value).buildPartial(); + if (targetTypeCase_ == 3 + && targetType_ != com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance()) { + targetType_ = + com.google.firestore.v1.Target.DocumentsTarget.newBuilder( + (com.google.firestore.v1.Target.DocumentsTarget) targetType_) + .mergeFrom(value) + .buildPartial(); } else { targetType_ = value; } @@ -2898,6 +3186,8 @@ public Builder mergeDocuments(com.google.firestore.v1.Target.DocumentsTarget val return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2921,6 +3211,8 @@ public Builder clearDocuments() { return this; } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2931,6 +3223,8 @@ public com.google.firestore.v1.Target.DocumentsTarget.Builder getDocumentsBuilde return getDocumentsFieldBuilder().getBuilder(); } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2949,6 +3243,8 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui } } /** + * + * *
      * A target specified by a set of document names.
      * 
@@ -2956,14 +3252,19 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui * .google.firestore.v1.Target.DocumentsTarget documents = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.DocumentsTarget, com.google.firestore.v1.Target.DocumentsTarget.Builder, com.google.firestore.v1.Target.DocumentsTargetOrBuilder> + com.google.firestore.v1.Target.DocumentsTarget, + com.google.firestore.v1.Target.DocumentsTarget.Builder, + com.google.firestore.v1.Target.DocumentsTargetOrBuilder> getDocumentsFieldBuilder() { if (documentsBuilder_ == null) { if (!(targetTypeCase_ == 3)) { targetType_ = com.google.firestore.v1.Target.DocumentsTarget.getDefaultInstance(); } - documentsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Target.DocumentsTarget, com.google.firestore.v1.Target.DocumentsTarget.Builder, com.google.firestore.v1.Target.DocumentsTargetOrBuilder>( + documentsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Target.DocumentsTarget, + com.google.firestore.v1.Target.DocumentsTarget.Builder, + com.google.firestore.v1.Target.DocumentsTargetOrBuilder>( (com.google.firestore.v1.Target.DocumentsTarget) targetType_, getParentForChildren(), isClean()); @@ -2975,6 +3276,8 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui } /** + * + * *
      * A resume token from a prior
      * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -2982,12 +3285,15 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui
      * 
* * bytes resume_token = 4; + * * @return Whether the resumeToken field is set. */ public boolean hasResumeToken() { return resumeTypeCase_ == 4; } /** + * + * *
      * A resume token from a prior
      * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -2995,6 +3301,7 @@ public boolean hasResumeToken() {
      * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ public com.google.protobuf.ByteString getResumeToken() { @@ -3004,6 +3311,8 @@ public com.google.protobuf.ByteString getResumeToken() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * A resume token from a prior
      * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -3011,17 +3320,22 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 4; + * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } resumeTypeCase_ = 4; resumeType_ = value; onChanged(); return this; } /** + * + * *
      * A resume token from a prior
      * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -3029,6 +3343,7 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; + * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -3041,14 +3356,20 @@ public Builder clearResumeToken() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
      * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -3056,12 +3377,15 @@ public boolean hasReadTime() { return resumeTypeCase_ == 11; } /** + * + * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
      * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return The readTime. */ @java.lang.Override @@ -3079,6 +3403,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3100,6 +3426,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3107,8 +3435,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 11;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         resumeType_ = builderForValue.build();
         onChanged();
@@ -3119,6 +3446,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3128,10 +3457,12 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (resumeTypeCase_ == 11 &&
-            resumeType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          resumeType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) resumeType_)
-              .mergeFrom(value).buildPartial();
+        if (resumeTypeCase_ == 11
+            && resumeType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          resumeType_ =
+              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) resumeType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           resumeType_ = value;
         }
@@ -3147,6 +3478,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3171,6 +3504,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3182,6 +3517,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3201,6 +3538,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Start listening after a specific `read_time`.
      * The client must know the state of matching documents at this time.
@@ -3209,17 +3548,20 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(resumeTypeCase_ == 11)) {
           resumeType_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) resumeType_,
-                getParentForChildren(),
-                isClean());
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) resumeType_, getParentForChildren(), isClean());
         resumeType_ = null;
       }
       resumeTypeCase_ = 11;
@@ -3227,14 +3569,17 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       return readTimeBuilder_;
     }
 
-    private int targetId_ ;
+    private int targetId_;
     /**
+     *
+     *
      * 
      * The target ID that identifies the target on the stream. Must be a positive
      * number and non-zero.
      * 
* * int32 target_id = 5; + * * @return The targetId. */ @java.lang.Override @@ -3242,29 +3587,35 @@ public int getTargetId() { return targetId_; } /** + * + * *
      * The target ID that identifies the target on the stream. Must be a positive
      * number and non-zero.
      * 
* * int32 target_id = 5; + * * @param value The targetId to set. * @return This builder for chaining. */ public Builder setTargetId(int value) { - + targetId_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The target ID that identifies the target on the stream. Must be a positive
      * number and non-zero.
      * 
* * int32 target_id = 5; + * * @return This builder for chaining. */ public Builder clearTargetId() { @@ -3274,13 +3625,16 @@ public Builder clearTargetId() { return this; } - private boolean once_ ; + private boolean once_; /** + * + * *
      * If the target should be removed once it is current and consistent.
      * 
* * bool once = 6; + * * @return The once. */ @java.lang.Override @@ -3288,27 +3642,33 @@ public boolean getOnce() { return once_; } /** + * + * *
      * If the target should be removed once it is current and consistent.
      * 
* * bool once = 6; + * * @param value The once to set. * @return This builder for chaining. */ public Builder setOnce(boolean value) { - + once_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * If the target should be removed once it is current and consistent.
      * 
* * bool once = 6; + * * @return This builder for chaining. */ public Builder clearOnce() { @@ -3317,9 +3677,9 @@ public Builder clearOnce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3329,12 +3689,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.Target) } // @@protoc_insertion_point(class_scope:google.firestore.v1.Target) private static final com.google.firestore.v1.Target DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.Target(); } @@ -3343,27 +3703,27 @@ public static com.google.firestore.v1.Target getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Target parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Target parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3378,6 +3738,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Target getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java index b112c1fe9..7d8f13d1a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChange.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * Targets being watched have changed.
  * 
* * Protobuf type {@code google.firestore.v1.TargetChange} */ -public final class TargetChange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TargetChange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TargetChange) TargetChangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TargetChange.newBuilder() to construct. private TargetChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TargetChange() { targetChangeType_ = 0; targetIds_ = emptyIntList(); @@ -27,39 +45,43 @@ private TargetChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TargetChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TargetChange.class, com.google.firestore.v1.TargetChange.Builder.class); + com.google.firestore.v1.TargetChange.class, + com.google.firestore.v1.TargetChange.Builder.class); } /** + * + * *
    * The type of change.
    * 
* * Protobuf enum {@code google.firestore.v1.TargetChange.TargetChangeType} */ - public enum TargetChangeType - implements com.google.protobuf.ProtocolMessageEnum { + public enum TargetChangeType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No change has occurred. Used only to send an updated `resume_token`.
      * 
@@ -68,6 +90,8 @@ public enum TargetChangeType */ NO_CHANGE(0), /** + * + * *
      * The targets have been added.
      * 
@@ -76,6 +100,8 @@ public enum TargetChangeType */ ADD(1), /** + * + * *
      * The targets have been removed.
      * 
@@ -84,6 +110,8 @@ public enum TargetChangeType */ REMOVE(2), /** + * + * *
      * The targets reflect all changes committed before the targets were added
      * to the stream.
@@ -97,6 +125,8 @@ public enum TargetChangeType
      */
     CURRENT(3),
     /**
+     *
+     *
      * 
      * The targets have been reset, and a new initial state for the targets
      * will be returned in subsequent changes.
@@ -111,6 +141,8 @@ public enum TargetChangeType
     ;
 
     /**
+     *
+     *
      * 
      * No change has occurred. Used only to send an updated `resume_token`.
      * 
@@ -119,6 +151,8 @@ public enum TargetChangeType */ public static final int NO_CHANGE_VALUE = 0; /** + * + * *
      * The targets have been added.
      * 
@@ -127,6 +161,8 @@ public enum TargetChangeType */ public static final int ADD_VALUE = 1; /** + * + * *
      * The targets have been removed.
      * 
@@ -135,6 +171,8 @@ public enum TargetChangeType */ public static final int REMOVE_VALUE = 2; /** + * + * *
      * The targets reflect all changes committed before the targets were added
      * to the stream.
@@ -148,6 +186,8 @@ public enum TargetChangeType
      */
     public static final int CURRENT_VALUE = 3;
     /**
+     *
+     *
      * 
      * The targets have been reset, and a new initial state for the targets
      * will be returned in subsequent changes.
@@ -159,7 +199,6 @@ public enum TargetChangeType
      */
     public static final int RESET_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -184,41 +223,46 @@ public static TargetChangeType valueOf(int value) {
      */
     public static TargetChangeType forNumber(int value) {
       switch (value) {
-        case 0: return NO_CHANGE;
-        case 1: return ADD;
-        case 2: return REMOVE;
-        case 3: return CURRENT;
-        case 4: return RESET;
-        default: return null;
+        case 0:
+          return NO_CHANGE;
+        case 1:
+          return ADD;
+        case 2:
+          return REMOVE;
+        case 3:
+          return CURRENT;
+        case 4:
+          return RESET;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        TargetChangeType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public TargetChangeType findValueByNumber(int number) {
-              return TargetChangeType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public TargetChangeType findValueByNumber(int number) {
+                return TargetChangeType.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.firestore.v1.TargetChange.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -227,8 +271,7 @@ public TargetChangeType findValueByNumber(int number) {
     public static TargetChangeType valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -248,33 +291,47 @@ private TargetChangeType(int value) {
   public static final int TARGET_CHANGE_TYPE_FIELD_NUMBER = 1;
   private int targetChangeType_ = 0;
   /**
+   *
+   *
    * 
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @return The enum numeric value on the wire for targetChangeType. */ - @java.lang.Override public int getTargetChangeTypeValue() { + @java.lang.Override + public int getTargetChangeTypeValue() { return targetChangeType_; } /** + * + * *
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @return The targetChangeType. */ - @java.lang.Override public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType() { - com.google.firestore.v1.TargetChange.TargetChangeType result = com.google.firestore.v1.TargetChange.TargetChangeType.forNumber(targetChangeType_); - return result == null ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType() { + com.google.firestore.v1.TargetChange.TargetChangeType result = + com.google.firestore.v1.TargetChange.TargetChangeType.forNumber(targetChangeType_); + return result == null + ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED + : result; } public static final int TARGET_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList targetIds_; /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -282,14 +339,16 @@ private TargetChangeType(int value) {
    * 
* * repeated int32 target_ids = 2; + * * @return A list containing the targetIds. */ @java.lang.Override - public java.util.List - getTargetIdsList() { + public java.util.List getTargetIdsList() { return targetIds_; } /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -297,12 +356,15 @@ private TargetChangeType(int value) {
    * 
* * repeated int32 target_ids = 2; + * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -310,22 +372,27 @@ public int getTargetIdsCount() {
    * 
* * repeated int32 target_ids = 2; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ public int getTargetIds(int index) { return targetIds_.getInt(index); } + private int targetIdsMemoizedSerializedSize = -1; public static final int CAUSE_FIELD_NUMBER = 3; private com.google.rpc.Status cause_; /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; + * * @return Whether the cause field is set. */ @java.lang.Override @@ -333,11 +400,14 @@ public boolean hasCause() { return cause_ != null; } /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; + * * @return The cause. */ @java.lang.Override @@ -345,6 +415,8 @@ public com.google.rpc.Status getCause() { return cause_ == null ? com.google.rpc.Status.getDefaultInstance() : cause_; } /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
@@ -359,6 +431,8 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { public static final int RESUME_TOKEN_FIELD_NUMBER = 4; private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * A token that can be used to resume the stream for the given `target_ids`,
    * or all targets if `target_ids` is empty.
@@ -366,6 +440,7 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() {
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -376,6 +451,8 @@ public com.google.protobuf.ByteString getResumeToken() { public static final int READ_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -388,6 +465,7 @@ public com.google.protobuf.ByteString getResumeToken() {
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -395,6 +473,8 @@ public boolean hasReadTime() { return readTime_ != null; } /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -407,6 +487,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ @java.lang.Override @@ -414,6 +495,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -433,6 +516,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -444,10 +528,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     getSerializedSize();
-    if (targetChangeType_ != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
+    if (targetChangeType_
+        != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
       output.writeEnum(1, targetChangeType_);
     }
     if (getTargetIdsList().size() > 0) {
@@ -475,35 +559,31 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (targetChangeType_ != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, targetChangeType_);
+    if (targetChangeType_
+        != com.google.firestore.v1.TargetChange.TargetChangeType.NO_CHANGE.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, targetChangeType_);
     }
     {
       int dataSize = 0;
       for (int i = 0; i < targetIds_.size(); i++) {
-        dataSize += com.google.protobuf.CodedOutputStream
-          .computeInt32SizeNoTag(targetIds_.getInt(i));
+        dataSize +=
+            com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(targetIds_.getInt(i));
       }
       size += dataSize;
       if (!getTargetIdsList().isEmpty()) {
         size += 1;
-        size += com.google.protobuf.CodedOutputStream
-            .computeInt32SizeNoTag(dataSize);
+        size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
       }
       targetIdsMemoizedSerializedSize = dataSize;
     }
     if (cause_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getCause());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCause());
     }
     if (!resumeToken_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, resumeToken_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, resumeToken_);
     }
     if (readTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -513,7 +593,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.TargetChange)) {
       return super.equals(obj);
@@ -521,19 +601,15 @@ public boolean equals(final java.lang.Object obj) {
     com.google.firestore.v1.TargetChange other = (com.google.firestore.v1.TargetChange) obj;
 
     if (targetChangeType_ != other.targetChangeType_) return false;
-    if (!getTargetIdsList()
-        .equals(other.getTargetIdsList())) return false;
+    if (!getTargetIdsList().equals(other.getTargetIdsList())) return false;
     if (hasCause() != other.hasCause()) return false;
     if (hasCause()) {
-      if (!getCause()
-          .equals(other.getCause())) return false;
+      if (!getCause().equals(other.getCause())) return false;
     }
-    if (!getResumeToken()
-        .equals(other.getResumeToken())) return false;
+    if (!getResumeToken().equals(other.getResumeToken())) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime()
-          .equals(other.getReadTime())) return false;
+      if (!getReadTime().equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -567,130 +643,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.TargetChange parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.TargetChange parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.TargetChange parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.TargetChange parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.TargetChange parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.TargetChange parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.TargetChange parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.TargetChange parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.TargetChange parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.TargetChange parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.TargetChange parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.TargetChange parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.TargetChange parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.TargetChange parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.TargetChange prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Targets being watched have changed.
    * 
* * Protobuf type {@code google.firestore.v1.TargetChange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.TargetChange) com.google.firestore.v1.TargetChangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TargetChange.class, com.google.firestore.v1.TargetChange.Builder.class); + com.google.firestore.v1.TargetChange.class, + com.google.firestore.v1.TargetChange.Builder.class); } // Construct using com.google.firestore.v1.TargetChange.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -712,9 +793,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_TargetChange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_TargetChange_descriptor; } @java.lang.Override @@ -735,7 +816,9 @@ public com.google.firestore.v1.TargetChange build() { public com.google.firestore.v1.TargetChange buildPartial() { com.google.firestore.v1.TargetChange result = new com.google.firestore.v1.TargetChange(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -754,17 +837,13 @@ private void buildPartial0(com.google.firestore.v1.TargetChange result) { result.targetChangeType_ = targetChangeType_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cause_ = causeBuilder_ == null - ? cause_ - : causeBuilder_.build(); + result.cause_ = causeBuilder_ == null ? cause_ : causeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.resumeToken_ = resumeToken_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); } } @@ -772,38 +851,39 @@ private void buildPartial0(com.google.firestore.v1.TargetChange result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.TargetChange) { - return mergeFrom((com.google.firestore.v1.TargetChange)other); + return mergeFrom((com.google.firestore.v1.TargetChange) other); } else { super.mergeFrom(other); return this; @@ -860,52 +940,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - targetChangeType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - int v = input.readInt32(); - ensureTargetIdsIsMutable(); - targetIds_.addInt(v); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureTargetIdsIsMutable(); - while (input.getBytesUntilLimit() > 0) { - targetIds_.addInt(input.readInt32()); - } - input.popLimit(limit); - break; - } // case 18 - case 26: { - input.readMessage( - getCauseFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - resumeToken_ = input.readBytes(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 50: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + targetChangeType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + int v = input.readInt32(); + ensureTargetIdsIsMutable(); + targetIds_.addInt(v); + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureTargetIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + targetIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 18 + case 26: + { + input.readMessage(getCauseFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + resumeToken_ = input.readBytes(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 50: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -915,26 +998,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int targetChangeType_ = 0; /** + * + * *
      * The type of change that occurred.
      * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @return The enum numeric value on the wire for targetChangeType. */ - @java.lang.Override public int getTargetChangeTypeValue() { + @java.lang.Override + public int getTargetChangeTypeValue() { return targetChangeType_; } /** + * + * *
      * The type of change that occurred.
      * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @param value The enum numeric value on the wire for targetChangeType to set. * @return This builder for chaining. */ @@ -945,28 +1036,38 @@ public Builder setTargetChangeTypeValue(int value) { return this; } /** + * + * *
      * The type of change that occurred.
      * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @return The targetChangeType. */ @java.lang.Override public com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType() { - com.google.firestore.v1.TargetChange.TargetChangeType result = com.google.firestore.v1.TargetChange.TargetChangeType.forNumber(targetChangeType_); - return result == null ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED : result; + com.google.firestore.v1.TargetChange.TargetChangeType result = + com.google.firestore.v1.TargetChange.TargetChangeType.forNumber(targetChangeType_); + return result == null + ? com.google.firestore.v1.TargetChange.TargetChangeType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of change that occurred.
      * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @param value The targetChangeType to set. * @return This builder for chaining. */ - public Builder setTargetChangeType(com.google.firestore.v1.TargetChange.TargetChangeType value) { + public Builder setTargetChangeType( + com.google.firestore.v1.TargetChange.TargetChangeType value) { if (value == null) { throw new NullPointerException(); } @@ -976,11 +1077,14 @@ public Builder setTargetChangeType(com.google.firestore.v1.TargetChange.TargetCh return this; } /** + * + * *
      * The type of change that occurred.
      * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @return This builder for chaining. */ public Builder clearTargetChangeType() { @@ -991,6 +1095,7 @@ public Builder clearTargetChangeType() { } private com.google.protobuf.Internal.IntList targetIds_ = emptyIntList(); + private void ensureTargetIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { targetIds_ = mutableCopy(targetIds_); @@ -998,6 +1103,8 @@ private void ensureTargetIdsIsMutable() { } } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1005,14 +1112,17 @@ private void ensureTargetIdsIsMutable() {
      * 
* * repeated int32 target_ids = 2; + * * @return A list containing the targetIds. */ - public java.util.List - getTargetIdsList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(targetIds_) : targetIds_; + public java.util.List getTargetIdsList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(targetIds_) + : targetIds_; } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1020,12 +1130,15 @@ private void ensureTargetIdsIsMutable() {
      * 
* * repeated int32 target_ids = 2; + * * @return The count of targetIds. */ public int getTargetIdsCount() { return targetIds_.size(); } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1033,6 +1146,7 @@ public int getTargetIdsCount() {
      * 
* * repeated int32 target_ids = 2; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ @@ -1040,6 +1154,8 @@ public int getTargetIds(int index) { return targetIds_.getInt(index); } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1047,19 +1163,21 @@ public int getTargetIds(int index) {
      * 
* * repeated int32 target_ids = 2; + * * @param index The index to set the value at. * @param value The targetIds to set. * @return This builder for chaining. */ - public Builder setTargetIds( - int index, int value) { - + public Builder setTargetIds(int index, int value) { + ensureTargetIdsIsMutable(); targetIds_.setInt(index, value); onChanged(); return this; } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1067,17 +1185,20 @@ public Builder setTargetIds(
      * 
* * repeated int32 target_ids = 2; + * * @param value The targetIds to add. * @return This builder for chaining. */ public Builder addTargetIds(int value) { - + ensureTargetIdsIsMutable(); targetIds_.addInt(value); onChanged(); return this; } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1085,18 +1206,19 @@ public Builder addTargetIds(int value) {
      * 
* * repeated int32 target_ids = 2; + * * @param values The targetIds to add. * @return This builder for chaining. */ - public Builder addAllTargetIds( - java.lang.Iterable values) { + public Builder addAllTargetIds(java.lang.Iterable values) { ensureTargetIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, targetIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetIds_); onChanged(); return this; } /** + * + * *
      * The target IDs of targets that have changed.
      * If empty, the change applies to all targets.
@@ -1104,6 +1226,7 @@ public Builder addAllTargetIds(
      * 
* * repeated int32 target_ids = 2; + * * @return This builder for chaining. */ public Builder clearTargetIds() { @@ -1115,24 +1238,31 @@ public Builder clearTargetIds() { private com.google.rpc.Status cause_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> causeBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + causeBuilder_; /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
* * .google.rpc.Status cause = 3; + * * @return Whether the cause field is set. */ public boolean hasCause() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
* * .google.rpc.Status cause = 3; + * * @return The cause. */ public com.google.rpc.Status getCause() { @@ -1143,6 +1273,8 @@ public com.google.rpc.Status getCause() { } } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1163,14 +1295,15 @@ public Builder setCause(com.google.rpc.Status value) { return this; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
* * .google.rpc.Status cause = 3; */ - public Builder setCause( - com.google.rpc.Status.Builder builderForValue) { + public Builder setCause(com.google.rpc.Status.Builder builderForValue) { if (causeBuilder_ == null) { cause_ = builderForValue.build(); } else { @@ -1181,6 +1314,8 @@ public Builder setCause( return this; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1189,9 +1324,9 @@ public Builder setCause( */ public Builder mergeCause(com.google.rpc.Status value) { if (causeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - cause_ != null && - cause_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && cause_ != null + && cause_ != com.google.rpc.Status.getDefaultInstance()) { getCauseBuilder().mergeFrom(value); } else { cause_ = value; @@ -1204,6 +1339,8 @@ public Builder mergeCause(com.google.rpc.Status value) { return this; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1221,6 +1358,8 @@ public Builder clearCause() { return this; } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1233,6 +1372,8 @@ public com.google.rpc.Status.Builder getCauseBuilder() { return getCauseFieldBuilder().getBuilder(); } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1243,11 +1384,12 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { if (causeBuilder_ != null) { return causeBuilder_.getMessageOrBuilder(); } else { - return cause_ == null ? - com.google.rpc.Status.getDefaultInstance() : cause_; + return cause_ == null ? com.google.rpc.Status.getDefaultInstance() : cause_; } } /** + * + * *
      * The error that resulted in this change, if applicable.
      * 
@@ -1255,14 +1397,14 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { * .google.rpc.Status cause = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getCauseFieldBuilder() { if (causeBuilder_ == null) { - causeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getCause(), - getParentForChildren(), - isClean()); + causeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getCause(), getParentForChildren(), isClean()); cause_ = null; } return causeBuilder_; @@ -1270,6 +1412,8 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() { private com.google.protobuf.ByteString resumeToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * A token that can be used to resume the stream for the given `target_ids`,
      * or all targets if `target_ids` is empty.
@@ -1277,6 +1421,7 @@ public com.google.rpc.StatusOrBuilder getCauseOrBuilder() {
      * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ @java.lang.Override @@ -1284,6 +1429,8 @@ public com.google.protobuf.ByteString getResumeToken() { return resumeToken_; } /** + * + * *
      * A token that can be used to resume the stream for the given `target_ids`,
      * or all targets if `target_ids` is empty.
@@ -1291,17 +1438,22 @@ public com.google.protobuf.ByteString getResumeToken() {
      * 
* * bytes resume_token = 4; + * * @param value The resumeToken to set. * @return This builder for chaining. */ public Builder setResumeToken(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } resumeToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A token that can be used to resume the stream for the given `target_ids`,
      * or all targets if `target_ids` is empty.
@@ -1309,6 +1461,7 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) {
      * 
* * bytes resume_token = 4; + * * @return This builder for chaining. */ public Builder clearResumeToken() { @@ -1320,8 +1473,13 @@ public Builder clearResumeToken() { private com.google.protobuf.Timestamp readTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1334,12 +1492,15 @@ public Builder clearResumeToken() {
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1352,6 +1513,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1362,6 +1524,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1389,6 +1553,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1402,8 +1568,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 6;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -1414,6 +1579,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1429,9 +1596,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1444,6 +1611,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1468,6 +1637,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1487,6 +1658,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1504,11 +1677,12 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (readTimeBuilder_ != null) {
         return readTimeBuilder_.getMessageOrBuilder();
       } else {
-        return readTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
+        return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The consistent `read_time` for the given `target_ids` (omitted when the
      * target_ids are not at a consistent snapshot).
@@ -1523,21 +1697,24 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
-        readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getReadTime(),
-                getParentForChildren(),
-                isClean());
+        readTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getReadTime(), getParentForChildren(), isClean());
         readTime_ = null;
       }
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1547,12 +1724,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.TargetChange)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.TargetChange)
   private static final com.google.firestore.v1.TargetChange DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.TargetChange();
   }
@@ -1561,27 +1738,27 @@ public static com.google.firestore.v1.TargetChange getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TargetChange parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TargetChange parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1596,6 +1773,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.TargetChange getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
similarity index 85%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
index 6cd26c0b7..2c36f37e4 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetChangeOrBuilder.java
@@ -1,32 +1,56 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface TargetChangeOrBuilder extends
+public interface TargetChangeOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.TargetChange)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @return The enum numeric value on the wire for targetChangeType. */ int getTargetChangeTypeValue(); /** + * + * *
    * The type of change that occurred.
    * 
* * .google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1; + * * @return The targetChangeType. */ com.google.firestore.v1.TargetChange.TargetChangeType getTargetChangeType(); /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -34,10 +58,13 @@ public interface TargetChangeOrBuilder extends
    * 
* * repeated int32 target_ids = 2; + * * @return A list containing the targetIds. */ java.util.List getTargetIdsList(); /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -45,10 +72,13 @@ public interface TargetChangeOrBuilder extends
    * 
* * repeated int32 target_ids = 2; + * * @return The count of targetIds. */ int getTargetIdsCount(); /** + * + * *
    * The target IDs of targets that have changed.
    * If empty, the change applies to all targets.
@@ -56,30 +86,39 @@ public interface TargetChangeOrBuilder extends
    * 
* * repeated int32 target_ids = 2; + * * @param index The index of the element to return. * @return The targetIds at the given index. */ int getTargetIds(int index); /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; + * * @return Whether the cause field is set. */ boolean hasCause(); /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
* * .google.rpc.Status cause = 3; + * * @return The cause. */ com.google.rpc.Status getCause(); /** + * + * *
    * The error that resulted in this change, if applicable.
    * 
@@ -89,6 +128,8 @@ public interface TargetChangeOrBuilder extends com.google.rpc.StatusOrBuilder getCauseOrBuilder(); /** + * + * *
    * A token that can be used to resume the stream for the given `target_ids`,
    * or all targets if `target_ids` is empty.
@@ -96,11 +137,14 @@ public interface TargetChangeOrBuilder extends
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -113,10 +157,13 @@ public interface TargetChangeOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
@@ -129,10 +176,13 @@ public interface TargetChangeOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 6; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The consistent `read_time` for the given `target_ids` (omitted when the
    * target_ids are not at a consistent snapshot).
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
similarity index 82%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
index 6e221e3f3..41b854b4e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface TargetOrBuilder extends
+public interface TargetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.Target)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; + * * @return Whether the query field is set. */ boolean hasQuery(); /** + * + * *
    * A target specified by a query.
    * 
* * .google.firestore.v1.Target.QueryTarget query = 2; + * * @return The query. */ com.google.firestore.v1.Target.QueryTarget getQuery(); /** + * + * *
    * A target specified by a query.
    * 
@@ -35,24 +59,32 @@ public interface TargetOrBuilder extends com.google.firestore.v1.Target.QueryTargetOrBuilder getQueryOrBuilder(); /** + * + * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; + * * @return Whether the documents field is set. */ boolean hasDocuments(); /** + * + * *
    * A target specified by a set of document names.
    * 
* * .google.firestore.v1.Target.DocumentsTarget documents = 3; + * * @return The documents. */ com.google.firestore.v1.Target.DocumentsTarget getDocuments(); /** + * + * *
    * A target specified by a set of document names.
    * 
@@ -62,6 +94,8 @@ public interface TargetOrBuilder extends com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBuilder(); /** + * + * *
    * A resume token from a prior
    * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -69,10 +103,13 @@ public interface TargetOrBuilder extends
    * 
* * bytes resume_token = 4; + * * @return Whether the resumeToken field is set. */ boolean hasResumeToken(); /** + * + * *
    * A resume token from a prior
    * [TargetChange][google.firestore.v1.TargetChange] for an identical target.
@@ -80,31 +117,40 @@ public interface TargetOrBuilder extends
    * 
* * bytes resume_token = 4; + * * @return The resumeToken. */ com.google.protobuf.ByteString getResumeToken(); /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
    * 
* * .google.protobuf.Timestamp read_time = 11; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Start listening after a specific `read_time`.
    * The client must know the state of matching documents at this time.
@@ -115,22 +161,28 @@ public interface TargetOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The target ID that identifies the target on the stream. Must be a positive
    * number and non-zero.
    * 
* * int32 target_id = 5; + * * @return The targetId. */ int getTargetId(); /** + * + * *
    * If the target should be removed once it is current and consistent.
    * 
* * bool once = 6; + * * @return The once. */ boolean getOnce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java index c334d4f65..6e963e87f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptions.java @@ -1,119 +1,148 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; /** + * + * *
  * Options for creating a new transaction.
  * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions} */ -public final class TransactionOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransactionOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions) TransactionOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransactionOptions.newBuilder() to construct. private TransactionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransactionOptions() { - } + + private TransactionOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransactionOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.class, com.google.firestore.v1.TransactionOptions.Builder.class); + com.google.firestore.v1.TransactionOptions.class, + com.google.firestore.v1.TransactionOptions.Builder.class); } - public interface ReadWriteOrBuilder extends + public interface ReadWriteOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions.ReadWrite) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * An optional transaction to retry.
      * 
* * bytes retry_transaction = 1; + * * @return The retryTransaction. */ com.google.protobuf.ByteString getRetryTransaction(); } /** + * + * *
    * Options for a transaction that can be used to read and write documents.
    * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadWrite} */ - public static final class ReadWrite extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReadWrite extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions.ReadWrite) ReadWriteOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadWrite.newBuilder() to construct. private ReadWrite(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadWrite() { retryTransaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadWrite(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadWrite.class, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadWrite.class, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); } public static final int RETRY_TRANSACTION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString retryTransaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * An optional transaction to retry.
      * 
* * bytes retry_transaction = 1; + * * @return The retryTransaction. */ @java.lang.Override @@ -122,6 +151,7 @@ public com.google.protobuf.ByteString getRetryTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,8 +163,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!retryTransaction_.isEmpty()) { output.writeBytes(1, retryTransaction_); } @@ -148,8 +177,7 @@ public int getSerializedSize() { size = 0; if (!retryTransaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, retryTransaction_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, retryTransaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -159,15 +187,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.TransactionOptions.ReadWrite)) { return super.equals(obj); } - com.google.firestore.v1.TransactionOptions.ReadWrite other = (com.google.firestore.v1.TransactionOptions.ReadWrite) obj; + com.google.firestore.v1.TransactionOptions.ReadWrite other = + (com.google.firestore.v1.TransactionOptions.ReadWrite) obj; - if (!getRetryTransaction() - .equals(other.getRetryTransaction())) return false; + if (!getRetryTransaction().equals(other.getRetryTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,87 +215,94 @@ public int hashCode() { } public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions.ReadWrite parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1.TransactionOptions.ReadWrite prototype) { + + public static Builder newBuilder( + com.google.firestore.v1.TransactionOptions.ReadWrite prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -277,39 +312,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Options for a transaction that can be used to read and write documents.
      * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadWrite} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions.ReadWrite) com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadWrite.class, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadWrite.class, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder.class); } // Construct using com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +356,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override @@ -340,8 +377,11 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite build() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadWrite buildPartial() { - com.google.firestore.v1.TransactionOptions.ReadWrite result = new com.google.firestore.v1.TransactionOptions.ReadWrite(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.TransactionOptions.ReadWrite result = + new com.google.firestore.v1.TransactionOptions.ReadWrite(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -357,38 +397,41 @@ private void buildPartial0(com.google.firestore.v1.TransactionOptions.ReadWrite public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.TransactionOptions.ReadWrite) { - return mergeFrom((com.google.firestore.v1.TransactionOptions.ReadWrite)other); + return mergeFrom((com.google.firestore.v1.TransactionOptions.ReadWrite) other); } else { super.mergeFrom(other); return this; @@ -396,7 +439,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.TransactionOptions.ReadWrite other) { - if (other == com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) + return this; if (other.getRetryTransaction() != com.google.protobuf.ByteString.EMPTY) { setRetryTransaction(other.getRetryTransaction()); } @@ -426,17 +470,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - retryTransaction_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + retryTransaction_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -446,15 +492,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.ByteString retryTransaction_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString retryTransaction_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
        * An optional transaction to retry.
        * 
* * bytes retry_transaction = 1; + * * @return The retryTransaction. */ @java.lang.Override @@ -462,27 +513,35 @@ public com.google.protobuf.ByteString getRetryTransaction() { return retryTransaction_; } /** + * + * *
        * An optional transaction to retry.
        * 
* * bytes retry_transaction = 1; + * * @param value The retryTransaction to set. * @return This builder for chaining. */ public Builder setRetryTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } retryTransaction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * An optional transaction to retry.
        * 
* * bytes retry_transaction = 1; + * * @return This builder for chaining. */ public Builder clearRetryTransaction() { @@ -491,6 +550,7 @@ public Builder clearRetryTransaction() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -503,12 +563,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.TransactionOptions.ReadWrite) } // @@protoc_insertion_point(class_scope:google.firestore.v1.TransactionOptions.ReadWrite) private static final com.google.firestore.v1.TransactionOptions.ReadWrite DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.TransactionOptions.ReadWrite(); } @@ -517,27 +577,28 @@ public static com.google.firestore.v1.TransactionOptions.ReadWrite getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadWrite parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadWrite parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -552,34 +613,42 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.TransactionOptions.ReadWrite getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ReadOnlyOrBuilder extends + public interface ReadOnlyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions.ReadOnly) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
@@ -589,60 +658,67 @@ public interface ReadOnlyOrBuilder extends
      */
     com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
 
-    public com.google.firestore.v1.TransactionOptions.ReadOnly.ConsistencySelectorCase getConsistencySelectorCase();
+    public com.google.firestore.v1.TransactionOptions.ReadOnly.ConsistencySelectorCase
+        getConsistencySelectorCase();
   }
   /**
+   *
+   *
    * 
    * Options for a transaction that can only be used to read documents.
    * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadOnly} */ - public static final class ReadOnly extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReadOnly extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.TransactionOptions.ReadOnly) ReadOnlyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadOnly.newBuilder() to construct. private ReadOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadOnly() { - } + + private ReadOnly() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadOnly(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadOnly.class, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadOnly.class, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); } private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; + public enum ConsistencySelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_TIME(2), CONSISTENCYSELECTOR_NOT_SET(0); private final int value; + private ConsistencySelectorCase(int value) { this.value = value; } @@ -658,30 +734,35 @@ public static ConsistencySelectorCase valueOf(int value) { public static ConsistencySelectorCase forNumber(int value) { switch (value) { - case 2: return READ_TIME; - case 0: return CONSISTENCYSELECTOR_NOT_SET; - default: return null; + case 2: + return READ_TIME; + case 0: + return CONSISTENCYSELECTOR_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConsistencySelectorCase - getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber( - consistencySelectorCase_); + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); } public static final int READ_TIME_FIELD_NUMBER = 2; /** + * + * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -689,22 +770,27 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 2; } /** + * + * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
      * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencySelectorCase_ == 2) { - return (com.google.protobuf.Timestamp) consistencySelector_; + return (com.google.protobuf.Timestamp) consistencySelector_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
      * Reads documents at the given time.
      * This may not be older than 60 seconds.
@@ -715,12 +801,13 @@ public com.google.protobuf.Timestamp getReadTime() {
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       if (consistencySelectorCase_ == 2) {
-         return (com.google.protobuf.Timestamp) consistencySelector_;
+        return (com.google.protobuf.Timestamp) consistencySelector_;
       }
       return com.google.protobuf.Timestamp.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -732,8 +819,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (consistencySelectorCase_ == 2) {
         output.writeMessage(2, (com.google.protobuf.Timestamp) consistencySelector_);
       }
@@ -747,8 +833,9 @@ public int getSerializedSize() {
 
       size = 0;
       if (consistencySelectorCase_ == 2) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, (com.google.protobuf.Timestamp) consistencySelector_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                2, (com.google.protobuf.Timestamp) consistencySelector_);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -758,18 +845,18 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.firestore.v1.TransactionOptions.ReadOnly)) {
         return super.equals(obj);
       }
-      com.google.firestore.v1.TransactionOptions.ReadOnly other = (com.google.firestore.v1.TransactionOptions.ReadOnly) obj;
+      com.google.firestore.v1.TransactionOptions.ReadOnly other =
+          (com.google.firestore.v1.TransactionOptions.ReadOnly) obj;
 
       if (!getConsistencySelectorCase().equals(other.getConsistencySelectorCase())) return false;
       switch (consistencySelectorCase_) {
         case 2:
-          if (!getReadTime()
-              .equals(other.getReadTime())) return false;
+          if (!getReadTime().equals(other.getReadTime())) return false;
           break;
         case 0:
         default:
@@ -799,87 +886,94 @@ public int hashCode() {
     }
 
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.firestore.v1.TransactionOptions.ReadOnly parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.firestore.v1.TransactionOptions.ReadOnly parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.firestore.v1.TransactionOptions.ReadOnly parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.firestore.v1.TransactionOptions.ReadOnly prototype) {
+
+    public static Builder newBuilder(
+        com.google.firestore.v1.TransactionOptions.ReadOnly prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -889,39 +983,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Options for a transaction that can only be used to read documents.
      * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions.ReadOnly} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions.ReadOnly) com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.ReadOnly.class, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.firestore.v1.TransactionOptions.ReadOnly.class, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder.class); } // Construct using com.google.firestore.v1.TransactionOptions.ReadOnly.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -935,9 +1031,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override @@ -956,8 +1052,11 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly build() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadOnly buildPartial() { - com.google.firestore.v1.TransactionOptions.ReadOnly result = new com.google.firestore.v1.TransactionOptions.ReadOnly(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.TransactionOptions.ReadOnly result = + new com.google.firestore.v1.TransactionOptions.ReadOnly(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -970,8 +1069,7 @@ private void buildPartial0(com.google.firestore.v1.TransactionOptions.ReadOnly r private void buildPartialOneofs(com.google.firestore.v1.TransactionOptions.ReadOnly result) { result.consistencySelectorCase_ = consistencySelectorCase_; result.consistencySelector_ = this.consistencySelector_; - if (consistencySelectorCase_ == 2 && - readTimeBuilder_ != null) { + if (consistencySelectorCase_ == 2 && readTimeBuilder_ != null) { result.consistencySelector_ = readTimeBuilder_.build(); } } @@ -980,38 +1078,41 @@ private void buildPartialOneofs(com.google.firestore.v1.TransactionOptions.ReadO public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.TransactionOptions.ReadOnly) { - return mergeFrom((com.google.firestore.v1.TransactionOptions.ReadOnly)other); + return mergeFrom((com.google.firestore.v1.TransactionOptions.ReadOnly) other); } else { super.mergeFrom(other); return this; @@ -1019,15 +1120,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.firestore.v1.TransactionOptions.ReadOnly other) { - if (other == com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) return this; + if (other == com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) + return this; switch (other.getConsistencySelectorCase()) { - case READ_TIME: { - mergeReadTime(other.getReadTime()); - break; - } - case CONSISTENCYSELECTOR_NOT_SET: { - break; - } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYSELECTOR_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1055,19 +1159,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - consistencySelectorCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + consistencySelectorCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1077,12 +1181,12 @@ public Builder mergeFrom( } // finally return this; } + private int consistencySelectorCase_ = 0; private java.lang.Object consistencySelector_; - public ConsistencySelectorCase - getConsistencySelectorCase() { - return ConsistencySelectorCase.forNumber( - consistencySelectorCase_); + + public ConsistencySelectorCase getConsistencySelectorCase() { + return ConsistencySelectorCase.forNumber(consistencySelectorCase_); } public Builder clearConsistencySelector() { @@ -1095,14 +1199,20 @@ public Builder clearConsistencySelector() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + readTimeBuilder_; /** + * + * *
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
        * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1110,12 +1220,15 @@ public boolean hasReadTime() { return consistencySelectorCase_ == 2; } /** + * + * *
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
        * 
* * .google.protobuf.Timestamp read_time = 2; + * * @return The readTime. */ @java.lang.Override @@ -1133,6 +1246,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1154,6 +1269,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1161,8 +1278,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp read_time = 2;
        */
-      public Builder setReadTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (readTimeBuilder_ == null) {
           consistencySelector_ = builderForValue.build();
           onChanged();
@@ -1173,6 +1289,8 @@ public Builder setReadTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1182,10 +1300,13 @@ public Builder setReadTime(
        */
       public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
         if (readTimeBuilder_ == null) {
-          if (consistencySelectorCase_ == 2 &&
-              consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-            consistencySelector_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencySelector_)
-                .mergeFrom(value).buildPartial();
+          if (consistencySelectorCase_ == 2
+              && consistencySelector_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+            consistencySelector_ =
+                com.google.protobuf.Timestamp.newBuilder(
+                        (com.google.protobuf.Timestamp) consistencySelector_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             consistencySelector_ = value;
           }
@@ -1201,6 +1322,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1225,6 +1348,8 @@ public Builder clearReadTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1236,6 +1361,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
         return getReadTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1255,6 +1382,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
         }
       }
       /**
+       *
+       *
        * 
        * Reads documents at the given time.
        * This may not be older than 60 seconds.
@@ -1263,14 +1392,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
        * .google.protobuf.Timestamp read_time = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
           getReadTimeFieldBuilder() {
         if (readTimeBuilder_ == null) {
           if (!(consistencySelectorCase_ == 2)) {
             consistencySelector_ = com.google.protobuf.Timestamp.getDefaultInstance();
           }
-          readTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+          readTimeBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
                   (com.google.protobuf.Timestamp) consistencySelector_,
                   getParentForChildren(),
                   isClean());
@@ -1280,6 +1414,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
         onChanged();
         return readTimeBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1292,12 +1427,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.firestore.v1.TransactionOptions.ReadOnly)
     }
 
     // @@protoc_insertion_point(class_scope:google.firestore.v1.TransactionOptions.ReadOnly)
     private static final com.google.firestore.v1.TransactionOptions.ReadOnly DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.firestore.v1.TransactionOptions.ReadOnly();
     }
@@ -1306,27 +1441,28 @@ public static com.google.firestore.v1.TransactionOptions.ReadOnly getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public ReadOnly parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ReadOnly parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1341,18 +1477,20 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.firestore.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int modeCase_ = 0;
   private java.lang.Object mode_;
+
   public enum ModeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     READ_ONLY(2),
     READ_WRITE(3),
     MODE_NOT_SET(0);
     private final int value;
+
     private ModeCase(int value) {
       this.value = value;
     }
@@ -1368,30 +1506,36 @@ public static ModeCase valueOf(int value) {
 
     public static ModeCase forNumber(int value) {
       switch (value) {
-        case 2: return READ_ONLY;
-        case 3: return READ_WRITE;
-        case 0: return MODE_NOT_SET;
-        default: return null;
+        case 2:
+          return READ_ONLY;
+        case 3:
+          return READ_WRITE;
+        case 0:
+          return MODE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ModeCase
-  getModeCase() {
-    return ModeCase.forNumber(
-        modeCase_);
+  public ModeCase getModeCase() {
+    return ModeCase.forNumber(modeCase_);
   }
 
   public static final int READ_ONLY_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -1399,21 +1543,26 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** + * + * *
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return The readOnly. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { if (modeCase_ == 2) { - return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; } return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } /** + * + * *
    * The transaction can only be used for read operations.
    * 
@@ -1423,18 +1572,21 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder() { if (modeCase_ == 2) { - return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_; } return com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } public static final int READ_WRITE_FIELD_NUMBER = 3; /** + * + * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -1442,21 +1594,26 @@ public boolean hasReadWrite() { return modeCase_ == 3; } /** + * + * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + * * @return The readWrite. */ @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { if (modeCase_ == 3) { - return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; } return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } /** + * + * *
    * The transaction can be used for both read and write operations.
    * 
@@ -1466,12 +1623,13 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { @java.lang.Override public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder() { if (modeCase_ == 3) { - return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_; } return com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1483,8 +1641,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (modeCase_ == 2) { output.writeMessage(2, (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); } @@ -1501,12 +1658,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_); } if (modeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1516,22 +1675,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.TransactionOptions)) { return super.equals(obj); } - com.google.firestore.v1.TransactionOptions other = (com.google.firestore.v1.TransactionOptions) obj; + com.google.firestore.v1.TransactionOptions other = + (com.google.firestore.v1.TransactionOptions) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 2: - if (!getReadOnly() - .equals(other.getReadOnly())) return false; + if (!getReadOnly().equals(other.getReadOnly())) return false; break; case 3: - if (!getReadWrite() - .equals(other.getReadWrite())) return false; + if (!getReadWrite().equals(other.getReadWrite())) return false; break; case 0: default: @@ -1564,130 +1722,136 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.TransactionOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.TransactionOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.TransactionOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.TransactionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.TransactionOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.TransactionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.TransactionOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.TransactionOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.TransactionOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.TransactionOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.firestore.v1.TransactionOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.TransactionOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.TransactionOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.TransactionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.TransactionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Options for creating a new transaction.
    * 
* * Protobuf type {@code google.firestore.v1.TransactionOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.TransactionOptions) com.google.firestore.v1.TransactionOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.TransactionOptions.class, com.google.firestore.v1.TransactionOptions.Builder.class); + com.google.firestore.v1.TransactionOptions.class, + com.google.firestore.v1.TransactionOptions.Builder.class); } // Construct using com.google.firestore.v1.TransactionOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1704,9 +1868,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.CommonProto.internal_static_google_firestore_v1_TransactionOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.CommonProto + .internal_static_google_firestore_v1_TransactionOptions_descriptor; } @java.lang.Override @@ -1725,8 +1889,11 @@ public com.google.firestore.v1.TransactionOptions build() { @java.lang.Override public com.google.firestore.v1.TransactionOptions buildPartial() { - com.google.firestore.v1.TransactionOptions result = new com.google.firestore.v1.TransactionOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.firestore.v1.TransactionOptions result = + new com.google.firestore.v1.TransactionOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1739,12 +1906,10 @@ private void buildPartial0(com.google.firestore.v1.TransactionOptions result) { private void buildPartialOneofs(com.google.firestore.v1.TransactionOptions result) { result.modeCase_ = modeCase_; result.mode_ = this.mode_; - if (modeCase_ == 2 && - readOnlyBuilder_ != null) { + if (modeCase_ == 2 && readOnlyBuilder_ != null) { result.mode_ = readOnlyBuilder_.build(); } - if (modeCase_ == 3 && - readWriteBuilder_ != null) { + if (modeCase_ == 3 && readWriteBuilder_ != null) { result.mode_ = readWriteBuilder_.build(); } } @@ -1753,38 +1918,39 @@ private void buildPartialOneofs(com.google.firestore.v1.TransactionOptions resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.TransactionOptions) { - return mergeFrom((com.google.firestore.v1.TransactionOptions)other); + return mergeFrom((com.google.firestore.v1.TransactionOptions) other); } else { super.mergeFrom(other); return this; @@ -1794,17 +1960,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.v1.TransactionOptions other) { if (other == com.google.firestore.v1.TransactionOptions.getDefaultInstance()) return this; switch (other.getModeCase()) { - case READ_ONLY: { - mergeReadOnly(other.getReadOnly()); - break; - } - case READ_WRITE: { - mergeReadWrite(other.getReadWrite()); - break; - } - case MODE_NOT_SET: { - break; - } + case READ_ONLY: + { + mergeReadOnly(other.getReadOnly()); + break; + } + case READ_WRITE: + { + mergeReadWrite(other.getReadWrite()); + break; + } + case MODE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1832,26 +2001,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getReadOnlyFieldBuilder().getBuilder(), - extensionRegistry); - modeCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getReadWriteFieldBuilder().getBuilder(), - extensionRegistry); - modeCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage(getReadOnlyFieldBuilder().getBuilder(), extensionRegistry); + modeCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getReadWriteFieldBuilder().getBuilder(), extensionRegistry); + modeCase_ = 3; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1861,12 +2029,12 @@ public Builder mergeFrom( } // finally return this; } + private int modeCase_ = 0; private java.lang.Object mode_; - public ModeCase - getModeCase() { - return ModeCase.forNumber( - modeCase_); + + public ModeCase getModeCase() { + return ModeCase.forNumber(modeCase_); } public Builder clearMode() { @@ -1879,13 +2047,19 @@ public Builder clearMode() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadOnly, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder> readOnlyBuilder_; + com.google.firestore.v1.TransactionOptions.ReadOnly, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, + com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder> + readOnlyBuilder_; /** + * + * *
      * The transaction can only be used for read operations.
      * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -1893,11 +2067,14 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return The readOnly. */ @java.lang.Override @@ -1915,6 +2092,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1935,6 +2114,8 @@ public Builder setReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly v return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1953,6 +2134,8 @@ public Builder setReadOnly( return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -1961,10 +2144,13 @@ public Builder setReadOnly( */ public Builder mergeReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly value) { if (readOnlyBuilder_ == null) { - if (modeCase_ == 2 && - mode_ != com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { - mode_ = com.google.firestore.v1.TransactionOptions.ReadOnly.newBuilder((com.google.firestore.v1.TransactionOptions.ReadOnly) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 2 + && mode_ != com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { + mode_ = + com.google.firestore.v1.TransactionOptions.ReadOnly.newBuilder( + (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -1980,6 +2166,8 @@ public Builder mergeReadOnly(com.google.firestore.v1.TransactionOptions.ReadOnly return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -2003,6 +2191,8 @@ public Builder clearReadOnly() { return this; } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -2013,6 +2203,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBu return getReadOnlyFieldBuilder().getBuilder(); } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -2031,6 +2223,8 @@ public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO } } /** + * + * *
      * The transaction can only be used for read operations.
      * 
@@ -2038,14 +2232,19 @@ public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadOnly, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder> + com.google.firestore.v1.TransactionOptions.ReadOnly, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, + com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder> getReadOnlyFieldBuilder() { if (readOnlyBuilder_ == null) { if (!(modeCase_ == 2)) { mode_ = com.google.firestore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } - readOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadOnly, com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder>( + readOnlyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions.ReadOnly, + com.google.firestore.v1.TransactionOptions.ReadOnly.Builder, + com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder>( (com.google.firestore.v1.TransactionOptions.ReadOnly) mode_, getParentForChildren(), isClean()); @@ -2057,13 +2256,19 @@ public com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadWrite, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder> readWriteBuilder_; + com.google.firestore.v1.TransactionOptions.ReadWrite, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, + com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder> + readWriteBuilder_; /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -2071,11 +2276,14 @@ public boolean hasReadWrite() { return modeCase_ == 3; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + * * @return The readWrite. */ @java.lang.Override @@ -2093,6 +2301,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2113,6 +2323,8 @@ public Builder setReadWrite(com.google.firestore.v1.TransactionOptions.ReadWrite return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2131,6 +2343,8 @@ public Builder setReadWrite( return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2139,10 +2353,13 @@ public Builder setReadWrite( */ public Builder mergeReadWrite(com.google.firestore.v1.TransactionOptions.ReadWrite value) { if (readWriteBuilder_ == null) { - if (modeCase_ == 3 && - mode_ != com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { - mode_ = com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder((com.google.firestore.v1.TransactionOptions.ReadWrite) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 3 + && mode_ != com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { + mode_ = + com.google.firestore.v1.TransactionOptions.ReadWrite.newBuilder( + (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -2158,6 +2375,8 @@ public Builder mergeReadWrite(com.google.firestore.v1.TransactionOptions.ReadWri return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2181,6 +2400,8 @@ public Builder clearReadWrite() { return this; } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2191,6 +2412,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWrite.Builder getReadWrite return getReadWriteFieldBuilder().getBuilder(); } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2209,6 +2432,8 @@ public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit } } /** + * + * *
      * The transaction can be used for both read and write operations.
      * 
@@ -2216,14 +2441,19 @@ public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadWrite, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder> + com.google.firestore.v1.TransactionOptions.ReadWrite, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, + com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder> getReadWriteFieldBuilder() { if (readWriteBuilder_ == null) { if (!(modeCase_ == 3)) { mode_ = com.google.firestore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } - readWriteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.TransactionOptions.ReadWrite, com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder>( + readWriteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.TransactionOptions.ReadWrite, + com.google.firestore.v1.TransactionOptions.ReadWrite.Builder, + com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder>( (com.google.firestore.v1.TransactionOptions.ReadWrite) mode_, getParentForChildren(), isClean()); @@ -2233,9 +2463,9 @@ public com.google.firestore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit onChanged(); return readWriteBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2245,12 +2475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.TransactionOptions) } // @@protoc_insertion_point(class_scope:google.firestore.v1.TransactionOptions) private static final com.google.firestore.v1.TransactionOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.TransactionOptions(); } @@ -2259,27 +2489,27 @@ public static com.google.firestore.v1.TransactionOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransactionOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransactionOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2294,6 +2524,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.TransactionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java index b2bddcce3..7010d2dba 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TransactionOptionsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/common.proto package com.google.firestore.v1; -public interface TransactionOptionsOrBuilder extends +public interface TransactionOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.TransactionOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return Whether the readOnly field is set. */ boolean hasReadOnly(); /** + * + * *
    * The transaction can only be used for read operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return The readOnly. */ com.google.firestore.v1.TransactionOptions.ReadOnly getReadOnly(); /** + * + * *
    * The transaction can only be used for read operations.
    * 
@@ -35,24 +59,32 @@ public interface TransactionOptionsOrBuilder extends com.google.firestore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder(); /** + * + * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + * * @return Whether the readWrite field is set. */ boolean hasReadWrite(); /** + * + * *
    * The transaction can be used for both read and write operations.
    * 
* * .google.firestore.v1.TransactionOptions.ReadWrite read_write = 3; + * * @return The readWrite. */ com.google.firestore.v1.TransactionOptions.ReadWrite getReadWrite(); /** + * + * *
    * The transaction can be used for both read and write operations.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java index 86425d15f..c6846f02f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The request for
  * [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
@@ -11,52 +28,57 @@
  *
  * Protobuf type {@code google.firestore.v1.UpdateDocumentRequest}
  */
-public final class UpdateDocumentRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateDocumentRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.UpdateDocumentRequest)
     UpdateDocumentRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateDocumentRequest.newBuilder() to construct.
   private UpdateDocumentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private UpdateDocumentRequest() {
-  }
+
+  private UpdateDocumentRequest() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateDocumentRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.UpdateDocumentRequest.class, com.google.firestore.v1.UpdateDocumentRequest.Builder.class);
+            com.google.firestore.v1.UpdateDocumentRequest.class,
+            com.google.firestore.v1.UpdateDocumentRequest.Builder.class);
   }
 
   public static final int DOCUMENT_FIELD_NUMBER = 1;
   private com.google.firestore.v1.Document document_;
   /**
+   *
+   *
    * 
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the document field is set. */ @java.lang.Override @@ -64,12 +86,16 @@ public boolean hasDocument() { return document_ != null; } /** + * + * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The document. */ @java.lang.Override @@ -77,12 +103,15 @@ public com.google.firestore.v1.Document getDocument() { return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; } /** + * + * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { @@ -92,6 +121,8 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.firestore.v1.DocumentMask updateMask_; /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -102,6 +133,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -109,6 +141,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -119,13 +153,18 @@ public boolean hasUpdateMask() {
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override public com.google.firestore.v1.DocumentMask getUpdateMask() { - return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; } /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -139,12 +178,16 @@ public com.google.firestore.v1.DocumentMask getUpdateMask() {
    */
   @java.lang.Override
   public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
-    return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
+    return updateMask_ == null
+        ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
+        : updateMask_;
   }
 
   public static final int MASK_FIELD_NUMBER = 3;
   private com.google.firestore.v1.DocumentMask mask_;
   /**
+   *
+   *
    * 
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -152,6 +195,7 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ @java.lang.Override @@ -159,6 +203,8 @@ public boolean hasMask() { return mask_ != null; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -166,6 +212,7 @@ public boolean hasMask() {
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ @java.lang.Override @@ -173,6 +220,8 @@ public com.google.firestore.v1.DocumentMask getMask() { return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_; } /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -189,12 +238,15 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
   public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4;
   private com.google.firestore.v1.Precondition currentDocument_;
   /**
+   *
+   *
    * 
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -202,19 +254,26 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ @java.lang.Override public com.google.firestore.v1.Precondition getCurrentDocument() { - return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; } /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
@@ -224,10 +283,13 @@ public com.google.firestore.v1.Precondition getCurrentDocument() {
    */
   @java.lang.Override
   public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() {
-    return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
+    return currentDocument_ == null
+        ? com.google.firestore.v1.Precondition.getDefaultInstance()
+        : currentDocument_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -239,8 +301,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (document_ != null) {
       output.writeMessage(1, getDocument());
     }
@@ -263,20 +324,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (document_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getDocument());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDocument());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     if (mask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMask());
     }
     if (currentDocument_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getCurrentDocument());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCurrentDocument());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,32 +343,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.UpdateDocumentRequest)) {
       return super.equals(obj);
     }
-    com.google.firestore.v1.UpdateDocumentRequest other = (com.google.firestore.v1.UpdateDocumentRequest) obj;
+    com.google.firestore.v1.UpdateDocumentRequest other =
+        (com.google.firestore.v1.UpdateDocumentRequest) obj;
 
     if (hasDocument() != other.hasDocument()) return false;
     if (hasDocument()) {
-      if (!getDocument()
-          .equals(other.getDocument())) return false;
+      if (!getDocument().equals(other.getDocument())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (hasMask() != other.hasMask()) return false;
     if (hasMask()) {
-      if (!getMask()
-          .equals(other.getMask())) return false;
+      if (!getMask().equals(other.getMask())) return false;
     }
     if (hasCurrentDocument() != other.hasCurrentDocument()) return false;
     if (hasCurrentDocument()) {
-      if (!getCurrentDocument()
-          .equals(other.getCurrentDocument())) return false;
+      if (!getCurrentDocument().equals(other.getCurrentDocument())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -345,97 +399,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.UpdateDocumentRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.firestore.v1.UpdateDocumentRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.UpdateDocumentRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.UpdateDocumentRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.UpdateDocumentRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request for
    * [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
@@ -443,33 +504,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.UpdateDocumentRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.UpdateDocumentRequest)
       com.google.firestore.v1.UpdateDocumentRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_UpdateDocumentRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.UpdateDocumentRequest.class, com.google.firestore.v1.UpdateDocumentRequest.Builder.class);
+              com.google.firestore.v1.UpdateDocumentRequest.class,
+              com.google.firestore.v1.UpdateDocumentRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.UpdateDocumentRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -498,9 +558,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_UpdateDocumentRequest_descriptor;
     }
 
     @java.lang.Override
@@ -519,8 +579,11 @@ public com.google.firestore.v1.UpdateDocumentRequest build() {
 
     @java.lang.Override
     public com.google.firestore.v1.UpdateDocumentRequest buildPartial() {
-      com.google.firestore.v1.UpdateDocumentRequest result = new com.google.firestore.v1.UpdateDocumentRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.firestore.v1.UpdateDocumentRequest result =
+          new com.google.firestore.v1.UpdateDocumentRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -528,24 +591,17 @@ public com.google.firestore.v1.UpdateDocumentRequest buildPartial() {
     private void buildPartial0(com.google.firestore.v1.UpdateDocumentRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.document_ = documentBuilder_ == null
-            ? document_
-            : documentBuilder_.build();
+        result.document_ = documentBuilder_ == null ? document_ : documentBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.mask_ = maskBuilder_ == null
-            ? mask_
-            : maskBuilder_.build();
+        result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.currentDocument_ = currentDocumentBuilder_ == null
-            ? currentDocument_
-            : currentDocumentBuilder_.build();
+        result.currentDocument_ =
+            currentDocumentBuilder_ == null ? currentDocument_ : currentDocumentBuilder_.build();
       }
     }
 
@@ -553,38 +609,39 @@ private void buildPartial0(com.google.firestore.v1.UpdateDocumentRequest result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.UpdateDocumentRequest) {
-        return mergeFrom((com.google.firestore.v1.UpdateDocumentRequest)other);
+        return mergeFrom((com.google.firestore.v1.UpdateDocumentRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -631,40 +688,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getDocumentFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCurrentDocumentFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getDocumentFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCurrentDocumentFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -674,46 +728,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.firestore.v1.Document document_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> documentBuilder_;
+            com.google.firestore.v1.Document,
+            com.google.firestore.v1.Document.Builder,
+            com.google.firestore.v1.DocumentOrBuilder>
+        documentBuilder_;
     /**
+     *
+     *
      * 
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the document field is set. */ public boolean hasDocument() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The document. */ public com.google.firestore.v1.Document getDocument() { if (documentBuilder_ == null) { - return document_ == null ? com.google.firestore.v1.Document.getDefaultInstance() : document_; + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; } else { return documentBuilder_.getMessage(); } } /** + * + * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { @@ -729,15 +800,17 @@ public Builder setDocument(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDocument( - com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setDocument(com.google.firestore.v1.Document.Builder builderForValue) { if (documentBuilder_ == null) { document_ = builderForValue.build(); } else { @@ -748,18 +821,21 @@ public Builder setDocument( return this; } /** + * + * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDocument(com.google.firestore.v1.Document value) { if (documentBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - document_ != null && - document_ != com.google.firestore.v1.Document.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && document_ != null + && document_ != com.google.firestore.v1.Document.getDefaultInstance()) { getDocumentBuilder().mergeFrom(value); } else { document_ = value; @@ -772,12 +848,15 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDocument() { bitField0_ = (bitField0_ & ~0x00000001); @@ -790,12 +869,15 @@ public Builder clearDocument() { return this; } /** + * + * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { bitField0_ |= 0x00000001; @@ -803,38 +885,48 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() { return getDocumentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { if (documentBuilder_ != null) { return documentBuilder_.getMessageOrBuilder(); } else { - return document_ == null ? - com.google.firestore.v1.Document.getDefaultInstance() : document_; + return document_ == null + ? com.google.firestore.v1.Document.getDefaultInstance() + : document_; } } /** + * + * *
      * Required. The updated document.
      * Creates the document if it does not already exist.
      * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> getDocumentFieldBuilder() { if (documentBuilder_ == null) { - documentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( - getDocument(), - getParentForChildren(), - isClean()); + documentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + getDocument(), getParentForChildren(), isClean()); document_ = null; } return documentBuilder_; @@ -842,8 +934,13 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() { private com.google.firestore.v1.DocumentMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> updateMaskBuilder_; + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -854,12 +951,15 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
      * 
* * .google.firestore.v1.DocumentMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -870,16 +970,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.firestore.v1.DocumentMask update_mask = 2; + * * @return The updateMask. */ public com.google.firestore.v1.DocumentMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -905,6 +1010,8 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -916,8 +1023,7 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
       } else {
@@ -928,6 +1034,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -941,9 +1049,9 @@ public Builder setUpdateMask(
      */
     public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       if (updateMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          updateMask_ != null &&
-          updateMask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && updateMask_ != null
+            && updateMask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getUpdateMaskBuilder().mergeFrom(value);
         } else {
           updateMask_ = value;
@@ -956,6 +1064,8 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -978,6 +1088,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -995,6 +1107,8 @@ public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1010,11 +1124,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to update.
      * None of the field paths in the mask may contain a reserved name.
@@ -1027,14 +1144,17 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
+            com.google.firestore.v1.DocumentMask,
+            com.google.firestore.v1.DocumentMask.Builder,
+            com.google.firestore.v1.DocumentMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.DocumentMask,
+                com.google.firestore.v1.DocumentMask.Builder,
+                com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
@@ -1042,8 +1162,13 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
 
     private com.google.firestore.v1.DocumentMask mask_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> maskBuilder_;
+            com.google.firestore.v1.DocumentMask,
+            com.google.firestore.v1.DocumentMask.Builder,
+            com.google.firestore.v1.DocumentMaskOrBuilder>
+        maskBuilder_;
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1051,12 +1176,15 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ public boolean hasMask() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1064,6 +1192,7 @@ public boolean hasMask() {
      * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ public com.google.firestore.v1.DocumentMask getMask() { @@ -1074,6 +1203,8 @@ public com.google.firestore.v1.DocumentMask getMask() { } } /** + * + * *
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1096,6 +1227,8 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1104,8 +1237,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask mask = 3;
      */
-    public Builder setMask(
-        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (maskBuilder_ == null) {
         mask_ = builderForValue.build();
       } else {
@@ -1116,6 +1248,8 @@ public Builder setMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1126,9 +1260,9 @@ public Builder setMask(
      */
     public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       if (maskBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          mask_ != null &&
-          mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && mask_ != null
+            && mask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getMaskBuilder().mergeFrom(value);
         } else {
           mask_ = value;
@@ -1141,6 +1275,8 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1160,6 +1296,8 @@ public Builder clearMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1174,6 +1312,8 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
       return getMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1186,11 +1326,12 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
       if (maskBuilder_ != null) {
         return maskBuilder_.getMessageOrBuilder();
       } else {
-        return mask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
+        return mask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : mask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to return. If not set, returns all fields.
      * If the document has a field that is not present in this mask, that field
@@ -1200,14 +1341,17 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
+            com.google.firestore.v1.DocumentMask,
+            com.google.firestore.v1.DocumentMask.Builder,
+            com.google.firestore.v1.DocumentMaskOrBuilder>
         getMaskFieldBuilder() {
       if (maskBuilder_ == null) {
-        maskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getMask(),
-                getParentForChildren(),
-                isClean());
+        maskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.DocumentMask,
+                com.google.firestore.v1.DocumentMask.Builder,
+                com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getMask(), getParentForChildren(), isClean());
         mask_ = null;
       }
       return maskBuilder_;
@@ -1215,36 +1359,49 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
 
     private com.google.firestore.v1.Precondition currentDocument_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> currentDocumentBuilder_;
+            com.google.firestore.v1.Precondition,
+            com.google.firestore.v1.Precondition.Builder,
+            com.google.firestore.v1.PreconditionOrBuilder>
+        currentDocumentBuilder_;
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ public boolean hasCurrentDocument() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ public com.google.firestore.v1.Precondition getCurrentDocument() { if (currentDocumentBuilder_ == null) { - return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; } else { return currentDocumentBuilder_.getMessage(); } } /** + * + * *
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1266,6 +1423,8 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1285,6 +1444,8 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1294,9 +1455,9 @@ public Builder setCurrentDocument(
      */
     public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value) {
       if (currentDocumentBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          currentDocument_ != null &&
-          currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && currentDocument_ != null
+            && currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
           getCurrentDocumentBuilder().mergeFrom(value);
         } else {
           currentDocument_ = value;
@@ -1309,6 +1470,8 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1327,6 +1490,8 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1340,6 +1505,8 @@ public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder()
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1351,11 +1518,14 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
       if (currentDocumentBuilder_ != null) {
         return currentDocumentBuilder_.getMessageOrBuilder();
       } else {
-        return currentDocument_ == null ?
-            com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
+        return currentDocument_ == null
+            ? com.google.firestore.v1.Precondition.getDefaultInstance()
+            : currentDocument_;
       }
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The request will fail if this is set and not met by the target document.
@@ -1364,21 +1534,24 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
      * .google.firestore.v1.Precondition current_document = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> 
+            com.google.firestore.v1.Precondition,
+            com.google.firestore.v1.Precondition.Builder,
+            com.google.firestore.v1.PreconditionOrBuilder>
         getCurrentDocumentFieldBuilder() {
       if (currentDocumentBuilder_ == null) {
-        currentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder>(
-                getCurrentDocument(),
-                getParentForChildren(),
-                isClean());
+        currentDocumentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.Precondition,
+                com.google.firestore.v1.Precondition.Builder,
+                com.google.firestore.v1.PreconditionOrBuilder>(
+                getCurrentDocument(), getParentForChildren(), isClean());
         currentDocument_ = null;
       }
       return currentDocumentBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1388,12 +1561,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.UpdateDocumentRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.UpdateDocumentRequest)
   private static final com.google.firestore.v1.UpdateDocumentRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.UpdateDocumentRequest();
   }
@@ -1402,27 +1575,27 @@ public static com.google.firestore.v1.UpdateDocumentRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateDocumentRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateDocumentRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1437,6 +1610,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.UpdateDocumentRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
similarity index 83%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
index 36fa7c364..bd85f98ec 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequestOrBuilder.java
@@ -1,43 +1,72 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface UpdateDocumentRequestOrBuilder extends
+public interface UpdateDocumentRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.UpdateDocumentRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the document field is set. */ boolean hasDocument(); /** + * + * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The document. */ com.google.firestore.v1.Document getDocument(); /** + * + * *
    * Required. The updated document.
    * Creates the document if it does not already exist.
    * 
* - * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.firestore.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder(); /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -48,10 +77,13 @@ public interface UpdateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -62,10 +94,13 @@ public interface UpdateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask update_mask = 2; + * * @return The updateMask. */ com.google.firestore.v1.DocumentMask getUpdateMask(); /** + * + * *
    * The fields to update.
    * None of the field paths in the mask may contain a reserved name.
@@ -80,6 +115,8 @@ public interface UpdateDocumentRequestOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -87,10 +124,13 @@ public interface UpdateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return Whether the mask field is set. */ boolean hasMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -98,10 +138,13 @@ public interface UpdateDocumentRequestOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask mask = 3; + * * @return The mask. */ com.google.firestore.v1.DocumentMask getMask(); /** + * + * *
    * The fields to return. If not set, returns all fields.
    * If the document has a field that is not present in this mask, that field
@@ -113,26 +156,34 @@ public interface UpdateDocumentRequestOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    * The request will fail if this is set and not met by the target document.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
index 85745929c..d1632b868 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Value.java
@@ -1,56 +1,75 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/document.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * A message that can hold any of the supported value types.
  * 
* * Protobuf type {@code google.firestore.v1.Value} */ -public final class Value extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Value extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Value) ValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Value.newBuilder() to construct. private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Value() { - } + + private Value() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Value(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_fieldAccessorTable + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Value.class, com.google.firestore.v1.Value.Builder.class); } private int valueTypeCase_ = 0; private java.lang.Object valueType_; + public enum ValueTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NULL_VALUE(11), BOOLEAN_VALUE(1), @@ -65,6 +84,7 @@ public enum ValueTypeCase MAP_VALUE(6), VALUETYPE_NOT_SET(0); private final int value; + private ValueTypeCase(int value) { this.value = value; } @@ -80,50 +100,68 @@ public static ValueTypeCase valueOf(int value) { public static ValueTypeCase forNumber(int value) { switch (value) { - case 11: return NULL_VALUE; - case 1: return BOOLEAN_VALUE; - case 2: return INTEGER_VALUE; - case 3: return DOUBLE_VALUE; - case 10: return TIMESTAMP_VALUE; - case 17: return STRING_VALUE; - case 18: return BYTES_VALUE; - case 5: return REFERENCE_VALUE; - case 8: return GEO_POINT_VALUE; - case 9: return ARRAY_VALUE; - case 6: return MAP_VALUE; - case 0: return VALUETYPE_NOT_SET; - default: return null; + case 11: + return NULL_VALUE; + case 1: + return BOOLEAN_VALUE; + case 2: + return INTEGER_VALUE; + case 3: + return DOUBLE_VALUE; + case 10: + return TIMESTAMP_VALUE; + case 17: + return STRING_VALUE; + case 18: + return BYTES_VALUE; + case 5: + return REFERENCE_VALUE; + case 8: + return GEO_POINT_VALUE; + case 9: + return ARRAY_VALUE; + case 6: + return MAP_VALUE; + case 0: + return VALUETYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueTypeCase - getValueTypeCase() { - return ValueTypeCase.forNumber( - valueTypeCase_); + public ValueTypeCase getValueTypeCase() { + return ValueTypeCase.forNumber(valueTypeCase_); } public static final int NULL_VALUE_FIELD_NUMBER = 11; /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return Whether the nullValue field is set. */ public boolean hasNullValue() { return valueTypeCase_ == 11; } /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The enum numeric value on the wire for nullValue. */ public int getNullValueValue() { @@ -133,17 +171,20 @@ public int getNullValueValue() { return 0; } /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The nullValue. */ public com.google.protobuf.NullValue getNullValue() { if (valueTypeCase_ == 11) { - com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( - (java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = + com.google.protobuf.NullValue.forNumber((java.lang.Integer) valueType_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; @@ -151,11 +192,14 @@ public com.google.protobuf.NullValue getNullValue() { public static final int BOOLEAN_VALUE_FIELD_NUMBER = 1; /** + * + * *
    * A boolean value.
    * 
* * bool boolean_value = 1; + * * @return Whether the booleanValue field is set. */ @java.lang.Override @@ -163,11 +207,14 @@ public boolean hasBooleanValue() { return valueTypeCase_ == 1; } /** + * + * *
    * A boolean value.
    * 
* * bool boolean_value = 1; + * * @return The booleanValue. */ @java.lang.Override @@ -180,11 +227,14 @@ public boolean getBooleanValue() { public static final int INTEGER_VALUE_FIELD_NUMBER = 2; /** + * + * *
    * An integer value.
    * 
* * int64 integer_value = 2; + * * @return Whether the integerValue field is set. */ @java.lang.Override @@ -192,11 +242,14 @@ public boolean hasIntegerValue() { return valueTypeCase_ == 2; } /** + * + * *
    * An integer value.
    * 
* * int64 integer_value = 2; + * * @return The integerValue. */ @java.lang.Override @@ -209,11 +262,14 @@ public long getIntegerValue() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** + * + * *
    * A double value.
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -221,11 +277,14 @@ public boolean hasDoubleValue() { return valueTypeCase_ == 3; } /** + * + * *
    * A double value.
    * 
* * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -238,6 +297,8 @@ public double getDoubleValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 10; /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -245,6 +306,7 @@ public double getDoubleValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -252,6 +314,8 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -259,16 +323,19 @@ public boolean hasTimestampValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return The timestampValue. */ @java.lang.Override public com.google.protobuf.Timestamp getTimestampValue() { if (valueTypeCase_ == 10) { - return (com.google.protobuf.Timestamp) valueType_; + return (com.google.protobuf.Timestamp) valueType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -280,13 +347,15 @@ public com.google.protobuf.Timestamp getTimestampValue() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
     if (valueTypeCase_ == 10) {
-       return (com.google.protobuf.Timestamp) valueType_;
+      return (com.google.protobuf.Timestamp) valueType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   public static final int STRING_VALUE_FIELD_NUMBER = 17;
   /**
+   *
+   *
    * 
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -295,12 +364,15 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
    * 
* * string string_value = 17; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** + * + * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -309,6 +381,7 @@ public boolean hasStringValue() {
    * 
* * string string_value = 17; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -319,8 +392,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 17) { valueType_ = s; @@ -329,6 +401,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -337,18 +411,17 @@ public java.lang.String getStringValue() {
    * 
* * string string_value = 17; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 17) { ref = valueType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueTypeCase_ == 17) { valueType_ = b; } @@ -360,6 +433,8 @@ public java.lang.String getStringValue() { public static final int BYTES_VALUE_FIELD_NUMBER = 18; /** + * + * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -367,6 +442,7 @@ public java.lang.String getStringValue() {
    * 
* * bytes bytes_value = 18; + * * @return Whether the bytesValue field is set. */ @java.lang.Override @@ -374,6 +450,8 @@ public boolean hasBytesValue() { return valueTypeCase_ == 18; } /** + * + * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -381,6 +459,7 @@ public boolean hasBytesValue() {
    * 
* * bytes bytes_value = 18; + * * @return The bytesValue. */ @java.lang.Override @@ -393,24 +472,30 @@ public com.google.protobuf.ByteString getBytesValue() { public static final int REFERENCE_VALUE_FIELD_NUMBER = 5; /** + * + * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; + * * @return Whether the referenceValue field is set. */ public boolean hasReferenceValue() { return valueTypeCase_ == 5; } /** + * + * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; + * * @return The referenceValue. */ public java.lang.String getReferenceValue() { @@ -421,8 +506,7 @@ public java.lang.String getReferenceValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 5) { valueType_ = s; @@ -431,24 +515,25 @@ public java.lang.String getReferenceValue() { } } /** + * + * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; + * * @return The bytes for referenceValue. */ - public com.google.protobuf.ByteString - getReferenceValueBytes() { + public com.google.protobuf.ByteString getReferenceValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 5) { ref = valueType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueTypeCase_ == 5) { valueType_ = b; } @@ -460,11 +545,14 @@ public java.lang.String getReferenceValue() { public static final int GEO_POINT_VALUE_FIELD_NUMBER = 8; /** + * + * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; + * * @return Whether the geoPointValue field is set. */ @java.lang.Override @@ -472,21 +560,26 @@ public boolean hasGeoPointValue() { return valueTypeCase_ == 8; } /** + * + * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; + * * @return The geoPointValue. */ @java.lang.Override public com.google.type.LatLng getGeoPointValue() { if (valueTypeCase_ == 8) { - return (com.google.type.LatLng) valueType_; + return (com.google.type.LatLng) valueType_; } return com.google.type.LatLng.getDefaultInstance(); } /** + * + * *
    * A geo point value representing a point on the surface of Earth.
    * 
@@ -496,13 +589,15 @@ public com.google.type.LatLng getGeoPointValue() { @java.lang.Override public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { if (valueTypeCase_ == 8) { - return (com.google.type.LatLng) valueType_; + return (com.google.type.LatLng) valueType_; } return com.google.type.LatLng.getDefaultInstance(); } public static final int ARRAY_VALUE_FIELD_NUMBER = 9; /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -510,6 +605,7 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -517,6 +613,8 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -524,16 +622,19 @@ public boolean hasArrayValue() {
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ @java.lang.Override public com.google.firestore.v1.ArrayValue getArrayValue() { if (valueTypeCase_ == 9) { - return (com.google.firestore.v1.ArrayValue) valueType_; + return (com.google.firestore.v1.ArrayValue) valueType_; } return com.google.firestore.v1.ArrayValue.getDefaultInstance(); } /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -545,18 +646,21 @@ public com.google.firestore.v1.ArrayValue getArrayValue() {
   @java.lang.Override
   public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
     if (valueTypeCase_ == 9) {
-       return (com.google.firestore.v1.ArrayValue) valueType_;
+      return (com.google.firestore.v1.ArrayValue) valueType_;
     }
     return com.google.firestore.v1.ArrayValue.getDefaultInstance();
   }
 
   public static final int MAP_VALUE_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; + * * @return Whether the mapValue field is set. */ @java.lang.Override @@ -564,21 +668,26 @@ public boolean hasMapValue() { return valueTypeCase_ == 6; } /** + * + * *
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; + * * @return The mapValue. */ @java.lang.Override public com.google.firestore.v1.MapValue getMapValue() { if (valueTypeCase_ == 6) { - return (com.google.firestore.v1.MapValue) valueType_; + return (com.google.firestore.v1.MapValue) valueType_; } return com.google.firestore.v1.MapValue.getDefaultInstance(); } /** + * + * *
    * A map value.
    * 
@@ -588,12 +697,13 @@ public com.google.firestore.v1.MapValue getMapValue() { @java.lang.Override public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { if (valueTypeCase_ == 6) { - return (com.google.firestore.v1.MapValue) valueType_; + return (com.google.firestore.v1.MapValue) valueType_; } return com.google.firestore.v1.MapValue.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -605,19 +715,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (valueTypeCase_ == 1) { - output.writeBool( - 1, (boolean)((java.lang.Boolean) valueType_)); + output.writeBool(1, (boolean) ((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 2) { - output.writeInt64( - 2, (long)((java.lang.Long) valueType_)); + output.writeInt64(2, (long) ((java.lang.Long) valueType_)); } if (valueTypeCase_ == 3) { - output.writeDouble( - 3, (double)((java.lang.Double) valueType_)); + output.writeDouble(3, (double) ((java.lang.Double) valueType_)); } if (valueTypeCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, valueType_); @@ -641,8 +747,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 17, valueType_); } if (valueTypeCase_ == 18) { - output.writeBytes( - 18, (com.google.protobuf.ByteString) valueType_); + output.writeBytes(18, (com.google.protobuf.ByteString) valueType_); } getUnknownFields().writeTo(output); } @@ -654,50 +759,55 @@ public int getSerializedSize() { size = 0; if (valueTypeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 1, (boolean)((java.lang.Boolean) valueType_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, (boolean) ((java.lang.Boolean) valueType_)); } if (valueTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 2, (long)((java.lang.Long) valueType_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) valueType_)); } if (valueTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 3, (double)((java.lang.Double) valueType_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 3, (double) ((java.lang.Double) valueType_)); } if (valueTypeCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, valueType_); } if (valueTypeCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.firestore.v1.MapValue) valueType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.firestore.v1.MapValue) valueType_); } if (valueTypeCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.type.LatLng) valueType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.type.LatLng) valueType_); } if (valueTypeCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.firestore.v1.ArrayValue) valueType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.firestore.v1.ArrayValue) valueType_); } if (valueTypeCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (com.google.protobuf.Timestamp) valueType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, (com.google.protobuf.Timestamp) valueType_); } if (valueTypeCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, ((java.lang.Integer) valueType_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 11, ((java.lang.Integer) valueType_)); } if (valueTypeCase_ == 17) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, valueType_); } if (valueTypeCase_ == 18) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize( - 18, (com.google.protobuf.ByteString) valueType_); + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 18, (com.google.protobuf.ByteString) valueType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -707,7 +817,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.Value)) { return super.equals(obj); @@ -717,49 +827,38 @@ public boolean equals(final java.lang.Object obj) { if (!getValueTypeCase().equals(other.getValueTypeCase())) return false; switch (valueTypeCase_) { case 11: - if (getNullValueValue() - != other.getNullValueValue()) return false; + if (getNullValueValue() != other.getNullValueValue()) return false; break; case 1: - if (getBooleanValue() - != other.getBooleanValue()) return false; + if (getBooleanValue() != other.getBooleanValue()) return false; break; case 2: - if (getIntegerValue() - != other.getIntegerValue()) return false; + if (getIntegerValue() != other.getIntegerValue()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 10: - if (!getTimestampValue() - .equals(other.getTimestampValue())) return false; + if (!getTimestampValue().equals(other.getTimestampValue())) return false; break; case 17: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 18: - if (!getBytesValue() - .equals(other.getBytesValue())) return false; + if (!getBytesValue().equals(other.getBytesValue())) return false; break; case 5: - if (!getReferenceValue() - .equals(other.getReferenceValue())) return false; + if (!getReferenceValue().equals(other.getReferenceValue())) return false; break; case 8: - if (!getGeoPointValue() - .equals(other.getGeoPointValue())) return false; + if (!getGeoPointValue().equals(other.getGeoPointValue())) return false; break; case 9: - if (!getArrayValue() - .equals(other.getArrayValue())) return false; + if (!getArrayValue().equals(other.getArrayValue())) return false; break; case 6: - if (!getMapValue() - .equals(other.getMapValue())) return false; + if (!getMapValue().equals(other.getMapValue())) return false; break; case 0: default: @@ -782,18 +881,18 @@ public int hashCode() { break; case 1: hash = (37 * hash) + BOOLEAN_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getBooleanValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBooleanValue()); break; case 2: hash = (37 * hash) + INTEGER_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getIntegerValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntegerValue()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 10: hash = (37 * hash) + TIMESTAMP_VALUE_FIELD_NUMBER; @@ -831,130 +930,134 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.Value parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.Value parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Value parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.Value parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Value parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.Value parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.Value parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Value parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.Value parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.firestore.v1.Value parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.firestore.v1.Value parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.Value parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.Value prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A message that can hold any of the supported value types.
    * 
* * Protobuf type {@code google.firestore.v1.Value} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Value) com.google.firestore.v1.ValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_fieldAccessorTable + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Value.class, com.google.firestore.v1.Value.Builder.class); } // Construct using com.google.firestore.v1.Value.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -977,9 +1080,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.DocumentProto.internal_static_google_firestore_v1_Value_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.DocumentProto + .internal_static_google_firestore_v1_Value_descriptor; } @java.lang.Override @@ -999,7 +1102,9 @@ public com.google.firestore.v1.Value build() { @java.lang.Override public com.google.firestore.v1.Value buildPartial() { com.google.firestore.v1.Value result = new com.google.firestore.v1.Value(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -1012,20 +1117,16 @@ private void buildPartial0(com.google.firestore.v1.Value result) { private void buildPartialOneofs(com.google.firestore.v1.Value result) { result.valueTypeCase_ = valueTypeCase_; result.valueType_ = this.valueType_; - if (valueTypeCase_ == 10 && - timestampValueBuilder_ != null) { + if (valueTypeCase_ == 10 && timestampValueBuilder_ != null) { result.valueType_ = timestampValueBuilder_.build(); } - if (valueTypeCase_ == 8 && - geoPointValueBuilder_ != null) { + if (valueTypeCase_ == 8 && geoPointValueBuilder_ != null) { result.valueType_ = geoPointValueBuilder_.build(); } - if (valueTypeCase_ == 9 && - arrayValueBuilder_ != null) { + if (valueTypeCase_ == 9 && arrayValueBuilder_ != null) { result.valueType_ = arrayValueBuilder_.build(); } - if (valueTypeCase_ == 6 && - mapValueBuilder_ != null) { + if (valueTypeCase_ == 6 && mapValueBuilder_ != null) { result.valueType_ = mapValueBuilder_.build(); } } @@ -1034,38 +1135,39 @@ private void buildPartialOneofs(com.google.firestore.v1.Value result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Value) { - return mergeFrom((com.google.firestore.v1.Value)other); + return mergeFrom((com.google.firestore.v1.Value) other); } else { super.mergeFrom(other); return this; @@ -1075,57 +1177,69 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.firestore.v1.Value other) { if (other == com.google.firestore.v1.Value.getDefaultInstance()) return this; switch (other.getValueTypeCase()) { - case NULL_VALUE: { - setNullValueValue(other.getNullValueValue()); - break; - } - case BOOLEAN_VALUE: { - setBooleanValue(other.getBooleanValue()); - break; - } - case INTEGER_VALUE: { - setIntegerValue(other.getIntegerValue()); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case TIMESTAMP_VALUE: { - mergeTimestampValue(other.getTimestampValue()); - break; - } - case STRING_VALUE: { - valueTypeCase_ = 17; - valueType_ = other.valueType_; - onChanged(); - break; - } - case BYTES_VALUE: { - setBytesValue(other.getBytesValue()); - break; - } - case REFERENCE_VALUE: { - valueTypeCase_ = 5; - valueType_ = other.valueType_; - onChanged(); - break; - } - case GEO_POINT_VALUE: { - mergeGeoPointValue(other.getGeoPointValue()); - break; - } - case ARRAY_VALUE: { - mergeArrayValue(other.getArrayValue()); - break; - } - case MAP_VALUE: { - mergeMapValue(other.getMapValue()); - break; - } - case VALUETYPE_NOT_SET: { - break; - } + case NULL_VALUE: + { + setNullValueValue(other.getNullValueValue()); + break; + } + case BOOLEAN_VALUE: + { + setBooleanValue(other.getBooleanValue()); + break; + } + case INTEGER_VALUE: + { + setIntegerValue(other.getIntegerValue()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case TIMESTAMP_VALUE: + { + mergeTimestampValue(other.getTimestampValue()); + break; + } + case STRING_VALUE: + { + valueTypeCase_ = 17; + valueType_ = other.valueType_; + onChanged(); + break; + } + case BYTES_VALUE: + { + setBytesValue(other.getBytesValue()); + break; + } + case REFERENCE_VALUE: + { + valueTypeCase_ = 5; + valueType_ = other.valueType_; + onChanged(); + break; + } + case GEO_POINT_VALUE: + { + mergeGeoPointValue(other.getGeoPointValue()); + break; + } + case ARRAY_VALUE: + { + mergeArrayValue(other.getArrayValue()); + break; + } + case MAP_VALUE: + { + mergeMapValue(other.getMapValue()); + break; + } + case VALUETYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1153,78 +1267,82 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - valueType_ = input.readBool(); - valueTypeCase_ = 1; - break; - } // case 8 - case 16: { - valueType_ = input.readInt64(); - valueTypeCase_ = 2; - break; - } // case 16 - case 25: { - valueType_ = input.readDouble(); - valueTypeCase_ = 3; - break; - } // case 25 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - valueTypeCase_ = 5; - valueType_ = s; - break; - } // case 42 - case 50: { - input.readMessage( - getMapValueFieldBuilder().getBuilder(), - extensionRegistry); - valueTypeCase_ = 6; - break; - } // case 50 - case 66: { - input.readMessage( - getGeoPointValueFieldBuilder().getBuilder(), - extensionRegistry); - valueTypeCase_ = 8; - break; - } // case 66 - case 74: { - input.readMessage( - getArrayValueFieldBuilder().getBuilder(), - extensionRegistry); - valueTypeCase_ = 9; - break; - } // case 74 - case 82: { - input.readMessage( - getTimestampValueFieldBuilder().getBuilder(), - extensionRegistry); - valueTypeCase_ = 10; - break; - } // case 82 - case 88: { - int rawValue = input.readEnum(); - valueTypeCase_ = 11; - valueType_ = rawValue; - break; - } // case 88 - case 138: { - java.lang.String s = input.readStringRequireUtf8(); - valueTypeCase_ = 17; - valueType_ = s; - break; - } // case 138 - case 146: { - valueType_ = input.readBytes(); - valueTypeCase_ = 18; - break; - } // case 146 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + valueType_ = input.readBool(); + valueTypeCase_ = 1; + break; + } // case 8 + case 16: + { + valueType_ = input.readInt64(); + valueTypeCase_ = 2; + break; + } // case 16 + case 25: + { + valueType_ = input.readDouble(); + valueTypeCase_ = 3; + break; + } // case 25 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + valueTypeCase_ = 5; + valueType_ = s; + break; + } // case 42 + case 50: + { + input.readMessage(getMapValueFieldBuilder().getBuilder(), extensionRegistry); + valueTypeCase_ = 6; + break; + } // case 50 + case 66: + { + input.readMessage(getGeoPointValueFieldBuilder().getBuilder(), extensionRegistry); + valueTypeCase_ = 8; + break; + } // case 66 + case 74: + { + input.readMessage(getArrayValueFieldBuilder().getBuilder(), extensionRegistry); + valueTypeCase_ = 9; + break; + } // case 74 + case 82: + { + input.readMessage(getTimestampValueFieldBuilder().getBuilder(), extensionRegistry); + valueTypeCase_ = 10; + break; + } // case 82 + case 88: + { + int rawValue = input.readEnum(); + valueTypeCase_ = 11; + valueType_ = rawValue; + break; + } // case 88 + case 138: + { + java.lang.String s = input.readStringRequireUtf8(); + valueTypeCase_ = 17; + valueType_ = s; + break; + } // case 138 + case 146: + { + valueType_ = input.readBytes(); + valueTypeCase_ = 18; + break; + } // case 146 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1234,12 +1352,12 @@ public Builder mergeFrom( } // finally return this; } + private int valueTypeCase_ = 0; private java.lang.Object valueType_; - public ValueTypeCase - getValueTypeCase() { - return ValueTypeCase.forNumber( - valueTypeCase_); + + public ValueTypeCase getValueTypeCase() { + return ValueTypeCase.forNumber(valueTypeCase_); } public Builder clearValueType() { @@ -1252,11 +1370,14 @@ public Builder clearValueType() { private int bitField0_; /** + * + * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; + * * @return Whether the nullValue field is set. */ @java.lang.Override @@ -1264,11 +1385,14 @@ public boolean hasNullValue() { return valueTypeCase_ == 11; } /** + * + * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The enum numeric value on the wire for nullValue. */ @java.lang.Override @@ -1279,11 +1403,14 @@ public int getNullValueValue() { return 0; } /** + * + * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; + * * @param value The enum numeric value on the wire for nullValue to set. * @return This builder for chaining. */ @@ -1294,28 +1421,34 @@ public Builder setNullValueValue(int value) { return this; } /** + * + * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The nullValue. */ @java.lang.Override public com.google.protobuf.NullValue getNullValue() { if (valueTypeCase_ == 11) { - com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( - (java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = + com.google.protobuf.NullValue.forNumber((java.lang.Integer) valueType_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; } /** + * + * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; + * * @param value The nullValue to set. * @return This builder for chaining. */ @@ -1329,11 +1462,14 @@ public Builder setNullValue(com.google.protobuf.NullValue value) { return this; } /** + * + * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; + * * @return This builder for chaining. */ public Builder clearNullValue() { @@ -1346,22 +1482,28 @@ public Builder clearNullValue() { } /** + * + * *
      * A boolean value.
      * 
* * bool boolean_value = 1; + * * @return Whether the booleanValue field is set. */ public boolean hasBooleanValue() { return valueTypeCase_ == 1; } /** + * + * *
      * A boolean value.
      * 
* * bool boolean_value = 1; + * * @return The booleanValue. */ public boolean getBooleanValue() { @@ -1371,27 +1513,33 @@ public boolean getBooleanValue() { return false; } /** + * + * *
      * A boolean value.
      * 
* * bool boolean_value = 1; + * * @param value The booleanValue to set. * @return This builder for chaining. */ public Builder setBooleanValue(boolean value) { - + valueTypeCase_ = 1; valueType_ = value; onChanged(); return this; } /** + * + * *
      * A boolean value.
      * 
* * bool boolean_value = 1; + * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1404,22 +1552,28 @@ public Builder clearBooleanValue() { } /** + * + * *
      * An integer value.
      * 
* * int64 integer_value = 2; + * * @return Whether the integerValue field is set. */ public boolean hasIntegerValue() { return valueTypeCase_ == 2; } /** + * + * *
      * An integer value.
      * 
* * int64 integer_value = 2; + * * @return The integerValue. */ public long getIntegerValue() { @@ -1429,27 +1583,33 @@ public long getIntegerValue() { return 0L; } /** + * + * *
      * An integer value.
      * 
* * int64 integer_value = 2; + * * @param value The integerValue to set. * @return This builder for chaining. */ public Builder setIntegerValue(long value) { - + valueTypeCase_ = 2; valueType_ = value; onChanged(); return this; } /** + * + * *
      * An integer value.
      * 
* * int64 integer_value = 2; + * * @return This builder for chaining. */ public Builder clearIntegerValue() { @@ -1462,22 +1622,28 @@ public Builder clearIntegerValue() { } /** + * + * *
      * A double value.
      * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueTypeCase_ == 3; } /** + * + * *
      * A double value.
      * 
* * double double_value = 3; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -1487,27 +1653,33 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * A double value.
      * 
* * double double_value = 3; + * * @param value The doubleValue to set. * @return This builder for chaining. */ public Builder setDoubleValue(double value) { - + valueTypeCase_ = 3; valueType_ = value; onChanged(); return this; } /** + * + * *
      * A double value.
      * 
* * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1520,8 +1692,13 @@ public Builder clearDoubleValue() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampValueBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + timestampValueBuilder_; /** + * + * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1529,6 +1706,7 @@ public Builder clearDoubleValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1536,6 +1714,8 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** + * + * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1543,6 +1723,7 @@ public boolean hasTimestampValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return The timestampValue. */ @java.lang.Override @@ -1560,6 +1741,8 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** + * + * *
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1582,6 +1765,8 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1590,8 +1775,7 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp timestamp_value = 10;
      */
-    public Builder setTimestampValue(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (timestampValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -1602,6 +1786,8 @@ public Builder setTimestampValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1612,10 +1798,12 @@ public Builder setTimestampValue(
      */
     public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
       if (timestampValueBuilder_ == null) {
-        if (valueTypeCase_ == 10 &&
-            valueType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          valueType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) valueType_)
-              .mergeFrom(value).buildPartial();
+        if (valueTypeCase_ == 10
+            && valueType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          valueType_ =
+              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) valueType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           valueType_ = value;
         }
@@ -1631,6 +1819,8 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1656,6 +1846,8 @@ public Builder clearTimestampValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1668,6 +1860,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() {
       return getTimestampValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1688,6 +1882,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * Precise only to microseconds. When stored, any additional precision is
@@ -1697,17 +1893,20 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * .google.protobuf.Timestamp timestamp_value = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getTimestampValueFieldBuilder() {
       if (timestampValueBuilder_ == null) {
         if (!(valueTypeCase_ == 10)) {
           valueType_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) valueType_,
-                getParentForChildren(),
-                isClean());
+        timestampValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) valueType_, getParentForChildren(), isClean());
         valueType_ = null;
       }
       valueTypeCase_ = 10;
@@ -1716,6 +1915,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
     }
 
     /**
+     *
+     *
      * 
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1724,6 +1925,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * 
* * string string_value = 17; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1731,6 +1933,8 @@ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** + * + * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1739,6 +1943,7 @@ public boolean hasStringValue() {
      * 
* * string string_value = 17; + * * @return The stringValue. */ @java.lang.Override @@ -1748,8 +1953,7 @@ public java.lang.String getStringValue() { ref = valueType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 17) { valueType_ = s; @@ -1760,6 +1964,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1768,19 +1974,18 @@ public java.lang.String getStringValue() {
      * 
* * string string_value = 17; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 17) { ref = valueType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueTypeCase_ == 17) { valueType_ = b; } @@ -1790,6 +1995,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1798,18 +2005,22 @@ public java.lang.String getStringValue() {
      * 
* * string string_value = 17; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStringValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } valueTypeCase_ = 17; valueType_ = value; onChanged(); return this; } /** + * + * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1818,6 +2029,7 @@ public Builder setStringValue(
      * 
* * string string_value = 17; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1829,6 +2041,8 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * A string value.
      * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -1837,12 +2051,14 @@ public Builder clearStringValue() {
      * 
* * string string_value = 17; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); valueTypeCase_ = 17; valueType_ = value; @@ -1851,6 +2067,8 @@ public Builder setStringValueBytes( } /** + * + * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -1858,12 +2076,15 @@ public Builder setStringValueBytes(
      * 
* * bytes bytes_value = 18; + * * @return Whether the bytesValue field is set. */ public boolean hasBytesValue() { return valueTypeCase_ == 18; } /** + * + * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -1871,6 +2092,7 @@ public boolean hasBytesValue() {
      * 
* * bytes bytes_value = 18; + * * @return The bytesValue. */ public com.google.protobuf.ByteString getBytesValue() { @@ -1880,6 +2102,8 @@ public com.google.protobuf.ByteString getBytesValue() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -1887,17 +2111,22 @@ public com.google.protobuf.ByteString getBytesValue() {
      * 
* * bytes bytes_value = 18; + * * @param value The bytesValue to set. * @return This builder for chaining. */ public Builder setBytesValue(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } valueTypeCase_ = 18; valueType_ = value; onChanged(); return this; } /** + * + * *
      * A bytes value.
      * Must not exceed 1 MiB - 89 bytes.
@@ -1905,6 +2134,7 @@ public Builder setBytesValue(com.google.protobuf.ByteString value) {
      * 
* * bytes bytes_value = 18; + * * @return This builder for chaining. */ public Builder clearBytesValue() { @@ -1917,12 +2147,15 @@ public Builder clearBytesValue() { } /** + * + * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; + * * @return Whether the referenceValue field is set. */ @java.lang.Override @@ -1930,12 +2163,15 @@ public boolean hasReferenceValue() { return valueTypeCase_ == 5; } /** + * + * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; + * * @return The referenceValue. */ @java.lang.Override @@ -1945,8 +2181,7 @@ public java.lang.String getReferenceValue() { ref = valueType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueTypeCase_ == 5) { valueType_ = s; @@ -1957,25 +2192,26 @@ public java.lang.String getReferenceValue() { } } /** + * + * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; + * * @return The bytes for referenceValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getReferenceValueBytes() { + public com.google.protobuf.ByteString getReferenceValueBytes() { java.lang.Object ref = ""; if (valueTypeCase_ == 5) { ref = valueType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueTypeCase_ == 5) { valueType_ = b; } @@ -1985,30 +2221,37 @@ public java.lang.String getReferenceValue() { } } /** + * + * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; + * * @param value The referenceValue to set. * @return This builder for chaining. */ - public Builder setReferenceValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReferenceValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } valueTypeCase_ = 5; valueType_ = value; onChanged(); return this; } /** + * + * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; + * * @return This builder for chaining. */ public Builder clearReferenceValue() { @@ -2020,18 +2263,22 @@ public Builder clearReferenceValue() { return this; } /** + * + * *
      * A reference to a document. For example:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string reference_value = 5; + * * @param value The bytes for referenceValue to set. * @return This builder for chaining. */ - public Builder setReferenceValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReferenceValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); valueTypeCase_ = 5; valueType_ = value; @@ -2040,13 +2287,17 @@ public Builder setReferenceValueBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> geoPointValueBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + geoPointValueBuilder_; /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
* * .google.type.LatLng geo_point_value = 8; + * * @return Whether the geoPointValue field is set. */ @java.lang.Override @@ -2054,11 +2305,14 @@ public boolean hasGeoPointValue() { return valueTypeCase_ == 8; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
* * .google.type.LatLng geo_point_value = 8; + * * @return The geoPointValue. */ @java.lang.Override @@ -2076,6 +2330,8 @@ public com.google.type.LatLng getGeoPointValue() { } } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2096,14 +2352,15 @@ public Builder setGeoPointValue(com.google.type.LatLng value) { return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
* * .google.type.LatLng geo_point_value = 8; */ - public Builder setGeoPointValue( - com.google.type.LatLng.Builder builderForValue) { + public Builder setGeoPointValue(com.google.type.LatLng.Builder builderForValue) { if (geoPointValueBuilder_ == null) { valueType_ = builderForValue.build(); onChanged(); @@ -2114,6 +2371,8 @@ public Builder setGeoPointValue( return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2122,10 +2381,11 @@ public Builder setGeoPointValue( */ public Builder mergeGeoPointValue(com.google.type.LatLng value) { if (geoPointValueBuilder_ == null) { - if (valueTypeCase_ == 8 && - valueType_ != com.google.type.LatLng.getDefaultInstance()) { - valueType_ = com.google.type.LatLng.newBuilder((com.google.type.LatLng) valueType_) - .mergeFrom(value).buildPartial(); + if (valueTypeCase_ == 8 && valueType_ != com.google.type.LatLng.getDefaultInstance()) { + valueType_ = + com.google.type.LatLng.newBuilder((com.google.type.LatLng) valueType_) + .mergeFrom(value) + .buildPartial(); } else { valueType_ = value; } @@ -2141,6 +2401,8 @@ public Builder mergeGeoPointValue(com.google.type.LatLng value) { return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2164,6 +2426,8 @@ public Builder clearGeoPointValue() { return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2174,6 +2438,8 @@ public com.google.type.LatLng.Builder getGeoPointValueBuilder() { return getGeoPointValueFieldBuilder().getBuilder(); } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2192,6 +2458,8 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2199,17 +2467,18 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { * .google.type.LatLng geo_point_value = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getGeoPointValueFieldBuilder() { if (geoPointValueBuilder_ == null) { if (!(valueTypeCase_ == 8)) { valueType_ = com.google.type.LatLng.getDefaultInstance(); } - geoPointValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - (com.google.type.LatLng) valueType_, - getParentForChildren(), - isClean()); + geoPointValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>( + (com.google.type.LatLng) valueType_, getParentForChildren(), isClean()); valueType_ = null; } valueTypeCase_ = 8; @@ -2218,8 +2487,13 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> arrayValueBuilder_; + com.google.firestore.v1.ArrayValue, + com.google.firestore.v1.ArrayValue.Builder, + com.google.firestore.v1.ArrayValueOrBuilder> + arrayValueBuilder_; /** + * + * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2227,6 +2501,7 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
      * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -2234,6 +2509,8 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** + * + * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2241,6 +2518,7 @@ public boolean hasArrayValue() {
      * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ @java.lang.Override @@ -2258,6 +2536,8 @@ public com.google.firestore.v1.ArrayValue getArrayValue() { } } /** + * + * *
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2280,6 +2560,8 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2288,8 +2570,7 @@ public Builder setArrayValue(com.google.firestore.v1.ArrayValue value) {
      *
      * .google.firestore.v1.ArrayValue array_value = 9;
      */
-    public Builder setArrayValue(
-        com.google.firestore.v1.ArrayValue.Builder builderForValue) {
+    public Builder setArrayValue(com.google.firestore.v1.ArrayValue.Builder builderForValue) {
       if (arrayValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -2300,6 +2581,8 @@ public Builder setArrayValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2310,10 +2593,13 @@ public Builder setArrayValue(
      */
     public Builder mergeArrayValue(com.google.firestore.v1.ArrayValue value) {
       if (arrayValueBuilder_ == null) {
-        if (valueTypeCase_ == 9 &&
-            valueType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
-          valueType_ = com.google.firestore.v1.ArrayValue.newBuilder((com.google.firestore.v1.ArrayValue) valueType_)
-              .mergeFrom(value).buildPartial();
+        if (valueTypeCase_ == 9
+            && valueType_ != com.google.firestore.v1.ArrayValue.getDefaultInstance()) {
+          valueType_ =
+              com.google.firestore.v1.ArrayValue.newBuilder(
+                      (com.google.firestore.v1.ArrayValue) valueType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           valueType_ = value;
         }
@@ -2329,6 +2615,8 @@ public Builder mergeArrayValue(com.google.firestore.v1.ArrayValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2354,6 +2642,8 @@ public Builder clearArrayValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2366,6 +2656,8 @@ public com.google.firestore.v1.ArrayValue.Builder getArrayValueBuilder() {
       return getArrayValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2386,6 +2678,8 @@ public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot directly contain another array value, though can contain an
@@ -2395,17 +2689,20 @@ public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
      * .google.firestore.v1.ArrayValue array_value = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder> 
+            com.google.firestore.v1.ArrayValue,
+            com.google.firestore.v1.ArrayValue.Builder,
+            com.google.firestore.v1.ArrayValueOrBuilder>
         getArrayValueFieldBuilder() {
       if (arrayValueBuilder_ == null) {
         if (!(valueTypeCase_ == 9)) {
           valueType_ = com.google.firestore.v1.ArrayValue.getDefaultInstance();
         }
-        arrayValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.ArrayValue, com.google.firestore.v1.ArrayValue.Builder, com.google.firestore.v1.ArrayValueOrBuilder>(
-                (com.google.firestore.v1.ArrayValue) valueType_,
-                getParentForChildren(),
-                isClean());
+        arrayValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.ArrayValue,
+                com.google.firestore.v1.ArrayValue.Builder,
+                com.google.firestore.v1.ArrayValueOrBuilder>(
+                (com.google.firestore.v1.ArrayValue) valueType_, getParentForChildren(), isClean());
         valueType_ = null;
       }
       valueTypeCase_ = 9;
@@ -2414,13 +2711,19 @@ public com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.MapValue, com.google.firestore.v1.MapValue.Builder, com.google.firestore.v1.MapValueOrBuilder> mapValueBuilder_;
+            com.google.firestore.v1.MapValue,
+            com.google.firestore.v1.MapValue.Builder,
+            com.google.firestore.v1.MapValueOrBuilder>
+        mapValueBuilder_;
     /**
+     *
+     *
      * 
      * A map value.
      * 
* * .google.firestore.v1.MapValue map_value = 6; + * * @return Whether the mapValue field is set. */ @java.lang.Override @@ -2428,11 +2731,14 @@ public boolean hasMapValue() { return valueTypeCase_ == 6; } /** + * + * *
      * A map value.
      * 
* * .google.firestore.v1.MapValue map_value = 6; + * * @return The mapValue. */ @java.lang.Override @@ -2450,6 +2756,8 @@ public com.google.firestore.v1.MapValue getMapValue() { } } /** + * + * *
      * A map value.
      * 
@@ -2470,14 +2778,15 @@ public Builder setMapValue(com.google.firestore.v1.MapValue value) { return this; } /** + * + * *
      * A map value.
      * 
* * .google.firestore.v1.MapValue map_value = 6; */ - public Builder setMapValue( - com.google.firestore.v1.MapValue.Builder builderForValue) { + public Builder setMapValue(com.google.firestore.v1.MapValue.Builder builderForValue) { if (mapValueBuilder_ == null) { valueType_ = builderForValue.build(); onChanged(); @@ -2488,6 +2797,8 @@ public Builder setMapValue( return this; } /** + * + * *
      * A map value.
      * 
@@ -2496,10 +2807,13 @@ public Builder setMapValue( */ public Builder mergeMapValue(com.google.firestore.v1.MapValue value) { if (mapValueBuilder_ == null) { - if (valueTypeCase_ == 6 && - valueType_ != com.google.firestore.v1.MapValue.getDefaultInstance()) { - valueType_ = com.google.firestore.v1.MapValue.newBuilder((com.google.firestore.v1.MapValue) valueType_) - .mergeFrom(value).buildPartial(); + if (valueTypeCase_ == 6 + && valueType_ != com.google.firestore.v1.MapValue.getDefaultInstance()) { + valueType_ = + com.google.firestore.v1.MapValue.newBuilder( + (com.google.firestore.v1.MapValue) valueType_) + .mergeFrom(value) + .buildPartial(); } else { valueType_ = value; } @@ -2515,6 +2829,8 @@ public Builder mergeMapValue(com.google.firestore.v1.MapValue value) { return this; } /** + * + * *
      * A map value.
      * 
@@ -2538,6 +2854,8 @@ public Builder clearMapValue() { return this; } /** + * + * *
      * A map value.
      * 
@@ -2548,6 +2866,8 @@ public com.google.firestore.v1.MapValue.Builder getMapValueBuilder() { return getMapValueFieldBuilder().getBuilder(); } /** + * + * *
      * A map value.
      * 
@@ -2566,6 +2886,8 @@ public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { } } /** + * + * *
      * A map value.
      * 
@@ -2573,26 +2895,29 @@ public com.google.firestore.v1.MapValueOrBuilder getMapValueOrBuilder() { * .google.firestore.v1.MapValue map_value = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.MapValue, com.google.firestore.v1.MapValue.Builder, com.google.firestore.v1.MapValueOrBuilder> + com.google.firestore.v1.MapValue, + com.google.firestore.v1.MapValue.Builder, + com.google.firestore.v1.MapValueOrBuilder> getMapValueFieldBuilder() { if (mapValueBuilder_ == null) { if (!(valueTypeCase_ == 6)) { valueType_ = com.google.firestore.v1.MapValue.getDefaultInstance(); } - mapValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.MapValue, com.google.firestore.v1.MapValue.Builder, com.google.firestore.v1.MapValueOrBuilder>( - (com.google.firestore.v1.MapValue) valueType_, - getParentForChildren(), - isClean()); + mapValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.MapValue, + com.google.firestore.v1.MapValue.Builder, + com.google.firestore.v1.MapValueOrBuilder>( + (com.google.firestore.v1.MapValue) valueType_, getParentForChildren(), isClean()); valueType_ = null; } valueTypeCase_ = 6; onChanged(); return mapValueBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2602,12 +2927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.Value) } // @@protoc_insertion_point(class_scope:google.firestore.v1.Value) private static final com.google.firestore.v1.Value DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.Value(); } @@ -2616,27 +2941,27 @@ public static com.google.firestore.v1.Value getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Value parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Value parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2651,6 +2976,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java similarity index 86% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java index dda81dae7..7227b16ac 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ValueOrBuilder.java @@ -1,98 +1,143 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/document.proto package com.google.firestore.v1; -public interface ValueOrBuilder extends +public interface ValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.Value) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return Whether the nullValue field is set. */ boolean hasNullValue(); /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The enum numeric value on the wire for nullValue. */ int getNullValueValue(); /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The nullValue. */ com.google.protobuf.NullValue getNullValue(); /** + * + * *
    * A boolean value.
    * 
* * bool boolean_value = 1; + * * @return Whether the booleanValue field is set. */ boolean hasBooleanValue(); /** + * + * *
    * A boolean value.
    * 
* * bool boolean_value = 1; + * * @return The booleanValue. */ boolean getBooleanValue(); /** + * + * *
    * An integer value.
    * 
* * int64 integer_value = 2; + * * @return Whether the integerValue field is set. */ boolean hasIntegerValue(); /** + * + * *
    * An integer value.
    * 
* * int64 integer_value = 2; + * * @return The integerValue. */ long getIntegerValue(); /** + * + * *
    * A double value.
    * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * A double value.
    * 
* * double double_value = 3; + * * @return The doubleValue. */ double getDoubleValue(); /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -100,10 +145,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -111,10 +159,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** + * + * *
    * A timestamp value.
    * Precise only to microseconds. When stored, any additional precision is
@@ -126,6 +177,8 @@ public interface ValueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -134,10 +187,13 @@ public interface ValueOrBuilder extends
    * 
* * string string_value = 17; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -146,10 +202,13 @@ public interface ValueOrBuilder extends
    * 
* * string string_value = 17; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * A string value.
    * The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
@@ -158,12 +217,14 @@ public interface ValueOrBuilder extends
    * 
* * string string_value = 17; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); /** + * + * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -171,10 +232,13 @@ public interface ValueOrBuilder extends
    * 
* * bytes bytes_value = 18; + * * @return Whether the bytesValue field is set. */ boolean hasBytesValue(); /** + * + * *
    * A bytes value.
    * Must not exceed 1 MiB - 89 bytes.
@@ -182,61 +246,78 @@ public interface ValueOrBuilder extends
    * 
* * bytes bytes_value = 18; + * * @return The bytesValue. */ com.google.protobuf.ByteString getBytesValue(); /** + * + * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; + * * @return Whether the referenceValue field is set. */ boolean hasReferenceValue(); /** + * + * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; + * * @return The referenceValue. */ java.lang.String getReferenceValue(); /** + * + * *
    * A reference to a document. For example:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string reference_value = 5; + * * @return The bytes for referenceValue. */ - com.google.protobuf.ByteString - getReferenceValueBytes(); + com.google.protobuf.ByteString getReferenceValueBytes(); /** + * + * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; + * * @return Whether the geoPointValue field is set. */ boolean hasGeoPointValue(); /** + * + * *
    * A geo point value representing a point on the surface of Earth.
    * 
* * .google.type.LatLng geo_point_value = 8; + * * @return The geoPointValue. */ com.google.type.LatLng getGeoPointValue(); /** + * + * *
    * A geo point value representing a point on the surface of Earth.
    * 
@@ -246,6 +327,8 @@ public interface ValueOrBuilder extends com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder(); /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -253,10 +336,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ boolean hasArrayValue(); /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -264,10 +350,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.firestore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ com.google.firestore.v1.ArrayValue getArrayValue(); /** + * + * *
    * An array value.
    * Cannot directly contain another array value, though can contain an
@@ -279,24 +368,32 @@ public interface ValueOrBuilder extends
   com.google.firestore.v1.ArrayValueOrBuilder getArrayValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; + * * @return Whether the mapValue field is set. */ boolean hasMapValue(); /** + * + * *
    * A map value.
    * 
* * .google.firestore.v1.MapValue map_value = 6; + * * @return The mapValue. */ com.google.firestore.v1.MapValue getMapValue(); /** + * + * *
    * A map value.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java index 9984b7048..e5ef01d70 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Write.java @@ -1,63 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/write.proto package com.google.firestore.v1; /** + * + * *
  * A write on a document.
  * 
* * Protobuf type {@code google.firestore.v1.Write} */ -public final class Write extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Write extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.Write) WriteOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Write.newBuilder() to construct. private Write(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Write() { updateTransforms_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Write(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Write.class, com.google.firestore.v1.Write.Builder.class); } private int operationCase_ = 0; private java.lang.Object operation_; + public enum OperationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { UPDATE(1), DELETE(2), TRANSFORM(6), OPERATION_NOT_SET(0); private final int value; + private OperationCase(int value) { this.value = value; } @@ -73,31 +93,38 @@ public static OperationCase valueOf(int value) { public static OperationCase forNumber(int value) { switch (value) { - case 1: return UPDATE; - case 2: return DELETE; - case 6: return TRANSFORM; - case 0: return OPERATION_NOT_SET; - default: return null; + case 1: + return UPDATE; + case 2: + return DELETE; + case 6: + return TRANSFORM; + case 0: + return OPERATION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OperationCase - getOperationCase() { - return OperationCase.forNumber( - operationCase_); + public OperationCase getOperationCase() { + return OperationCase.forNumber(operationCase_); } public static final int UPDATE_FIELD_NUMBER = 1; /** + * + * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; + * * @return Whether the update field is set. */ @java.lang.Override @@ -105,21 +132,26 @@ public boolean hasUpdate() { return operationCase_ == 1; } /** + * + * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; + * * @return The update. */ @java.lang.Override public com.google.firestore.v1.Document getUpdate() { if (operationCase_ == 1) { - return (com.google.firestore.v1.Document) operation_; + return (com.google.firestore.v1.Document) operation_; } return com.google.firestore.v1.Document.getDefaultInstance(); } /** + * + * *
    * A document to write.
    * 
@@ -129,31 +161,37 @@ public com.google.firestore.v1.Document getUpdate() { @java.lang.Override public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { if (operationCase_ == 1) { - return (com.google.firestore.v1.Document) operation_; + return (com.google.firestore.v1.Document) operation_; } return com.google.firestore.v1.Document.getDefaultInstance(); } public static final int DELETE_FIELD_NUMBER = 2; /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return Whether the delete field is set. */ public boolean hasDelete() { return operationCase_ == 2; } /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return The delete. */ public java.lang.String getDelete() { @@ -164,8 +202,7 @@ public java.lang.String getDelete() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (operationCase_ == 2) { operation_ = s; @@ -174,24 +211,25 @@ public java.lang.String getDelete() { } } /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return The bytes for delete. */ - public com.google.protobuf.ByteString - getDeleteBytes() { + public com.google.protobuf.ByteString getDeleteBytes() { java.lang.Object ref = ""; if (operationCase_ == 2) { ref = operation_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (operationCase_ == 2) { operation_ = b; } @@ -203,11 +241,14 @@ public java.lang.String getDelete() { public static final int TRANSFORM_FIELD_NUMBER = 6; /** + * + * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return Whether the transform field is set. */ @java.lang.Override @@ -215,21 +256,26 @@ public boolean hasTransform() { return operationCase_ == 6; } /** + * + * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return The transform. */ @java.lang.Override public com.google.firestore.v1.DocumentTransform getTransform() { if (operationCase_ == 6) { - return (com.google.firestore.v1.DocumentTransform) operation_; + return (com.google.firestore.v1.DocumentTransform) operation_; } return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); } /** + * + * *
    * Applies a transformation to a document.
    * 
@@ -239,7 +285,7 @@ public com.google.firestore.v1.DocumentTransform getTransform() { @java.lang.Override public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder() { if (operationCase_ == 6) { - return (com.google.firestore.v1.DocumentTransform) operation_; + return (com.google.firestore.v1.DocumentTransform) operation_; } return com.google.firestore.v1.DocumentTransform.getDefaultInstance(); } @@ -247,6 +293,8 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.firestore.v1.DocumentMask updateMask_; /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -260,6 +308,7 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -267,6 +316,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -280,13 +331,18 @@ public boolean hasUpdateMask() {
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override public com.google.firestore.v1.DocumentMask getUpdateMask() { - return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; } /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -303,13 +359,19 @@ public com.google.firestore.v1.DocumentMask getUpdateMask() {
    */
   @java.lang.Override
   public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
-    return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
+    return updateMask_ == null
+        ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
+        : updateMask_;
   }
 
   public static final int UPDATE_TRANSFORMS_FIELD_NUMBER = 7;
+
   @SuppressWarnings("serial")
-  private java.util.List updateTransforms_;
+  private java.util.List
+      updateTransforms_;
   /**
+   *
+   *
    * 
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -317,13 +379,17 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ @java.lang.Override - public java.util.List getUpdateTransformsList() { + public java.util.List + getUpdateTransformsList() { return updateTransforms_; } /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -331,14 +397,17 @@ public java.util.List
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ @java.lang.Override - public java.util.List + public java.util.List getUpdateTransformsOrBuilderList() { return updateTransforms_; } /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -346,13 +415,16 @@ public java.util.List
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ @java.lang.Override public int getUpdateTransformsCount() { return updateTransforms_.size(); } /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -360,13 +432,16 @@ public int getUpdateTransformsCount() {
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ @java.lang.Override public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index) { return updateTransforms_.get(index); } /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -374,23 +449,27 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ @java.lang.Override - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( - int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder + getUpdateTransformsOrBuilder(int index) { return updateTransforms_.get(index); } public static final int CURRENT_DOCUMENT_FIELD_NUMBER = 4; private com.google.firestore.v1.Precondition currentDocument_; /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ @java.lang.Override @@ -398,19 +477,26 @@ public boolean hasCurrentDocument() { return currentDocument_ != null; } /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ @java.lang.Override public com.google.firestore.v1.Precondition getCurrentDocument() { - return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; } /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
@@ -420,10 +506,13 @@ public com.google.firestore.v1.Precondition getCurrentDocument() {
    */
   @java.lang.Override
   public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder() {
-    return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
+    return currentDocument_ == null
+        ? com.google.firestore.v1.Precondition.getDefaultInstance()
+        : currentDocument_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -435,8 +524,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (operationCase_ == 1) {
       output.writeMessage(1, (com.google.firestore.v1.Document) operation_);
     }
@@ -465,27 +553,26 @@ public int getSerializedSize() {
 
     size = 0;
     if (operationCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.firestore.v1.Document) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.firestore.v1.Document) operation_);
     }
     if (operationCase_ == 2) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_);
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
     }
     if (currentDocument_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getCurrentDocument());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCurrentDocument());
     }
     if (operationCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.firestore.v1.DocumentTransform) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.firestore.v1.DocumentTransform) operation_);
     }
     for (int i = 0; i < updateTransforms_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, updateTransforms_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, updateTransforms_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -495,7 +582,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.Write)) {
       return super.equals(obj);
@@ -504,29 +591,23 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
-    if (!getUpdateTransformsList()
-        .equals(other.getUpdateTransformsList())) return false;
+    if (!getUpdateTransformsList().equals(other.getUpdateTransformsList())) return false;
     if (hasCurrentDocument() != other.hasCurrentDocument()) return false;
     if (hasCurrentDocument()) {
-      if (!getCurrentDocument()
-          .equals(other.getCurrentDocument())) return false;
+      if (!getCurrentDocument().equals(other.getCurrentDocument())) return false;
     }
     if (!getOperationCase().equals(other.getOperationCase())) return false;
     switch (operationCase_) {
       case 1:
-        if (!getUpdate()
-            .equals(other.getUpdate())) return false;
+        if (!getUpdate().equals(other.getUpdate())) return false;
         break;
       case 2:
-        if (!getDelete()
-            .equals(other.getDelete())) return false;
+        if (!getDelete().equals(other.getDelete())) return false;
         break;
       case 6:
-        if (!getTransform()
-            .equals(other.getTransform())) return false;
+        if (!getTransform().equals(other.getTransform())) return false;
         break;
       case 0:
       default:
@@ -575,130 +656,134 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.Write parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.Write parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Write parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.Write parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.Write parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Write parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Write parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.Write parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Write parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Write parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.Write parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Write parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.firestore.v1.Write parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.firestore.v1.Write parseFrom(com.google.protobuf.CodedInputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.Write parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.Write prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A write on a document.
    * 
* * Protobuf type {@code google.firestore.v1.Write} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.Write) com.google.firestore.v1.WriteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.firestore.v1.Write.class, com.google.firestore.v1.Write.Builder.class); } // Construct using com.google.firestore.v1.Write.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -732,9 +817,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_Write_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_Write_descriptor; } @java.lang.Override @@ -755,7 +840,9 @@ public com.google.firestore.v1.Write build() { public com.google.firestore.v1.Write buildPartial() { com.google.firestore.v1.Write result = new com.google.firestore.v1.Write(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -776,26 +863,21 @@ private void buildPartialRepeatedFields(com.google.firestore.v1.Write result) { private void buildPartial0(com.google.firestore.v1.Write result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.currentDocument_ = currentDocumentBuilder_ == null - ? currentDocument_ - : currentDocumentBuilder_.build(); + result.currentDocument_ = + currentDocumentBuilder_ == null ? currentDocument_ : currentDocumentBuilder_.build(); } } private void buildPartialOneofs(com.google.firestore.v1.Write result) { result.operationCase_ = operationCase_; result.operation_ = this.operation_; - if (operationCase_ == 1 && - updateBuilder_ != null) { + if (operationCase_ == 1 && updateBuilder_ != null) { result.operation_ = updateBuilder_.build(); } - if (operationCase_ == 6 && - transformBuilder_ != null) { + if (operationCase_ == 6 && transformBuilder_ != null) { result.operation_ = transformBuilder_.build(); } } @@ -804,38 +886,39 @@ private void buildPartialOneofs(com.google.firestore.v1.Write result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.Write) { - return mergeFrom((com.google.firestore.v1.Write)other); + return mergeFrom((com.google.firestore.v1.Write) other); } else { super.mergeFrom(other); return this; @@ -865,9 +948,10 @@ public Builder mergeFrom(com.google.firestore.v1.Write other) { updateTransformsBuilder_ = null; updateTransforms_ = other.updateTransforms_; bitField0_ = (bitField0_ & ~0x00000010); - updateTransformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUpdateTransformsFieldBuilder() : null; + updateTransformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUpdateTransformsFieldBuilder() + : null; } else { updateTransformsBuilder_.addAllMessages(other.updateTransforms_); } @@ -877,23 +961,27 @@ public Builder mergeFrom(com.google.firestore.v1.Write other) { mergeCurrentDocument(other.getCurrentDocument()); } switch (other.getOperationCase()) { - case UPDATE: { - mergeUpdate(other.getUpdate()); - break; - } - case DELETE: { - operationCase_ = 2; - operation_ = other.operation_; - onChanged(); - break; - } - case TRANSFORM: { - mergeTransform(other.getTransform()); - break; - } - case OPERATION_NOT_SET: { - break; - } + case UPDATE: + { + mergeUpdate(other.getUpdate()); + break; + } + case DELETE: + { + operationCase_ = 2; + operation_ = other.operation_; + onChanged(); + break; + } + case TRANSFORM: + { + mergeTransform(other.getTransform()); + break; + } + case OPERATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -921,59 +1009,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateFieldBuilder().getBuilder(), - extensionRegistry); - operationCase_ = 1; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - operationCase_ = 2; - operation_ = s; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: { - input.readMessage( - getCurrentDocumentFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 34 - case 50: { - input.readMessage( - getTransformFieldBuilder().getBuilder(), - extensionRegistry); - operationCase_ = 6; - break; - } // case 50 - case 58: { - com.google.firestore.v1.DocumentTransform.FieldTransform m = - input.readMessage( - com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), - extensionRegistry); - if (updateTransformsBuilder_ == null) { - ensureUpdateTransformsIsMutable(); - updateTransforms_.add(m); - } else { - updateTransformsBuilder_.addMessage(m); - } - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); + operationCase_ = 1; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + operationCase_ = 2; + operation_ = s; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: + { + input.readMessage(getCurrentDocumentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 34 + case 50: + { + input.readMessage(getTransformFieldBuilder().getBuilder(), extensionRegistry); + operationCase_ = 6; + break; + } // case 50 + case 58: + { + com.google.firestore.v1.DocumentTransform.FieldTransform m = + input.readMessage( + com.google.firestore.v1.DocumentTransform.FieldTransform.parser(), + extensionRegistry); + if (updateTransformsBuilder_ == null) { + ensureUpdateTransformsIsMutable(); + updateTransforms_.add(m); + } else { + updateTransformsBuilder_.addMessage(m); + } + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -983,12 +1070,12 @@ public Builder mergeFrom( } // finally return this; } + private int operationCase_ = 0; private java.lang.Object operation_; - public OperationCase - getOperationCase() { - return OperationCase.forNumber( - operationCase_); + + public OperationCase getOperationCase() { + return OperationCase.forNumber(operationCase_); } public Builder clearOperation() { @@ -1001,13 +1088,19 @@ public Builder clearOperation() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> updateBuilder_; + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> + updateBuilder_; /** + * + * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; + * * @return Whether the update field is set. */ @java.lang.Override @@ -1015,11 +1108,14 @@ public boolean hasUpdate() { return operationCase_ == 1; } /** + * + * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; + * * @return The update. */ @java.lang.Override @@ -1037,6 +1133,8 @@ public com.google.firestore.v1.Document getUpdate() { } } /** + * + * *
      * A document to write.
      * 
@@ -1057,14 +1155,15 @@ public Builder setUpdate(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A document to write.
      * 
* * .google.firestore.v1.Document update = 1; */ - public Builder setUpdate( - com.google.firestore.v1.Document.Builder builderForValue) { + public Builder setUpdate(com.google.firestore.v1.Document.Builder builderForValue) { if (updateBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); @@ -1075,6 +1174,8 @@ public Builder setUpdate( return this; } /** + * + * *
      * A document to write.
      * 
@@ -1083,10 +1184,13 @@ public Builder setUpdate( */ public Builder mergeUpdate(com.google.firestore.v1.Document value) { if (updateBuilder_ == null) { - if (operationCase_ == 1 && - operation_ != com.google.firestore.v1.Document.getDefaultInstance()) { - operation_ = com.google.firestore.v1.Document.newBuilder((com.google.firestore.v1.Document) operation_) - .mergeFrom(value).buildPartial(); + if (operationCase_ == 1 + && operation_ != com.google.firestore.v1.Document.getDefaultInstance()) { + operation_ = + com.google.firestore.v1.Document.newBuilder( + (com.google.firestore.v1.Document) operation_) + .mergeFrom(value) + .buildPartial(); } else { operation_ = value; } @@ -1102,6 +1206,8 @@ public Builder mergeUpdate(com.google.firestore.v1.Document value) { return this; } /** + * + * *
      * A document to write.
      * 
@@ -1125,6 +1231,8 @@ public Builder clearUpdate() { return this; } /** + * + * *
      * A document to write.
      * 
@@ -1135,6 +1243,8 @@ public com.google.firestore.v1.Document.Builder getUpdateBuilder() { return getUpdateFieldBuilder().getBuilder(); } /** + * + * *
      * A document to write.
      * 
@@ -1153,6 +1263,8 @@ public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { } } /** + * + * *
      * A document to write.
      * 
@@ -1160,17 +1272,20 @@ public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { * .google.firestore.v1.Document update = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder> + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { if (!(operationCase_ == 1)) { operation_ = com.google.firestore.v1.Document.getDefaultInstance(); } - updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Document, com.google.firestore.v1.Document.Builder, com.google.firestore.v1.DocumentOrBuilder>( - (com.google.firestore.v1.Document) operation_, - getParentForChildren(), - isClean()); + updateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.Document, + com.google.firestore.v1.Document.Builder, + com.google.firestore.v1.DocumentOrBuilder>( + (com.google.firestore.v1.Document) operation_, getParentForChildren(), isClean()); operation_ = null; } operationCase_ = 1; @@ -1179,12 +1294,15 @@ public com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder() { } /** + * + * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; + * * @return Whether the delete field is set. */ @java.lang.Override @@ -1192,12 +1310,15 @@ public boolean hasDelete() { return operationCase_ == 2; } /** + * + * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; + * * @return The delete. */ @java.lang.Override @@ -1207,8 +1328,7 @@ public java.lang.String getDelete() { ref = operation_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (operationCase_ == 2) { operation_ = s; @@ -1219,25 +1339,26 @@ public java.lang.String getDelete() { } } /** + * + * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; + * * @return The bytes for delete. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeleteBytes() { + public com.google.protobuf.ByteString getDeleteBytes() { java.lang.Object ref = ""; if (operationCase_ == 2) { ref = operation_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (operationCase_ == 2) { operation_ = b; } @@ -1247,30 +1368,37 @@ public java.lang.String getDelete() { } } /** + * + * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; + * * @param value The delete to set. * @return This builder for chaining. */ - public Builder setDelete( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelete(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } operationCase_ = 2; operation_ = value; onChanged(); return this; } /** + * + * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; + * * @return This builder for chaining. */ public Builder clearDelete() { @@ -1282,18 +1410,22 @@ public Builder clearDelete() { return this; } /** + * + * *
      * A document name to delete. In the format:
      * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
      * 
* * string delete = 2; + * * @param value The bytes for delete to set. * @return This builder for chaining. */ - public Builder setDeleteBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDeleteBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); operationCase_ = 2; operation_ = value; @@ -1302,13 +1434,19 @@ public Builder setDeleteBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentTransform, com.google.firestore.v1.DocumentTransform.Builder, com.google.firestore.v1.DocumentTransformOrBuilder> transformBuilder_; + com.google.firestore.v1.DocumentTransform, + com.google.firestore.v1.DocumentTransform.Builder, + com.google.firestore.v1.DocumentTransformOrBuilder> + transformBuilder_; /** + * + * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return Whether the transform field is set. */ @java.lang.Override @@ -1316,11 +1454,14 @@ public boolean hasTransform() { return operationCase_ == 6; } /** + * + * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return The transform. */ @java.lang.Override @@ -1338,6 +1479,8 @@ public com.google.firestore.v1.DocumentTransform getTransform() { } } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1358,14 +1501,15 @@ public Builder setTransform(com.google.firestore.v1.DocumentTransform value) { return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
* * .google.firestore.v1.DocumentTransform transform = 6; */ - public Builder setTransform( - com.google.firestore.v1.DocumentTransform.Builder builderForValue) { + public Builder setTransform(com.google.firestore.v1.DocumentTransform.Builder builderForValue) { if (transformBuilder_ == null) { operation_ = builderForValue.build(); onChanged(); @@ -1376,6 +1520,8 @@ public Builder setTransform( return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1384,10 +1530,13 @@ public Builder setTransform( */ public Builder mergeTransform(com.google.firestore.v1.DocumentTransform value) { if (transformBuilder_ == null) { - if (operationCase_ == 6 && - operation_ != com.google.firestore.v1.DocumentTransform.getDefaultInstance()) { - operation_ = com.google.firestore.v1.DocumentTransform.newBuilder((com.google.firestore.v1.DocumentTransform) operation_) - .mergeFrom(value).buildPartial(); + if (operationCase_ == 6 + && operation_ != com.google.firestore.v1.DocumentTransform.getDefaultInstance()) { + operation_ = + com.google.firestore.v1.DocumentTransform.newBuilder( + (com.google.firestore.v1.DocumentTransform) operation_) + .mergeFrom(value) + .buildPartial(); } else { operation_ = value; } @@ -1403,6 +1552,8 @@ public Builder mergeTransform(com.google.firestore.v1.DocumentTransform value) { return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1426,6 +1577,8 @@ public Builder clearTransform() { return this; } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1436,6 +1589,8 @@ public com.google.firestore.v1.DocumentTransform.Builder getTransformBuilder() { return getTransformFieldBuilder().getBuilder(); } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1454,6 +1609,8 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( } } /** + * + * *
      * Applies a transformation to a document.
      * 
@@ -1461,14 +1618,19 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( * .google.firestore.v1.DocumentTransform transform = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentTransform, com.google.firestore.v1.DocumentTransform.Builder, com.google.firestore.v1.DocumentTransformOrBuilder> + com.google.firestore.v1.DocumentTransform, + com.google.firestore.v1.DocumentTransform.Builder, + com.google.firestore.v1.DocumentTransformOrBuilder> getTransformFieldBuilder() { if (transformBuilder_ == null) { if (!(operationCase_ == 6)) { operation_ = com.google.firestore.v1.DocumentTransform.getDefaultInstance(); } - transformBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentTransform, com.google.firestore.v1.DocumentTransform.Builder, com.google.firestore.v1.DocumentTransformOrBuilder>( + transformBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1.DocumentTransform, + com.google.firestore.v1.DocumentTransform.Builder, + com.google.firestore.v1.DocumentTransformOrBuilder>( (com.google.firestore.v1.DocumentTransform) operation_, getParentForChildren(), isClean()); @@ -1481,8 +1643,13 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder( private com.google.firestore.v1.DocumentMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> updateMaskBuilder_; + com.google.firestore.v1.DocumentMask, + com.google.firestore.v1.DocumentMask.Builder, + com.google.firestore.v1.DocumentMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1496,12 +1663,15 @@ public com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(
      * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1515,16 +1685,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return The updateMask. */ public com.google.firestore.v1.DocumentMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.firestore.v1.DocumentMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1553,6 +1728,8 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1567,8 +1744,7 @@ public Builder setUpdateMask(com.google.firestore.v1.DocumentMask value) {
      *
      * .google.firestore.v1.DocumentMask update_mask = 3;
      */
-    public Builder setUpdateMask(
-        com.google.firestore.v1.DocumentMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.firestore.v1.DocumentMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
       } else {
@@ -1579,6 +1755,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1595,9 +1773,9 @@ public Builder setUpdateMask(
      */
     public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       if (updateMaskBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          updateMask_ != null &&
-          updateMask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && updateMask_ != null
+            && updateMask_ != com.google.firestore.v1.DocumentMask.getDefaultInstance()) {
           getUpdateMaskBuilder().mergeFrom(value);
         } else {
           updateMask_ = value;
@@ -1610,6 +1788,8 @@ public Builder mergeUpdateMask(com.google.firestore.v1.DocumentMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1635,6 +1815,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1655,6 +1837,8 @@ public com.google.firestore.v1.DocumentMask.Builder getUpdateMaskBuilder() {
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1673,11 +1857,14 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.firestore.v1.DocumentMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.firestore.v1.DocumentMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * The fields to update in this write.
      * This field can be set only when the operation is `update`.
@@ -1693,32 +1880,43 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.firestore.v1.DocumentMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder> 
+            com.google.firestore.v1.DocumentMask,
+            com.google.firestore.v1.DocumentMask.Builder,
+            com.google.firestore.v1.DocumentMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.DocumentMask, com.google.firestore.v1.DocumentMask.Builder, com.google.firestore.v1.DocumentMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.DocumentMask,
+                com.google.firestore.v1.DocumentMask.Builder,
+                com.google.firestore.v1.DocumentMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
 
-    private java.util.List updateTransforms_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        updateTransforms_ = java.util.Collections.emptyList();
+
     private void ensureUpdateTransformsIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
-        updateTransforms_ = new java.util.ArrayList(updateTransforms_);
+        updateTransforms_ =
+            new java.util.ArrayList(
+                updateTransforms_);
         bitField0_ |= 0x00000010;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> updateTransformsBuilder_;
+            com.google.firestore.v1.DocumentTransform.FieldTransform,
+            com.google.firestore.v1.DocumentTransform.FieldTransform.Builder,
+            com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>
+        updateTransformsBuilder_;
 
     /**
+     *
+     *
      * 
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1726,9 +1924,11 @@ private void ensureUpdateTransformsIsMutable() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public java.util.List getUpdateTransformsList() { + public java.util.List + getUpdateTransformsList() { if (updateTransformsBuilder_ == null) { return java.util.Collections.unmodifiableList(updateTransforms_); } else { @@ -1736,6 +1936,8 @@ public java.util.List } } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1743,7 +1945,8 @@ public java.util.List
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public int getUpdateTransformsCount() { if (updateTransformsBuilder_ == null) { @@ -1753,6 +1956,8 @@ public int getUpdateTransformsCount() { } } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1760,7 +1965,8 @@ public int getUpdateTransformsCount() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index) { if (updateTransformsBuilder_ == null) { @@ -1770,6 +1976,8 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo } } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1777,7 +1985,8 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransfo
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder setUpdateTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -1794,6 +2003,8 @@ public Builder setUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1801,10 +2012,12 @@ public Builder setUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder setUpdateTransforms( - int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); updateTransforms_.set(index, builderForValue.build()); @@ -1815,6 +2028,8 @@ public Builder setUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1822,9 +2037,11 @@ public Builder setUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public Builder addUpdateTransforms(com.google.firestore.v1.DocumentTransform.FieldTransform value) { + public Builder addUpdateTransforms( + com.google.firestore.v1.DocumentTransform.FieldTransform value) { if (updateTransformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1838,6 +2055,8 @@ public Builder addUpdateTransforms(com.google.firestore.v1.DocumentTransform.Fie return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1845,7 +2064,8 @@ public Builder addUpdateTransforms(com.google.firestore.v1.DocumentTransform.Fie
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder addUpdateTransforms( int index, com.google.firestore.v1.DocumentTransform.FieldTransform value) { @@ -1862,6 +2082,8 @@ public Builder addUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1869,7 +2091,8 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder addUpdateTransforms( com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { @@ -1883,6 +2106,8 @@ public Builder addUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1890,10 +2115,12 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder addUpdateTransforms( - int index, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { + int index, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder builderForValue) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); updateTransforms_.add(index, builderForValue.build()); @@ -1904,6 +2131,8 @@ public Builder addUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1911,14 +2140,15 @@ public Builder addUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder addAllUpdateTransforms( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (updateTransformsBuilder_ == null) { ensureUpdateTransformsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, updateTransforms_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, updateTransforms_); onChanged(); } else { updateTransformsBuilder_.addAllMessages(values); @@ -1926,6 +2156,8 @@ public Builder addAllUpdateTransforms( return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1933,7 +2165,8 @@ public Builder addAllUpdateTransforms(
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder clearUpdateTransforms() { if (updateTransformsBuilder_ == null) { @@ -1946,6 +2179,8 @@ public Builder clearUpdateTransforms() { return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1953,7 +2188,8 @@ public Builder clearUpdateTransforms() {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ public Builder removeUpdateTransforms(int index) { if (updateTransformsBuilder_ == null) { @@ -1966,6 +2202,8 @@ public Builder removeUpdateTransforms(int index) { return this; } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1973,13 +2211,16 @@ public Builder removeUpdateTransforms(int index) {
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder getUpdateTransformsBuilder( - int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + getUpdateTransformsBuilder(int index) { return getUpdateTransformsFieldBuilder().getBuilder(index); } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -1987,16 +2228,20 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder getUpdat
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( - int index) { + public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder + getUpdateTransformsOrBuilder(int index) { if (updateTransformsBuilder_ == null) { - return updateTransforms_.get(index); } else { + return updateTransforms_.get(index); + } else { return updateTransformsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2004,10 +2249,12 @@ public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpda
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public java.util.List - getUpdateTransformsOrBuilderList() { + public java.util.List< + ? extends com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + getUpdateTransformsOrBuilderList() { if (updateTransformsBuilder_ != null) { return updateTransformsBuilder_.getMessageOrBuilderList(); } else { @@ -2015,6 +2262,8 @@ public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpda } } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2022,13 +2271,18 @@ public com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpda
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdateTransformsBuilder() { - return getUpdateTransformsFieldBuilder().addBuilder( - com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + addUpdateTransformsBuilder() { + return getUpdateTransformsFieldBuilder() + .addBuilder( + com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2036,14 +2290,18 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdat
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdateTransformsBuilder( - int index) { - return getUpdateTransformsFieldBuilder().addBuilder( - index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); + public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder + addUpdateTransformsBuilder(int index) { + return getUpdateTransformsFieldBuilder() + .addBuilder( + index, com.google.firestore.v1.DocumentTransform.FieldTransform.getDefaultInstance()); } /** + * + * *
      * The transforms to perform after update.
      * This field can be set only when the operation is `update`. If present, this
@@ -2051,18 +2309,25 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdat
      * document atomically and in order.
      * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - public java.util.List - getUpdateTransformsBuilderList() { + public java.util.List + getUpdateTransformsBuilderList() { return getUpdateTransformsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> + com.google.firestore.v1.DocumentTransform.FieldTransform, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, + com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder> getUpdateTransformsFieldBuilder() { if (updateTransformsBuilder_ == null) { - updateTransformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.DocumentTransform.FieldTransform, com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( + updateTransformsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1.DocumentTransform.FieldTransform, + com.google.firestore.v1.DocumentTransform.FieldTransform.Builder, + com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder>( updateTransforms_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -2074,36 +2339,49 @@ public com.google.firestore.v1.DocumentTransform.FieldTransform.Builder addUpdat private com.google.firestore.v1.Precondition currentDocument_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> currentDocumentBuilder_; + com.google.firestore.v1.Precondition, + com.google.firestore.v1.Precondition.Builder, + com.google.firestore.v1.PreconditionOrBuilder> + currentDocumentBuilder_; /** + * + * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ public boolean hasCurrentDocument() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
      * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ public com.google.firestore.v1.Precondition getCurrentDocument() { if (currentDocumentBuilder_ == null) { - return currentDocument_ == null ? com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_; + return currentDocument_ == null + ? com.google.firestore.v1.Precondition.getDefaultInstance() + : currentDocument_; } else { return currentDocumentBuilder_.getMessage(); } } /** + * + * *
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2125,6 +2403,8 @@ public Builder setCurrentDocument(com.google.firestore.v1.Precondition value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2144,6 +2424,8 @@ public Builder setCurrentDocument(
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2153,9 +2435,9 @@ public Builder setCurrentDocument(
      */
     public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value) {
       if (currentDocumentBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          currentDocument_ != null &&
-          currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && currentDocument_ != null
+            && currentDocument_ != com.google.firestore.v1.Precondition.getDefaultInstance()) {
           getCurrentDocumentBuilder().mergeFrom(value);
         } else {
           currentDocument_ = value;
@@ -2168,6 +2450,8 @@ public Builder mergeCurrentDocument(com.google.firestore.v1.Precondition value)
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2186,6 +2470,8 @@ public Builder clearCurrentDocument() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2199,6 +2485,8 @@ public com.google.firestore.v1.Precondition.Builder getCurrentDocumentBuilder()
       return getCurrentDocumentFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2210,11 +2498,14 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
       if (currentDocumentBuilder_ != null) {
         return currentDocumentBuilder_.getMessageOrBuilder();
       } else {
-        return currentDocument_ == null ?
-            com.google.firestore.v1.Precondition.getDefaultInstance() : currentDocument_;
+        return currentDocument_ == null
+            ? com.google.firestore.v1.Precondition.getDefaultInstance()
+            : currentDocument_;
       }
     }
     /**
+     *
+     *
      * 
      * An optional precondition on the document.
      * The write will fail if this is set and not met by the target document.
@@ -2223,21 +2514,24 @@ public com.google.firestore.v1.PreconditionOrBuilder getCurrentDocumentOrBuilder
      * .google.firestore.v1.Precondition current_document = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder> 
+            com.google.firestore.v1.Precondition,
+            com.google.firestore.v1.Precondition.Builder,
+            com.google.firestore.v1.PreconditionOrBuilder>
         getCurrentDocumentFieldBuilder() {
       if (currentDocumentBuilder_ == null) {
-        currentDocumentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.firestore.v1.Precondition, com.google.firestore.v1.Precondition.Builder, com.google.firestore.v1.PreconditionOrBuilder>(
-                getCurrentDocument(),
-                getParentForChildren(),
-                isClean());
+        currentDocumentBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.firestore.v1.Precondition,
+                com.google.firestore.v1.Precondition.Builder,
+                com.google.firestore.v1.PreconditionOrBuilder>(
+                getCurrentDocument(), getParentForChildren(), isClean());
         currentDocument_ = null;
       }
       return currentDocumentBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2247,12 +2541,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.Write)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.Write)
   private static final com.google.firestore.v1.Write DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.Write();
   }
@@ -2261,27 +2555,27 @@ public static com.google.firestore.v1.Write getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Write parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Write parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2296,6 +2590,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.Write getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
index 3d10085e9..98e1b069c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface WriteOrBuilder extends
+public interface WriteOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.Write)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; + * * @return Whether the update field is set. */ boolean hasUpdate(); /** + * + * *
    * A document to write.
    * 
* * .google.firestore.v1.Document update = 1; + * * @return The update. */ com.google.firestore.v1.Document getUpdate(); /** + * + * *
    * A document to write.
    * 
@@ -35,56 +59,72 @@ public interface WriteOrBuilder extends com.google.firestore.v1.DocumentOrBuilder getUpdateOrBuilder(); /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return Whether the delete field is set. */ boolean hasDelete(); /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return The delete. */ java.lang.String getDelete(); /** + * + * *
    * A document name to delete. In the format:
    * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
    * 
* * string delete = 2; + * * @return The bytes for delete. */ - com.google.protobuf.ByteString - getDeleteBytes(); + com.google.protobuf.ByteString getDeleteBytes(); /** + * + * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return Whether the transform field is set. */ boolean hasTransform(); /** + * + * *
    * Applies a transformation to a document.
    * 
* * .google.firestore.v1.DocumentTransform transform = 6; + * * @return The transform. */ com.google.firestore.v1.DocumentTransform getTransform(); /** + * + * *
    * Applies a transformation to a document.
    * 
@@ -94,6 +134,8 @@ public interface WriteOrBuilder extends com.google.firestore.v1.DocumentTransformOrBuilder getTransformOrBuilder(); /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -107,10 +149,13 @@ public interface WriteOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -124,10 +169,13 @@ public interface WriteOrBuilder extends
    * 
* * .google.firestore.v1.DocumentMask update_mask = 3; + * * @return The updateMask. */ com.google.firestore.v1.DocumentMask getUpdateMask(); /** + * + * *
    * The fields to update in this write.
    * This field can be set only when the operation is `update`.
@@ -145,6 +193,8 @@ public interface WriteOrBuilder extends
   com.google.firestore.v1.DocumentMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -152,11 +202,14 @@ public interface WriteOrBuilder extends
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - java.util.List + java.util.List getUpdateTransformsList(); /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -164,10 +217,13 @@ public interface WriteOrBuilder extends
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ com.google.firestore.v1.DocumentTransform.FieldTransform getUpdateTransforms(int index); /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -175,10 +231,13 @@ public interface WriteOrBuilder extends
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ int getUpdateTransformsCount(); /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -186,11 +245,14 @@ public interface WriteOrBuilder extends
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ - java.util.List + java.util.List getUpdateTransformsOrBuilderList(); /** + * + * *
    * The transforms to perform after update.
    * This field can be set only when the operation is `update`. If present, this
@@ -198,32 +260,41 @@ public interface WriteOrBuilder extends
    * document atomically and in order.
    * 
* - * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * repeated .google.firestore.v1.DocumentTransform.FieldTransform update_transforms = 7; + * */ com.google.firestore.v1.DocumentTransform.FieldTransformOrBuilder getUpdateTransformsOrBuilder( int index); /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return Whether the currentDocument field is set. */ boolean hasCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
    * 
* * .google.firestore.v1.Precondition current_document = 4; + * * @return The currentDocument. */ com.google.firestore.v1.Precondition getCurrentDocument(); /** + * + * *
    * An optional precondition on the document.
    * The write will fail if this is set and not met by the target document.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java
new file mode 100644
index 000000000..81eb14ec9
--- /dev/null
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java
@@ -0,0 +1,208 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/firestore/v1/write.proto
+
+package com.google.firestore.v1;
+
+public final class WriteProto {
+  private WriteProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_Write_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_Write_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentTransform_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_WriteResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_WriteResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentChange_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentDelete_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_DocumentRemove_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_firestore_v1_ExistenceFilter_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\037google/firestore/v1/write.proto\022\023googl"
+          + "e.firestore.v1\032 google/firestore/v1/comm"
+          + "on.proto\032\"google/firestore/v1/document.p"
+          + "roto\032\037google/protobuf/timestamp.proto\"\333\002"
+          + "\n\005Write\022/\n\006update\030\001 \001(\0132\035.google.firesto"
+          + "re.v1.DocumentH\000\022\020\n\006delete\030\002 \001(\tH\000\022;\n\ttr"
+          + "ansform\030\006 \001(\0132&.google.firestore.v1.Docu"
+          + "mentTransformH\000\0226\n\013update_mask\030\003 \001(\0132!.g"
+          + "oogle.firestore.v1.DocumentMask\022P\n\021updat"
+          + "e_transforms\030\007 \003(\01325.google.firestore.v1"
+          + ".DocumentTransform.FieldTransform\022;\n\020cur"
+          + "rent_document\030\004 \001(\0132!.google.firestore.v"
+          + "1.PreconditionB\013\n\toperation\"\345\004\n\021Document"
+          + "Transform\022\020\n\010document\030\001 \001(\t\022O\n\020field_tra"
+          + "nsforms\030\002 \003(\01325.google.firestore.v1.Docu"
+          + "mentTransform.FieldTransform\032\354\003\n\016FieldTr"
+          + "ansform\022\022\n\nfield_path\030\001 \001(\t\022`\n\023set_to_se"
+          + "rver_value\030\002 \001(\0162A.google.firestore.v1.D"
+          + "ocumentTransform.FieldTransform.ServerVa"
+          + "lueH\000\022/\n\tincrement\030\003 \001(\0132\032.google.firest"
+          + "ore.v1.ValueH\000\022-\n\007maximum\030\004 \001(\0132\032.google"
+          + ".firestore.v1.ValueH\000\022-\n\007minimum\030\005 \001(\0132\032"
+          + ".google.firestore.v1.ValueH\000\022B\n\027append_m"
+          + "issing_elements\030\006 \001(\0132\037.google.firestore"
+          + ".v1.ArrayValueH\000\022@\n\025remove_all_from_arra"
+          + "y\030\007 \001(\0132\037.google.firestore.v1.ArrayValue"
+          + "H\000\"=\n\013ServerValue\022\034\n\030SERVER_VALUE_UNSPEC"
+          + "IFIED\020\000\022\020\n\014REQUEST_TIME\020\001B\020\n\016transform_t"
+          + "ype\"u\n\013WriteResult\022/\n\013update_time\030\001 \001(\0132"
+          + "\032.google.protobuf.Timestamp\0225\n\021transform"
+          + "_results\030\002 \003(\0132\032.google.firestore.v1.Val"
+          + "ue\"q\n\016DocumentChange\022/\n\010document\030\001 \001(\0132\035"
+          + ".google.firestore.v1.Document\022\022\n\ntarget_"
+          + "ids\030\005 \003(\005\022\032\n\022removed_target_ids\030\006 \003(\005\"m\n"
+          + "\016DocumentDelete\022\020\n\010document\030\001 \001(\t\022\032\n\022rem"
+          + "oved_target_ids\030\006 \003(\005\022-\n\tread_time\030\004 \001(\013"
+          + "2\032.google.protobuf.Timestamp\"m\n\016Document"
+          + "Remove\022\020\n\010document\030\001 \001(\t\022\032\n\022removed_targ"
+          + "et_ids\030\002 \003(\005\022-\n\tread_time\030\004 \001(\0132\032.google"
+          + ".protobuf.Timestamp\"3\n\017ExistenceFilter\022\021"
+          + "\n\ttarget_id\030\001 \001(\005\022\r\n\005count\030\002 \001(\005B\302\001\n\027com"
+          + ".google.firestore.v1B\nWriteProtoP\001Z;clou"
+          + "d.google.com/go/firestore/apiv1/firestor"
+          + "epb;firestorepb\242\002\004GCFS\252\002\031Google.Cloud.Fi"
+          + "restore.V1\312\002\031Google\\Cloud\\Firestore\\V1\352\002"
+          + "\034Google::Cloud::Firestore::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.firestore.v1.CommonProto.getDescriptor(),
+              com.google.firestore.v1.DocumentProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_firestore_v1_Write_descriptor = getDescriptor().getMessageTypes().get(0);
+    internal_static_google_firestore_v1_Write_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_Write_descriptor,
+            new java.lang.String[] {
+              "Update",
+              "Delete",
+              "Transform",
+              "UpdateMask",
+              "UpdateTransforms",
+              "CurrentDocument",
+              "Operation",
+            });
+    internal_static_google_firestore_v1_DocumentTransform_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_firestore_v1_DocumentTransform_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_DocumentTransform_descriptor,
+            new java.lang.String[] {
+              "Document", "FieldTransforms",
+            });
+    internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor =
+        internal_static_google_firestore_v1_DocumentTransform_descriptor.getNestedTypes().get(0);
+    internal_static_google_firestore_v1_DocumentTransform_FieldTransform_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor,
+            new java.lang.String[] {
+              "FieldPath",
+              "SetToServerValue",
+              "Increment",
+              "Maximum",
+              "Minimum",
+              "AppendMissingElements",
+              "RemoveAllFromArray",
+              "TransformType",
+            });
+    internal_static_google_firestore_v1_WriteResult_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_firestore_v1_WriteResult_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_WriteResult_descriptor,
+            new java.lang.String[] {
+              "UpdateTime", "TransformResults",
+            });
+    internal_static_google_firestore_v1_DocumentChange_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_firestore_v1_DocumentChange_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_DocumentChange_descriptor,
+            new java.lang.String[] {
+              "Document", "TargetIds", "RemovedTargetIds",
+            });
+    internal_static_google_firestore_v1_DocumentDelete_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_firestore_v1_DocumentDelete_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_DocumentDelete_descriptor,
+            new java.lang.String[] {
+              "Document", "RemovedTargetIds", "ReadTime",
+            });
+    internal_static_google_firestore_v1_DocumentRemove_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_firestore_v1_DocumentRemove_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_DocumentRemove_descriptor,
+            new java.lang.String[] {
+              "Document", "RemovedTargetIds", "ReadTime",
+            });
+    internal_static_google_firestore_v1_ExistenceFilter_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_firestore_v1_ExistenceFilter_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_firestore_v1_ExistenceFilter_descriptor,
+            new java.lang.String[] {
+              "TargetId", "Count",
+            });
+    com.google.firestore.v1.CommonProto.getDescriptor();
+    com.google.firestore.v1.DocumentProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java
index 0d18bd309..cc02a3927 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The request for [Firestore.Write][google.firestore.v1.Firestore.Write].
  * The first request creates a stream, or resumes an existing one from a token.
@@ -16,15 +33,16 @@
  *
  * Protobuf type {@code google.firestore.v1.WriteRequest}
  */
-public final class WriteRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WriteRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteRequest)
     WriteRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WriteRequest.newBuilder() to construct.
   private WriteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private WriteRequest() {
     database_ = "";
     streamId_ = "";
@@ -34,45 +52,48 @@ private WriteRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WriteRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_WriteRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 5:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
+    return com.google.firestore.v1.FirestoreProto
+        .internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.firestore.v1.WriteRequest.class, com.google.firestore.v1.WriteRequest.Builder.class);
+            com.google.firestore.v1.WriteRequest.class,
+            com.google.firestore.v1.WriteRequest.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object database_ = "";
   /**
+   *
+   *
    * 
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -80,6 +101,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ @java.lang.Override @@ -88,14 +110,15 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -103,16 +126,15 @@ public java.lang.String getDatabase() {
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -121,9 +143,12 @@ public java.lang.String getDatabase() { } public static final int STREAM_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object streamId_ = ""; /** + * + * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -131,6 +156,7 @@ public java.lang.String getDatabase() {
    * 
* * string stream_id = 2; + * * @return The streamId. */ @java.lang.Override @@ -139,14 +165,15 @@ public java.lang.String getStreamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } } /** + * + * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -154,16 +181,15 @@ public java.lang.String getStreamId() {
    * 
* * string stream_id = 2; + * * @return The bytes for streamId. */ @java.lang.Override - public com.google.protobuf.ByteString - getStreamIdBytes() { + public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); streamId_ = b; return b; } else { @@ -172,9 +198,12 @@ public java.lang.String getStreamId() { } public static final int WRITES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List writes_; /** + * + * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -190,6 +219,8 @@ public java.util.List getWritesList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -201,11 +232,12 @@ public java.util.List getWritesList() {
    * repeated .google.firestore.v1.Write writes = 3;
    */
   @java.lang.Override
-  public java.util.List 
-      getWritesOrBuilderList() {
+  public java.util.List getWritesOrBuilderList() {
     return writes_;
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -221,6 +253,8 @@ public int getWritesCount() {
     return writes_.size();
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -236,6 +270,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
     return writes_.get(index);
   }
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -247,14 +283,15 @@ public com.google.firestore.v1.Write getWrites(int index) {
    * repeated .google.firestore.v1.Write writes = 3;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-      int index) {
+  public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
     return writes_.get(index);
   }
 
   public static final int STREAM_TOKEN_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * A stream token that was previously sent by the server.
    * The client should set this field to the token from the most recent
@@ -269,6 +306,7 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
    * 
* * bytes stream_token = 4; + * * @return The streamToken. */ @java.lang.Override @@ -277,32 +315,34 @@ public com.google.protobuf.ByteString getStreamToken() { } public static final int LABELS_FIELD_NUMBER = 5; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this write request.
    * 
@@ -310,20 +350,21 @@ public int getLabelsCount() { * map<string, string> labels = 5; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels associated with this write request.
    * 
@@ -335,6 +376,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels associated with this write request.
    * 
@@ -342,17 +385,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels associated with this write request.
    * 
@@ -360,11 +405,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 5; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -372,6 +417,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,8 +429,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -397,12 +442,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!streamToken_.isEmpty()) { output.writeBytes(4, streamToken_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 5); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); getUnknownFields().writeTo(output); } @@ -419,22 +460,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, streamId_); } for (int i = 0; i < writes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, writes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, writes_.get(i)); } if (!streamToken_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, streamToken_); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, labels__); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, streamToken_); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -444,23 +483,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.firestore.v1.WriteRequest)) { return super.equals(obj); } com.google.firestore.v1.WriteRequest other = (com.google.firestore.v1.WriteRequest) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (!getStreamId() - .equals(other.getStreamId())) return false; - if (!getWritesList() - .equals(other.getWritesList())) return false; - if (!getStreamToken() - .equals(other.getStreamToken())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; + if (!getStreamId().equals(other.getStreamId())) return false; + if (!getWritesList().equals(other.getWritesList())) return false; + if (!getStreamToken().equals(other.getStreamToken())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -491,97 +525,103 @@ public int hashCode() { return hash; } - public static com.google.firestore.v1.WriteRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.firestore.v1.WriteRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.WriteRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1.WriteRequest parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.firestore.v1.WriteRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.WriteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.WriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.firestore.v1.WriteRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.firestore.v1.WriteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.WriteRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.WriteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.firestore.v1.WriteRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.firestore.v1.WriteRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.firestore.v1.WriteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.firestore.v1.WriteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request for [Firestore.Write][google.firestore.v1.Firestore.Write].
    * The first request creates a stream, or resumes an existing one from a token.
@@ -594,55 +634,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.firestore.v1.WriteRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteRequest)
       com.google.firestore.v1.WriteRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_WriteRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 5:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 5:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_WriteRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.firestore.v1.WriteRequest.class, com.google.firestore.v1.WriteRequest.Builder.class);
+              com.google.firestore.v1.WriteRequest.class,
+              com.google.firestore.v1.WriteRequest.Builder.class);
     }
 
     // Construct using com.google.firestore.v1.WriteRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -662,9 +699,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.firestore.v1.FirestoreProto
+          .internal_static_google_firestore_v1_WriteRequest_descriptor;
     }
 
     @java.lang.Override
@@ -685,7 +722,9 @@ public com.google.firestore.v1.WriteRequest build() {
     public com.google.firestore.v1.WriteRequest buildPartial() {
       com.google.firestore.v1.WriteRequest result = new com.google.firestore.v1.WriteRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -723,38 +762,39 @@ private void buildPartial0(com.google.firestore.v1.WriteRequest result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.firestore.v1.WriteRequest) {
-        return mergeFrom((com.google.firestore.v1.WriteRequest)other);
+        return mergeFrom((com.google.firestore.v1.WriteRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -791,9 +831,10 @@ public Builder mergeFrom(com.google.firestore.v1.WriteRequest other) {
             writesBuilder_ = null;
             writes_ = other.writes_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            writesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getWritesFieldBuilder() : null;
+            writesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getWritesFieldBuilder()
+                    : null;
           } else {
             writesBuilder_.addAllMessages(other.writes_);
           }
@@ -802,8 +843,7 @@ public Builder mergeFrom(com.google.firestore.v1.WriteRequest other) {
       if (other.getStreamToken() != com.google.protobuf.ByteString.EMPTY) {
         setStreamToken(other.getStreamToken());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000010;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -831,49 +871,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              database_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              streamId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.firestore.v1.Write m =
-                  input.readMessage(
-                      com.google.firestore.v1.Write.parser(),
-                      extensionRegistry);
-              if (writesBuilder_ == null) {
-                ensureWritesIsMutable();
-                writes_.add(m);
-              } else {
-                writesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 34: {
-              streamToken_ = input.readBytes();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                database_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                streamId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.firestore.v1.Write m =
+                    input.readMessage(com.google.firestore.v1.Write.parser(), extensionRegistry);
+                if (writesBuilder_ == null) {
+                  ensureWritesIsMutable();
+                  writes_.add(m);
+                } else {
+                  writesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 34:
+              {
+                streamToken_ = input.readBytes();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -883,10 +929,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object database_ = "";
     /**
+     *
+     *
      * 
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -894,13 +943,13 @@ public Builder mergeFrom(
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -909,6 +958,8 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -916,15 +967,14 @@ public java.lang.String getDatabase() {
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -932,6 +982,8 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -939,18 +991,22 @@ public java.lang.String getDatabase() {
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabase(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } database_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -958,6 +1014,7 @@ public Builder setDatabase(
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDatabase() { @@ -967,6 +1024,8 @@ public Builder clearDatabase() { return this; } /** + * + * *
      * Required. The database name. In the format:
      * `projects/{project_id}/databases/{database_id}`.
@@ -974,12 +1033,14 @@ public Builder clearDatabase() {
      * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); database_ = value; bitField0_ |= 0x00000001; @@ -989,6 +1050,8 @@ public Builder setDatabaseBytes( private java.lang.Object streamId_ = ""; /** + * + * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -996,13 +1059,13 @@ public Builder setDatabaseBytes(
      * 
* * string stream_id = 2; + * * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; @@ -1011,6 +1074,8 @@ public java.lang.String getStreamId() { } } /** + * + * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1018,15 +1083,14 @@ public java.lang.String getStreamId() {
      * 
* * string stream_id = 2; + * * @return The bytes for streamId. */ - public com.google.protobuf.ByteString - getStreamIdBytes() { + public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); streamId_ = b; return b; } else { @@ -1034,6 +1098,8 @@ public java.lang.String getStreamId() { } } /** + * + * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1041,18 +1107,22 @@ public java.lang.String getStreamId() {
      * 
* * string stream_id = 2; + * * @param value The streamId to set. * @return This builder for chaining. */ - public Builder setStreamId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStreamId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } streamId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1060,6 +1130,7 @@ public Builder setStreamId(
      * 
* * string stream_id = 2; + * * @return This builder for chaining. */ public Builder clearStreamId() { @@ -1069,6 +1140,8 @@ public Builder clearStreamId() { return this; } /** + * + * *
      * The ID of the write stream to resume.
      * This may only be set in the first message. When left empty, a new write
@@ -1076,12 +1149,14 @@ public Builder clearStreamId() {
      * 
* * string stream_id = 2; + * * @param value The bytes for streamId to set. * @return This builder for chaining. */ - public Builder setStreamIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); streamId_ = value; bitField0_ |= 0x00000002; @@ -1090,18 +1165,24 @@ public Builder setStreamIdBytes( } private java.util.List writes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWritesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { writes_ = new java.util.ArrayList(writes_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> writesBuilder_; + com.google.firestore.v1.Write, + com.google.firestore.v1.Write.Builder, + com.google.firestore.v1.WriteOrBuilder> + writesBuilder_; /** + * + * *
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1120,6 +1201,8 @@ public java.util.List getWritesList() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1138,6 +1221,8 @@ public int getWritesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1156,6 +1241,8 @@ public com.google.firestore.v1.Write getWrites(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1166,8 +1253,7 @@ public com.google.firestore.v1.Write getWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder setWrites(
-        int index, com.google.firestore.v1.Write value) {
+    public Builder setWrites(int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1181,6 +1267,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1191,8 +1279,7 @@ public Builder setWrites(
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder setWrites(
-        int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.set(index, builderForValue.build());
@@ -1203,6 +1290,8 @@ public Builder setWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1227,6 +1316,8 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1237,8 +1328,7 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder addWrites(
-        int index, com.google.firestore.v1.Write value) {
+    public Builder addWrites(int index, com.google.firestore.v1.Write value) {
       if (writesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1252,6 +1342,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1262,8 +1354,7 @@ public Builder addWrites(
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder addWrites(
-        com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(builderForValue.build());
@@ -1274,6 +1365,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1284,8 +1377,7 @@ public Builder addWrites(
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public Builder addWrites(
-        int index, com.google.firestore.v1.Write.Builder builderForValue) {
+    public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builderForValue) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
         writes_.add(index, builderForValue.build());
@@ -1296,6 +1388,8 @@ public Builder addWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1310,8 +1404,7 @@ public Builder addAllWrites(
         java.lang.Iterable values) {
       if (writesBuilder_ == null) {
         ensureWritesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, writes_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writes_);
         onChanged();
       } else {
         writesBuilder_.addAllMessages(values);
@@ -1319,6 +1412,8 @@ public Builder addAllWrites(
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1340,6 +1435,8 @@ public Builder clearWrites() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1361,6 +1458,8 @@ public Builder removeWrites(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1371,11 +1470,12 @@ public Builder removeWrites(int index) {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.Write.Builder getWritesBuilder(
-        int index) {
+    public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
       return getWritesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1386,14 +1486,16 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
       if (writesBuilder_ == null) {
-        return writes_.get(index);  } else {
+        return writes_.get(index);
+      } else {
         return writesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1404,8 +1506,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public java.util.List 
-         getWritesOrBuilderList() {
+    public java.util.List
+        getWritesOrBuilderList() {
       if (writesBuilder_ != null) {
         return writesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1413,6 +1515,8 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1424,10 +1528,11 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
      * repeated .google.firestore.v1.Write writes = 3;
      */
     public com.google.firestore.v1.Write.Builder addWritesBuilder() {
-      return getWritesFieldBuilder().addBuilder(
-          com.google.firestore.v1.Write.getDefaultInstance());
+      return getWritesFieldBuilder().addBuilder(com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1438,12 +1543,13 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public com.google.firestore.v1.Write.Builder addWritesBuilder(
-        int index) {
-      return getWritesFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.Write.getDefaultInstance());
+    public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
+      return getWritesFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.Write.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The writes to apply.
      * Always executed atomically and in order.
@@ -1454,20 +1560,22 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(
      *
      * repeated .google.firestore.v1.Write writes = 3;
      */
-    public java.util.List 
-         getWritesBuilderList() {
+    public java.util.List getWritesBuilderList() {
       return getWritesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder> 
+            com.google.firestore.v1.Write,
+            com.google.firestore.v1.Write.Builder,
+            com.google.firestore.v1.WriteOrBuilder>
         getWritesFieldBuilder() {
       if (writesBuilder_ == null) {
-        writesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Write, com.google.firestore.v1.Write.Builder, com.google.firestore.v1.WriteOrBuilder>(
-                writes_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        writesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.Write,
+                com.google.firestore.v1.Write.Builder,
+                com.google.firestore.v1.WriteOrBuilder>(
+                writes_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         writes_ = null;
       }
       return writesBuilder_;
@@ -1475,6 +1583,8 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(
 
     private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1489,6 +1599,7 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(
      * 
* * bytes stream_token = 4; + * * @return The streamToken. */ @java.lang.Override @@ -1496,6 +1607,8 @@ public com.google.protobuf.ByteString getStreamToken() { return streamToken_; } /** + * + * *
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1510,17 +1623,22 @@ public com.google.protobuf.ByteString getStreamToken() {
      * 
* * bytes stream_token = 4; + * * @param value The streamToken to set. * @return This builder for chaining. */ public Builder setStreamToken(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } streamToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * A stream token that was previously sent by the server.
      * The client should set this field to the token from the most recent
@@ -1535,6 +1653,7 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 4; + * * @return This builder for chaining. */ public Builder clearStreamToken() { @@ -1544,21 +1663,19 @@ public Builder clearStreamToken() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1567,10 +1684,13 @@ public Builder clearStreamToken() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this write request.
      * 
@@ -1578,20 +1698,21 @@ public int getLabelsCount() { * map<string, string> labels = 5; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels associated with this write request.
      * 
@@ -1603,6 +1724,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels associated with this write request.
      * 
@@ -1610,17 +1733,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 5; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels associated with this write request.
      * 
@@ -1628,79 +1753,81 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 5; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels associated with this write request.
      * 
* * map<string, string> labels = 5; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000010; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels associated with this write request.
      * 
* * map<string, string> labels = 5; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * Labels associated with this write request.
      * 
* * map<string, string> labels = 5; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1710,12 +1837,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1.WriteRequest) } // @@protoc_insertion_point(class_scope:google.firestore.v1.WriteRequest) private static final com.google.firestore.v1.WriteRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.firestore.v1.WriteRequest(); } @@ -1724,27 +1851,27 @@ public static com.google.firestore.v1.WriteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1759,6 +1886,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.firestore.v1.WriteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java index 1b2d4069e..620e18290 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; -public interface WriteRequestOrBuilder extends +public interface WriteRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -15,10 +33,13 @@ public interface WriteRequestOrBuilder extends
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * Required. The database name. In the format:
    * `projects/{project_id}/databases/{database_id}`.
@@ -26,12 +47,14 @@ public interface WriteRequestOrBuilder extends
    * 
* * string database = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -39,10 +62,13 @@ public interface WriteRequestOrBuilder extends
    * 
* * string stream_id = 2; + * * @return The streamId. */ java.lang.String getStreamId(); /** + * + * *
    * The ID of the write stream to resume.
    * This may only be set in the first message. When left empty, a new write
@@ -50,12 +76,14 @@ public interface WriteRequestOrBuilder extends
    * 
* * string stream_id = 2; + * * @return The bytes for streamId. */ - com.google.protobuf.ByteString - getStreamIdBytes(); + com.google.protobuf.ByteString getStreamIdBytes(); /** + * + * *
    * The writes to apply.
    * Always executed atomically and in order.
@@ -66,9 +94,10 @@ public interface WriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  java.util.List 
-      getWritesList();
+  java.util.List getWritesList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -81,6 +110,8 @@ public interface WriteRequestOrBuilder extends
    */
   com.google.firestore.v1.Write getWrites(int index);
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -93,6 +124,8 @@ public interface WriteRequestOrBuilder extends
    */
   int getWritesCount();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -103,9 +136,10 @@ public interface WriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  java.util.List 
-      getWritesOrBuilderList();
+  java.util.List getWritesOrBuilderList();
   /**
+   *
+   *
    * 
    * The writes to apply.
    * Always executed atomically and in order.
@@ -116,10 +150,11 @@ public interface WriteRequestOrBuilder extends
    *
    * repeated .google.firestore.v1.Write writes = 3;
    */
-  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A stream token that was previously sent by the server.
    * The client should set this field to the token from the most recent
@@ -134,11 +169,14 @@ com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(
    * 
* * bytes stream_token = 4; + * * @return The streamToken. */ com.google.protobuf.ByteString getStreamToken(); /** + * + * *
    * Labels associated with this write request.
    * 
@@ -147,30 +185,31 @@ com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder( */ int getLabelsCount(); /** + * + * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels associated with this write request.
    * 
@@ -178,17 +217,18 @@ boolean containsLabels( * map<string, string> labels = 5; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels associated with this write request.
    * 
* * map<string, string> labels = 5; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java index b14857df6..1b7951aec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java +++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/firestore/v1/firestore.proto package com.google.firestore.v1; /** + * + * *
  * The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
  * 
* * Protobuf type {@code google.firestore.v1.WriteResponse} */ -public final class WriteResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WriteResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteResponse) WriteResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WriteResponse.newBuilder() to construct. private WriteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WriteResponse() { streamId_ = ""; streamToken_ = com.google.protobuf.ByteString.EMPTY; @@ -27,39 +45,44 @@ private WriteResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResponse.class, com.google.firestore.v1.WriteResponse.Builder.class); + com.google.firestore.v1.WriteResponse.class, + com.google.firestore.v1.WriteResponse.Builder.class); } public static final int STREAM_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object streamId_ = ""; /** + * + * *
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; + * * @return The streamId. */ @java.lang.Override @@ -68,30 +91,30 @@ public java.lang.String getStreamId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } } /** + * + * *
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; + * * @return The bytes for streamId. */ @java.lang.Override - public com.google.protobuf.ByteString - getStreamIdBytes() { + public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); streamId_ = b; return b; } else { @@ -102,6 +125,8 @@ public java.lang.String getStreamId() { public static final int STREAM_TOKEN_FIELD_NUMBER = 2; private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * A token that represents the position of this response in the stream.
    * This can be used by a client to resume the stream at this point.
@@ -109,6 +134,7 @@ public java.lang.String getStreamId() {
    * 
* * bytes stream_token = 2; + * * @return The streamToken. */ @java.lang.Override @@ -117,9 +143,12 @@ public com.google.protobuf.ByteString getStreamToken() { } public static final int WRITE_RESULTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List writeResults_; /** + * + * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -133,6 +162,8 @@ public java.util.List getWriteResultsList()
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -142,11 +173,13 @@ public java.util.List getWriteResultsList()
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getWriteResultsOrBuilderList() {
     return writeResults_;
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -160,6 +193,8 @@ public int getWriteResultsCount() {
     return writeResults_.size();
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -173,6 +208,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
     return writeResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -182,20 +219,22 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
   @java.lang.Override
-  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-      int index) {
+  public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
     return writeResults_.get(index);
   }
 
   public static final int COMMIT_TIME_FIELD_NUMBER = 4;
   private com.google.protobuf.Timestamp commitTime_;
   /**
+   *
+   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; + * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -203,12 +242,15 @@ public boolean hasCommitTime() { return commitTime_ != null; } /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; + * * @return The commitTime. */ @java.lang.Override @@ -216,6 +258,8 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
@@ -229,6 +273,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -240,8 +285,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, streamId_);
     }
@@ -267,16 +311,13 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, streamId_);
     }
     if (!streamToken_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(2, streamToken_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, streamToken_);
     }
     for (int i = 0; i < writeResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, writeResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, writeResults_.get(i));
     }
     if (commitTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getCommitTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,23 +327,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.WriteResponse)) {
       return super.equals(obj);
     }
     com.google.firestore.v1.WriteResponse other = (com.google.firestore.v1.WriteResponse) obj;
 
-    if (!getStreamId()
-        .equals(other.getStreamId())) return false;
-    if (!getStreamToken()
-        .equals(other.getStreamToken())) return false;
-    if (!getWriteResultsList()
-        .equals(other.getWriteResultsList())) return false;
+    if (!getStreamId().equals(other.getStreamId())) return false;
+    if (!getStreamToken().equals(other.getStreamToken())) return false;
+    if (!getWriteResultsList().equals(other.getWriteResultsList())) return false;
     if (hasCommitTime() != other.hasCommitTime()) return false;
     if (hasCommitTime()) {
-      if (!getCommitTime()
-          .equals(other.getCommitTime())) return false;
+      if (!getCommitTime().equals(other.getCommitTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -332,130 +369,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.WriteResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.WriteResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.WriteResponse parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.WriteResponse parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.WriteResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.WriteResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.WriteResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
    * 
* * Protobuf type {@code google.firestore.v1.WriteResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteResponse) com.google.firestore.v1.WriteResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResponse.class, com.google.firestore.v1.WriteResponse.Builder.class); + com.google.firestore.v1.WriteResponse.class, + com.google.firestore.v1.WriteResponse.Builder.class); } // Construct using com.google.firestore.v1.WriteResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.FirestoreProto.internal_static_google_firestore_v1_WriteResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.FirestoreProto + .internal_static_google_firestore_v1_WriteResponse_descriptor; } @java.lang.Override @@ -499,9 +541,12 @@ public com.google.firestore.v1.WriteResponse build() { @java.lang.Override public com.google.firestore.v1.WriteResponse buildPartial() { - com.google.firestore.v1.WriteResponse result = new com.google.firestore.v1.WriteResponse(this); + com.google.firestore.v1.WriteResponse result = + new com.google.firestore.v1.WriteResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -527,9 +572,7 @@ private void buildPartial0(com.google.firestore.v1.WriteResponse result) { result.streamToken_ = streamToken_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null - ? commitTime_ - : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); } } @@ -537,38 +580,39 @@ private void buildPartial0(com.google.firestore.v1.WriteResponse result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.WriteResponse) { - return mergeFrom((com.google.firestore.v1.WriteResponse)other); + return mergeFrom((com.google.firestore.v1.WriteResponse) other); } else { super.mergeFrom(other); return this; @@ -603,9 +647,10 @@ public Builder mergeFrom(com.google.firestore.v1.WriteResponse other) { writeResultsBuilder_ = null; writeResults_ = other.writeResults_; bitField0_ = (bitField0_ & ~0x00000004); - writeResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWriteResultsFieldBuilder() : null; + writeResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWriteResultsFieldBuilder() + : null; } else { writeResultsBuilder_.addAllMessages(other.writeResults_); } @@ -640,42 +685,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - streamId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - streamToken_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.firestore.v1.WriteResult m = - input.readMessage( - com.google.firestore.v1.WriteResult.parser(), - extensionRegistry); - if (writeResultsBuilder_ == null) { - ensureWriteResultsIsMutable(); - writeResults_.add(m); - } else { - writeResultsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - input.readMessage( - getCommitTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + streamId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + streamToken_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.firestore.v1.WriteResult m = + input.readMessage( + com.google.firestore.v1.WriteResult.parser(), extensionRegistry); + if (writeResultsBuilder_ == null) { + ensureWriteResultsIsMutable(); + writeResults_.add(m); + } else { + writeResultsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -685,23 +732,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object streamId_ = ""; /** + * + * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; + * * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; @@ -710,21 +760,22 @@ public java.lang.String getStreamId() { } } /** + * + * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; + * * @return The bytes for streamId. */ - public com.google.protobuf.ByteString - getStreamIdBytes() { + public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); streamId_ = b; return b; } else { @@ -732,30 +783,37 @@ public java.lang.String getStreamId() { } } /** + * + * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; + * * @param value The streamId to set. * @return This builder for chaining. */ - public Builder setStreamId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStreamId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } streamId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; + * * @return This builder for chaining. */ public Builder clearStreamId() { @@ -765,18 +823,22 @@ public Builder clearStreamId() { return this; } /** + * + * *
      * The ID of the stream.
      * Only set on the first message, when a new stream was created.
      * 
* * string stream_id = 1; + * * @param value The bytes for streamId to set. * @return This builder for chaining. */ - public Builder setStreamIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStreamIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); streamId_ = value; bitField0_ |= 0x00000001; @@ -786,6 +848,8 @@ public Builder setStreamIdBytes( private com.google.protobuf.ByteString streamToken_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * A token that represents the position of this response in the stream.
      * This can be used by a client to resume the stream at this point.
@@ -793,6 +857,7 @@ public Builder setStreamIdBytes(
      * 
* * bytes stream_token = 2; + * * @return The streamToken. */ @java.lang.Override @@ -800,6 +865,8 @@ public com.google.protobuf.ByteString getStreamToken() { return streamToken_; } /** + * + * *
      * A token that represents the position of this response in the stream.
      * This can be used by a client to resume the stream at this point.
@@ -807,17 +874,22 @@ public com.google.protobuf.ByteString getStreamToken() {
      * 
* * bytes stream_token = 2; + * * @param value The streamToken to set. * @return This builder for chaining. */ public Builder setStreamToken(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } streamToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token that represents the position of this response in the stream.
      * This can be used by a client to resume the stream at this point.
@@ -825,6 +897,7 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) {
      * 
* * bytes stream_token = 2; + * * @return This builder for chaining. */ public Builder clearStreamToken() { @@ -835,18 +908,24 @@ public Builder clearStreamToken() { } private java.util.List writeResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWriteResultsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { writeResults_ = new java.util.ArrayList(writeResults_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> writeResultsBuilder_; + com.google.firestore.v1.WriteResult, + com.google.firestore.v1.WriteResult.Builder, + com.google.firestore.v1.WriteResultOrBuilder> + writeResultsBuilder_; /** + * + * *
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -863,6 +942,8 @@ public java.util.List getWriteResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -879,6 +960,8 @@ public int getWriteResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -895,6 +978,8 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -903,8 +988,7 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public Builder setWriteResults(
-        int index, com.google.firestore.v1.WriteResult value) {
+    public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -918,6 +1002,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -938,6 +1024,8 @@ public Builder setWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -960,6 +1048,8 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -968,8 +1058,7 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public Builder addWriteResults(
-        int index, com.google.firestore.v1.WriteResult value) {
+    public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult value) {
       if (writeResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -983,6 +1072,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -991,8 +1082,7 @@ public Builder addWriteResults(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public Builder addWriteResults(
-        com.google.firestore.v1.WriteResult.Builder builderForValue) {
+    public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder builderForValue) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
         writeResults_.add(builderForValue.build());
@@ -1003,6 +1093,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1023,6 +1115,8 @@ public Builder addWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1035,8 +1129,7 @@ public Builder addAllWriteResults(
         java.lang.Iterable values) {
       if (writeResultsBuilder_ == null) {
         ensureWriteResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, writeResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeResults_);
         onChanged();
       } else {
         writeResultsBuilder_.addAllMessages(values);
@@ -1044,6 +1137,8 @@ public Builder addAllWriteResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1063,6 +1158,8 @@ public Builder clearWriteResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1082,6 +1179,8 @@ public Builder removeWriteResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1090,11 +1189,12 @@ public Builder removeWriteResults(int index) {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int index) {
       return getWriteResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1103,14 +1203,16 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-        int index) {
+    public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index) {
       if (writeResultsBuilder_ == null) {
-        return writeResults_.get(index);  } else {
+        return writeResults_.get(index);
+      } else {
         return writeResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1119,8 +1221,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public java.util.List 
-         getWriteResultsOrBuilderList() {
+    public java.util.List
+        getWriteResultsOrBuilderList() {
       if (writeResultsBuilder_ != null) {
         return writeResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1128,6 +1230,8 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1137,10 +1241,12 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
     public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
-      return getWriteResultsFieldBuilder().addBuilder(
-          com.google.firestore.v1.WriteResult.getDefaultInstance());
+      return getWriteResultsFieldBuilder()
+          .addBuilder(com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1149,12 +1255,13 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
-        int index) {
-      return getWriteResultsFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.WriteResult.getDefaultInstance());
+    public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int index) {
+      return getWriteResultsFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.WriteResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of applying the writes.
      * This i-th write result corresponds to the i-th write in the
@@ -1163,20 +1270,23 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
      *
      * repeated .google.firestore.v1.WriteResult write_results = 3;
      */
-    public java.util.List 
-         getWriteResultsBuilderList() {
+    public java.util.List
+        getWriteResultsBuilderList() {
       return getWriteResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder> 
+            com.google.firestore.v1.WriteResult,
+            com.google.firestore.v1.WriteResult.Builder,
+            com.google.firestore.v1.WriteResultOrBuilder>
         getWriteResultsFieldBuilder() {
       if (writeResultsBuilder_ == null) {
-        writeResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.WriteResult, com.google.firestore.v1.WriteResult.Builder, com.google.firestore.v1.WriteResultOrBuilder>(
-                writeResults_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        writeResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.WriteResult,
+                com.google.firestore.v1.WriteResult.Builder,
+                com.google.firestore.v1.WriteResultOrBuilder>(
+                writeResults_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         writeResults_ = null;
       }
       return writeResultsBuilder_;
@@ -1184,36 +1294,49 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(
 
     private com.google.protobuf.Timestamp commitTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        commitTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
      * 
* * .google.protobuf.Timestamp commit_time = 4; + * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
      * 
* * .google.protobuf.Timestamp commit_time = 4; + * * @return The commitTime. */ public com.google.protobuf.Timestamp getCommitTime() { if (commitTimeBuilder_ == null) { - return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; + return commitTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTime_; } else { return commitTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1235,6 +1358,8 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1242,8 +1367,7 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp commit_time = 4;
      */
-    public Builder setCommitTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (commitTimeBuilder_ == null) {
         commitTime_ = builderForValue.build();
       } else {
@@ -1254,6 +1378,8 @@ public Builder setCommitTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1263,9 +1389,9 @@ public Builder setCommitTime(
      */
     public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          commitTime_ != null &&
-          commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && commitTime_ != null
+            && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCommitTimeBuilder().mergeFrom(value);
         } else {
           commitTime_ = value;
@@ -1278,6 +1404,8 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1296,6 +1424,8 @@ public Builder clearCommitTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1309,6 +1439,8 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
       return getCommitTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1320,11 +1452,14 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
       if (commitTimeBuilder_ != null) {
         return commitTimeBuilder_.getMessageOrBuilder();
       } else {
-        return commitTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_;
+        return commitTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : commitTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which the commit occurred. Any read with an equal or greater
      * `read_time` is guaranteed to see the effects of the write.
@@ -1333,21 +1468,24 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
      * .google.protobuf.Timestamp commit_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getCommitTimeFieldBuilder() {
       if (commitTimeBuilder_ == null) {
-        commitTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getCommitTime(),
-                getParentForChildren(),
-                isClean());
+        commitTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getCommitTime(), getParentForChildren(), isClean());
         commitTime_ = null;
       }
       return commitTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1357,12 +1495,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.WriteResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.WriteResponse)
   private static final com.google.firestore.v1.WriteResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.WriteResponse();
   }
@@ -1371,27 +1509,27 @@ public static com.google.firestore.v1.WriteResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public WriteResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public WriteResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1406,6 +1544,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.WriteResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
index 8bd57a4ab..f92a2e255 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResponseOrBuilder.java
@@ -1,35 +1,58 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/firestore.proto
 
 package com.google.firestore.v1;
 
-public interface WriteResponseOrBuilder extends
+public interface WriteResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; + * * @return The streamId. */ java.lang.String getStreamId(); /** + * + * *
    * The ID of the stream.
    * Only set on the first message, when a new stream was created.
    * 
* * string stream_id = 1; + * * @return The bytes for streamId. */ - com.google.protobuf.ByteString - getStreamIdBytes(); + com.google.protobuf.ByteString getStreamIdBytes(); /** + * + * *
    * A token that represents the position of this response in the stream.
    * This can be used by a client to resume the stream at this point.
@@ -37,11 +60,14 @@ public interface WriteResponseOrBuilder extends
    * 
* * bytes stream_token = 2; + * * @return The streamToken. */ com.google.protobuf.ByteString getStreamToken(); /** + * + * *
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -50,9 +76,10 @@ public interface WriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  java.util.List 
-      getWriteResultsList();
+  java.util.List getWriteResultsList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -63,6 +90,8 @@ public interface WriteResponseOrBuilder extends
    */
   com.google.firestore.v1.WriteResult getWriteResults(int index);
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -73,6 +102,8 @@ public interface WriteResponseOrBuilder extends
    */
   int getWriteResultsCount();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -81,9 +112,11 @@ public interface WriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  java.util.List 
+  java.util.List
       getWriteResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * The result of applying the writes.
    * This i-th write result corresponds to the i-th write in the
@@ -92,30 +125,37 @@ public interface WriteResponseOrBuilder extends
    *
    * repeated .google.firestore.v1.WriteResult write_results = 3;
    */
-  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(
-      int index);
+  com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; + * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
    * 
* * .google.protobuf.Timestamp commit_time = 4; + * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** + * + * *
    * The time at which the commit occurred. Any read with an equal or greater
    * `read_time` is guaranteed to see the effects of the write.
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
index f9f0e0183..9f934324a 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java
@@ -1,56 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
 /**
+ *
+ *
  * 
  * The result of applying a write.
  * 
* * Protobuf type {@code google.firestore.v1.WriteResult} */ -public final class WriteResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WriteResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.firestore.v1.WriteResult) WriteResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WriteResult.newBuilder() to construct. private WriteResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WriteResult() { transformResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResult.class, com.google.firestore.v1.WriteResult.Builder.class); + com.google.firestore.v1.WriteResult.class, + com.google.firestore.v1.WriteResult.Builder.class); } public static final int UPDATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -66,6 +88,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -74,6 +98,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ @java.lang.Override @@ -81,6 +106,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -96,9 +123,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   public static final int TRANSFORM_RESULTS_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List transformResults_;
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -112,6 +142,8 @@ public java.util.List getTransformResultsList() {
     return transformResults_;
   }
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -121,11 +153,13 @@ public java.util.List getTransformResultsList() {
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTransformResultsOrBuilderList() {
     return transformResults_;
   }
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -139,6 +173,8 @@ public int getTransformResultsCount() {
     return transformResults_.size();
   }
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -152,6 +188,8 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
     return transformResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -161,12 +199,12 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
   @java.lang.Override
-  public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
-      int index) {
+  public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index) {
     return transformResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -178,8 +216,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (updateTime_ != null) {
       output.writeMessage(1, getUpdateTime());
     }
@@ -196,12 +233,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateTime());
     }
     for (int i = 0; i < transformResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, transformResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, transformResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -211,7 +246,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.firestore.v1.WriteResult)) {
       return super.equals(obj);
@@ -220,11 +255,9 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime()
-          .equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
     }
-    if (!getTransformResultsList()
-        .equals(other.getTransformResultsList())) return false;
+    if (!getTransformResultsList().equals(other.getTransformResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -249,130 +282,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.firestore.v1.WriteResult parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.firestore.v1.WriteResult parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.WriteResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.firestore.v1.WriteResult parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.firestore.v1.WriteResult parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.WriteResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.firestore.v1.WriteResult parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.WriteResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResult parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.WriteResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.firestore.v1.WriteResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.firestore.v1.WriteResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.firestore.v1.WriteResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result of applying a write.
    * 
* * Protobuf type {@code google.firestore.v1.WriteResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.firestore.v1.WriteResult) com.google.firestore.v1.WriteResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_fieldAccessorTable + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.WriteResult.class, com.google.firestore.v1.WriteResult.Builder.class); + com.google.firestore.v1.WriteResult.class, + com.google.firestore.v1.WriteResult.Builder.class); } // Construct using com.google.firestore.v1.WriteResult.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.firestore.v1.WriteProto.internal_static_google_firestore_v1_WriteResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.firestore.v1.WriteProto + .internal_static_google_firestore_v1_WriteResult_descriptor; } @java.lang.Override @@ -416,7 +454,9 @@ public com.google.firestore.v1.WriteResult build() { public com.google.firestore.v1.WriteResult buildPartial() { com.google.firestore.v1.WriteResult result = new com.google.firestore.v1.WriteResult(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -436,9 +476,7 @@ private void buildPartialRepeatedFields(com.google.firestore.v1.WriteResult resu private void buildPartial0(com.google.firestore.v1.WriteResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } } @@ -446,38 +484,39 @@ private void buildPartial0(com.google.firestore.v1.WriteResult result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.firestore.v1.WriteResult) { - return mergeFrom((com.google.firestore.v1.WriteResult)other); + return mergeFrom((com.google.firestore.v1.WriteResult) other); } else { super.mergeFrom(other); return this; @@ -507,9 +546,10 @@ public Builder mergeFrom(com.google.firestore.v1.WriteResult other) { transformResultsBuilder_ = null; transformResults_ = other.transformResults_; bitField0_ = (bitField0_ & ~0x00000002); - transformResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransformResultsFieldBuilder() : null; + transformResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransformResultsFieldBuilder() + : null; } else { transformResultsBuilder_.addAllMessages(other.transformResults_); } @@ -541,32 +581,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.firestore.v1.Value m = - input.readMessage( - com.google.firestore.v1.Value.parser(), - extensionRegistry); - if (transformResultsBuilder_ == null) { - ensureTransformResultsIsMutable(); - transformResults_.add(m); - } else { - transformResultsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.firestore.v1.Value m = + input.readMessage(com.google.firestore.v1.Value.parser(), extensionRegistry); + if (transformResultsBuilder_ == null) { + ensureTransformResultsIsMutable(); + transformResults_.add(m); + } else { + transformResultsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -576,12 +615,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -590,12 +635,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -604,16 +652,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -637,6 +690,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -646,8 +701,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 1;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
       } else {
@@ -658,6 +712,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -669,9 +725,9 @@ public Builder setUpdateTime(
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          updateTime_ != null &&
-          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && updateTime_ != null
+            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -684,6 +740,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -704,6 +762,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -719,6 +779,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -732,11 +794,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+        return updateTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : updateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The last update time of the document after applying the write. Not set
      * after a `delete`.
@@ -747,32 +812,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(),
-                getParentForChildren(),
-                isClean());
+        updateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(), getParentForChildren(), isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
     }
 
     private java.util.List transformResults_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTransformResultsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
-        transformResults_ = new java.util.ArrayList(transformResults_);
+        transformResults_ =
+            new java.util.ArrayList(transformResults_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> transformResultsBuilder_;
+            com.google.firestore.v1.Value,
+            com.google.firestore.v1.Value.Builder,
+            com.google.firestore.v1.ValueOrBuilder>
+        transformResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -789,6 +864,8 @@ public java.util.List getTransformResultsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -805,6 +882,8 @@ public int getTransformResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -821,6 +900,8 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -829,8 +910,7 @@ public com.google.firestore.v1.Value getTransformResults(int index) {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public Builder setTransformResults(
-        int index, com.google.firestore.v1.Value value) {
+    public Builder setTransformResults(int index, com.google.firestore.v1.Value value) {
       if (transformResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -844,6 +924,8 @@ public Builder setTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -864,6 +946,8 @@ public Builder setTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -886,6 +970,8 @@ public Builder addTransformResults(com.google.firestore.v1.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -894,8 +980,7 @@ public Builder addTransformResults(com.google.firestore.v1.Value value) {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public Builder addTransformResults(
-        int index, com.google.firestore.v1.Value value) {
+    public Builder addTransformResults(int index, com.google.firestore.v1.Value value) {
       if (transformResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -909,6 +994,8 @@ public Builder addTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -917,8 +1004,7 @@ public Builder addTransformResults(
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public Builder addTransformResults(
-        com.google.firestore.v1.Value.Builder builderForValue) {
+    public Builder addTransformResults(com.google.firestore.v1.Value.Builder builderForValue) {
       if (transformResultsBuilder_ == null) {
         ensureTransformResultsIsMutable();
         transformResults_.add(builderForValue.build());
@@ -929,6 +1015,8 @@ public Builder addTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -949,6 +1037,8 @@ public Builder addTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -961,8 +1051,7 @@ public Builder addAllTransformResults(
         java.lang.Iterable values) {
       if (transformResultsBuilder_ == null) {
         ensureTransformResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, transformResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transformResults_);
         onChanged();
       } else {
         transformResultsBuilder_.addAllMessages(values);
@@ -970,6 +1059,8 @@ public Builder addAllTransformResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -989,6 +1080,8 @@ public Builder clearTransformResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1008,6 +1101,8 @@ public Builder removeTransformResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1016,11 +1111,12 @@ public Builder removeTransformResults(int index) {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(
-        int index) {
+    public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(int index) {
       return getTransformResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1029,14 +1125,16 @@ public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
-        int index) {
+    public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index) {
       if (transformResultsBuilder_ == null) {
-        return transformResults_.get(index);  } else {
+        return transformResults_.get(index);
+      } else {
         return transformResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1045,8 +1143,8 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public java.util.List 
-         getTransformResultsOrBuilderList() {
+    public java.util.List
+        getTransformResultsOrBuilderList() {
       if (transformResultsBuilder_ != null) {
         return transformResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1054,6 +1152,8 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1063,10 +1163,12 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
     public com.google.firestore.v1.Value.Builder addTransformResultsBuilder() {
-      return getTransformResultsFieldBuilder().addBuilder(
-          com.google.firestore.v1.Value.getDefaultInstance());
+      return getTransformResultsFieldBuilder()
+          .addBuilder(com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1075,12 +1177,13 @@ public com.google.firestore.v1.Value.Builder addTransformResultsBuilder() {
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(
-        int index) {
-      return getTransformResultsFieldBuilder().addBuilder(
-          index, com.google.firestore.v1.Value.getDefaultInstance());
+    public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(int index) {
+      return getTransformResultsFieldBuilder()
+          .addBuilder(index, com.google.firestore.v1.Value.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The results of applying each
      * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -1089,16 +1192,21 @@ public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(
      *
      * repeated .google.firestore.v1.Value transform_results = 2;
      */
-    public java.util.List 
-         getTransformResultsBuilderList() {
+    public java.util.List getTransformResultsBuilderList() {
       return getTransformResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder> 
+            com.google.firestore.v1.Value,
+            com.google.firestore.v1.Value.Builder,
+            com.google.firestore.v1.ValueOrBuilder>
         getTransformResultsFieldBuilder() {
       if (transformResultsBuilder_ == null) {
-        transformResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.firestore.v1.Value, com.google.firestore.v1.Value.Builder, com.google.firestore.v1.ValueOrBuilder>(
+        transformResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.firestore.v1.Value,
+                com.google.firestore.v1.Value.Builder,
+                com.google.firestore.v1.ValueOrBuilder>(
                 transformResults_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1107,9 +1215,9 @@ public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(
       }
       return transformResultsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1119,12 +1227,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.firestore.v1.WriteResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.firestore.v1.WriteResult)
   private static final com.google.firestore.v1.WriteResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.firestore.v1.WriteResult();
   }
@@ -1133,27 +1241,27 @@ public static com.google.firestore.v1.WriteResult getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public WriteResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public WriteResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1168,6 +1276,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.firestore.v1.WriteResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
rename to proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
index 0def7e55e..d2f9a15c2 100644
--- a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/firestore/v1/write.proto
 
 package com.google.firestore.v1;
 
-public interface WriteResultOrBuilder extends
+public interface WriteResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.firestore.v1.WriteResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -16,10 +34,13 @@ public interface WriteResultOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -28,10 +49,13 @@ public interface WriteResultOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 1; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The last update time of the document after applying the write. Not set
    * after a `delete`.
@@ -44,6 +68,8 @@ public interface WriteResultOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -52,9 +78,10 @@ public interface WriteResultOrBuilder extends
    *
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
-  java.util.List 
-      getTransformResultsList();
+  java.util.List getTransformResultsList();
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -65,6 +92,8 @@ public interface WriteResultOrBuilder extends
    */
   com.google.firestore.v1.Value getTransformResults(int index);
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -75,6 +104,8 @@ public interface WriteResultOrBuilder extends
    */
   int getTransformResultsCount();
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -83,9 +114,11 @@ public interface WriteResultOrBuilder extends
    *
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
-  java.util.List 
+  java.util.List
       getTransformResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * The results of applying each
    * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform],
@@ -94,6 +127,5 @@ public interface WriteResultOrBuilder extends
    *
    * repeated .google.firestore.v1.Value transform_results = 2;
    */
-  com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(
-      int index);
+  com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/aggregation_result.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto
diff --git a/owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto b/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto
rename to proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto